]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Commit the vtable verification feature.
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
735 NM
736 ac_ct_DUMPBIN
737 DUMPBIN
738 LD
739 FGREP
740 SED
741 LIBTOOL
742 EGREP
743 GREP
744 CPP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
749 AR
750 AS
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
758 CXX
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
765 CC
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
886 '
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
890 CC
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
895 CXX
896 CXXFLAGS
897 CCC
898 CPP
899 CXXCPP
900 CXXFILT'
901
902
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
924
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
950
951 ac_prev=
952 ac_dashdash=
953 for ac_option
954 do
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
960 fi
961
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
966
967 # Accept the important Cygnus configure options, so we can diagnose typos.
968
969 case $ac_dashdash$ac_option in
970 --)
971 ac_dashdash=yes ;;
972
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
977
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
982
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
989
990 --config-cache | -C)
991 cache_file=config.cache ;;
992
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
997
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1004
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1013 *"
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1020
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1025
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1030
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1039 *"
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1046
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1055
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1059
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1066
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1071
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1077
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1084
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1089
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1094
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1101
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1106
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1113
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1118
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1122
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1126
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1130
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1139
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1144
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1151
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1158
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1175
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1180
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1185
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1189
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1195
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1206
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1211
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1216
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1223
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1228
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1231
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1234
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1243 *"
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1250
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1259 *"
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1266
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1270
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1277
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1284
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1287 ;;
1288
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1298
1299 *)
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305 ;;
1306
1307 esac
1308 done
1309
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1313 fi
1314
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1321 fi
1322
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1328 do
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1343
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1350
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1359 fi
1360 fi
1361
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364
1365 test "$silent" = yes && exec 6>/dev/null
1366
1367
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1374
1375
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1388 q
1389 }
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1392 q
1393 }
1394 /^X\(\/\/\)$/{
1395 s//\1/
1396 q
1397 }
1398 /^X\(\/\).*/{
1399 s//\1/
1400 q
1401 }
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1406 fi
1407 else
1408 ac_srcdir_defaulted=no
1409 fi
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1413 fi
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1421 fi
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1434
1435 #
1436 # Report the --help message.
1437 #
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1443
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1445
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1448
1449 Defaults for the options are specified in brackets.
1450
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1467
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1472
1473 For better control, use the options below.
1474
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1496
1497 cat <<\_ACEOF
1498
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1503
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1509 fi
1510
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1516
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1583
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1602
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1617
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1620
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1624 fi
1625
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1633
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 *)
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1649
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1679 fi
1680
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1686
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1692 fi
1693
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1697
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1718 fi
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1728
1729 ac_retval=1
1730 fi
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1733
1734 } # ac_fn_c_try_compile
1735
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1740 {
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1756 fi
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1766
1767 ac_retval=1
1768 fi
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1771
1772 } # ac_fn_cxx_try_compile
1773
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1778 {
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1793 fi
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1803
1804 ac_retval=1
1805 fi
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1808
1809 } # ac_fn_c_try_cpp
1810
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1815 {
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1831 fi
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1844
1845 ac_retval=1
1846 fi
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1854
1855 } # ac_fn_c_try_link
1856
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1862 {
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 $4
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1878 fi
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 fi
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1885
1886 } # ac_fn_c_check_header_compile
1887
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1893 {
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1921
1922 ac_retval=$ac_status
1923 fi
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1927
1928 } # ac_fn_c_try_run
1929
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1934 {
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1943 fi
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1949
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1954
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1960
1961 #undef $2
1962
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1976
1977 int
1978 main ()
1979 {
1980 return $2 ();
1981 ;
1982 return 0;
1983 }
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1992 fi
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997
1998 } # ac_fn_c_check_func
1999
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2004 {
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2019 fi
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2029
2030 ac_retval=1
2031 fi
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2034
2035 } # ac_fn_cxx_try_cpp
2036
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2041 {
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2057 fi
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2070
2071 ac_retval=1
2072 fi
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2080
2081 } # ac_fn_cxx_try_link
2082
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2089 {
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2096 fi
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2106 $4
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2117
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2129 fi
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2133
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141 ;;
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2153 ;;
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2161 fi
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 fi
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2167
2168 } # ac_fn_c_check_header_mongrel
2169
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2176 {
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2183 fi
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 $4
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2204
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2216 fi
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2220
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 ;;
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 ;;
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2248 fi
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 fi
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2254
2255 } # ac_fn_cxx_check_header_mongrel
2256
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2263 {
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 $4
2270 int
2271 main ()
2272 {
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2275
2276 ;
2277 return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2285 $4
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2291
2292 ;
2293 return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2303 fi
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2305 fi
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2311 $4
2312 int
2313 main ()
2314 {
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2317
2318 ;
2319 return 0;
2320 }
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 $4
2328 int
2329 main ()
2330 {
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2333
2334 ;
2335 return 0;
2336 }
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2345 fi
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 fi
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2361 $4
2362 int
2363 main ()
2364 {
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2367
2368 ;
2369 return 0;
2370 }
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2376 fi
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2386 $4
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2391 int
2392 main ()
2393 {
2394
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2399 {
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2404 }
2405 else
2406 {
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2411 }
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2415
2416 ;
2417 return 0;
2418 }
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2424 fi
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2428
2429 fi
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2432
2433 } # ac_fn_c_compute_int
2434
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2440 {
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2450 $4
2451 int
2452 main ()
2453 {
2454 if (sizeof ($2))
2455 return 0;
2456 ;
2457 return 0;
2458 }
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2463 $4
2464 int
2465 main ()
2466 {
2467 if (sizeof (($2)))
2468 return 0;
2469 ;
2470 return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474
2475 else
2476 eval "$3=yes"
2477 fi
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 fi
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 fi
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2486
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2491
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2494
2495 $ $0 $@
2496
2497 _ACEOF
2498 exec 5>>config.log
2499 {
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2504
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2510
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2513
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2521
2522 _ASUNAME
2523
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2532
2533 } >&5
2534
2535 cat >&5 <<_ACEOF
2536
2537
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2541
2542 _ACEOF
2543
2544
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2555 do
2556 for ac_arg
2557 do
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2568 2)
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2581 ;;
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2584 fi
2585 as_fn_append ac_configure_args " '$ac_arg'"
2586 ;;
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2592
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2600 {
2601 echo
2602
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2610 (
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2633 *)
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2635 ;;
2636 esac |
2637 sort
2638 )
2639 echo
2640
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2648 do
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2656
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2665 do
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2673 fi
2674
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2684 fi
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2692 ' 0
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2697
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2700
2701 $as_echo "/* confdefs.h */" > confdefs.h
2702
2703 # Predefined preprocessor variables.
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2716
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2720
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2724
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2728
2729
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2742 fi
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2744 do
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2751 fi
2752 done
2753
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2764 fi
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2769 fi
2770
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2789 *)
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2802 fi
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2819 fi
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2827 fi
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2831
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837
2838
2839
2840
2841
2842
2843 ac_config_headers="$ac_config_headers config.h"
2844
2845
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2851
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2863 fi
2864
2865
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2869
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2875 fi
2876 else
2877 multi_basedir="$srcdir/.."
2878 fi
2879
2880
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2886 fi
2887
2888 ac_config_commands="$ac_config_commands default-1"
2889
2890
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2892 #
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2899 #
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2902 #
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2912 fi
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2917 fi
2918
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2926
2927
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2931
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2944
2945 fi
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2964
2965
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2976 fi
2977
2978 fi
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2997
2998
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3009 fi
3010
3011 fi
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3030
3031
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3038
3039 target_alias=${target_alias-$host_alias}
3040
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3043
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3058 fi
3059 ;;
3060
3061 *)
3062
3063 ;;
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3067 fi
3068
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3082
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3105 do
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3114 *)
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3124 :
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3128 :
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3141 fi
3142 fi
3143 fi
3144 done
3145 done
3146 ;;
3147 esac
3148
3149 done
3150 IFS=$as_save_IFS
3151
3152 rm -rf conftest.one conftest.two conftest.dir
3153
3154 fi
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3163 fi
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3167
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3171
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3173
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3175
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3184 '
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3193
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3204 fi
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3208
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3215 fi
3216
3217 test "$2" = conftest.file
3218 )
3219 then
3220 # Ok.
3221 :
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3225 fi
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3237
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3240
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3245 *)
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3248 fi
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3256 fi
3257
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3262 *)
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3265 fi
3266
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3285 do
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294 done
3295 done
3296 IFS=$as_save_IFS
3297
3298 fi
3299 fi
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 fi
3308
3309
3310 fi
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3325 do
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3333 fi
3334 done
3335 done
3336 IFS=$as_save_IFS
3337
3338 fi
3339 fi
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 fi
3348
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3359 fi
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3362 fi
3363
3364 fi
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3366
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3375 do
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3392
3393 fi
3394
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3404 fi
3405 fi
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3408
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3414
3415 for ac_prog in gawk mawk nawk awk
3416 do
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3429 do
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3437 fi
3438 done
3439 done
3440 IFS=$as_save_IFS
3441
3442 fi
3443 fi
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3451 fi
3452
3453
3454 test -n "$AWK" && break
3455 done
3456
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3473 *)
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3477 fi
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3486 fi
3487
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3494 fi
3495 rmdir .tst 2>/dev/null
3496
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3504 fi
3505 fi
3506
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3513 fi
3514 fi
3515
3516
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3520
3521
3522 # Some tools Automake needs.
3523
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3525
3526
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3528
3529
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3531
3532
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3534
3535
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3537
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3541
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3543
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3545
3546
3547
3548
3549
3550
3551
3552
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3555
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3584 fi
3585 done
3586 done
3587 IFS=$as_save_IFS
3588
3589 fi
3590 fi
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 fi
3599
3600
3601 fi
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3616 do
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3624 fi
3625 done
3626 done
3627 IFS=$as_save_IFS
3628
3629 fi
3630 fi
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 fi
3639
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3650 fi
3651 else
3652 CC="$ac_cv_prog_CC"
3653 fi
3654
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3669 do
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3677 fi
3678 done
3679 done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694 fi
3695 fi
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3718 fi
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3722 fi
3723 done
3724 done
3725 IFS=$as_save_IFS
3726
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737 fi
3738 fi
3739 fi
3740 fi
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 fi
3749
3750
3751 fi
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3755 do
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3776 fi
3777 done
3778 done
3779 IFS=$as_save_IFS
3780
3781 fi
3782 fi
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3790 fi
3791
3792
3793 test -n "$CC" && break
3794 done
3795 fi
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3799 do
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3812 do
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3820 fi
3821 done
3822 done
3823 IFS=$as_save_IFS
3824
3825 fi
3826 fi
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 fi
3835
3836
3837 test -n "$ac_ct_CC" && break
3838 done
3839
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3850 fi
3851 fi
3852
3853 fi
3854
3855
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3860
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3881 fi
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3885
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3888
3889 int
3890 main ()
3891 {
3892
3893 ;
3894 return 0;
3895 }
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3906 fi
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3916
3917 int
3918 main ()
3919 {
3920
3921 ;
3922 return 0;
3923 }
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3933
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3936
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3939 do
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3946
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3964 do
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3968 ;;
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3977 fi
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3984 * )
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3989
3990 else
3991 ac_file=''
3992 fi
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3998
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4004 fi
4005 ac_exeext=$ac_cv_exeext
4006
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4034 fi
4035 fi
4036 fi
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4039
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4080 fi
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4084
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4088 fi
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096
4097 int
4098 main ()
4099 {
4100
4101 ;
4102 return 0;
4103 }
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4133 fi
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4135 fi
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4147
4148 int
4149 main ()
4150 {
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4154
4155 ;
4156 return 0;
4157 }
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4163 fi
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4166
4167 fi
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4174 fi
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4188
4189 int
4190 main ()
4191 {
4192
4193 ;
4194 return 0;
4195 }
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4203
4204 int
4205 main ()
4206 {
4207
4208 ;
4209 return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219
4220 int
4221 main ()
4222 {
4223
4224 ;
4225 return 0;
4226 }
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 fi
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 fi
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4237 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4247 fi
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4253 fi
4254 fi
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4274 {
4275 return p[i];
4276 }
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4278 {
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4285 }
4286
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4295
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4300
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4307 int
4308 main ()
4309 {
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4311 ;
4312 return 0;
4313 }
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4317 do
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4321 fi
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4327
4328 fi
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4331 x)
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4337 *)
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4343
4344 fi
4345
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4351
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4363 do
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4376 do
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4384 fi
4385 done
4386 done
4387 IFS=$as_save_IFS
4388
4389 fi
4390 fi
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4398 fi
4399
4400
4401 test -n "$CXX" && break
4402 done
4403 fi
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4407 do
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4420 do
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4428 fi
4429 done
4430 done
4431 IFS=$as_save_IFS
4432
4433 fi
4434 fi
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4442 fi
4443
4444
4445 test -n "$ac_ct_CXX" && break
4446 done
4447
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4458 fi
4459 fi
4460
4461 fi
4462 fi
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4483 fi
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4487
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4495
4496 int
4497 main ()
4498 {
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4502
4503 ;
4504 return 0;
4505 }
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4511 fi
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4514
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4522 fi
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536
4537 int
4538 main ()
4539 {
4540
4541 ;
4542 return 0;
4543 }
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551
4552 int
4553 main ()
4554 {
4555
4556 ;
4557 return 0;
4558 }
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4561
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567
4568 int
4569 main ()
4570 {
4571
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4578 fi
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 fi
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4595 fi
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4601 fi
4602 fi
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608
4609 CXXFLAGS="$save_CXXFLAGS"
4610
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4613
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4624 fi
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4631 do
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4634 do
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651
4652 else
4653 # Broken: fails on valid input.
4654 continue
4655 fi
4656 rm -f conftest.err conftest.$ac_ext
4657
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4671 fi
4672 rm -f conftest.err conftest.$ac_ext
4673
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4679 fi
4680
4681 done
4682 ac_cv_prog_CPP=$CPP
4683
4684 fi
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4688 fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4693 do
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710
4711 else
4712 # Broken: fails on valid input.
4713 continue
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4730 fi
4731 rm -f conftest.err conftest.$ac_ext
4732
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4737
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4743 fi
4744
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750
4751
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4762 do
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4774 *)
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4778 do
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4790 fi
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4796
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804 fi
4805 else
4806 ac_cv_path_GREP=$GREP
4807 fi
4808
4809 fi
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4813
4814
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4828 do
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4840 *)
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4844 do
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4856 fi
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4862
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4870 fi
4871 else
4872 ac_cv_path_EGREP=$EGREP
4873 fi
4874
4875 fi
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4880
4881
4882
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4886
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4888
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4899
4900
4901
4902
4903
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4906
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4910 fi
4911
4912
4913
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4917 fi
4918
4919
4920
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4924 fi
4925
4926
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4938 fi
4939
4940 #LN_S='cp -p'
4941
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4963 fi
4964 done
4965 done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980 fi
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5003 fi
5004 done
5005 done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5029 fi
5030 else
5031 AS="$ac_cv_prog_AS"
5032 fi
5033
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5055 fi
5056 done
5057 done
5058 IFS=$as_save_IFS
5059
5060 fi
5061 fi
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 fi
5070
5071
5072 fi
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5087 do
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5095 fi
5096 done
5097 done
5098 IFS=$as_save_IFS
5099
5100 fi
5101 fi
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 fi
5110
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5121 fi
5122 else
5123 AR="$ac_cv_prog_AR"
5124 fi
5125
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5147 fi
5148 done
5149 done
5150 IFS=$as_save_IFS
5151
5152 fi
5153 fi
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5161 fi
5162
5163
5164 fi
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5179 do
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5187 fi
5188 done
5189 done
5190 IFS=$as_save_IFS
5191
5192 fi
5193 fi
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 fi
5202
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5213 fi
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5216 fi
5217
5218
5219
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5227 fi
5228
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5237 fi
5238
5239 MAINT=$MAINTAINER_MODE_TRUE
5240
5241
5242
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5247
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5252
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5257
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5264 fi
5265 rm -f conftest*
5266
5267
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5275
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5282 fi
5283 rm -f conftest*
5284
5285
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5288
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5294
5295
5296
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5300
5301
5302
5303 fi
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5309
5310
5311
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 ltmain="$ac_aux_dir/ltmain.sh"
5328
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5332
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5335
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5339
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5342
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5345
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5349
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5361 {
5362 eval 'cat <<_LTECHO_EOF
5363 $1
5364 _LTECHO_EOF'
5365 }
5366 ECHO='func_fallback_echo'
5367 fi
5368
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5372 {
5373 $ECHO ""
5374 }
5375
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5426 *)
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5430 do
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5442 fi
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5456 fi
5457 else
5458 ac_cv_path_SED=$SED
5459 fi
5460
5461 fi
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5466
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5493 do
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5505 *)
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5509 do
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5521 fi
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5527
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5535 fi
5536 else
5537 ac_cv_path_FGREP=$FGREP
5538 fi
5539
5540 fi
5541 fi
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5545
5546
5547 test -z "$GREP" && GREP=grep
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5572 fi
5573
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5583 *)
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5596 ;;
5597 "")
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5600 ;;
5601 *)
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5604 ;;
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5612 fi
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5629 ;;
5630 *)
5631 test "$with_gnu_ld" != yes && break
5632 ;;
5633 esac
5634 fi
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5639 fi
5640 fi
5641
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5649 fi
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5660 ;;
5661 *)
5662 lt_cv_prog_gnu_ld=no
5663 ;;
5664 esac
5665 fi
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5690 fi
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5706 ;;
5707 *)
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5712 ;;
5713 *)
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5716 ;;
5717 esac
5718 ;;
5719 esac
5720 fi
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5725 fi
5726 fi
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5738 do
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5759 fi
5760 done
5761 done
5762 IFS=$as_save_IFS
5763
5764 fi
5765 fi
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5773 fi
5774
5775
5776 test -n "$DUMPBIN" && break
5777 done
5778 fi
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5782 do
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5795 do
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5803 fi
5804 done
5805 done
5806 IFS=$as_save_IFS
5807
5808 fi
5809 fi
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5817 fi
5818
5819
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5822
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5833 fi
5834 fi
5835
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5839 ;;
5840 *)
5841 DUMPBIN=:
5842 ;;
5843 esac
5844 fi
5845
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5848 fi
5849 fi
5850 test -z "$NM" && NM=nm
5851
5852
5853
5854
5855
5856
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5874 fi
5875 rm -f conftest*
5876 fi
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5879
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 i=0
5887 teststring="ABCD"
5888
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5896 ;;
5897
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5903 ;;
5904
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5914 ;;
5915
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5919 ;;
5920
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5925 ;;
5926
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5935 fi
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5939 ;;
5940
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5944 ;;
5945
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5952 #
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5957 fi
5958 ;;
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5961 ;;
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5968 fi
5969 ;;
5970 *)
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5988 do
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5999 fi
6000 ;;
6001 esac
6002
6003 fi
6004
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6011 fi
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6013
6014
6015
6016
6017
6018
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6022
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6035
6036
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6045
6046
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6051 fi
6052
6053
6054
6055
6056
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6063 ;;
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6067 ;;
6068 esac
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6084 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6099 fi
6100 ;;
6101 esac
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6132 fi
6133 done
6134 done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148
6149 fi
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6172 fi
6173 done
6174 done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6198 fi
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6201 fi
6202
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6231
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6235 ;;
6236
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6239 ;;
6240
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6245 ;;
6246
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6251 ;;
6252
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 fi
6265 ;;
6266
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6271 ;;
6272
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6275 ;;
6276
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6286 ;;
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6290 fi
6291 ;;
6292
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6295 ;;
6296
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6299 ;;
6300
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6307 ;;
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6311 ;;
6312 *)
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6315 ;;
6316 esac
6317 ;;
6318
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6322 ;;
6323
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6332 ;;
6333
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6337 ;;
6338
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6344 fi
6345 ;;
6346
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6351 ;;
6352
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6355 ;;
6356
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6362 fi
6363 ;;
6364
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6371 ;;
6372
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6375 ;;
6376
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6379 ;;
6380
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6386 ;;
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6389 ;;
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6393 ;;
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6398 ;;
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6401 ;;
6402 pc)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405 esac
6406 ;;
6407
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6410 ;;
6411 esac
6412
6413 fi
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6452 fi
6453 done
6454 done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6492 fi
6493 done
6494 done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6518 fi
6519 else
6520 AR="$ac_cv_prog_AR"
6521 fi
6522
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6549 do
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6557 fi
6558 done
6559 done
6560 IFS=$as_save_IFS
6561
6562 fi
6563 fi
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573
6574 fi
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6589 do
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6597 fi
6598 done
6599 done
6600 IFS=$as_save_IFS
6601
6602 fi
6603 fi
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6611 fi
6612
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6623 fi
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6626 fi
6627
6628 test -z "$STRIP" && STRIP=:
6629
6630
6631
6632
6633
6634
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6648 do
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6656 fi
6657 done
6658 done
6659 IFS=$as_save_IFS
6660
6661 fi
6662 fi
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6670 fi
6671
6672
6673 fi
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6688 do
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6696 fi
6697 done
6698 done
6699 IFS=$as_save_IFS
6700
6701 fi
6702 fi
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6710 fi
6711
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6722 fi
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6725 fi
6726
6727 test -z "$RANLIB" && RANLIB=:
6728
6729
6730
6731
6732
6733
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6738
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6743 ;;
6744 *)
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6746 ;;
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6749 fi
6750
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6754 *)
6755 lock_old_archive_extraction=no ;;
6756 esac
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6798
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6801
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6804
6805
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6815
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6818
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6821
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6826 ;;
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6829 ;;
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6833 fi
6834 ;;
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6837 ;;
6838 osf*)
6839 symcode='[BCDEGQRST]'
6840 ;;
6841 solaris*)
6842 symcode='[BDRT]'
6843 ;;
6844 sco3.2v5*)
6845 symcode='[DT]'
6846 ;;
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6849 ;;
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6852 ;;
6853 sysv4)
6854 symcode='[DFNSTU]'
6855 ;;
6856 esac
6857
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6863
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6868
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6872
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6878 ;;
6879 esac
6880
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6883
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6886
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6906 fi
6907
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6910
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6920 }
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6924
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6942 fi
6943
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6951
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6955
6956 cat <<_LT_EOF >> conftest.$ac_ext
6957
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6962 }
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6964 {
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6970 };
6971
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6976 }
6977 #endif
6978
6979 #ifdef __cplusplus
6980 }
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6995 fi
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7000 fi
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7003 fi
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7006 fi
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7010 fi
7011 rm -rf conftest* conftst*
7012
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7018 fi
7019 done
7020
7021 fi
7022
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7025 fi
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7032 fi
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7058 fi
7059
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7061
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7076 ;;
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7079 ;;
7080 esac
7081 fi
7082 rm -rf conftest*
7083 ;;
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7096 ;;
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7099 ;;
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7102 ;;
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7108 ;;
7109 *N32*)
7110 LD="${LD-ld} -n32"
7111 ;;
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7114 ;;
7115 esac
7116 fi
7117 fi
7118 rm -rf conftest*
7119 ;;
7120
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7135 ;;
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7140 ;;
7141 *)
7142 LD="${LD-ld} -m elf_i386"
7143 ;;
7144 esac
7145 ;;
7146 ppc64-*linux*|powerpc64-*linux*)
7147 LD="${LD-ld} -m elf32ppclinux"
7148 ;;
7149 s390x-*linux*)
7150 LD="${LD-ld} -m elf_s390"
7151 ;;
7152 sparc64-*linux*)
7153 LD="${LD-ld} -m elf32_sparc"
7154 ;;
7155 esac
7156 ;;
7157 *64-bit*)
7158 case $host in
7159 x86_64-*kfreebsd*-gnu)
7160 LD="${LD-ld} -m elf_x86_64_fbsd"
7161 ;;
7162 x86_64-*linux*)
7163 LD="${LD-ld} -m elf_x86_64"
7164 ;;
7165 ppc*-*linux*|powerpc*-*linux*)
7166 LD="${LD-ld} -m elf64ppc"
7167 ;;
7168 s390*-*linux*|s390*-*tpf*)
7169 LD="${LD-ld} -m elf64_s390"
7170 ;;
7171 sparc*-*linux*)
7172 LD="${LD-ld} -m elf64_sparc"
7173 ;;
7174 esac
7175 ;;
7176 esac
7177 fi
7178 rm -rf conftest*
7179 ;;
7180
7181 *-*-sco3.2v5*)
7182 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7183 SAVE_CFLAGS="$CFLAGS"
7184 CFLAGS="$CFLAGS -belf"
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7186 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7187 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 ac_ext=c
7191 ac_cpp='$CPP $CPPFLAGS'
7192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7195
7196 if test x$gcc_no_link = xyes; then
7197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7198 fi
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201
7202 int
7203 main ()
7204 {
7205
7206 ;
7207 return 0;
7208 }
7209 _ACEOF
7210 if ac_fn_c_try_link "$LINENO"; then :
7211 lt_cv_cc_needs_belf=yes
7212 else
7213 lt_cv_cc_needs_belf=no
7214 fi
7215 rm -f core conftest.err conftest.$ac_objext \
7216 conftest$ac_exeext conftest.$ac_ext
7217 ac_ext=c
7218 ac_cpp='$CPP $CPPFLAGS'
7219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7222
7223 fi
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7225 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7226 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7227 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7228 CFLAGS="$SAVE_CFLAGS"
7229 fi
7230 ;;
7231 sparc*-*solaris*)
7232 # Find out which ABI we are using.
7233 echo 'int i;' > conftest.$ac_ext
7234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235 (eval $ac_compile) 2>&5
7236 ac_status=$?
7237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238 test $ac_status = 0; }; then
7239 case `/usr/bin/file conftest.o` in
7240 *64-bit*)
7241 case $lt_cv_prog_gnu_ld in
7242 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7243 *)
7244 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7245 LD="${LD-ld} -64"
7246 fi
7247 ;;
7248 esac
7249 ;;
7250 esac
7251 fi
7252 rm -rf conftest*
7253 ;;
7254 esac
7255
7256 need_locks="$enable_libtool_lock"
7257
7258
7259 case $host_os in
7260 rhapsody* | darwin*)
7261 if test -n "$ac_tool_prefix"; then
7262 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7263 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7267 $as_echo_n "(cached) " >&6
7268 else
7269 if test -n "$DSYMUTIL"; then
7270 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7271 else
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 for as_dir in $PATH
7274 do
7275 IFS=$as_save_IFS
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7279 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7281 break 2
7282 fi
7283 done
7284 done
7285 IFS=$as_save_IFS
7286
7287 fi
7288 fi
7289 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7290 if test -n "$DSYMUTIL"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7292 $as_echo "$DSYMUTIL" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7296 fi
7297
7298
7299 fi
7300 if test -z "$ac_cv_prog_DSYMUTIL"; then
7301 ac_ct_DSYMUTIL=$DSYMUTIL
7302 # Extract the first word of "dsymutil", so it can be a program name with args.
7303 set dummy dsymutil; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 if test -n "$ac_ct_DSYMUTIL"; then
7310 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7311 else
7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 for as_dir in $PATH
7314 do
7315 IFS=$as_save_IFS
7316 test -z "$as_dir" && as_dir=.
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7319 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7321 break 2
7322 fi
7323 done
7324 done
7325 IFS=$as_save_IFS
7326
7327 fi
7328 fi
7329 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7330 if test -n "$ac_ct_DSYMUTIL"; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7332 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7333 else
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 $as_echo "no" >&6; }
7336 fi
7337
7338 if test "x$ac_ct_DSYMUTIL" = x; then
7339 DSYMUTIL=":"
7340 else
7341 case $cross_compiling:$ac_tool_warned in
7342 yes:)
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7345 ac_tool_warned=yes ;;
7346 esac
7347 DSYMUTIL=$ac_ct_DSYMUTIL
7348 fi
7349 else
7350 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7351 fi
7352
7353 if test -n "$ac_tool_prefix"; then
7354 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7355 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7360 else
7361 if test -n "$NMEDIT"; then
7362 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7363 else
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 for as_dir in $PATH
7366 do
7367 IFS=$as_save_IFS
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7371 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 break 2
7374 fi
7375 done
7376 done
7377 IFS=$as_save_IFS
7378
7379 fi
7380 fi
7381 NMEDIT=$ac_cv_prog_NMEDIT
7382 if test -n "$NMEDIT"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7384 $as_echo "$NMEDIT" >&6; }
7385 else
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7388 fi
7389
7390
7391 fi
7392 if test -z "$ac_cv_prog_NMEDIT"; then
7393 ac_ct_NMEDIT=$NMEDIT
7394 # Extract the first word of "nmedit", so it can be a program name with args.
7395 set dummy nmedit; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7399 $as_echo_n "(cached) " >&6
7400 else
7401 if test -n "$ac_ct_NMEDIT"; then
7402 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7403 else
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH
7406 do
7407 IFS=$as_save_IFS
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7411 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 break 2
7414 fi
7415 done
7416 done
7417 IFS=$as_save_IFS
7418
7419 fi
7420 fi
7421 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7422 if test -n "$ac_ct_NMEDIT"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7424 $as_echo "$ac_ct_NMEDIT" >&6; }
7425 else
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7428 fi
7429
7430 if test "x$ac_ct_NMEDIT" = x; then
7431 NMEDIT=":"
7432 else
7433 case $cross_compiling:$ac_tool_warned in
7434 yes:)
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7437 ac_tool_warned=yes ;;
7438 esac
7439 NMEDIT=$ac_ct_NMEDIT
7440 fi
7441 else
7442 NMEDIT="$ac_cv_prog_NMEDIT"
7443 fi
7444
7445 if test -n "$ac_tool_prefix"; then
7446 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7447 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if test "${ac_cv_prog_LIPO+set}" = set; then :
7451 $as_echo_n "(cached) " >&6
7452 else
7453 if test -n "$LIPO"; then
7454 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7455 else
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 for as_dir in $PATH
7458 do
7459 IFS=$as_save_IFS
7460 test -z "$as_dir" && as_dir=.
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7465 break 2
7466 fi
7467 done
7468 done
7469 IFS=$as_save_IFS
7470
7471 fi
7472 fi
7473 LIPO=$ac_cv_prog_LIPO
7474 if test -n "$LIPO"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7476 $as_echo "$LIPO" >&6; }
7477 else
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7480 fi
7481
7482
7483 fi
7484 if test -z "$ac_cv_prog_LIPO"; then
7485 ac_ct_LIPO=$LIPO
7486 # Extract the first word of "lipo", so it can be a program name with args.
7487 set dummy lipo; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$ac_ct_LIPO"; then
7494 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7498 do
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_ac_ct_LIPO="lipo"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7506 fi
7507 done
7508 done
7509 IFS=$as_save_IFS
7510
7511 fi
7512 fi
7513 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7514 if test -n "$ac_ct_LIPO"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7516 $as_echo "$ac_ct_LIPO" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7520 fi
7521
7522 if test "x$ac_ct_LIPO" = x; then
7523 LIPO=":"
7524 else
7525 case $cross_compiling:$ac_tool_warned in
7526 yes:)
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7529 ac_tool_warned=yes ;;
7530 esac
7531 LIPO=$ac_ct_LIPO
7532 fi
7533 else
7534 LIPO="$ac_cv_prog_LIPO"
7535 fi
7536
7537 if test -n "$ac_tool_prefix"; then
7538 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7539 set dummy ${ac_tool_prefix}otool; ac_word=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7543 $as_echo_n "(cached) " >&6
7544 else
7545 if test -n "$OTOOL"; then
7546 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7547 else
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 for as_dir in $PATH
7550 do
7551 IFS=$as_save_IFS
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7555 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 break 2
7558 fi
7559 done
7560 done
7561 IFS=$as_save_IFS
7562
7563 fi
7564 fi
7565 OTOOL=$ac_cv_prog_OTOOL
7566 if test -n "$OTOOL"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7568 $as_echo "$OTOOL" >&6; }
7569 else
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7572 fi
7573
7574
7575 fi
7576 if test -z "$ac_cv_prog_OTOOL"; then
7577 ac_ct_OTOOL=$OTOOL
7578 # Extract the first word of "otool", so it can be a program name with args.
7579 set dummy otool; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 if test -n "$ac_ct_OTOOL"; then
7586 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7587 else
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7590 do
7591 IFS=$as_save_IFS
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_ac_ct_OTOOL="otool"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 break 2
7598 fi
7599 done
7600 done
7601 IFS=$as_save_IFS
7602
7603 fi
7604 fi
7605 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7606 if test -n "$ac_ct_OTOOL"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7608 $as_echo "$ac_ct_OTOOL" >&6; }
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7612 fi
7613
7614 if test "x$ac_ct_OTOOL" = x; then
7615 OTOOL=":"
7616 else
7617 case $cross_compiling:$ac_tool_warned in
7618 yes:)
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7621 ac_tool_warned=yes ;;
7622 esac
7623 OTOOL=$ac_ct_OTOOL
7624 fi
7625 else
7626 OTOOL="$ac_cv_prog_OTOOL"
7627 fi
7628
7629 if test -n "$ac_tool_prefix"; then
7630 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7631 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7636 else
7637 if test -n "$OTOOL64"; then
7638 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7642 do
7643 IFS=$as_save_IFS
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7647 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 break 2
7650 fi
7651 done
7652 done
7653 IFS=$as_save_IFS
7654
7655 fi
7656 fi
7657 OTOOL64=$ac_cv_prog_OTOOL64
7658 if test -n "$OTOOL64"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7660 $as_echo "$OTOOL64" >&6; }
7661 else
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7664 fi
7665
7666
7667 fi
7668 if test -z "$ac_cv_prog_OTOOL64"; then
7669 ac_ct_OTOOL64=$OTOOL64
7670 # Extract the first word of "otool64", so it can be a program name with args.
7671 set dummy otool64; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7675 $as_echo_n "(cached) " >&6
7676 else
7677 if test -n "$ac_ct_OTOOL64"; then
7678 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7679 else
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 for as_dir in $PATH
7682 do
7683 IFS=$as_save_IFS
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_ac_ct_OTOOL64="otool64"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 break 2
7690 fi
7691 done
7692 done
7693 IFS=$as_save_IFS
7694
7695 fi
7696 fi
7697 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7698 if test -n "$ac_ct_OTOOL64"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7700 $as_echo "$ac_ct_OTOOL64" >&6; }
7701 else
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7704 fi
7705
7706 if test "x$ac_ct_OTOOL64" = x; then
7707 OTOOL64=":"
7708 else
7709 case $cross_compiling:$ac_tool_warned in
7710 yes:)
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7713 ac_tool_warned=yes ;;
7714 esac
7715 OTOOL64=$ac_ct_OTOOL64
7716 fi
7717 else
7718 OTOOL64="$ac_cv_prog_OTOOL64"
7719 fi
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7748 $as_echo_n "checking for -single_module linker flag... " >&6; }
7749 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7750 $as_echo_n "(cached) " >&6
7751 else
7752 lt_cv_apple_cc_single_mod=no
7753 if test -z "${LT_MULTI_MODULE}"; then
7754 # By default we will add the -single_module flag. You can override
7755 # by either setting the environment variable LT_MULTI_MODULE
7756 # non-empty at configure time, or by adding -multi_module to the
7757 # link flags.
7758 rm -rf libconftest.dylib*
7759 echo "int foo(void){return 1;}" > conftest.c
7760 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7761 -dynamiclib -Wl,-single_module conftest.c" >&5
7762 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7763 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7764 _lt_result=$?
7765 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7766 lt_cv_apple_cc_single_mod=yes
7767 else
7768 cat conftest.err >&5
7769 fi
7770 rm -rf libconftest.dylib*
7771 rm -f conftest.*
7772 fi
7773 fi
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7775 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7777 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7778 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7780 else
7781 lt_cv_ld_exported_symbols_list=no
7782 save_LDFLAGS=$LDFLAGS
7783 echo "_main" > conftest.sym
7784 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7785 if test x$gcc_no_link = xyes; then
7786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7787 fi
7788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7790
7791 int
7792 main ()
7793 {
7794
7795 ;
7796 return 0;
7797 }
7798 _ACEOF
7799 if ac_fn_c_try_link "$LINENO"; then :
7800 lt_cv_ld_exported_symbols_list=yes
7801 else
7802 lt_cv_ld_exported_symbols_list=no
7803 fi
7804 rm -f core conftest.err conftest.$ac_objext \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LDFLAGS="$save_LDFLAGS"
7807
7808 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7810 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7812 $as_echo_n "checking for -force_load linker flag... " >&6; }
7813 if test "${lt_cv_ld_force_load+set}" = set; then :
7814 $as_echo_n "(cached) " >&6
7815 else
7816 lt_cv_ld_force_load=no
7817 cat > conftest.c << _LT_EOF
7818 int forced_loaded() { return 2;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7821 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7822 echo "$AR cru libconftest.a conftest.o" >&5
7823 $AR cru libconftest.a conftest.o 2>&5
7824 cat > conftest.c << _LT_EOF
7825 int main() { return 0;}
7826 _LT_EOF
7827 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7828 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7829 _lt_result=$?
7830 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7831 lt_cv_ld_force_load=yes
7832 else
7833 cat conftest.err >&5
7834 fi
7835 rm -f conftest.err libconftest.a conftest conftest.c
7836 rm -rf conftest.dSYM
7837
7838 fi
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7840 $as_echo "$lt_cv_ld_force_load" >&6; }
7841 case $host_os in
7842 rhapsody* | darwin1.[012])
7843 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7844 darwin1.*)
7845 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7846 darwin*) # darwin 5.x on
7847 # if running on 10.5 or later, the deployment target defaults
7848 # to the OS version, if on x86, and 10.4, the deployment
7849 # target defaults to 10.4. Don't you love it?
7850 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7851 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7852 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7853 10.[012]*)
7854 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7855 10.*)
7856 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7857 esac
7858 ;;
7859 esac
7860 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7861 _lt_dar_single_mod='$single_module'
7862 fi
7863 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7864 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7865 else
7866 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7867 fi
7868 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7869 _lt_dsymutil='~$DSYMUTIL $lib || :'
7870 else
7871 _lt_dsymutil=
7872 fi
7873 ;;
7874 esac
7875
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7877 $as_echo_n "checking for ANSI C header files... " >&6; }
7878 if test "${ac_cv_header_stdc+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7883 #include <stdlib.h>
7884 #include <stdarg.h>
7885 #include <string.h>
7886 #include <float.h>
7887
7888 int
7889 main ()
7890 {
7891
7892 ;
7893 return 0;
7894 }
7895 _ACEOF
7896 if ac_fn_c_try_compile "$LINENO"; then :
7897 ac_cv_header_stdc=yes
7898 else
7899 ac_cv_header_stdc=no
7900 fi
7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7902
7903 if test $ac_cv_header_stdc = yes; then
7904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 #include <string.h>
7908
7909 _ACEOF
7910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7911 $EGREP "memchr" >/dev/null 2>&1; then :
7912
7913 else
7914 ac_cv_header_stdc=no
7915 fi
7916 rm -f conftest*
7917
7918 fi
7919
7920 if test $ac_cv_header_stdc = yes; then
7921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 #include <stdlib.h>
7925
7926 _ACEOF
7927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7928 $EGREP "free" >/dev/null 2>&1; then :
7929
7930 else
7931 ac_cv_header_stdc=no
7932 fi
7933 rm -f conftest*
7934
7935 fi
7936
7937 if test $ac_cv_header_stdc = yes; then
7938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7939 if test "$cross_compiling" = yes; then :
7940 :
7941 else
7942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7944 #include <ctype.h>
7945 #include <stdlib.h>
7946 #if ((' ' & 0x0FF) == 0x020)
7947 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7948 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7949 #else
7950 # define ISLOWER(c) \
7951 (('a' <= (c) && (c) <= 'i') \
7952 || ('j' <= (c) && (c) <= 'r') \
7953 || ('s' <= (c) && (c) <= 'z'))
7954 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7955 #endif
7956
7957 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7958 int
7959 main ()
7960 {
7961 int i;
7962 for (i = 0; i < 256; i++)
7963 if (XOR (islower (i), ISLOWER (i))
7964 || toupper (i) != TOUPPER (i))
7965 return 2;
7966 return 0;
7967 }
7968 _ACEOF
7969 if ac_fn_c_try_run "$LINENO"; then :
7970
7971 else
7972 ac_cv_header_stdc=no
7973 fi
7974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7975 conftest.$ac_objext conftest.beam conftest.$ac_ext
7976 fi
7977
7978 fi
7979 fi
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7981 $as_echo "$ac_cv_header_stdc" >&6; }
7982 if test $ac_cv_header_stdc = yes; then
7983
7984 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7985
7986 fi
7987
7988 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7989 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7990 inttypes.h stdint.h unistd.h
7991 do :
7992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7993 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7994 "
7995 eval as_val=\$$as_ac_Header
7996 if test "x$as_val" = x""yes; then :
7997 cat >>confdefs.h <<_ACEOF
7998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7999 _ACEOF
8000
8001 fi
8002
8003 done
8004
8005
8006 for ac_header in dlfcn.h
8007 do :
8008 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8009 "
8010 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8011 cat >>confdefs.h <<_ACEOF
8012 #define HAVE_DLFCN_H 1
8013 _ACEOF
8014
8015 fi
8016
8017 done
8018
8019
8020
8021
8022
8023
8024 # Set options
8025
8026
8027
8028
8029 enable_win32_dll=no
8030
8031
8032 # Check whether --enable-shared was given.
8033 if test "${enable_shared+set}" = set; then :
8034 enableval=$enable_shared; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_shared=yes ;;
8037 no) enable_shared=no ;;
8038 *)
8039 enable_shared=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_shared=yes
8046 fi
8047 done
8048 IFS="$lt_save_ifs"
8049 ;;
8050 esac
8051 else
8052 enable_shared=yes
8053 fi
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063 # Check whether --enable-static was given.
8064 if test "${enable_static+set}" = set; then :
8065 enableval=$enable_static; p=${PACKAGE-default}
8066 case $enableval in
8067 yes) enable_static=yes ;;
8068 no) enable_static=no ;;
8069 *)
8070 enable_static=no
8071 # Look at the argument we got. We use all the common list separators.
8072 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8073 for pkg in $enableval; do
8074 IFS="$lt_save_ifs"
8075 if test "X$pkg" = "X$p"; then
8076 enable_static=yes
8077 fi
8078 done
8079 IFS="$lt_save_ifs"
8080 ;;
8081 esac
8082 else
8083 enable_static=yes
8084 fi
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095 # Check whether --with-pic was given.
8096 if test "${with_pic+set}" = set; then :
8097 withval=$with_pic; pic_mode="$withval"
8098 else
8099 pic_mode=default
8100 fi
8101
8102
8103 test -z "$pic_mode" && pic_mode=default
8104
8105
8106
8107
8108
8109
8110
8111 # Check whether --enable-fast-install was given.
8112 if test "${enable_fast_install+set}" = set; then :
8113 enableval=$enable_fast_install; p=${PACKAGE-default}
8114 case $enableval in
8115 yes) enable_fast_install=yes ;;
8116 no) enable_fast_install=no ;;
8117 *)
8118 enable_fast_install=no
8119 # Look at the argument we got. We use all the common list separators.
8120 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8121 for pkg in $enableval; do
8122 IFS="$lt_save_ifs"
8123 if test "X$pkg" = "X$p"; then
8124 enable_fast_install=yes
8125 fi
8126 done
8127 IFS="$lt_save_ifs"
8128 ;;
8129 esac
8130 else
8131 enable_fast_install=yes
8132 fi
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144 # This can be used to rebuild libtool when needed
8145 LIBTOOL_DEPS="$ltmain"
8146
8147 # Always use our own libtool.
8148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175 test -z "$LN_S" && LN_S="ln -s"
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190 if test -n "${ZSH_VERSION+set}" ; then
8191 setopt NO_GLOB_SUBST
8192 fi
8193
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8195 $as_echo_n "checking for objdir... " >&6; }
8196 if test "${lt_cv_objdir+set}" = set; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 rm -f .libs 2>/dev/null
8200 mkdir .libs 2>/dev/null
8201 if test -d .libs; then
8202 lt_cv_objdir=.libs
8203 else
8204 # MS-DOS does not allow filenames that begin with a dot.
8205 lt_cv_objdir=_libs
8206 fi
8207 rmdir .libs 2>/dev/null
8208 fi
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8210 $as_echo "$lt_cv_objdir" >&6; }
8211 objdir=$lt_cv_objdir
8212
8213
8214
8215
8216
8217 cat >>confdefs.h <<_ACEOF
8218 #define LT_OBJDIR "$lt_cv_objdir/"
8219 _ACEOF
8220
8221
8222
8223
8224 case $host_os in
8225 aix3*)
8226 # AIX sometimes has problems with the GCC collect2 program. For some
8227 # reason, if we set the COLLECT_NAMES environment variable, the problems
8228 # vanish in a puff of smoke.
8229 if test "X${COLLECT_NAMES+set}" != Xset; then
8230 COLLECT_NAMES=
8231 export COLLECT_NAMES
8232 fi
8233 ;;
8234 esac
8235
8236 # Global variables:
8237 ofile=libtool
8238 can_build_shared=yes
8239
8240 # All known linkers require a `.a' archive for static linking (except MSVC,
8241 # which needs '.lib').
8242 libext=a
8243
8244 with_gnu_ld="$lt_cv_prog_gnu_ld"
8245
8246 old_CC="$CC"
8247 old_CFLAGS="$CFLAGS"
8248
8249 # Set sane defaults for various variables
8250 test -z "$CC" && CC=cc
8251 test -z "$LTCC" && LTCC=$CC
8252 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8253 test -z "$LD" && LD=ld
8254 test -z "$ac_objext" && ac_objext=o
8255
8256 for cc_temp in $compiler""; do
8257 case $cc_temp in
8258 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8259 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8260 \-*) ;;
8261 *) break;;
8262 esac
8263 done
8264 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8265
8266
8267 # Only perform the check for file, if the check method requires it
8268 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8269 case $deplibs_check_method in
8270 file_magic*)
8271 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8273 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8274 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 case $MAGIC_CMD in
8278 [\\/*] | ?:[\\/]*)
8279 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8280 ;;
8281 *)
8282 lt_save_MAGIC_CMD="$MAGIC_CMD"
8283 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8284 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8285 for ac_dir in $ac_dummy; do
8286 IFS="$lt_save_ifs"
8287 test -z "$ac_dir" && ac_dir=.
8288 if test -f $ac_dir/${ac_tool_prefix}file; then
8289 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8290 if test -n "$file_magic_test_file"; then
8291 case $deplibs_check_method in
8292 "file_magic "*)
8293 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8294 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8295 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8296 $EGREP "$file_magic_regex" > /dev/null; then
8297 :
8298 else
8299 cat <<_LT_EOF 1>&2
8300
8301 *** Warning: the command libtool uses to detect shared libraries,
8302 *** $file_magic_cmd, produces output that libtool cannot recognize.
8303 *** The result is that libtool may fail to recognize shared libraries
8304 *** as such. This will affect the creation of libtool libraries that
8305 *** depend on shared libraries, but programs linked with such libtool
8306 *** libraries will work regardless of this problem. Nevertheless, you
8307 *** may want to report the problem to your system manager and/or to
8308 *** bug-libtool@gnu.org
8309
8310 _LT_EOF
8311 fi ;;
8312 esac
8313 fi
8314 break
8315 fi
8316 done
8317 IFS="$lt_save_ifs"
8318 MAGIC_CMD="$lt_save_MAGIC_CMD"
8319 ;;
8320 esac
8321 fi
8322
8323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8324 if test -n "$MAGIC_CMD"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8326 $as_echo "$MAGIC_CMD" >&6; }
8327 else
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8330 fi
8331
8332
8333
8334
8335
8336 if test -z "$lt_cv_path_MAGIC_CMD"; then
8337 if test -n "$ac_tool_prefix"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8339 $as_echo_n "checking for file... " >&6; }
8340 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 case $MAGIC_CMD in
8344 [\\/*] | ?:[\\/]*)
8345 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8346 ;;
8347 *)
8348 lt_save_MAGIC_CMD="$MAGIC_CMD"
8349 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8350 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8351 for ac_dir in $ac_dummy; do
8352 IFS="$lt_save_ifs"
8353 test -z "$ac_dir" && ac_dir=.
8354 if test -f $ac_dir/file; then
8355 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8356 if test -n "$file_magic_test_file"; then
8357 case $deplibs_check_method in
8358 "file_magic "*)
8359 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8360 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8361 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8362 $EGREP "$file_magic_regex" > /dev/null; then
8363 :
8364 else
8365 cat <<_LT_EOF 1>&2
8366
8367 *** Warning: the command libtool uses to detect shared libraries,
8368 *** $file_magic_cmd, produces output that libtool cannot recognize.
8369 *** The result is that libtool may fail to recognize shared libraries
8370 *** as such. This will affect the creation of libtool libraries that
8371 *** depend on shared libraries, but programs linked with such libtool
8372 *** libraries will work regardless of this problem. Nevertheless, you
8373 *** may want to report the problem to your system manager and/or to
8374 *** bug-libtool@gnu.org
8375
8376 _LT_EOF
8377 fi ;;
8378 esac
8379 fi
8380 break
8381 fi
8382 done
8383 IFS="$lt_save_ifs"
8384 MAGIC_CMD="$lt_save_MAGIC_CMD"
8385 ;;
8386 esac
8387 fi
8388
8389 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8390 if test -n "$MAGIC_CMD"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8392 $as_echo "$MAGIC_CMD" >&6; }
8393 else
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8396 fi
8397
8398
8399 else
8400 MAGIC_CMD=:
8401 fi
8402 fi
8403
8404 fi
8405 ;;
8406 esac
8407
8408 # Use C for the default configuration in the libtool script
8409
8410 lt_save_CC="$CC"
8411 ac_ext=c
8412 ac_cpp='$CPP $CPPFLAGS'
8413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8416
8417
8418 # Source file extension for C test sources.
8419 ac_ext=c
8420
8421 # Object file extension for compiled C test sources.
8422 objext=o
8423 objext=$objext
8424
8425 # Code to be used in simple compile tests
8426 lt_simple_compile_test_code="int some_variable = 0;"
8427
8428 # Code to be used in simple link tests
8429 lt_simple_link_test_code='int main(){return(0);}'
8430
8431
8432
8433
8434
8435
8436
8437 # If no C compiler was specified, use CC.
8438 LTCC=${LTCC-"$CC"}
8439
8440 # If no C compiler flags were specified, use CFLAGS.
8441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8442
8443 # Allow CC to be a program name with arguments.
8444 compiler=$CC
8445
8446 # Save the default compiler, since it gets overwritten when the other
8447 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8448 compiler_DEFAULT=$CC
8449
8450 # save warnings/boilerplate of simple test code
8451 ac_outfile=conftest.$ac_objext
8452 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8453 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8454 _lt_compiler_boilerplate=`cat conftest.err`
8455 $RM conftest*
8456
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8459 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_linker_boilerplate=`cat conftest.err`
8461 $RM -r conftest*
8462
8463
8464 ## CAVEAT EMPTOR:
8465 ## There is no encapsulation within the following macros, do not change
8466 ## the running order or otherwise move them around unless you know exactly
8467 ## what you are doing...
8468 if test -n "$compiler"; then
8469
8470 lt_prog_compiler_no_builtin_flag=
8471
8472 if test "$GCC" = yes; then
8473 case $cc_basename in
8474 nvcc*)
8475 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8476 *)
8477 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8478 esac
8479
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8481 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8482 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 lt_cv_prog_compiler_rtti_exceptions=no
8486 ac_outfile=conftest.$ac_objext
8487 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488 lt_compiler_flag="-fno-rtti -fno-exceptions"
8489 # Insert the option either (1) after the last *FLAGS variable, or
8490 # (2) before a word containing "conftest.", or (3) at the end.
8491 # Note that $ac_compile itself does not contain backslashes and begins
8492 # with a dollar sign (not a hyphen), so the echo should work correctly.
8493 # The option is referenced via a variable to avoid confusing sed.
8494 lt_compile=`echo "$ac_compile" | $SED \
8495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497 -e 's:$: $lt_compiler_flag:'`
8498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499 (eval "$lt_compile" 2>conftest.err)
8500 ac_status=$?
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 if (exit $ac_status) && test -s "$ac_outfile"; then
8504 # The compiler can only warn and ignore the option if not recognized
8505 # So say no if there are warnings other than the usual output.
8506 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8507 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8508 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8509 lt_cv_prog_compiler_rtti_exceptions=yes
8510 fi
8511 fi
8512 $RM conftest*
8513
8514 fi
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8516 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8517
8518 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8519 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8520 else
8521 :
8522 fi
8523
8524 fi
8525
8526
8527
8528
8529
8530
8531 lt_prog_compiler_wl=
8532 lt_prog_compiler_pic=
8533 lt_prog_compiler_static=
8534
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8536 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8537
8538 if test "$GCC" = yes; then
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_static='-static'
8541
8542 case $host_os in
8543 aix*)
8544 # All AIX code is PIC.
8545 if test "$host_cpu" = ia64; then
8546 # AIX 5 now supports IA64 processor
8547 lt_prog_compiler_static='-Bstatic'
8548 fi
8549 lt_prog_compiler_pic='-fPIC'
8550 ;;
8551
8552 amigaos*)
8553 case $host_cpu in
8554 powerpc)
8555 # see comment about AmigaOS4 .so support
8556 lt_prog_compiler_pic='-fPIC'
8557 ;;
8558 m68k)
8559 # FIXME: we need at least 68020 code to build shared libraries, but
8560 # adding the `-m68020' flag to GCC prevents building anything better,
8561 # like `-m68040'.
8562 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8563 ;;
8564 esac
8565 ;;
8566
8567 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8568 # PIC is the default for these OSes.
8569 ;;
8570
8571 mingw* | cygwin* | pw32* | os2* | cegcc*)
8572 # This hack is so that the source file can tell whether it is being
8573 # built for inclusion in a dll (and should export symbols for example).
8574 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8575 # (--disable-auto-import) libraries
8576 lt_prog_compiler_pic='-DDLL_EXPORT'
8577 ;;
8578
8579 darwin* | rhapsody*)
8580 # PIC is the default on this platform
8581 # Common symbols not allowed in MH_DYLIB files
8582 lt_prog_compiler_pic='-fno-common'
8583 ;;
8584
8585 haiku*)
8586 # PIC is the default for Haiku.
8587 # The "-static" flag exists, but is broken.
8588 lt_prog_compiler_static=
8589 ;;
8590
8591 hpux*)
8592 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8593 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8594 # sets the default TLS model and affects inlining.
8595 case $host_cpu in
8596 hppa*64*)
8597 # +Z the default
8598 ;;
8599 *)
8600 lt_prog_compiler_pic='-fPIC'
8601 ;;
8602 esac
8603 ;;
8604
8605 interix[3-9]*)
8606 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8607 # Instead, we relocate shared libraries at runtime.
8608 ;;
8609
8610 msdosdjgpp*)
8611 # Just because we use GCC doesn't mean we suddenly get shared libraries
8612 # on systems that don't support them.
8613 lt_prog_compiler_can_build_shared=no
8614 enable_shared=no
8615 ;;
8616
8617 *nto* | *qnx*)
8618 # QNX uses GNU C++, but need to define -shared option too, otherwise
8619 # it will coredump.
8620 lt_prog_compiler_pic='-fPIC -shared'
8621 ;;
8622
8623 sysv4*MP*)
8624 if test -d /usr/nec; then
8625 lt_prog_compiler_pic=-Kconform_pic
8626 fi
8627 ;;
8628
8629 *)
8630 lt_prog_compiler_pic='-fPIC'
8631 ;;
8632 esac
8633
8634 case $cc_basename in
8635 nvcc*) # Cuda Compiler Driver 2.2
8636 lt_prog_compiler_wl='-Xlinker '
8637 lt_prog_compiler_pic='-Xcompiler -fPIC'
8638 ;;
8639 esac
8640 else
8641 # PORTME Check for flag to pass linker flags through the system compiler.
8642 case $host_os in
8643 aix*)
8644 lt_prog_compiler_wl='-Wl,'
8645 if test "$host_cpu" = ia64; then
8646 # AIX 5 now supports IA64 processor
8647 lt_prog_compiler_static='-Bstatic'
8648 else
8649 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8650 fi
8651 ;;
8652
8653 mingw* | cygwin* | pw32* | os2* | cegcc*)
8654 # This hack is so that the source file can tell whether it is being
8655 # built for inclusion in a dll (and should export symbols for example).
8656 lt_prog_compiler_pic='-DDLL_EXPORT'
8657 ;;
8658
8659 hpux9* | hpux10* | hpux11*)
8660 lt_prog_compiler_wl='-Wl,'
8661 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8662 # not for PA HP-UX.
8663 case $host_cpu in
8664 hppa*64*|ia64*)
8665 # +Z the default
8666 ;;
8667 *)
8668 lt_prog_compiler_pic='+Z'
8669 ;;
8670 esac
8671 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8672 lt_prog_compiler_static='${wl}-a ${wl}archive'
8673 ;;
8674
8675 irix5* | irix6* | nonstopux*)
8676 lt_prog_compiler_wl='-Wl,'
8677 # PIC (with -KPIC) is the default.
8678 lt_prog_compiler_static='-non_shared'
8679 ;;
8680
8681 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8682 case $cc_basename in
8683 # old Intel for x86_64 which still supported -KPIC.
8684 ecc*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-KPIC'
8687 lt_prog_compiler_static='-static'
8688 ;;
8689 # icc used to be incompatible with GCC.
8690 # ICC 10 doesn't accept -KPIC any more.
8691 icc* | ifort*)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='-fPIC'
8694 lt_prog_compiler_static='-static'
8695 ;;
8696 # Lahey Fortran 8.1.
8697 lf95*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='--shared'
8700 lt_prog_compiler_static='--static'
8701 ;;
8702 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8703 # Portland Group compilers (*not* the Pentium gcc compiler,
8704 # which looks to be a dead project)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-fpic'
8707 lt_prog_compiler_static='-Bstatic'
8708 ;;
8709 ccc*)
8710 lt_prog_compiler_wl='-Wl,'
8711 # All Alpha code is PIC.
8712 lt_prog_compiler_static='-non_shared'
8713 ;;
8714 xl* | bgxl* | bgf* | mpixl*)
8715 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-qpic'
8718 lt_prog_compiler_static='-qstaticlink'
8719 ;;
8720 *)
8721 case `$CC -V 2>&1 | sed 5q` in
8722 *Sun\ F* | *Sun*Fortran*)
8723 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 lt_prog_compiler_wl=''
8727 ;;
8728 *Sun\ C*)
8729 # Sun C 5.9
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl='-Wl,'
8733 ;;
8734 esac
8735 ;;
8736 esac
8737 ;;
8738
8739 newsos6)
8740 lt_prog_compiler_pic='-KPIC'
8741 lt_prog_compiler_static='-Bstatic'
8742 ;;
8743
8744 *nto* | *qnx*)
8745 # QNX uses GNU C++, but need to define -shared option too, otherwise
8746 # it will coredump.
8747 lt_prog_compiler_pic='-fPIC -shared'
8748 ;;
8749
8750 osf3* | osf4* | osf5*)
8751 lt_prog_compiler_wl='-Wl,'
8752 # All OSF/1 code is PIC.
8753 lt_prog_compiler_static='-non_shared'
8754 ;;
8755
8756 rdos*)
8757 lt_prog_compiler_static='-non_shared'
8758 ;;
8759
8760 solaris*)
8761 lt_prog_compiler_pic='-KPIC'
8762 lt_prog_compiler_static='-Bstatic'
8763 case $cc_basename in
8764 f77* | f90* | f95*)
8765 lt_prog_compiler_wl='-Qoption ld ';;
8766 *)
8767 lt_prog_compiler_wl='-Wl,';;
8768 esac
8769 ;;
8770
8771 sunos4*)
8772 lt_prog_compiler_wl='-Qoption ld '
8773 lt_prog_compiler_pic='-PIC'
8774 lt_prog_compiler_static='-Bstatic'
8775 ;;
8776
8777 sysv4 | sysv4.2uw2* | sysv4.3*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-KPIC'
8780 lt_prog_compiler_static='-Bstatic'
8781 ;;
8782
8783 sysv4*MP*)
8784 if test -d /usr/nec ;then
8785 lt_prog_compiler_pic='-Kconform_pic'
8786 lt_prog_compiler_static='-Bstatic'
8787 fi
8788 ;;
8789
8790 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8791 lt_prog_compiler_wl='-Wl,'
8792 lt_prog_compiler_pic='-KPIC'
8793 lt_prog_compiler_static='-Bstatic'
8794 ;;
8795
8796 unicos*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_can_build_shared=no
8799 ;;
8800
8801 uts4*)
8802 lt_prog_compiler_pic='-pic'
8803 lt_prog_compiler_static='-Bstatic'
8804 ;;
8805
8806 *)
8807 lt_prog_compiler_can_build_shared=no
8808 ;;
8809 esac
8810 fi
8811
8812 case $host_os in
8813 # For platforms which do not support PIC, -DPIC is meaningless:
8814 *djgpp*)
8815 lt_prog_compiler_pic=
8816 ;;
8817 *)
8818 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8819 ;;
8820 esac
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8822 $as_echo "$lt_prog_compiler_pic" >&6; }
8823
8824
8825
8826
8827
8828
8829 #
8830 # Check to make sure the PIC flag actually works.
8831 #
8832 if test -n "$lt_prog_compiler_pic"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8834 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8835 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 lt_cv_prog_compiler_pic_works=no
8839 ac_outfile=conftest.$ac_objext
8840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8841 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8842 # Insert the option either (1) after the last *FLAGS variable, or
8843 # (2) before a word containing "conftest.", or (3) at the end.
8844 # Note that $ac_compile itself does not contain backslashes and begins
8845 # with a dollar sign (not a hyphen), so the echo should work correctly.
8846 # The option is referenced via a variable to avoid confusing sed.
8847 lt_compile=`echo "$ac_compile" | $SED \
8848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850 -e 's:$: $lt_compiler_flag:'`
8851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8852 (eval "$lt_compile" 2>conftest.err)
8853 ac_status=$?
8854 cat conftest.err >&5
8855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8856 if (exit $ac_status) && test -s "$ac_outfile"; then
8857 # The compiler can only warn and ignore the option if not recognized
8858 # So say no if there are warnings other than the usual output.
8859 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8860 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8861 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8862 lt_cv_prog_compiler_pic_works=yes
8863 fi
8864 fi
8865 $RM conftest*
8866
8867 fi
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8869 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8870
8871 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8872 case $lt_prog_compiler_pic in
8873 "" | " "*) ;;
8874 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8875 esac
8876 else
8877 lt_prog_compiler_pic=
8878 lt_prog_compiler_can_build_shared=no
8879 fi
8880
8881 fi
8882
8883
8884
8885
8886
8887
8888 #
8889 # Check to make sure the static flag actually works.
8890 #
8891 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8894 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 lt_cv_prog_compiler_static_works=no
8898 save_LDFLAGS="$LDFLAGS"
8899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8902 # The linker can only warn and ignore the option if not recognized
8903 # So say no if there are warnings
8904 if test -s conftest.err; then
8905 # Append any errors to the config.log.
8906 cat conftest.err 1>&5
8907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909 if diff conftest.exp conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_static_works=yes
8911 fi
8912 else
8913 lt_cv_prog_compiler_static_works=yes
8914 fi
8915 fi
8916 $RM -r conftest*
8917 LDFLAGS="$save_LDFLAGS"
8918
8919 fi
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8921 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8922
8923 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8924 :
8925 else
8926 lt_prog_compiler_static=
8927 fi
8928
8929
8930
8931
8932
8933
8934
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8936 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8937 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 lt_cv_prog_compiler_c_o=no
8941 $RM -r conftest 2>/dev/null
8942 mkdir conftest
8943 cd conftest
8944 mkdir out
8945 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8946
8947 lt_compiler_flag="-o out/conftest2.$ac_objext"
8948 # Insert the option either (1) after the last *FLAGS variable, or
8949 # (2) before a word containing "conftest.", or (3) at the end.
8950 # Note that $ac_compile itself does not contain backslashes and begins
8951 # with a dollar sign (not a hyphen), so the echo should work correctly.
8952 lt_compile=`echo "$ac_compile" | $SED \
8953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8955 -e 's:$: $lt_compiler_flag:'`
8956 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8957 (eval "$lt_compile" 2>out/conftest.err)
8958 ac_status=$?
8959 cat out/conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8962 then
8963 # The compiler can only warn and ignore the option if not recognized
8964 # So say no if there are warnings
8965 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8966 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8967 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8968 lt_cv_prog_compiler_c_o=yes
8969 fi
8970 fi
8971 chmod u+w . 2>&5
8972 $RM conftest*
8973 # SGI C++ compiler will create directory out/ii_files/ for
8974 # template instantiation
8975 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8976 $RM out/* && rmdir out
8977 cd ..
8978 $RM -r conftest
8979 $RM conftest*
8980
8981 fi
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8983 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8984
8985
8986
8987
8988
8989
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8991 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8992 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 lt_cv_prog_compiler_c_o=no
8996 $RM -r conftest 2>/dev/null
8997 mkdir conftest
8998 cd conftest
8999 mkdir out
9000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9001
9002 lt_compiler_flag="-o out/conftest2.$ac_objext"
9003 # Insert the option either (1) after the last *FLAGS variable, or
9004 # (2) before a word containing "conftest.", or (3) at the end.
9005 # Note that $ac_compile itself does not contain backslashes and begins
9006 # with a dollar sign (not a hyphen), so the echo should work correctly.
9007 lt_compile=`echo "$ac_compile" | $SED \
9008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9010 -e 's:$: $lt_compiler_flag:'`
9011 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9012 (eval "$lt_compile" 2>out/conftest.err)
9013 ac_status=$?
9014 cat out/conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9017 then
9018 # The compiler can only warn and ignore the option if not recognized
9019 # So say no if there are warnings
9020 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9021 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9022 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9023 lt_cv_prog_compiler_c_o=yes
9024 fi
9025 fi
9026 chmod u+w . 2>&5
9027 $RM conftest*
9028 # SGI C++ compiler will create directory out/ii_files/ for
9029 # template instantiation
9030 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9031 $RM out/* && rmdir out
9032 cd ..
9033 $RM -r conftest
9034 $RM conftest*
9035
9036 fi
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9038 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9039
9040
9041
9042
9043 hard_links="nottested"
9044 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9045 # do not overwrite the value of need_locks provided by the user
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9047 $as_echo_n "checking if we can lock with hard links... " >&6; }
9048 hard_links=yes
9049 $RM conftest*
9050 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9051 touch conftest.a
9052 ln conftest.a conftest.b 2>&5 || hard_links=no
9053 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9055 $as_echo "$hard_links" >&6; }
9056 if test "$hard_links" = no; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9058 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9059 need_locks=warn
9060 fi
9061 else
9062 need_locks=no
9063 fi
9064
9065
9066
9067
9068
9069
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9071 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9072
9073 runpath_var=
9074 allow_undefined_flag=
9075 always_export_symbols=no
9076 archive_cmds=
9077 archive_expsym_cmds=
9078 compiler_needs_object=no
9079 enable_shared_with_static_runtimes=no
9080 export_dynamic_flag_spec=
9081 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9082 hardcode_automatic=no
9083 hardcode_direct=no
9084 hardcode_direct_absolute=no
9085 hardcode_libdir_flag_spec=
9086 hardcode_libdir_flag_spec_ld=
9087 hardcode_libdir_separator=
9088 hardcode_minus_L=no
9089 hardcode_shlibpath_var=unsupported
9090 inherit_rpath=no
9091 link_all_deplibs=unknown
9092 module_cmds=
9093 module_expsym_cmds=
9094 old_archive_from_new_cmds=
9095 old_archive_from_expsyms_cmds=
9096 thread_safe_flag_spec=
9097 whole_archive_flag_spec=
9098 # include_expsyms should be a list of space-separated symbols to be *always*
9099 # included in the symbol list
9100 include_expsyms=
9101 # exclude_expsyms can be an extended regexp of symbols to exclude
9102 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9103 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9104 # as well as any symbol that contains `d'.
9105 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9106 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9107 # platforms (ab)use it in PIC code, but their linkers get confused if
9108 # the symbol is explicitly referenced. Since portable code cannot
9109 # rely on this symbol name, it's probably fine to never include it in
9110 # preloaded symbol tables.
9111 # Exclude shared library initialization/finalization symbols.
9112 extract_expsyms_cmds=
9113
9114 case $host_os in
9115 cygwin* | mingw* | pw32* | cegcc*)
9116 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9117 # When not using gcc, we currently assume that we are using
9118 # Microsoft Visual C++.
9119 if test "$GCC" != yes; then
9120 with_gnu_ld=no
9121 fi
9122 ;;
9123 interix*)
9124 # we just hope/assume this is gcc and not c89 (= MSVC++)
9125 with_gnu_ld=yes
9126 ;;
9127 openbsd*)
9128 with_gnu_ld=no
9129 ;;
9130 esac
9131
9132 ld_shlibs=yes
9133
9134 # On some targets, GNU ld is compatible enough with the native linker
9135 # that we're better off using the native interface for both.
9136 lt_use_gnu_ld_interface=no
9137 if test "$with_gnu_ld" = yes; then
9138 case $host_os in
9139 aix*)
9140 # The AIX port of GNU ld has always aspired to compatibility
9141 # with the native linker. However, as the warning in the GNU ld
9142 # block says, versions before 2.19.5* couldn't really create working
9143 # shared libraries, regardless of the interface used.
9144 case `$LD -v 2>&1` in
9145 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9146 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9147 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9148 *)
9149 lt_use_gnu_ld_interface=yes
9150 ;;
9151 esac
9152 ;;
9153 *)
9154 lt_use_gnu_ld_interface=yes
9155 ;;
9156 esac
9157 fi
9158
9159 if test "$lt_use_gnu_ld_interface" = yes; then
9160 # If archive_cmds runs LD, not CC, wlarc should be empty
9161 wlarc='${wl}'
9162
9163 # Set some defaults for GNU ld with shared library support. These
9164 # are reset later if shared libraries are not supported. Putting them
9165 # here allows them to be overridden if necessary.
9166 runpath_var=LD_RUN_PATH
9167 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9168 export_dynamic_flag_spec='${wl}--export-dynamic'
9169 # ancient GNU ld didn't support --whole-archive et. al.
9170 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9171 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9172 else
9173 whole_archive_flag_spec=
9174 fi
9175 supports_anon_versioning=no
9176 case `$LD -v 2>&1` in
9177 *GNU\ gold*) supports_anon_versioning=yes ;;
9178 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9179 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9180 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9181 *\ 2.11.*) ;; # other 2.11 versions
9182 *) supports_anon_versioning=yes ;;
9183 esac
9184
9185 # See if GNU ld supports shared libraries.
9186 case $host_os in
9187 aix[3-9]*)
9188 # On AIX/PPC, the GNU linker is very broken
9189 if test "$host_cpu" != ia64; then
9190 ld_shlibs=no
9191 cat <<_LT_EOF 1>&2
9192
9193 *** Warning: the GNU linker, at least up to release 2.19, is reported
9194 *** to be unable to reliably create shared libraries on AIX.
9195 *** Therefore, libtool is disabling shared libraries support. If you
9196 *** really care for shared libraries, you may want to install binutils
9197 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9198 *** You will then need to restart the configuration process.
9199
9200 _LT_EOF
9201 fi
9202 ;;
9203
9204 amigaos*)
9205 case $host_cpu in
9206 powerpc)
9207 # see comment about AmigaOS4 .so support
9208 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9209 archive_expsym_cmds=''
9210 ;;
9211 m68k)
9212 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)'
9213 hardcode_libdir_flag_spec='-L$libdir'
9214 hardcode_minus_L=yes
9215 ;;
9216 esac
9217 ;;
9218
9219 beos*)
9220 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221 allow_undefined_flag=unsupported
9222 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9223 # support --undefined. This deserves some investigation. FIXME
9224 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 else
9226 ld_shlibs=no
9227 fi
9228 ;;
9229
9230 cygwin* | mingw* | pw32* | cegcc*)
9231 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9232 # as there is no search path for DLLs.
9233 hardcode_libdir_flag_spec='-L$libdir'
9234 export_dynamic_flag_spec='${wl}--export-all-symbols'
9235 allow_undefined_flag=unsupported
9236 always_export_symbols=no
9237 enable_shared_with_static_runtimes=yes
9238 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9239
9240 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9242 # If the export-symbols file already is a .def file (1st line
9243 # is EXPORTS), use it as is; otherwise, prepend...
9244 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9245 cp $export_symbols $output_objdir/$soname.def;
9246 else
9247 echo EXPORTS > $output_objdir/$soname.def;
9248 cat $export_symbols >> $output_objdir/$soname.def;
9249 fi~
9250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9251 else
9252 ld_shlibs=no
9253 fi
9254 ;;
9255
9256 haiku*)
9257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9258 link_all_deplibs=yes
9259 ;;
9260
9261 interix[3-9]*)
9262 hardcode_direct=no
9263 hardcode_shlibpath_var=no
9264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9265 export_dynamic_flag_spec='${wl}-E'
9266 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9267 # Instead, shared libraries are loaded at an image base (0x10000000 by
9268 # default) and relocated if they conflict, which is a slow very memory
9269 # consuming and fragmenting process. To avoid this, we pick a random,
9270 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9271 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9273 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'
9274 ;;
9275
9276 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9277 tmp_diet=no
9278 if test "$host_os" = linux-dietlibc; then
9279 case $cc_basename in
9280 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9281 esac
9282 fi
9283 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9284 && test "$tmp_diet" = no
9285 then
9286 tmp_addflag=
9287 tmp_sharedflag='-shared'
9288 case $cc_basename,$host_cpu in
9289 pgcc*) # Portland Group C compiler
9290 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'
9291 tmp_addflag=' $pic_flag'
9292 ;;
9293 pgf77* | pgf90* | pgf95* | pgfortran*)
9294 # Portland Group f77 and f90 compilers
9295 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'
9296 tmp_addflag=' $pic_flag -Mnomain' ;;
9297 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9298 tmp_addflag=' -i_dynamic' ;;
9299 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9300 tmp_addflag=' -i_dynamic -nofor_main' ;;
9301 ifc* | ifort*) # Intel Fortran compiler
9302 tmp_addflag=' -nofor_main' ;;
9303 lf95*) # Lahey Fortran 8.1
9304 whole_archive_flag_spec=
9305 tmp_sharedflag='--shared' ;;
9306 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9307 tmp_sharedflag='-qmkshrobj'
9308 tmp_addflag= ;;
9309 nvcc*) # Cuda Compiler Driver 2.2
9310 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'
9311 compiler_needs_object=yes
9312 ;;
9313 esac
9314 case `$CC -V 2>&1 | sed 5q` in
9315 *Sun\ C*) # Sun C 5.9
9316 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'
9317 compiler_needs_object=yes
9318 tmp_sharedflag='-G' ;;
9319 *Sun\ F*) # Sun Fortran 8.3
9320 tmp_sharedflag='-G' ;;
9321 esac
9322 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323
9324 if test "x$supports_anon_versioning" = xyes; then
9325 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9326 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9327 echo "local: *; };" >> $output_objdir/$libname.ver~
9328 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9329 fi
9330
9331 case $cc_basename in
9332 xlf* | bgf* | bgxlf* | mpixlf*)
9333 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9334 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9335 hardcode_libdir_flag_spec=
9336 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9337 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9338 if test "x$supports_anon_versioning" = xyes; then
9339 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9341 echo "local: *; };" >> $output_objdir/$libname.ver~
9342 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9343 fi
9344 ;;
9345 esac
9346 else
9347 ld_shlibs=no
9348 fi
9349 ;;
9350
9351 netbsd*)
9352 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9353 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9354 wlarc=
9355 else
9356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9358 fi
9359 ;;
9360
9361 solaris*)
9362 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9363 ld_shlibs=no
9364 cat <<_LT_EOF 1>&2
9365
9366 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9367 *** create shared libraries on Solaris systems. Therefore, libtool
9368 *** is disabling shared libraries support. We urge you to upgrade GNU
9369 *** binutils to release 2.9.1 or newer. Another option is to modify
9370 *** your PATH or compiler configuration so that the native linker is
9371 *** used, and then restart.
9372
9373 _LT_EOF
9374 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377 else
9378 ld_shlibs=no
9379 fi
9380 ;;
9381
9382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9383 case `$LD -v 2>&1` in
9384 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9385 ld_shlibs=no
9386 cat <<_LT_EOF 1>&2
9387
9388 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9389 *** reliably create shared libraries on SCO systems. Therefore, libtool
9390 *** is disabling shared libraries support. We urge you to upgrade GNU
9391 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9392 *** your PATH or compiler configuration so that the native linker is
9393 *** used, and then restart.
9394
9395 _LT_EOF
9396 ;;
9397 *)
9398 # For security reasons, it is highly recommended that you always
9399 # use absolute paths for naming shared libraries, and exclude the
9400 # DT_RUNPATH tag from executables and libraries. But doing so
9401 # requires that you compile everything twice, which is a pain.
9402 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9403 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9406 else
9407 ld_shlibs=no
9408 fi
9409 ;;
9410 esac
9411 ;;
9412
9413 sunos4*)
9414 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9415 wlarc=
9416 hardcode_direct=yes
9417 hardcode_shlibpath_var=no
9418 ;;
9419
9420 *)
9421 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9423 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9424 else
9425 ld_shlibs=no
9426 fi
9427 ;;
9428 esac
9429
9430 if test "$ld_shlibs" = no; then
9431 runpath_var=
9432 hardcode_libdir_flag_spec=
9433 export_dynamic_flag_spec=
9434 whole_archive_flag_spec=
9435 fi
9436 else
9437 # PORTME fill in a description of your system's linker (not GNU ld)
9438 case $host_os in
9439 aix3*)
9440 allow_undefined_flag=unsupported
9441 always_export_symbols=yes
9442 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'
9443 # Note: this linker hardcodes the directories in LIBPATH if there
9444 # are no directories specified by -L.
9445 hardcode_minus_L=yes
9446 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9447 # Neither direct hardcoding nor static linking is supported with a
9448 # broken collect2.
9449 hardcode_direct=unsupported
9450 fi
9451 ;;
9452
9453 aix[4-9]*)
9454 if test "$host_cpu" = ia64; then
9455 # On IA64, the linker does run time linking by default, so we don't
9456 # have to do anything special.
9457 aix_use_runtimelinking=no
9458 exp_sym_flag='-Bexport'
9459 no_entry_flag=""
9460 else
9461 # If we're using GNU nm, then we don't want the "-C" option.
9462 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9463 # Also, AIX nm treats weak defined symbols like other global
9464 # defined symbols, whereas GNU nm marks them as "W".
9465 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9466 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'
9467 else
9468 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'
9469 fi
9470 aix_use_runtimelinking=no
9471
9472 # Test if we are trying to use run time linking or normal
9473 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9474 # need to do runtime linking.
9475 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9476 for ld_flag in $LDFLAGS; do
9477 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9478 aix_use_runtimelinking=yes
9479 break
9480 fi
9481 done
9482 ;;
9483 esac
9484
9485 exp_sym_flag='-bexport'
9486 no_entry_flag='-bnoentry'
9487 fi
9488
9489 # When large executables or shared objects are built, AIX ld can
9490 # have problems creating the table of contents. If linking a library
9491 # or program results in "error TOC overflow" add -mminimal-toc to
9492 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9493 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9494
9495 archive_cmds=''
9496 hardcode_direct=yes
9497 hardcode_direct_absolute=yes
9498 hardcode_libdir_separator=':'
9499 link_all_deplibs=yes
9500 file_list_spec='${wl}-f,'
9501
9502 if test "$GCC" = yes; then
9503 case $host_os in aix4.[012]|aix4.[012].*)
9504 # We only want to do this on AIX 4.2 and lower, the check
9505 # below for broken collect2 doesn't work under 4.3+
9506 collect2name=`${CC} -print-prog-name=collect2`
9507 if test -f "$collect2name" &&
9508 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9509 then
9510 # We have reworked collect2
9511 :
9512 else
9513 # We have old collect2
9514 hardcode_direct=unsupported
9515 # It fails to find uninstalled libraries when the uninstalled
9516 # path is not listed in the libpath. Setting hardcode_minus_L
9517 # to unsupported forces relinking
9518 hardcode_minus_L=yes
9519 hardcode_libdir_flag_spec='-L$libdir'
9520 hardcode_libdir_separator=
9521 fi
9522 ;;
9523 esac
9524 shared_flag='-shared'
9525 if test "$aix_use_runtimelinking" = yes; then
9526 shared_flag="$shared_flag "'${wl}-G'
9527 fi
9528 else
9529 # not using gcc
9530 if test "$host_cpu" = ia64; then
9531 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9532 # chokes on -Wl,-G. The following line is correct:
9533 shared_flag='-G'
9534 else
9535 if test "$aix_use_runtimelinking" = yes; then
9536 shared_flag='${wl}-G'
9537 else
9538 shared_flag='${wl}-bM:SRE'
9539 fi
9540 fi
9541 fi
9542
9543 export_dynamic_flag_spec='${wl}-bexpall'
9544 # It seems that -bexpall does not export symbols beginning with
9545 # underscore (_), so it is better to generate a list of symbols to export.
9546 always_export_symbols=yes
9547 if test "$aix_use_runtimelinking" = yes; then
9548 # Warning - without using the other runtime loading flags (-brtl),
9549 # -berok will link without error, but may produce a broken library.
9550 allow_undefined_flag='-berok'
9551 # Determine the default libpath from the value encoded in an
9552 # empty executable.
9553 if test x$gcc_no_link = xyes; then
9554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9555 fi
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558
9559 int
9560 main ()
9561 {
9562
9563 ;
9564 return 0;
9565 }
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568
9569 lt_aix_libpath_sed='
9570 /Import File Strings/,/^$/ {
9571 /^0/ {
9572 s/^0 *\(.*\)$/\1/
9573 p
9574 }
9575 }'
9576 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9577 # Check for a 64-bit object if we didn't find anything.
9578 if test -z "$aix_libpath"; then
9579 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580 fi
9581 fi
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9585
9586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9587 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"
9588 else
9589 if test "$host_cpu" = ia64; then
9590 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9591 allow_undefined_flag="-z nodefs"
9592 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"
9593 else
9594 # Determine the default libpath from the value encoded in an
9595 # empty executable.
9596 if test x$gcc_no_link = xyes; then
9597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9598 fi
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601
9602 int
9603 main ()
9604 {
9605
9606 ;
9607 return 0;
9608 }
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611
9612 lt_aix_libpath_sed='
9613 /Import File Strings/,/^$/ {
9614 /^0/ {
9615 s/^0 *\(.*\)$/\1/
9616 p
9617 }
9618 }'
9619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 # Check for a 64-bit object if we didn't find anything.
9621 if test -z "$aix_libpath"; then
9622 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9623 fi
9624 fi
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9628
9629 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9630 # Warning - without using the other run time loading flags,
9631 # -berok will link without error, but may produce a broken library.
9632 no_undefined_flag=' ${wl}-bernotok'
9633 allow_undefined_flag=' ${wl}-berok'
9634 if test "$with_gnu_ld" = yes; then
9635 # We only use this code for GNU lds that support --whole-archive.
9636 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9637 else
9638 # Exported symbols can be pulled into shared objects from archives
9639 whole_archive_flag_spec='$convenience'
9640 fi
9641 archive_cmds_need_lc=yes
9642 # This is similar to how AIX traditionally builds its shared libraries.
9643 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'
9644 fi
9645 fi
9646 ;;
9647
9648 amigaos*)
9649 case $host_cpu in
9650 powerpc)
9651 # see comment about AmigaOS4 .so support
9652 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653 archive_expsym_cmds=''
9654 ;;
9655 m68k)
9656 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)'
9657 hardcode_libdir_flag_spec='-L$libdir'
9658 hardcode_minus_L=yes
9659 ;;
9660 esac
9661 ;;
9662
9663 bsdi[45]*)
9664 export_dynamic_flag_spec=-rdynamic
9665 ;;
9666
9667 cygwin* | mingw* | pw32* | cegcc*)
9668 # When not using gcc, we currently assume that we are using
9669 # Microsoft Visual C++.
9670 # hardcode_libdir_flag_spec is actually meaningless, as there is
9671 # no search path for DLLs.
9672 hardcode_libdir_flag_spec=' '
9673 allow_undefined_flag=unsupported
9674 # Tell ltmain to make .lib files, not .a files.
9675 libext=lib
9676 # Tell ltmain to make .dll files, not .so files.
9677 shrext_cmds=".dll"
9678 # FIXME: Setting linknames here is a bad hack.
9679 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9680 # The linker will automatically build a .lib file if we build a DLL.
9681 old_archive_from_new_cmds='true'
9682 # FIXME: Should let the user specify the lib program.
9683 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9684 fix_srcfile_path='`cygpath -w "$srcfile"`'
9685 enable_shared_with_static_runtimes=yes
9686 ;;
9687
9688 darwin* | rhapsody*)
9689
9690
9691 archive_cmds_need_lc=no
9692 hardcode_direct=no
9693 hardcode_automatic=yes
9694 hardcode_shlibpath_var=unsupported
9695 if test "$lt_cv_ld_force_load" = "yes"; then
9696 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\"`'
9697 else
9698 whole_archive_flag_spec=''
9699 fi
9700 link_all_deplibs=yes
9701 allow_undefined_flag="$_lt_dar_allow_undefined"
9702 case $cc_basename in
9703 ifort*) _lt_dar_can_shared=yes ;;
9704 *) _lt_dar_can_shared=$GCC ;;
9705 esac
9706 if test "$_lt_dar_can_shared" = "yes"; then
9707 output_verbose_link_cmd=func_echo_all
9708 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9709 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9710 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}"
9711 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}"
9712
9713 else
9714 ld_shlibs=no
9715 fi
9716
9717 ;;
9718
9719 dgux*)
9720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9721 hardcode_libdir_flag_spec='-L$libdir'
9722 hardcode_shlibpath_var=no
9723 ;;
9724
9725 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9726 # support. Future versions do this automatically, but an explicit c++rt0.o
9727 # does not break anything, and helps significantly (at the cost of a little
9728 # extra space).
9729 freebsd2.2*)
9730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9731 hardcode_libdir_flag_spec='-R$libdir'
9732 hardcode_direct=yes
9733 hardcode_shlibpath_var=no
9734 ;;
9735
9736 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9737 freebsd2.*)
9738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_direct=yes
9740 hardcode_minus_L=yes
9741 hardcode_shlibpath_var=no
9742 ;;
9743
9744 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9745 freebsd* | dragonfly*)
9746 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9747 hardcode_libdir_flag_spec='-R$libdir'
9748 hardcode_direct=yes
9749 hardcode_shlibpath_var=no
9750 ;;
9751
9752 hpux9*)
9753 if test "$GCC" = yes; then
9754 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'
9755 else
9756 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'
9757 fi
9758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9759 hardcode_libdir_separator=:
9760 hardcode_direct=yes
9761
9762 # hardcode_minus_L: Not really in the search PATH,
9763 # but as the default location of the library.
9764 hardcode_minus_L=yes
9765 export_dynamic_flag_spec='${wl}-E'
9766 ;;
9767
9768 hpux10*)
9769 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9770 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9771 else
9772 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9773 fi
9774 if test "$with_gnu_ld" = no; then
9775 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9776 hardcode_libdir_flag_spec_ld='+b $libdir'
9777 hardcode_libdir_separator=:
9778 hardcode_direct=yes
9779 hardcode_direct_absolute=yes
9780 export_dynamic_flag_spec='${wl}-E'
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9784 fi
9785 ;;
9786
9787 hpux11*)
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 case $host_cpu in
9790 hppa*64*)
9791 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9792 ;;
9793 ia64*)
9794 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9795 ;;
9796 *)
9797 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9798 ;;
9799 esac
9800 else
9801 case $host_cpu in
9802 hppa*64*)
9803 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 ;;
9805 ia64*)
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9807 ;;
9808 *)
9809
9810 # Older versions of the 11.00 compiler do not understand -b yet
9811 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9813 $as_echo_n "checking if $CC understands -b... " >&6; }
9814 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 lt_cv_prog_compiler__b=no
9818 save_LDFLAGS="$LDFLAGS"
9819 LDFLAGS="$LDFLAGS -b"
9820 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9821 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9822 # The linker can only warn and ignore the option if not recognized
9823 # So say no if there are warnings
9824 if test -s conftest.err; then
9825 # Append any errors to the config.log.
9826 cat conftest.err 1>&5
9827 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9829 if diff conftest.exp conftest.er2 >/dev/null; then
9830 lt_cv_prog_compiler__b=yes
9831 fi
9832 else
9833 lt_cv_prog_compiler__b=yes
9834 fi
9835 fi
9836 $RM -r conftest*
9837 LDFLAGS="$save_LDFLAGS"
9838
9839 fi
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9841 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9842
9843 if test x"$lt_cv_prog_compiler__b" = xyes; then
9844 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 fi
9848
9849 ;;
9850 esac
9851 fi
9852 if test "$with_gnu_ld" = no; then
9853 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9854 hardcode_libdir_separator=:
9855
9856 case $host_cpu in
9857 hppa*64*|ia64*)
9858 hardcode_direct=no
9859 hardcode_shlibpath_var=no
9860 ;;
9861 *)
9862 hardcode_direct=yes
9863 hardcode_direct_absolute=yes
9864 export_dynamic_flag_spec='${wl}-E'
9865
9866 # hardcode_minus_L: Not really in the search PATH,
9867 # but as the default location of the library.
9868 hardcode_minus_L=yes
9869 ;;
9870 esac
9871 fi
9872 ;;
9873
9874 irix5* | irix6* | nonstopux*)
9875 if test "$GCC" = yes; then
9876 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'
9877 # Try to use the -exported_symbol ld option, if it does not
9878 # work, assume that -exports_file does not work either and
9879 # implicitly export all symbols.
9880 save_LDFLAGS="$LDFLAGS"
9881 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9882 if test x$gcc_no_link = xyes; then
9883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9884 fi
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int foo(void) {}
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 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'
9891
9892 fi
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LDFLAGS="$save_LDFLAGS"
9896 else
9897 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'
9898 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'
9899 fi
9900 archive_cmds_need_lc='no'
9901 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9902 hardcode_libdir_separator=:
9903 inherit_rpath=yes
9904 link_all_deplibs=yes
9905 ;;
9906
9907 netbsd*)
9908 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9909 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9910 else
9911 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9912 fi
9913 hardcode_libdir_flag_spec='-R$libdir'
9914 hardcode_direct=yes
9915 hardcode_shlibpath_var=no
9916 ;;
9917
9918 newsos6)
9919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_direct=yes
9921 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9922 hardcode_libdir_separator=:
9923 hardcode_shlibpath_var=no
9924 ;;
9925
9926 *nto* | *qnx*)
9927 ;;
9928
9929 openbsd*)
9930 if test -f /usr/libexec/ld.so; then
9931 hardcode_direct=yes
9932 hardcode_shlibpath_var=no
9933 hardcode_direct_absolute=yes
9934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9935 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9937 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9938 export_dynamic_flag_spec='${wl}-E'
9939 else
9940 case $host_os in
9941 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9942 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_libdir_flag_spec='-R$libdir'
9944 ;;
9945 *)
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9948 ;;
9949 esac
9950 fi
9951 else
9952 ld_shlibs=no
9953 fi
9954 ;;
9955
9956 os2*)
9957 hardcode_libdir_flag_spec='-L$libdir'
9958 hardcode_minus_L=yes
9959 allow_undefined_flag=unsupported
9960 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'
9961 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9962 ;;
9963
9964 osf3*)
9965 if test "$GCC" = yes; then
9966 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9967 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'
9968 else
9969 allow_undefined_flag=' -expect_unresolved \*'
9970 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'
9971 fi
9972 archive_cmds_need_lc='no'
9973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9974 hardcode_libdir_separator=:
9975 ;;
9976
9977 osf4* | osf5*) # as osf3* with the addition of -msym flag
9978 if test "$GCC" = yes; then
9979 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9980 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'
9981 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9982 else
9983 allow_undefined_flag=' -expect_unresolved \*'
9984 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'
9985 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~
9986 $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'
9987
9988 # Both c and cxx compiler support -rpath directly
9989 hardcode_libdir_flag_spec='-rpath $libdir'
9990 fi
9991 archive_cmds_need_lc='no'
9992 hardcode_libdir_separator=:
9993 ;;
9994
9995 solaris*)
9996 no_undefined_flag=' -z defs'
9997 if test "$GCC" = yes; then
9998 wlarc='${wl}'
9999 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10002 else
10003 case `$CC -V 2>&1` in
10004 *"Compilers 5.0"*)
10005 wlarc=''
10006 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10008 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10009 ;;
10010 *)
10011 wlarc='${wl}'
10012 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10015 ;;
10016 esac
10017 fi
10018 hardcode_libdir_flag_spec='-R$libdir'
10019 hardcode_shlibpath_var=no
10020 case $host_os in
10021 solaris2.[0-5] | solaris2.[0-5].*) ;;
10022 *)
10023 # The compiler driver will combine and reorder linker options,
10024 # but understands `-z linker_flag'. GCC discards it without `$wl',
10025 # but is careful enough not to reorder.
10026 # Supported since Solaris 2.6 (maybe 2.5.1?)
10027 if test "$GCC" = yes; then
10028 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10029 else
10030 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10031 fi
10032 ;;
10033 esac
10034 link_all_deplibs=yes
10035 ;;
10036
10037 sunos4*)
10038 if test "x$host_vendor" = xsequent; then
10039 # Use $CC to link under sequent, because it throws in some extra .o
10040 # files that make .init and .fini sections work.
10041 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10042 else
10043 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10044 fi
10045 hardcode_libdir_flag_spec='-L$libdir'
10046 hardcode_direct=yes
10047 hardcode_minus_L=yes
10048 hardcode_shlibpath_var=no
10049 ;;
10050
10051 sysv4)
10052 case $host_vendor in
10053 sni)
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=yes # is this really true???
10056 ;;
10057 siemens)
10058 ## LD is ld it makes a PLAMLIB
10059 ## CC just makes a GrossModule.
10060 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10061 reload_cmds='$CC -r -o $output$reload_objs'
10062 hardcode_direct=no
10063 ;;
10064 motorola)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10067 ;;
10068 esac
10069 runpath_var='LD_RUN_PATH'
10070 hardcode_shlibpath_var=no
10071 ;;
10072
10073 sysv4.3*)
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 export_dynamic_flag_spec='-Bexport'
10077 ;;
10078
10079 sysv4*MP*)
10080 if test -d /usr/nec; then
10081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_shlibpath_var=no
10083 runpath_var=LD_RUN_PATH
10084 hardcode_runpath_var=yes
10085 ld_shlibs=yes
10086 fi
10087 ;;
10088
10089 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10090 no_undefined_flag='${wl}-z,text'
10091 archive_cmds_need_lc=no
10092 hardcode_shlibpath_var=no
10093 runpath_var='LD_RUN_PATH'
10094
10095 if test "$GCC" = yes; then
10096 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 else
10099 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 fi
10102 ;;
10103
10104 sysv5* | sco3.2v5* | sco5v6*)
10105 # Note: We can NOT use -z defs as we might desire, because we do not
10106 # link with -lc, and that would cause any symbols used from libc to
10107 # always be unresolved, which means just about no library would
10108 # ever link correctly. If we're not using GNU ld we use -z text
10109 # though, which does catch some bad symbols but isn't as heavy-handed
10110 # as -z defs.
10111 no_undefined_flag='${wl}-z,text'
10112 allow_undefined_flag='${wl}-z,nodefs'
10113 archive_cmds_need_lc=no
10114 hardcode_shlibpath_var=no
10115 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10116 hardcode_libdir_separator=':'
10117 link_all_deplibs=yes
10118 export_dynamic_flag_spec='${wl}-Bexport'
10119 runpath_var='LD_RUN_PATH'
10120
10121 if test "$GCC" = yes; then
10122 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 else
10125 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 fi
10128 ;;
10129
10130 uts4*)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_shlibpath_var=no
10134 ;;
10135
10136 *)
10137 ld_shlibs=no
10138 ;;
10139 esac
10140
10141 if test x$host_vendor = xsni; then
10142 case $host in
10143 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10144 export_dynamic_flag_spec='${wl}-Blargedynsym'
10145 ;;
10146 esac
10147 fi
10148 fi
10149
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10151 $as_echo "$ld_shlibs" >&6; }
10152 test "$ld_shlibs" = no && can_build_shared=no
10153
10154 with_gnu_ld=$with_gnu_ld
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170 #
10171 # Do we need to explicitly link libc?
10172 #
10173 case "x$archive_cmds_need_lc" in
10174 x|xyes)
10175 # Assume -lc should be added
10176 archive_cmds_need_lc=yes
10177
10178 if test "$enable_shared" = yes && test "$GCC" = yes; then
10179 case $archive_cmds in
10180 *'~'*)
10181 # FIXME: we may have to deal with multi-command sequences.
10182 ;;
10183 '$CC '*)
10184 # Test whether the compiler implicitly links with -lc since on some
10185 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10186 # to ld, don't add -lc before -lgcc.
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10188 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10189 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 $RM conftest*
10193 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10194
10195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10196 (eval $ac_compile) 2>&5
10197 ac_status=$?
10198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10199 test $ac_status = 0; } 2>conftest.err; then
10200 soname=conftest
10201 lib=conftest
10202 libobjs=conftest.$ac_objext
10203 deplibs=
10204 wl=$lt_prog_compiler_wl
10205 pic_flag=$lt_prog_compiler_pic
10206 compiler_flags=-v
10207 linker_flags=-v
10208 verstring=
10209 output_objdir=.
10210 libname=conftest
10211 lt_save_allow_undefined_flag=$allow_undefined_flag
10212 allow_undefined_flag=
10213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10214 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10215 ac_status=$?
10216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10217 test $ac_status = 0; }
10218 then
10219 lt_cv_archive_cmds_need_lc=no
10220 else
10221 lt_cv_archive_cmds_need_lc=yes
10222 fi
10223 allow_undefined_flag=$lt_save_allow_undefined_flag
10224 else
10225 cat conftest.err 1>&5
10226 fi
10227 $RM conftest*
10228
10229 fi
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10231 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10232 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10233 ;;
10234 esac
10235 fi
10236 ;;
10237 esac
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10396 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10397
10398 if test "$GCC" = yes; then
10399 case $host_os in
10400 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10401 *) lt_awk_arg="/^libraries:/" ;;
10402 esac
10403 case $host_os in
10404 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10405 *) lt_sed_strip_eq="s,=/,/,g" ;;
10406 esac
10407 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10408 case $lt_search_path_spec in
10409 *\;*)
10410 # if the path contains ";" then we assume it to be the separator
10411 # otherwise default to the standard path separator (i.e. ":") - it is
10412 # assumed that no part of a normal pathname contains ";" but that should
10413 # okay in the real world where ";" in dirpaths is itself problematic.
10414 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10415 ;;
10416 *)
10417 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10418 ;;
10419 esac
10420 # Ok, now we have the path, separated by spaces, we can step through it
10421 # and add multilib dir if necessary.
10422 lt_tmp_lt_search_path_spec=
10423 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10424 for lt_sys_path in $lt_search_path_spec; do
10425 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10426 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10427 else
10428 test -d "$lt_sys_path" && \
10429 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10430 fi
10431 done
10432 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10433 BEGIN {RS=" "; FS="/|\n";} {
10434 lt_foo="";
10435 lt_count=0;
10436 for (lt_i = NF; lt_i > 0; lt_i--) {
10437 if ($lt_i != "" && $lt_i != ".") {
10438 if ($lt_i == "..") {
10439 lt_count++;
10440 } else {
10441 if (lt_count == 0) {
10442 lt_foo="/" $lt_i lt_foo;
10443 } else {
10444 lt_count--;
10445 }
10446 }
10447 }
10448 }
10449 if (lt_foo != "") { lt_freq[lt_foo]++; }
10450 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10451 }'`
10452 # AWK program above erroneously prepends '/' to C:/dos/paths
10453 # for these hosts.
10454 case $host_os in
10455 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10456 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10457 esac
10458 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10459 else
10460 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10461 fi
10462 library_names_spec=
10463 libname_spec='lib$name'
10464 soname_spec=
10465 shrext_cmds=".so"
10466 postinstall_cmds=
10467 postuninstall_cmds=
10468 finish_cmds=
10469 finish_eval=
10470 shlibpath_var=
10471 shlibpath_overrides_runpath=unknown
10472 version_type=none
10473 dynamic_linker="$host_os ld.so"
10474 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10475 need_lib_prefix=unknown
10476 hardcode_into_libs=no
10477
10478 # when you set need_version to no, make sure it does not cause -set_version
10479 # flags to be left without arguments
10480 need_version=unknown
10481
10482 case $host_os in
10483 aix3*)
10484 version_type=linux
10485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10486 shlibpath_var=LIBPATH
10487
10488 # AIX 3 has no versioning support, so we append a major version to the name.
10489 soname_spec='${libname}${release}${shared_ext}$major'
10490 ;;
10491
10492 aix[4-9]*)
10493 version_type=linux
10494 need_lib_prefix=no
10495 need_version=no
10496 hardcode_into_libs=yes
10497 if test "$host_cpu" = ia64; then
10498 # AIX 5 supports IA64
10499 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10500 shlibpath_var=LD_LIBRARY_PATH
10501 else
10502 # With GCC up to 2.95.x, collect2 would create an import file
10503 # for dependence libraries. The import file would start with
10504 # the line `#! .'. This would cause the generated library to
10505 # depend on `.', always an invalid library. This was fixed in
10506 # development snapshots of GCC prior to 3.0.
10507 case $host_os in
10508 aix4 | aix4.[01] | aix4.[01].*)
10509 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10510 echo ' yes '
10511 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10512 :
10513 else
10514 can_build_shared=no
10515 fi
10516 ;;
10517 esac
10518 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10519 # soname into executable. Probably we can add versioning support to
10520 # collect2, so additional links can be useful in future.
10521 if test "$aix_use_runtimelinking" = yes; then
10522 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10523 # instead of lib<name>.a to let people know that these are not
10524 # typical AIX shared libraries.
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 else
10527 # We preserve .a as extension for shared libraries through AIX4.2
10528 # and later when we are not doing run time linking.
10529 library_names_spec='${libname}${release}.a $libname.a'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 fi
10532 shlibpath_var=LIBPATH
10533 fi
10534 ;;
10535
10536 amigaos*)
10537 case $host_cpu in
10538 powerpc)
10539 # Since July 2007 AmigaOS4 officially supports .so libraries.
10540 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 ;;
10543 m68k)
10544 library_names_spec='$libname.ixlibrary $libname.a'
10545 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10546 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'
10547 ;;
10548 esac
10549 ;;
10550
10551 beos*)
10552 library_names_spec='${libname}${shared_ext}'
10553 dynamic_linker="$host_os ld.so"
10554 shlibpath_var=LIBRARY_PATH
10555 ;;
10556
10557 bsdi[45]*)
10558 version_type=linux
10559 need_version=no
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561 soname_spec='${libname}${release}${shared_ext}$major'
10562 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10563 shlibpath_var=LD_LIBRARY_PATH
10564 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10565 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10566 # the default ld.so.conf also contains /usr/contrib/lib and
10567 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10568 # libtool to hard-code these into programs
10569 ;;
10570
10571 cygwin* | mingw* | pw32* | cegcc*)
10572 version_type=windows
10573 shrext_cmds=".dll"
10574 need_version=no
10575 need_lib_prefix=no
10576
10577 case $GCC,$host_os in
10578 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10579 library_names_spec='$libname.dll.a'
10580 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10581 postinstall_cmds='base_file=`basename \${file}`~
10582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10583 dldir=$destdir/`dirname \$dlpath`~
10584 test -d \$dldir || mkdir -p \$dldir~
10585 $install_prog $dir/$dlname \$dldir/$dlname~
10586 chmod a+x \$dldir/$dlname~
10587 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10588 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10589 fi'
10590 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10591 dlpath=$dir/\$dldll~
10592 $RM \$dlpath'
10593 shlibpath_overrides_runpath=yes
10594
10595 case $host_os in
10596 cygwin*)
10597 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10598 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599
10600 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10601 ;;
10602 mingw* | cegcc*)
10603 # MinGW DLLs use traditional 'lib' prefix
10604 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605 ;;
10606 pw32*)
10607 # pw32 DLLs use 'pw' prefix rather than 'lib'
10608 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10609 ;;
10610 esac
10611 ;;
10612
10613 *)
10614 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10615 ;;
10616 esac
10617 dynamic_linker='Win32 ld.exe'
10618 # FIXME: first we should search . and the directory the executable is in
10619 shlibpath_var=PATH
10620 ;;
10621
10622 darwin* | rhapsody*)
10623 dynamic_linker="$host_os dyld"
10624 version_type=darwin
10625 need_lib_prefix=no
10626 need_version=no
10627 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10628 soname_spec='${libname}${release}${major}$shared_ext'
10629 shlibpath_overrides_runpath=yes
10630 shlibpath_var=DYLD_LIBRARY_PATH
10631 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10632
10633 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10634 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10635 ;;
10636
10637 dgux*)
10638 version_type=linux
10639 need_lib_prefix=no
10640 need_version=no
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 shlibpath_var=LD_LIBRARY_PATH
10644 ;;
10645
10646 freebsd* | dragonfly*)
10647 # DragonFly does not have aout. When/if they implement a new
10648 # versioning mechanism, adjust this.
10649 if test -x /usr/bin/objformat; then
10650 objformat=`/usr/bin/objformat`
10651 else
10652 case $host_os in
10653 freebsd[23].*) objformat=aout ;;
10654 *) objformat=elf ;;
10655 esac
10656 fi
10657 version_type=freebsd-$objformat
10658 case $version_type in
10659 freebsd-elf*)
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10661 need_version=no
10662 need_lib_prefix=no
10663 ;;
10664 freebsd-*)
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10666 need_version=yes
10667 ;;
10668 esac
10669 shlibpath_var=LD_LIBRARY_PATH
10670 case $host_os in
10671 freebsd2.*)
10672 shlibpath_overrides_runpath=yes
10673 ;;
10674 freebsd3.[01]* | freebsdelf3.[01]*)
10675 shlibpath_overrides_runpath=yes
10676 hardcode_into_libs=yes
10677 ;;
10678 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10679 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10680 shlibpath_overrides_runpath=no
10681 hardcode_into_libs=yes
10682 ;;
10683 *) # from 4.6 on, and DragonFly
10684 shlibpath_overrides_runpath=yes
10685 hardcode_into_libs=yes
10686 ;;
10687 esac
10688 ;;
10689
10690 gnu*)
10691 version_type=linux
10692 need_lib_prefix=no
10693 need_version=no
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 shlibpath_var=LD_LIBRARY_PATH
10697 hardcode_into_libs=yes
10698 ;;
10699
10700 haiku*)
10701 version_type=linux
10702 need_lib_prefix=no
10703 need_version=no
10704 dynamic_linker="$host_os runtime_loader"
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LIBRARY_PATH
10708 shlibpath_overrides_runpath=yes
10709 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10710 hardcode_into_libs=yes
10711 ;;
10712
10713 hpux9* | hpux10* | hpux11*)
10714 # Give a soname corresponding to the major version so that dld.sl refuses to
10715 # link against other versions.
10716 version_type=sunos
10717 need_lib_prefix=no
10718 need_version=no
10719 case $host_cpu in
10720 ia64*)
10721 shrext_cmds='.so'
10722 hardcode_into_libs=yes
10723 dynamic_linker="$host_os dld.so"
10724 shlibpath_var=LD_LIBRARY_PATH
10725 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 if test "X$HPUX_IA64_MODE" = X32; then
10729 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10730 else
10731 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10732 fi
10733 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10734 ;;
10735 hppa*64*)
10736 shrext_cmds='.sl'
10737 hardcode_into_libs=yes
10738 dynamic_linker="$host_os dld.sl"
10739 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10740 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 soname_spec='${libname}${release}${shared_ext}$major'
10743 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 ;;
10746 *)
10747 shrext_cmds='.sl'
10748 dynamic_linker="$host_os dld.sl"
10749 shlibpath_var=SHLIB_PATH
10750 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 ;;
10754 esac
10755 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10756 postinstall_cmds='chmod 555 $lib'
10757 # or fails outright, so override atomically:
10758 install_override_mode=555
10759 ;;
10760
10761 interix[3-9]*)
10762 version_type=linux
10763 need_lib_prefix=no
10764 need_version=no
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10768 shlibpath_var=LD_LIBRARY_PATH
10769 shlibpath_overrides_runpath=no
10770 hardcode_into_libs=yes
10771 ;;
10772
10773 irix5* | irix6* | nonstopux*)
10774 case $host_os in
10775 nonstopux*) version_type=nonstopux ;;
10776 *)
10777 if test "$lt_cv_prog_gnu_ld" = yes; then
10778 version_type=linux
10779 else
10780 version_type=irix
10781 fi ;;
10782 esac
10783 need_lib_prefix=no
10784 need_version=no
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10787 case $host_os in
10788 irix5* | nonstopux*)
10789 libsuff= shlibsuff=
10790 ;;
10791 *)
10792 case $LD in # libtool.m4 will add one of these switches to LD
10793 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10794 libsuff= shlibsuff= libmagic=32-bit;;
10795 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10796 libsuff=32 shlibsuff=N32 libmagic=N32;;
10797 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10798 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10799 *) libsuff= shlibsuff= libmagic=never-match;;
10800 esac
10801 ;;
10802 esac
10803 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10804 shlibpath_overrides_runpath=no
10805 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10806 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10807 hardcode_into_libs=yes
10808 ;;
10809
10810 # No shared lib support for Linux oldld, aout, or coff.
10811 linux*oldld* | linux*aout* | linux*coff*)
10812 dynamic_linker=no
10813 ;;
10814
10815 # This must be Linux ELF.
10816 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10817 version_type=linux
10818 need_lib_prefix=no
10819 need_version=no
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821 soname_spec='${libname}${release}${shared_ext}$major'
10822 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10823 shlibpath_var=LD_LIBRARY_PATH
10824 shlibpath_overrides_runpath=no
10825
10826 # Some binutils ld are patched to set DT_RUNPATH
10827 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 lt_cv_shlibpath_overrides_runpath=no
10831 save_LDFLAGS=$LDFLAGS
10832 save_libdir=$libdir
10833 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10834 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10835 if test x$gcc_no_link = xyes; then
10836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10837 fi
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840
10841 int
10842 main ()
10843 {
10844
10845 ;
10846 return 0;
10847 }
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10851 lt_cv_shlibpath_overrides_runpath=yes
10852 fi
10853 fi
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LDFLAGS=$save_LDFLAGS
10857 libdir=$save_libdir
10858
10859 fi
10860
10861 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10862
10863 # This implies no fast_install, which is unacceptable.
10864 # Some rework will be needed to allow for fast_install
10865 # before this can be enabled.
10866 hardcode_into_libs=yes
10867
10868 # Append ld.so.conf contents to the search path
10869 if test -f /etc/ld.so.conf; then
10870 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' ' '`
10871 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10872 fi
10873
10874 # We used to test for /lib/ld.so.1 and disable shared libraries on
10875 # powerpc, because MkLinux only supported shared libraries with the
10876 # GNU dynamic linker. Since this was broken with cross compilers,
10877 # most powerpc-linux boxes support dynamic linking these days and
10878 # people can always --disable-shared, the test was removed, and we
10879 # assume the GNU/Linux dynamic linker is in use.
10880 dynamic_linker='GNU/Linux ld.so'
10881 ;;
10882
10883 netbsd*)
10884 version_type=sunos
10885 need_lib_prefix=no
10886 need_version=no
10887 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10889 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10890 dynamic_linker='NetBSD (a.out) ld.so'
10891 else
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 dynamic_linker='NetBSD ld.elf_so'
10895 fi
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=yes
10898 hardcode_into_libs=yes
10899 ;;
10900
10901 newsos6)
10902 version_type=linux
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=yes
10906 ;;
10907
10908 *nto* | *qnx*)
10909 version_type=qnx
10910 need_lib_prefix=no
10911 need_version=no
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 soname_spec='${libname}${release}${shared_ext}$major'
10914 shlibpath_var=LD_LIBRARY_PATH
10915 shlibpath_overrides_runpath=no
10916 hardcode_into_libs=yes
10917 dynamic_linker='ldqnx.so'
10918 ;;
10919
10920 openbsd*)
10921 version_type=sunos
10922 sys_lib_dlsearch_path_spec="/usr/lib"
10923 need_lib_prefix=no
10924 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10925 case $host_os in
10926 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10927 *) need_version=no ;;
10928 esac
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10930 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10933 case $host_os in
10934 openbsd2.[89] | openbsd2.[89].*)
10935 shlibpath_overrides_runpath=no
10936 ;;
10937 *)
10938 shlibpath_overrides_runpath=yes
10939 ;;
10940 esac
10941 else
10942 shlibpath_overrides_runpath=yes
10943 fi
10944 ;;
10945
10946 os2*)
10947 libname_spec='$name'
10948 shrext_cmds=".dll"
10949 need_lib_prefix=no
10950 library_names_spec='$libname${shared_ext} $libname.a'
10951 dynamic_linker='OS/2 ld.exe'
10952 shlibpath_var=LIBPATH
10953 ;;
10954
10955 osf3* | osf4* | osf5*)
10956 version_type=osf
10957 need_lib_prefix=no
10958 need_version=no
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10963 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10964 ;;
10965
10966 rdos*)
10967 dynamic_linker=no
10968 ;;
10969
10970 solaris*)
10971 version_type=linux
10972 need_lib_prefix=no
10973 need_version=no
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath=yes
10978 hardcode_into_libs=yes
10979 # ldd complains unless libraries are executable
10980 postinstall_cmds='chmod +x $lib'
10981 ;;
10982
10983 sunos4*)
10984 version_type=sunos
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 if test "$with_gnu_ld" = yes; then
10990 need_lib_prefix=no
10991 fi
10992 need_version=yes
10993 ;;
10994
10995 sysv4 | sysv4.3*)
10996 version_type=linux
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 case $host_vendor in
11001 sni)
11002 shlibpath_overrides_runpath=no
11003 need_lib_prefix=no
11004 runpath_var=LD_RUN_PATH
11005 ;;
11006 siemens)
11007 need_lib_prefix=no
11008 ;;
11009 motorola)
11010 need_lib_prefix=no
11011 need_version=no
11012 shlibpath_overrides_runpath=no
11013 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11014 ;;
11015 esac
11016 ;;
11017
11018 sysv4*MP*)
11019 if test -d /usr/nec ;then
11020 version_type=linux
11021 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11022 soname_spec='$libname${shared_ext}.$major'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 fi
11025 ;;
11026
11027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11028 version_type=freebsd-elf
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath=yes
11035 hardcode_into_libs=yes
11036 if test "$with_gnu_ld" = yes; then
11037 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11038 else
11039 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11040 case $host_os in
11041 sco3.2v5*)
11042 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11043 ;;
11044 esac
11045 fi
11046 sys_lib_dlsearch_path_spec='/usr/lib'
11047 ;;
11048
11049 tpf*)
11050 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11051 version_type=linux
11052 need_lib_prefix=no
11053 need_version=no
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=no
11057 hardcode_into_libs=yes
11058 ;;
11059
11060 uts4*)
11061 version_type=linux
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 ;;
11066
11067 *)
11068 dynamic_linker=no
11069 ;;
11070 esac
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11072 $as_echo "$dynamic_linker" >&6; }
11073 test "$dynamic_linker" = no && can_build_shared=no
11074
11075 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11076 if test "$GCC" = yes; then
11077 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11078 fi
11079
11080 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11081 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11082 fi
11083 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11084 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11085 fi
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11180 hardcode_action=
11181 if test -n "$hardcode_libdir_flag_spec" ||
11182 test -n "$runpath_var" ||
11183 test "X$hardcode_automatic" = "Xyes" ; then
11184
11185 # We can hardcode non-existent directories.
11186 if test "$hardcode_direct" != no &&
11187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11188 # have to relink, otherwise we might link with an installed library
11189 # when we should be linking with a yet-to-be-installed one
11190 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11191 test "$hardcode_minus_L" != no; then
11192 # Linking always hardcodes the temporary library directory.
11193 hardcode_action=relink
11194 else
11195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11196 hardcode_action=immediate
11197 fi
11198 else
11199 # We cannot hardcode anything, or else we can only hardcode existing
11200 # directories.
11201 hardcode_action=unsupported
11202 fi
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11204 $as_echo "$hardcode_action" >&6; }
11205
11206 if test "$hardcode_action" = relink ||
11207 test "$inherit_rpath" = yes; then
11208 # Fast installation is not supported
11209 enable_fast_install=no
11210 elif test "$shlibpath_overrides_runpath" = yes ||
11211 test "$enable_shared" = no; then
11212 # Fast installation is not necessary
11213 enable_fast_install=needless
11214 fi
11215
11216
11217
11218
11219
11220
11221 if test "x$enable_dlopen" != xyes; then
11222 enable_dlopen=unknown
11223 enable_dlopen_self=unknown
11224 enable_dlopen_self_static=unknown
11225 else
11226 lt_cv_dlopen=no
11227 lt_cv_dlopen_libs=
11228
11229 case $host_os in
11230 beos*)
11231 lt_cv_dlopen="load_add_on"
11232 lt_cv_dlopen_libs=
11233 lt_cv_dlopen_self=yes
11234 ;;
11235
11236 mingw* | pw32* | cegcc*)
11237 lt_cv_dlopen="LoadLibrary"
11238 lt_cv_dlopen_libs=
11239 ;;
11240
11241 cygwin*)
11242 lt_cv_dlopen="dlopen"
11243 lt_cv_dlopen_libs=
11244 ;;
11245
11246 darwin*)
11247 # if libdl is installed we need to link against it
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-ldl $LIBS"
11255 if test x$gcc_no_link = xyes; then
11256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11257 fi
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char dlopen ();
11268 int
11269 main ()
11270 {
11271 return dlopen ();
11272 ;
11273 return 0;
11274 }
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 ac_cv_lib_dl_dlopen=yes
11278 else
11279 ac_cv_lib_dl_dlopen=no
11280 fi
11281 rm -f core conftest.err conftest.$ac_objext \
11282 conftest$ac_exeext conftest.$ac_ext
11283 LIBS=$ac_check_lib_save_LIBS
11284 fi
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11286 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11287 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11288 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11289 else
11290
11291 lt_cv_dlopen="dyld"
11292 lt_cv_dlopen_libs=
11293 lt_cv_dlopen_self=yes
11294
11295 fi
11296
11297 ;;
11298
11299 *)
11300 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11301 if test "x$ac_cv_func_shl_load" = x""yes; then :
11302 lt_cv_dlopen="shl_load"
11303 else
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11305 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11306 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11307 $as_echo_n "(cached) " >&6
11308 else
11309 ac_check_lib_save_LIBS=$LIBS
11310 LIBS="-ldld $LIBS"
11311 if test x$gcc_no_link = xyes; then
11312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11313 fi
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11316
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char shl_load ();
11324 int
11325 main ()
11326 {
11327 return shl_load ();
11328 ;
11329 return 0;
11330 }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_dld_shl_load=yes
11334 else
11335 ac_cv_lib_dld_shl_load=no
11336 fi
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11340 fi
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11342 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11343 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11344 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11345 else
11346 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11347 if test "x$ac_cv_func_dlopen" = x""yes; then :
11348 lt_cv_dlopen="dlopen"
11349 else
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11352 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-ldl $LIBS"
11357 if test x$gcc_no_link = xyes; then
11358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11359 fi
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11366 #ifdef __cplusplus
11367 extern "C"
11368 #endif
11369 char dlopen ();
11370 int
11371 main ()
11372 {
11373 return dlopen ();
11374 ;
11375 return 0;
11376 }
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"; then :
11379 ac_cv_lib_dl_dlopen=yes
11380 else
11381 ac_cv_lib_dl_dlopen=no
11382 fi
11383 rm -f core conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 LIBS=$ac_check_lib_save_LIBS
11386 fi
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11388 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11389 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11390 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11391 else
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11393 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11394 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-lsvld $LIBS"
11399 if test x$gcc_no_link = xyes; then
11400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401 fi
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11404
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char dlopen ();
11412 int
11413 main ()
11414 {
11415 return dlopen ();
11416 ;
11417 return 0;
11418 }
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_svld_dlopen=yes
11422 else
11423 ac_cv_lib_svld_dlopen=no
11424 fi
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11428 fi
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11430 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11431 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11432 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11435 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11436 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-ldld $LIBS"
11441 if test x$gcc_no_link = xyes; then
11442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11443 fi
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11446
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char dld_link ();
11454 int
11455 main ()
11456 {
11457 return dld_link ();
11458 ;
11459 return 0;
11460 }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 ac_cv_lib_dld_dld_link=yes
11464 else
11465 ac_cv_lib_dld_dld_link=no
11466 fi
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11470 fi
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11472 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11473 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11474 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11475 fi
11476
11477
11478 fi
11479
11480
11481 fi
11482
11483
11484 fi
11485
11486
11487 fi
11488
11489
11490 fi
11491
11492 ;;
11493 esac
11494
11495 if test "x$lt_cv_dlopen" != xno; then
11496 enable_dlopen=yes
11497 else
11498 enable_dlopen=no
11499 fi
11500
11501 case $lt_cv_dlopen in
11502 dlopen)
11503 save_CPPFLAGS="$CPPFLAGS"
11504 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11505
11506 save_LDFLAGS="$LDFLAGS"
11507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11508
11509 save_LIBS="$LIBS"
11510 LIBS="$lt_cv_dlopen_libs $LIBS"
11511
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11513 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11514 if test "${lt_cv_dlopen_self+set}" = set; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 if test "$cross_compiling" = yes; then :
11518 lt_cv_dlopen_self=cross
11519 else
11520 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521 lt_status=$lt_dlunknown
11522 cat > conftest.$ac_ext <<_LT_EOF
11523 #line 11523 "configure"
11524 #include "confdefs.h"
11525
11526 #if HAVE_DLFCN_H
11527 #include <dlfcn.h>
11528 #endif
11529
11530 #include <stdio.h>
11531
11532 #ifdef RTLD_GLOBAL
11533 # define LT_DLGLOBAL RTLD_GLOBAL
11534 #else
11535 # ifdef DL_GLOBAL
11536 # define LT_DLGLOBAL DL_GLOBAL
11537 # else
11538 # define LT_DLGLOBAL 0
11539 # endif
11540 #endif
11541
11542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11543 find out it does not work in some platform. */
11544 #ifndef LT_DLLAZY_OR_NOW
11545 # ifdef RTLD_LAZY
11546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11547 # else
11548 # ifdef DL_LAZY
11549 # define LT_DLLAZY_OR_NOW DL_LAZY
11550 # else
11551 # ifdef RTLD_NOW
11552 # define LT_DLLAZY_OR_NOW RTLD_NOW
11553 # else
11554 # ifdef DL_NOW
11555 # define LT_DLLAZY_OR_NOW DL_NOW
11556 # else
11557 # define LT_DLLAZY_OR_NOW 0
11558 # endif
11559 # endif
11560 # endif
11561 # endif
11562 #endif
11563
11564 /* When -fvisbility=hidden is used, assume the code has been annotated
11565 correspondingly for the symbols needed. */
11566 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11567 void fnord () __attribute__((visibility("default")));
11568 #endif
11569
11570 void fnord () { int i=42; }
11571 int main ()
11572 {
11573 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11574 int status = $lt_dlunknown;
11575
11576 if (self)
11577 {
11578 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11579 else
11580 {
11581 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11582 else puts (dlerror ());
11583 }
11584 /* dlclose (self); */
11585 }
11586 else
11587 puts (dlerror ());
11588
11589 return status;
11590 }
11591 _LT_EOF
11592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11593 (eval $ac_link) 2>&5
11594 ac_status=$?
11595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11596 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11597 (./conftest; exit; ) >&5 2>/dev/null
11598 lt_status=$?
11599 case x$lt_status in
11600 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11601 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11602 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11603 esac
11604 else :
11605 # compilation failed
11606 lt_cv_dlopen_self=no
11607 fi
11608 fi
11609 rm -fr conftest*
11610
11611
11612 fi
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11614 $as_echo "$lt_cv_dlopen_self" >&6; }
11615
11616 if test "x$lt_cv_dlopen_self" = xyes; then
11617 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11619 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11620 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 if test "$cross_compiling" = yes; then :
11624 lt_cv_dlopen_self_static=cross
11625 else
11626 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11627 lt_status=$lt_dlunknown
11628 cat > conftest.$ac_ext <<_LT_EOF
11629 #line 11629 "configure"
11630 #include "confdefs.h"
11631
11632 #if HAVE_DLFCN_H
11633 #include <dlfcn.h>
11634 #endif
11635
11636 #include <stdio.h>
11637
11638 #ifdef RTLD_GLOBAL
11639 # define LT_DLGLOBAL RTLD_GLOBAL
11640 #else
11641 # ifdef DL_GLOBAL
11642 # define LT_DLGLOBAL DL_GLOBAL
11643 # else
11644 # define LT_DLGLOBAL 0
11645 # endif
11646 #endif
11647
11648 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11649 find out it does not work in some platform. */
11650 #ifndef LT_DLLAZY_OR_NOW
11651 # ifdef RTLD_LAZY
11652 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11653 # else
11654 # ifdef DL_LAZY
11655 # define LT_DLLAZY_OR_NOW DL_LAZY
11656 # else
11657 # ifdef RTLD_NOW
11658 # define LT_DLLAZY_OR_NOW RTLD_NOW
11659 # else
11660 # ifdef DL_NOW
11661 # define LT_DLLAZY_OR_NOW DL_NOW
11662 # else
11663 # define LT_DLLAZY_OR_NOW 0
11664 # endif
11665 # endif
11666 # endif
11667 # endif
11668 #endif
11669
11670 /* When -fvisbility=hidden is used, assume the code has been annotated
11671 correspondingly for the symbols needed. */
11672 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11673 void fnord () __attribute__((visibility("default")));
11674 #endif
11675
11676 void fnord () { int i=42; }
11677 int main ()
11678 {
11679 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11680 int status = $lt_dlunknown;
11681
11682 if (self)
11683 {
11684 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11685 else
11686 {
11687 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11688 else puts (dlerror ());
11689 }
11690 /* dlclose (self); */
11691 }
11692 else
11693 puts (dlerror ());
11694
11695 return status;
11696 }
11697 _LT_EOF
11698 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11699 (eval $ac_link) 2>&5
11700 ac_status=$?
11701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11702 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11703 (./conftest; exit; ) >&5 2>/dev/null
11704 lt_status=$?
11705 case x$lt_status in
11706 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11707 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11708 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11709 esac
11710 else :
11711 # compilation failed
11712 lt_cv_dlopen_self_static=no
11713 fi
11714 fi
11715 rm -fr conftest*
11716
11717
11718 fi
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11720 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11721 fi
11722
11723 CPPFLAGS="$save_CPPFLAGS"
11724 LDFLAGS="$save_LDFLAGS"
11725 LIBS="$save_LIBS"
11726 ;;
11727 esac
11728
11729 case $lt_cv_dlopen_self in
11730 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11731 *) enable_dlopen_self=unknown ;;
11732 esac
11733
11734 case $lt_cv_dlopen_self_static in
11735 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11736 *) enable_dlopen_self_static=unknown ;;
11737 esac
11738 fi
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756 striplib=
11757 old_striplib=
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11759 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11760 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11761 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11762 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11765 else
11766 # FIXME - insert some real tests, host_os isn't really good enough
11767 case $host_os in
11768 darwin*)
11769 if test -n "$STRIP" ; then
11770 striplib="$STRIP -x"
11771 old_striplib="$STRIP -S"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11773 $as_echo "yes" >&6; }
11774 else
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776 $as_echo "no" >&6; }
11777 fi
11778 ;;
11779 *)
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 $as_echo "no" >&6; }
11782 ;;
11783 esac
11784 fi
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797 # Report which library types will actually be built
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11799 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11801 $as_echo "$can_build_shared" >&6; }
11802
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11804 $as_echo_n "checking whether to build shared libraries... " >&6; }
11805 test "$can_build_shared" = "no" && enable_shared=no
11806
11807 # On AIX, shared libraries and static libraries use the same namespace, and
11808 # are all built from PIC.
11809 case $host_os in
11810 aix3*)
11811 test "$enable_shared" = yes && enable_static=no
11812 if test -n "$RANLIB"; then
11813 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11814 postinstall_cmds='$RANLIB $lib'
11815 fi
11816 ;;
11817
11818 aix[4-9]*)
11819 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11820 test "$enable_shared" = yes && enable_static=no
11821 fi
11822 ;;
11823 esac
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11825 $as_echo "$enable_shared" >&6; }
11826
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11828 $as_echo_n "checking whether to build static libraries... " >&6; }
11829 # Make sure either enable_shared or enable_static is yes.
11830 test "$enable_shared" = yes || enable_static=yes
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11832 $as_echo "$enable_static" >&6; }
11833
11834
11835
11836
11837 fi
11838 ac_ext=c
11839 ac_cpp='$CPP $CPPFLAGS'
11840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11843
11844 CC="$lt_save_CC"
11845
11846 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11847 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11848 (test "X$CXX" != "Xg++"))) ; then
11849 ac_ext=cpp
11850 ac_cpp='$CXXCPP $CPPFLAGS'
11851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11855 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11856 if test -z "$CXXCPP"; then
11857 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 # Double quotes because CXXCPP needs to be expanded
11861 for CXXCPP in "$CXX -E" "/lib/cpp"
11862 do
11863 ac_preproc_ok=false
11864 for ac_cxx_preproc_warn_flag in '' yes
11865 do
11866 # Use a header file that comes with gcc, so configuring glibc
11867 # with a fresh cross-compiler works.
11868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11869 # <limits.h> exists even on freestanding compilers.
11870 # On the NeXT, cc -E runs the code through the compiler's parser,
11871 # not just through cpp. "Syntax error" is here to catch this case.
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #ifdef __STDC__
11875 # include <limits.h>
11876 #else
11877 # include <assert.h>
11878 #endif
11879 Syntax error
11880 _ACEOF
11881 if ac_fn_cxx_try_cpp "$LINENO"; then :
11882
11883 else
11884 # Broken: fails on valid input.
11885 continue
11886 fi
11887 rm -f conftest.err conftest.$ac_ext
11888
11889 # OK, works on sane cases. Now check whether nonexistent headers
11890 # can be detected and how.
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 #include <ac_nonexistent.h>
11894 _ACEOF
11895 if ac_fn_cxx_try_cpp "$LINENO"; then :
11896 # Broken: success on invalid input.
11897 continue
11898 else
11899 # Passes both tests.
11900 ac_preproc_ok=:
11901 break
11902 fi
11903 rm -f conftest.err conftest.$ac_ext
11904
11905 done
11906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11907 rm -f conftest.err conftest.$ac_ext
11908 if $ac_preproc_ok; then :
11909 break
11910 fi
11911
11912 done
11913 ac_cv_prog_CXXCPP=$CXXCPP
11914
11915 fi
11916 CXXCPP=$ac_cv_prog_CXXCPP
11917 else
11918 ac_cv_prog_CXXCPP=$CXXCPP
11919 fi
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11921 $as_echo "$CXXCPP" >&6; }
11922 ac_preproc_ok=false
11923 for ac_cxx_preproc_warn_flag in '' yes
11924 do
11925 # Use a header file that comes with gcc, so configuring glibc
11926 # with a fresh cross-compiler works.
11927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11928 # <limits.h> exists even on freestanding compilers.
11929 # On the NeXT, cc -E runs the code through the compiler's parser,
11930 # not just through cpp. "Syntax error" is here to catch this case.
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #ifdef __STDC__
11934 # include <limits.h>
11935 #else
11936 # include <assert.h>
11937 #endif
11938 Syntax error
11939 _ACEOF
11940 if ac_fn_cxx_try_cpp "$LINENO"; then :
11941
11942 else
11943 # Broken: fails on valid input.
11944 continue
11945 fi
11946 rm -f conftest.err conftest.$ac_ext
11947
11948 # OK, works on sane cases. Now check whether nonexistent headers
11949 # can be detected and how.
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 #include <ac_nonexistent.h>
11953 _ACEOF
11954 if ac_fn_cxx_try_cpp "$LINENO"; then :
11955 # Broken: success on invalid input.
11956 continue
11957 else
11958 # Passes both tests.
11959 ac_preproc_ok=:
11960 break
11961 fi
11962 rm -f conftest.err conftest.$ac_ext
11963
11964 done
11965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11966 rm -f conftest.err conftest.$ac_ext
11967 if $ac_preproc_ok; then :
11968
11969 else
11970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11972 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11973 See \`config.log' for more details." "$LINENO" 5; }
11974 fi
11975
11976 ac_ext=c
11977 ac_cpp='$CPP $CPPFLAGS'
11978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981
11982 else
11983 _lt_caught_CXX_error=yes
11984 fi
11985
11986 ac_ext=cpp
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11991
11992 archive_cmds_need_lc_CXX=no
11993 allow_undefined_flag_CXX=
11994 always_export_symbols_CXX=no
11995 archive_expsym_cmds_CXX=
11996 compiler_needs_object_CXX=no
11997 export_dynamic_flag_spec_CXX=
11998 hardcode_direct_CXX=no
11999 hardcode_direct_absolute_CXX=no
12000 hardcode_libdir_flag_spec_CXX=
12001 hardcode_libdir_flag_spec_ld_CXX=
12002 hardcode_libdir_separator_CXX=
12003 hardcode_minus_L_CXX=no
12004 hardcode_shlibpath_var_CXX=unsupported
12005 hardcode_automatic_CXX=no
12006 inherit_rpath_CXX=no
12007 module_cmds_CXX=
12008 module_expsym_cmds_CXX=
12009 link_all_deplibs_CXX=unknown
12010 old_archive_cmds_CXX=$old_archive_cmds
12011 reload_flag_CXX=$reload_flag
12012 reload_cmds_CXX=$reload_cmds
12013 no_undefined_flag_CXX=
12014 whole_archive_flag_spec_CXX=
12015 enable_shared_with_static_runtimes_CXX=no
12016
12017 # Source file extension for C++ test sources.
12018 ac_ext=cpp
12019
12020 # Object file extension for compiled C++ test sources.
12021 objext=o
12022 objext_CXX=$objext
12023
12024 # No sense in running all these tests if we already determined that
12025 # the CXX compiler isn't working. Some variables (like enable_shared)
12026 # are currently assumed to apply to all compilers on this platform,
12027 # and will be corrupted by setting them based on a non-working compiler.
12028 if test "$_lt_caught_CXX_error" != yes; then
12029 # Code to be used in simple compile tests
12030 lt_simple_compile_test_code="int some_variable = 0;"
12031
12032 # Code to be used in simple link tests
12033 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12034
12035 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12036
12037
12038
12039
12040
12041
12042 # If no C compiler was specified, use CC.
12043 LTCC=${LTCC-"$CC"}
12044
12045 # If no C compiler flags were specified, use CFLAGS.
12046 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12047
12048 # Allow CC to be a program name with arguments.
12049 compiler=$CC
12050
12051
12052 # save warnings/boilerplate of simple test code
12053 ac_outfile=conftest.$ac_objext
12054 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12055 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12056 _lt_compiler_boilerplate=`cat conftest.err`
12057 $RM conftest*
12058
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12061 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_linker_boilerplate=`cat conftest.err`
12063 $RM -r conftest*
12064
12065
12066 # Allow CC to be a program name with arguments.
12067 lt_save_CC=$CC
12068 lt_save_LD=$LD
12069 lt_save_GCC=$GCC
12070 GCC=$GXX
12071 lt_save_with_gnu_ld=$with_gnu_ld
12072 lt_save_path_LD=$lt_cv_path_LD
12073 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12074 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12075 else
12076 $as_unset lt_cv_prog_gnu_ld
12077 fi
12078 if test -n "${lt_cv_path_LDCXX+set}"; then
12079 lt_cv_path_LD=$lt_cv_path_LDCXX
12080 else
12081 $as_unset lt_cv_path_LD
12082 fi
12083 test -z "${LDCXX+set}" || LD=$LDCXX
12084 CC=${CXX-"c++"}
12085 compiler=$CC
12086 compiler_CXX=$CC
12087 for cc_temp in $compiler""; do
12088 case $cc_temp in
12089 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12090 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12091 \-*) ;;
12092 *) break;;
12093 esac
12094 done
12095 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12096
12097
12098 if test -n "$compiler"; then
12099 # We don't want -fno-exception when compiling C++ code, so set the
12100 # no_builtin_flag separately
12101 if test "$GXX" = yes; then
12102 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12103 else
12104 lt_prog_compiler_no_builtin_flag_CXX=
12105 fi
12106
12107 if test "$GXX" = yes; then
12108 # Set up default GNU C++ configuration
12109
12110
12111
12112 # Check whether --with-gnu-ld was given.
12113 if test "${with_gnu_ld+set}" = set; then :
12114 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12115 else
12116 with_gnu_ld=no
12117 fi
12118
12119 ac_prog=ld
12120 if test "$GCC" = yes; then
12121 # Check if gcc -print-prog-name=ld gives a path.
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12123 $as_echo_n "checking for ld used by $CC... " >&6; }
12124 case $host in
12125 *-*-mingw*)
12126 # gcc leaves a trailing carriage return which upsets mingw
12127 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12128 *)
12129 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12130 esac
12131 case $ac_prog in
12132 # Accept absolute paths.
12133 [\\/]* | ?:[\\/]*)
12134 re_direlt='/[^/][^/]*/\.\./'
12135 # Canonicalize the pathname of ld
12136 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12137 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12138 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12139 done
12140 test -z "$LD" && LD="$ac_prog"
12141 ;;
12142 "")
12143 # If it fails, then pretend we aren't using GCC.
12144 ac_prog=ld
12145 ;;
12146 *)
12147 # If it is relative, then search for the first ld in PATH.
12148 with_gnu_ld=unknown
12149 ;;
12150 esac
12151 elif test "$with_gnu_ld" = yes; then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12153 $as_echo_n "checking for GNU ld... " >&6; }
12154 else
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12156 $as_echo_n "checking for non-GNU ld... " >&6; }
12157 fi
12158 if test "${lt_cv_path_LD+set}" = set; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 if test -z "$LD"; then
12162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12163 for ac_dir in $PATH; do
12164 IFS="$lt_save_ifs"
12165 test -z "$ac_dir" && ac_dir=.
12166 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12167 lt_cv_path_LD="$ac_dir/$ac_prog"
12168 # Check to see if the program is GNU ld. I'd rather use --version,
12169 # but apparently some variants of GNU ld only accept -v.
12170 # Break only if it was the GNU/non-GNU ld that we prefer.
12171 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12172 *GNU* | *'with BFD'*)
12173 test "$with_gnu_ld" != no && break
12174 ;;
12175 *)
12176 test "$with_gnu_ld" != yes && break
12177 ;;
12178 esac
12179 fi
12180 done
12181 IFS="$lt_save_ifs"
12182 else
12183 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12184 fi
12185 fi
12186
12187 LD="$lt_cv_path_LD"
12188 if test -n "$LD"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12190 $as_echo "$LD" >&6; }
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12194 fi
12195 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12197 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12198 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12202 case `$LD -v 2>&1 </dev/null` in
12203 *GNU* | *'with BFD'*)
12204 lt_cv_prog_gnu_ld=yes
12205 ;;
12206 *)
12207 lt_cv_prog_gnu_ld=no
12208 ;;
12209 esac
12210 fi
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12212 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12213 with_gnu_ld=$lt_cv_prog_gnu_ld
12214
12215
12216
12217
12218
12219
12220
12221 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12222 # archiving commands below assume that GNU ld is being used.
12223 if test "$with_gnu_ld" = yes; then
12224 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12225 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'
12226
12227 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12228 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12229
12230 # If archive_cmds runs LD, not CC, wlarc should be empty
12231 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12232 # investigate it a little bit more. (MM)
12233 wlarc='${wl}'
12234
12235 # ancient GNU ld didn't support --whole-archive et. al.
12236 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12237 $GREP 'no-whole-archive' > /dev/null; then
12238 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12239 else
12240 whole_archive_flag_spec_CXX=
12241 fi
12242 else
12243 with_gnu_ld=no
12244 wlarc=
12245
12246 # A generic and very simple default shared library creation
12247 # command for GNU C++ for the case where it uses the native
12248 # linker, instead of GNU ld. If possible, this setting should
12249 # overridden to take advantage of the native linker features on
12250 # the platform it is being used on.
12251 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12252 fi
12253
12254 # Commands to make compiler produce verbose output that lists
12255 # what "hidden" libraries, object files and flags are used when
12256 # linking a shared library.
12257 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12258
12259 else
12260 GXX=no
12261 with_gnu_ld=no
12262 wlarc=
12263 fi
12264
12265 # PORTME: fill in a description of your system's C++ link characteristics
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12267 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12268 ld_shlibs_CXX=yes
12269 case $host_os in
12270 aix3*)
12271 # FIXME: insert proper C++ library support
12272 ld_shlibs_CXX=no
12273 ;;
12274 aix[4-9]*)
12275 if test "$host_cpu" = ia64; then
12276 # On IA64, the linker does run time linking by default, so we don't
12277 # have to do anything special.
12278 aix_use_runtimelinking=no
12279 exp_sym_flag='-Bexport'
12280 no_entry_flag=""
12281 else
12282 aix_use_runtimelinking=no
12283
12284 # Test if we are trying to use run time linking or normal
12285 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12286 # need to do runtime linking.
12287 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12288 for ld_flag in $LDFLAGS; do
12289 case $ld_flag in
12290 *-brtl*)
12291 aix_use_runtimelinking=yes
12292 break
12293 ;;
12294 esac
12295 done
12296 ;;
12297 esac
12298
12299 exp_sym_flag='-bexport'
12300 no_entry_flag='-bnoentry'
12301 fi
12302
12303 # When large executables or shared objects are built, AIX ld can
12304 # have problems creating the table of contents. If linking a library
12305 # or program results in "error TOC overflow" add -mminimal-toc to
12306 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12307 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12308
12309 archive_cmds_CXX=''
12310 hardcode_direct_CXX=yes
12311 hardcode_direct_absolute_CXX=yes
12312 hardcode_libdir_separator_CXX=':'
12313 link_all_deplibs_CXX=yes
12314 file_list_spec_CXX='${wl}-f,'
12315
12316 if test "$GXX" = yes; then
12317 case $host_os in aix4.[012]|aix4.[012].*)
12318 # We only want to do this on AIX 4.2 and lower, the check
12319 # below for broken collect2 doesn't work under 4.3+
12320 collect2name=`${CC} -print-prog-name=collect2`
12321 if test -f "$collect2name" &&
12322 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12323 then
12324 # We have reworked collect2
12325 :
12326 else
12327 # We have old collect2
12328 hardcode_direct_CXX=unsupported
12329 # It fails to find uninstalled libraries when the uninstalled
12330 # path is not listed in the libpath. Setting hardcode_minus_L
12331 # to unsupported forces relinking
12332 hardcode_minus_L_CXX=yes
12333 hardcode_libdir_flag_spec_CXX='-L$libdir'
12334 hardcode_libdir_separator_CXX=
12335 fi
12336 esac
12337 shared_flag='-shared'
12338 if test "$aix_use_runtimelinking" = yes; then
12339 shared_flag="$shared_flag "'${wl}-G'
12340 fi
12341 else
12342 # not using gcc
12343 if test "$host_cpu" = ia64; then
12344 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12345 # chokes on -Wl,-G. The following line is correct:
12346 shared_flag='-G'
12347 else
12348 if test "$aix_use_runtimelinking" = yes; then
12349 shared_flag='${wl}-G'
12350 else
12351 shared_flag='${wl}-bM:SRE'
12352 fi
12353 fi
12354 fi
12355
12356 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12357 # It seems that -bexpall does not export symbols beginning with
12358 # underscore (_), so it is better to generate a list of symbols to
12359 # export.
12360 always_export_symbols_CXX=yes
12361 if test "$aix_use_runtimelinking" = yes; then
12362 # Warning - without using the other runtime loading flags (-brtl),
12363 # -berok will link without error, but may produce a broken library.
12364 allow_undefined_flag_CXX='-berok'
12365 # Determine the default libpath from the value encoded in an empty
12366 # executable.
12367 if test x$gcc_no_link = xyes; then
12368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12369 fi
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12372
12373 int
12374 main ()
12375 {
12376
12377 ;
12378 return 0;
12379 }
12380 _ACEOF
12381 if ac_fn_cxx_try_link "$LINENO"; then :
12382
12383 lt_aix_libpath_sed='
12384 /Import File Strings/,/^$/ {
12385 /^0/ {
12386 s/^0 *\(.*\)$/\1/
12387 p
12388 }
12389 }'
12390 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12391 # Check for a 64-bit object if we didn't find anything.
12392 if test -z "$aix_libpath"; then
12393 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12394 fi
12395 fi
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12399
12400 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12401
12402 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"
12403 else
12404 if test "$host_cpu" = ia64; then
12405 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12406 allow_undefined_flag_CXX="-z nodefs"
12407 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"
12408 else
12409 # Determine the default libpath from the value encoded in an
12410 # empty executable.
12411 if test x$gcc_no_link = xyes; then
12412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12413 fi
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12416
12417 int
12418 main ()
12419 {
12420
12421 ;
12422 return 0;
12423 }
12424 _ACEOF
12425 if ac_fn_cxx_try_link "$LINENO"; then :
12426
12427 lt_aix_libpath_sed='
12428 /Import File Strings/,/^$/ {
12429 /^0/ {
12430 s/^0 *\(.*\)$/\1/
12431 p
12432 }
12433 }'
12434 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12435 # Check for a 64-bit object if we didn't find anything.
12436 if test -z "$aix_libpath"; then
12437 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12438 fi
12439 fi
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12443
12444 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12445 # Warning - without using the other run time loading flags,
12446 # -berok will link without error, but may produce a broken library.
12447 no_undefined_flag_CXX=' ${wl}-bernotok'
12448 allow_undefined_flag_CXX=' ${wl}-berok'
12449 if test "$with_gnu_ld" = yes; then
12450 # We only use this code for GNU lds that support --whole-archive.
12451 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12452 else
12453 # Exported symbols can be pulled into shared objects from archives
12454 whole_archive_flag_spec_CXX='$convenience'
12455 fi
12456 archive_cmds_need_lc_CXX=yes
12457 # This is similar to how AIX traditionally builds its shared
12458 # libraries.
12459 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'
12460 fi
12461 fi
12462 ;;
12463
12464 beos*)
12465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12466 allow_undefined_flag_CXX=unsupported
12467 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12468 # support --undefined. This deserves some investigation. FIXME
12469 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12470 else
12471 ld_shlibs_CXX=no
12472 fi
12473 ;;
12474
12475 chorus*)
12476 case $cc_basename in
12477 *)
12478 # FIXME: insert proper C++ library support
12479 ld_shlibs_CXX=no
12480 ;;
12481 esac
12482 ;;
12483
12484 cygwin* | mingw* | pw32* | cegcc*)
12485 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12486 # as there is no search path for DLLs.
12487 hardcode_libdir_flag_spec_CXX='-L$libdir'
12488 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12489 allow_undefined_flag_CXX=unsupported
12490 always_export_symbols_CXX=no
12491 enable_shared_with_static_runtimes_CXX=yes
12492
12493 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12494 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'
12495 # If the export-symbols file already is a .def file (1st line
12496 # is EXPORTS), use it as is; otherwise, prepend...
12497 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12498 cp $export_symbols $output_objdir/$soname.def;
12499 else
12500 echo EXPORTS > $output_objdir/$soname.def;
12501 cat $export_symbols >> $output_objdir/$soname.def;
12502 fi~
12503 $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'
12504 else
12505 ld_shlibs_CXX=no
12506 fi
12507 ;;
12508 darwin* | rhapsody*)
12509
12510
12511 archive_cmds_need_lc_CXX=no
12512 hardcode_direct_CXX=no
12513 hardcode_automatic_CXX=yes
12514 hardcode_shlibpath_var_CXX=unsupported
12515 if test "$lt_cv_ld_force_load" = "yes"; then
12516 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\"`'
12517 else
12518 whole_archive_flag_spec_CXX=''
12519 fi
12520 link_all_deplibs_CXX=yes
12521 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12522 case $cc_basename in
12523 ifort*) _lt_dar_can_shared=yes ;;
12524 *) _lt_dar_can_shared=$GCC ;;
12525 esac
12526 if test "$_lt_dar_can_shared" = "yes"; then
12527 output_verbose_link_cmd=func_echo_all
12528 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}"
12529 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12530 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}"
12531 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}"
12532 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12533 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}"
12534 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}"
12535 fi
12536
12537 else
12538 ld_shlibs_CXX=no
12539 fi
12540
12541 ;;
12542
12543 dgux*)
12544 case $cc_basename in
12545 ec++*)
12546 # FIXME: insert proper C++ library support
12547 ld_shlibs_CXX=no
12548 ;;
12549 ghcx*)
12550 # Green Hills C++ Compiler
12551 # FIXME: insert proper C++ library support
12552 ld_shlibs_CXX=no
12553 ;;
12554 *)
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12557 ;;
12558 esac
12559 ;;
12560
12561 freebsd2.*)
12562 # C++ shared libraries reported to be fairly broken before
12563 # switch to ELF
12564 ld_shlibs_CXX=no
12565 ;;
12566
12567 freebsd-elf*)
12568 archive_cmds_need_lc_CXX=no
12569 ;;
12570
12571 freebsd* | dragonfly*)
12572 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12573 # conventions
12574 ld_shlibs_CXX=yes
12575 ;;
12576
12577 gnu*)
12578 ;;
12579
12580 haiku*)
12581 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12582 link_all_deplibs_CXX=yes
12583 ;;
12584
12585 hpux9*)
12586 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12587 hardcode_libdir_separator_CXX=:
12588 export_dynamic_flag_spec_CXX='${wl}-E'
12589 hardcode_direct_CXX=yes
12590 hardcode_minus_L_CXX=yes # Not in the search PATH,
12591 # but as the default
12592 # location of the library.
12593
12594 case $cc_basename in
12595 CC*)
12596 # FIXME: insert proper C++ library support
12597 ld_shlibs_CXX=no
12598 ;;
12599 aCC*)
12600 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'
12601 # Commands to make compiler produce verbose output that lists
12602 # what "hidden" libraries, object files and flags are used when
12603 # linking a shared library.
12604 #
12605 # There doesn't appear to be a way to prevent this compiler from
12606 # explicitly linking system object files so we need to strip them
12607 # from the output so that they don't get included in the library
12608 # dependencies.
12609 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"'
12610 ;;
12611 *)
12612 if test "$GXX" = yes; then
12613 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'
12614 else
12615 # FIXME: insert proper C++ library support
12616 ld_shlibs_CXX=no
12617 fi
12618 ;;
12619 esac
12620 ;;
12621
12622 hpux10*|hpux11*)
12623 if test $with_gnu_ld = no; then
12624 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12625 hardcode_libdir_separator_CXX=:
12626
12627 case $host_cpu in
12628 hppa*64*|ia64*)
12629 ;;
12630 *)
12631 export_dynamic_flag_spec_CXX='${wl}-E'
12632 ;;
12633 esac
12634 fi
12635 case $host_cpu in
12636 hppa*64*|ia64*)
12637 hardcode_direct_CXX=no
12638 hardcode_shlibpath_var_CXX=no
12639 ;;
12640 *)
12641 hardcode_direct_CXX=yes
12642 hardcode_direct_absolute_CXX=yes
12643 hardcode_minus_L_CXX=yes # Not in the search PATH,
12644 # but as the default
12645 # location of the library.
12646 ;;
12647 esac
12648
12649 case $cc_basename in
12650 CC*)
12651 # FIXME: insert proper C++ library support
12652 ld_shlibs_CXX=no
12653 ;;
12654 aCC*)
12655 case $host_cpu in
12656 hppa*64*)
12657 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 ;;
12659 ia64*)
12660 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12661 ;;
12662 *)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664 ;;
12665 esac
12666 # Commands to make compiler produce verbose output that lists
12667 # what "hidden" libraries, object files and flags are used when
12668 # linking a shared library.
12669 #
12670 # There doesn't appear to be a way to prevent this compiler from
12671 # explicitly linking system object files so we need to strip them
12672 # from the output so that they don't get included in the library
12673 # dependencies.
12674 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"'
12675 ;;
12676 *)
12677 if test "$GXX" = yes; then
12678 if test $with_gnu_ld = no; then
12679 case $host_cpu in
12680 hppa*64*)
12681 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 ;;
12683 ia64*)
12684 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12685 ;;
12686 *)
12687 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'
12688 ;;
12689 esac
12690 fi
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12694 fi
12695 ;;
12696 esac
12697 ;;
12698
12699 interix[3-9]*)
12700 hardcode_direct_CXX=no
12701 hardcode_shlibpath_var_CXX=no
12702 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12703 export_dynamic_flag_spec_CXX='${wl}-E'
12704 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12705 # Instead, shared libraries are loaded at an image base (0x10000000 by
12706 # default) and relocated if they conflict, which is a slow very memory
12707 # consuming and fragmenting process. To avoid this, we pick a random,
12708 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12709 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12710 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'
12711 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'
12712 ;;
12713 irix5* | irix6*)
12714 case $cc_basename in
12715 CC*)
12716 # SGI C++
12717 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'
12718
12719 # Archives containing C++ object files must be created using
12720 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12721 # necessary to make sure instantiated templates are included
12722 # in the archive.
12723 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12724 ;;
12725 *)
12726 if test "$GXX" = yes; then
12727 if test "$with_gnu_ld" = no; then
12728 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'
12729 else
12730 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'
12731 fi
12732 fi
12733 link_all_deplibs_CXX=yes
12734 ;;
12735 esac
12736 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12737 hardcode_libdir_separator_CXX=:
12738 inherit_rpath_CXX=yes
12739 ;;
12740
12741 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12742 case $cc_basename in
12743 KCC*)
12744 # Kuck and Associates, Inc. (KAI) C++ Compiler
12745
12746 # KCC will only create a shared library if the output file
12747 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12748 # to its proper name (with version) after linking.
12749 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'
12750 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'
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12754 #
12755 # There doesn't appear to be a way to prevent this compiler from
12756 # explicitly linking system object files so we need to strip them
12757 # from the output so that they don't get included in the library
12758 # dependencies.
12759 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"'
12760
12761 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763
12764 # Archives containing C++ object files must be created using
12765 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12766 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12767 ;;
12768 icpc* | ecpc* )
12769 # Intel C++
12770 with_gnu_ld=yes
12771 # version 8.0 and above of icpc choke on multiply defined symbols
12772 # if we add $predep_objects and $postdep_objects, however 7.1 and
12773 # earlier do not add the objects themselves.
12774 case `$CC -V 2>&1` in
12775 *"Version 7."*)
12776 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 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'
12778 ;;
12779 *) # Version 8.0 or newer
12780 tmp_idyn=
12781 case $host_cpu in
12782 ia64*) tmp_idyn=' -i_dynamic';;
12783 esac
12784 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12785 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'
12786 ;;
12787 esac
12788 archive_cmds_need_lc_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12792 ;;
12793 pgCC* | pgcpp*)
12794 # Portland Group C++ compiler
12795 case `$CC -V` in
12796 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12797 prelink_cmds_CXX='tpldir=Template.dir~
12798 rm -rf $tpldir~
12799 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12800 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12801 old_archive_cmds_CXX='tpldir=Template.dir~
12802 rm -rf $tpldir~
12803 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12804 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12805 $RANLIB $oldlib'
12806 archive_cmds_CXX='tpldir=Template.dir~
12807 rm -rf $tpldir~
12808 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12809 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='tpldir=Template.dir~
12811 rm -rf $tpldir~
12812 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12813 $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'
12814 ;;
12815 *) # Version 6 and above use weak symbols
12816 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12817 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'
12818 ;;
12819 esac
12820
12821 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12822 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12823 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'
12824 ;;
12825 cxx*)
12826 # Compaq C++
12827 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12828 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'
12829
12830 runpath_var=LD_RUN_PATH
12831 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12832 hardcode_libdir_separator_CXX=:
12833
12834 # Commands to make compiler produce verbose output that lists
12835 # what "hidden" libraries, object files and flags are used when
12836 # linking a shared library.
12837 #
12838 # There doesn't appear to be a way to prevent this compiler from
12839 # explicitly linking system object files so we need to strip them
12840 # from the output so that they don't get included in the library
12841 # dependencies.
12842 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'
12843 ;;
12844 xl* | mpixl* | bgxl*)
12845 # IBM XL 8.0 on PPC, with GNU ld
12846 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12848 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12849 if test "x$supports_anon_versioning" = xyes; then
12850 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12852 echo "local: *; };" >> $output_objdir/$libname.ver~
12853 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12854 fi
12855 ;;
12856 *)
12857 case `$CC -V 2>&1 | sed 5q` in
12858 *Sun\ C*)
12859 # Sun C++ 5.9
12860 no_undefined_flag_CXX=' -zdefs'
12861 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12862 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'
12863 hardcode_libdir_flag_spec_CXX='-R$libdir'
12864 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'
12865 compiler_needs_object_CXX=yes
12866
12867 # Not sure whether something based on
12868 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12869 # would be better.
12870 output_verbose_link_cmd='func_echo_all'
12871
12872 # Archives containing C++ object files must be created using
12873 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12874 # necessary to make sure instantiated templates are included
12875 # in the archive.
12876 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12877 ;;
12878 esac
12879 ;;
12880 esac
12881 ;;
12882
12883 lynxos*)
12884 # FIXME: insert proper C++ library support
12885 ld_shlibs_CXX=no
12886 ;;
12887
12888 m88k*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12891 ;;
12892
12893 mvs*)
12894 case $cc_basename in
12895 cxx*)
12896 # FIXME: insert proper C++ library support
12897 ld_shlibs_CXX=no
12898 ;;
12899 *)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12902 ;;
12903 esac
12904 ;;
12905
12906 netbsd*)
12907 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12908 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12909 wlarc=
12910 hardcode_libdir_flag_spec_CXX='-R$libdir'
12911 hardcode_direct_CXX=yes
12912 hardcode_shlibpath_var_CXX=no
12913 fi
12914 # Workaround some broken pre-1.5 toolchains
12915 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12916 ;;
12917
12918 *nto* | *qnx*)
12919 ld_shlibs_CXX=yes
12920 ;;
12921
12922 openbsd2*)
12923 # C++ shared libraries are fairly broken
12924 ld_shlibs_CXX=no
12925 ;;
12926
12927 openbsd*)
12928 if test -f /usr/libexec/ld.so; then
12929 hardcode_direct_CXX=yes
12930 hardcode_shlibpath_var_CXX=no
12931 hardcode_direct_absolute_CXX=yes
12932 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12934 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12935 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12936 export_dynamic_flag_spec_CXX='${wl}-E'
12937 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12938 fi
12939 output_verbose_link_cmd=func_echo_all
12940 else
12941 ld_shlibs_CXX=no
12942 fi
12943 ;;
12944
12945 osf3* | osf4* | osf5*)
12946 case $cc_basename in
12947 KCC*)
12948 # Kuck and Associates, Inc. (KAI) C++ Compiler
12949
12950 # KCC will only create a shared library if the output file
12951 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12952 # to its proper name (with version) after linking.
12953 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'
12954
12955 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12956 hardcode_libdir_separator_CXX=:
12957
12958 # Archives containing C++ object files must be created using
12959 # the KAI C++ compiler.
12960 case $host in
12961 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12962 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12963 esac
12964 ;;
12965 RCC*)
12966 # Rational C++ 2.4.1
12967 # FIXME: insert proper C++ library support
12968 ld_shlibs_CXX=no
12969 ;;
12970 cxx*)
12971 case $host in
12972 osf3*)
12973 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12974 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'
12975 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12976 ;;
12977 *)
12978 allow_undefined_flag_CXX=' -expect_unresolved \*'
12979 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'
12980 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12981 echo "-hidden">> $lib.exp~
12982 $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~
12983 $RM $lib.exp'
12984 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12985 ;;
12986 esac
12987
12988 hardcode_libdir_separator_CXX=:
12989
12990 # Commands to make compiler produce verbose output that lists
12991 # what "hidden" libraries, object files and flags are used when
12992 # linking a shared library.
12993 #
12994 # There doesn't appear to be a way to prevent this compiler from
12995 # explicitly linking system object files so we need to strip them
12996 # from the output so that they don't get included in the library
12997 # dependencies.
12998 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"'
12999 ;;
13000 *)
13001 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13002 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13003 case $host in
13004 osf3*)
13005 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'
13006 ;;
13007 *)
13008 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'
13009 ;;
13010 esac
13011
13012 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13013 hardcode_libdir_separator_CXX=:
13014
13015 # Commands to make compiler produce verbose output that lists
13016 # what "hidden" libraries, object files and flags are used when
13017 # linking a shared library.
13018 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13019
13020 else
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13023 fi
13024 ;;
13025 esac
13026 ;;
13027
13028 psos*)
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13031 ;;
13032
13033 sunos4*)
13034 case $cc_basename in
13035 CC*)
13036 # Sun C++ 4.x
13037 # FIXME: insert proper C++ library support
13038 ld_shlibs_CXX=no
13039 ;;
13040 lcc*)
13041 # Lucid
13042 # FIXME: insert proper C++ library support
13043 ld_shlibs_CXX=no
13044 ;;
13045 *)
13046 # FIXME: insert proper C++ library support
13047 ld_shlibs_CXX=no
13048 ;;
13049 esac
13050 ;;
13051
13052 solaris*)
13053 case $cc_basename in
13054 CC*)
13055 # Sun C++ 4.2, 5.x and Centerline C++
13056 archive_cmds_need_lc_CXX=yes
13057 no_undefined_flag_CXX=' -zdefs'
13058 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13059 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13060 $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'
13061
13062 hardcode_libdir_flag_spec_CXX='-R$libdir'
13063 hardcode_shlibpath_var_CXX=no
13064 case $host_os in
13065 solaris2.[0-5] | solaris2.[0-5].*) ;;
13066 *)
13067 # The compiler driver will combine and reorder linker options,
13068 # but understands `-z linker_flag'.
13069 # Supported since Solaris 2.6 (maybe 2.5.1?)
13070 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13071 ;;
13072 esac
13073 link_all_deplibs_CXX=yes
13074
13075 output_verbose_link_cmd='func_echo_all'
13076
13077 # Archives containing C++ object files must be created using
13078 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13079 # necessary to make sure instantiated templates are included
13080 # in the archive.
13081 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13082 ;;
13083 gcx*)
13084 # Green Hills C++ Compiler
13085 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13086
13087 # The C++ compiler must be used to create the archive.
13088 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13089 ;;
13090 *)
13091 # GNU C++ compiler with Solaris linker
13092 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13093 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13094 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13095 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13096 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13097 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13098
13099 # Commands to make compiler produce verbose output that lists
13100 # what "hidden" libraries, object files and flags are used when
13101 # linking a shared library.
13102 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13103 else
13104 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13105 # platform.
13106 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13109
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 fi
13115
13116 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13117 case $host_os in
13118 solaris2.[0-5] | solaris2.[0-5].*) ;;
13119 *)
13120 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13121 ;;
13122 esac
13123 fi
13124 ;;
13125 esac
13126 ;;
13127
13128 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13129 no_undefined_flag_CXX='${wl}-z,text'
13130 archive_cmds_need_lc_CXX=no
13131 hardcode_shlibpath_var_CXX=no
13132 runpath_var='LD_RUN_PATH'
13133
13134 case $cc_basename in
13135 CC*)
13136 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13137 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13138 ;;
13139 *)
13140 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 ;;
13143 esac
13144 ;;
13145
13146 sysv5* | sco3.2v5* | sco5v6*)
13147 # Note: We can NOT use -z defs as we might desire, because we do not
13148 # link with -lc, and that would cause any symbols used from libc to
13149 # always be unresolved, which means just about no library would
13150 # ever link correctly. If we're not using GNU ld we use -z text
13151 # though, which does catch some bad symbols but isn't as heavy-handed
13152 # as -z defs.
13153 no_undefined_flag_CXX='${wl}-z,text'
13154 allow_undefined_flag_CXX='${wl}-z,nodefs'
13155 archive_cmds_need_lc_CXX=no
13156 hardcode_shlibpath_var_CXX=no
13157 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13158 hardcode_libdir_separator_CXX=':'
13159 link_all_deplibs_CXX=yes
13160 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13161 runpath_var='LD_RUN_PATH'
13162
13163 case $cc_basename in
13164 CC*)
13165 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13168 '"$old_archive_cmds_CXX"
13169 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13170 '"$reload_cmds_CXX"
13171 ;;
13172 *)
13173 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13174 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13175 ;;
13176 esac
13177 ;;
13178
13179 tandem*)
13180 case $cc_basename in
13181 NCC*)
13182 # NonStop-UX NCC 3.20
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13185 ;;
13186 *)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13189 ;;
13190 esac
13191 ;;
13192
13193 vxworks*)
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13196 ;;
13197
13198 *)
13199 # FIXME: insert proper C++ library support
13200 ld_shlibs_CXX=no
13201 ;;
13202 esac
13203
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13205 $as_echo "$ld_shlibs_CXX" >&6; }
13206 test "$ld_shlibs_CXX" = no && can_build_shared=no
13207
13208 GCC_CXX="$GXX"
13209 LD_CXX="$LD"
13210
13211 ## CAVEAT EMPTOR:
13212 ## There is no encapsulation within the following macros, do not change
13213 ## the running order or otherwise move them around unless you know exactly
13214 ## what you are doing...
13215 # Dependencies to place before and after the object being linked:
13216 predep_objects_CXX=
13217 postdep_objects_CXX=
13218 predeps_CXX=
13219 postdeps_CXX=
13220 compiler_lib_search_path_CXX=
13221
13222 cat > conftest.$ac_ext <<_LT_EOF
13223 class Foo
13224 {
13225 public:
13226 Foo (void) { a = 0; }
13227 private:
13228 int a;
13229 };
13230 _LT_EOF
13231
13232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13233 (eval $ac_compile) 2>&5
13234 ac_status=$?
13235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236 test $ac_status = 0; }; then
13237 # Parse the compiler output and extract the necessary
13238 # objects, libraries and library flags.
13239
13240 # Sentinel used to keep track of whether or not we are before
13241 # the conftest object file.
13242 pre_test_object_deps_done=no
13243
13244 for p in `eval "$output_verbose_link_cmd"`; do
13245 case $p in
13246
13247 -L* | -R* | -l*)
13248 # Some compilers place space between "-{L,R}" and the path.
13249 # Remove the space.
13250 if test $p = "-L" ||
13251 test $p = "-R"; then
13252 prev=$p
13253 continue
13254 else
13255 prev=
13256 fi
13257
13258 if test "$pre_test_object_deps_done" = no; then
13259 case $p in
13260 -L* | -R*)
13261 # Internal compiler library paths should come after those
13262 # provided the user. The postdeps already come after the
13263 # user supplied libs so there is no need to process them.
13264 if test -z "$compiler_lib_search_path_CXX"; then
13265 compiler_lib_search_path_CXX="${prev}${p}"
13266 else
13267 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13268 fi
13269 ;;
13270 # The "-l" case would never come before the object being
13271 # linked, so don't bother handling this case.
13272 esac
13273 else
13274 if test -z "$postdeps_CXX"; then
13275 postdeps_CXX="${prev}${p}"
13276 else
13277 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13278 fi
13279 fi
13280 ;;
13281
13282 *.$objext)
13283 # This assumes that the test object file only shows up
13284 # once in the compiler output.
13285 if test "$p" = "conftest.$objext"; then
13286 pre_test_object_deps_done=yes
13287 continue
13288 fi
13289
13290 if test "$pre_test_object_deps_done" = no; then
13291 if test -z "$predep_objects_CXX"; then
13292 predep_objects_CXX="$p"
13293 else
13294 predep_objects_CXX="$predep_objects_CXX $p"
13295 fi
13296 else
13297 if test -z "$postdep_objects_CXX"; then
13298 postdep_objects_CXX="$p"
13299 else
13300 postdep_objects_CXX="$postdep_objects_CXX $p"
13301 fi
13302 fi
13303 ;;
13304
13305 *) ;; # Ignore the rest.
13306
13307 esac
13308 done
13309
13310 # Clean up.
13311 rm -f a.out a.exe
13312 else
13313 echo "libtool.m4: error: problem compiling CXX test program"
13314 fi
13315
13316 $RM -f confest.$objext
13317
13318 # PORTME: override above test on systems where it is broken
13319 case $host_os in
13320 interix[3-9]*)
13321 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13322 # hack all around it, let's just trust "g++" to DTRT.
13323 predep_objects_CXX=
13324 postdep_objects_CXX=
13325 postdeps_CXX=
13326 ;;
13327
13328 linux*)
13329 case `$CC -V 2>&1 | sed 5q` in
13330 *Sun\ C*)
13331 # Sun C++ 5.9
13332
13333 # The more standards-conforming stlport4 library is
13334 # incompatible with the Cstd library. Avoid specifying
13335 # it if it's in CXXFLAGS. Ignore libCrun as
13336 # -library=stlport4 depends on it.
13337 case " $CXX $CXXFLAGS " in
13338 *" -library=stlport4 "*)
13339 solaris_use_stlport4=yes
13340 ;;
13341 esac
13342
13343 if test "$solaris_use_stlport4" != yes; then
13344 postdeps_CXX='-library=Cstd -library=Crun'
13345 fi
13346 ;;
13347 esac
13348 ;;
13349
13350 solaris*)
13351 case $cc_basename in
13352 CC*)
13353 # The more standards-conforming stlport4 library is
13354 # incompatible with the Cstd library. Avoid specifying
13355 # it if it's in CXXFLAGS. Ignore libCrun as
13356 # -library=stlport4 depends on it.
13357 case " $CXX $CXXFLAGS " in
13358 *" -library=stlport4 "*)
13359 solaris_use_stlport4=yes
13360 ;;
13361 esac
13362
13363 # Adding this requires a known-good setup of shared libraries for
13364 # Sun compiler versions before 5.6, else PIC objects from an old
13365 # archive will be linked into the output, leading to subtle bugs.
13366 if test "$solaris_use_stlport4" != yes; then
13367 postdeps_CXX='-library=Cstd -library=Crun'
13368 fi
13369 ;;
13370 esac
13371 ;;
13372 esac
13373
13374
13375 case " $postdeps_CXX " in
13376 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13377 esac
13378 compiler_lib_search_dirs_CXX=
13379 if test -n "${compiler_lib_search_path_CXX}"; then
13380 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13381 fi
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413 lt_prog_compiler_wl_CXX=
13414 lt_prog_compiler_pic_CXX=
13415 lt_prog_compiler_static_CXX=
13416
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13418 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13419
13420 # C++ specific cases for pic, static, wl, etc.
13421 if test "$GXX" = yes; then
13422 lt_prog_compiler_wl_CXX='-Wl,'
13423 lt_prog_compiler_static_CXX='-static'
13424
13425 case $host_os in
13426 aix*)
13427 # All AIX code is PIC.
13428 if test "$host_cpu" = ia64; then
13429 # AIX 5 now supports IA64 processor
13430 lt_prog_compiler_static_CXX='-Bstatic'
13431 fi
13432 lt_prog_compiler_pic_CXX='-fPIC'
13433 ;;
13434
13435 amigaos*)
13436 case $host_cpu in
13437 powerpc)
13438 # see comment about AmigaOS4 .so support
13439 lt_prog_compiler_pic_CXX='-fPIC'
13440 ;;
13441 m68k)
13442 # FIXME: we need at least 68020 code to build shared libraries, but
13443 # adding the `-m68020' flag to GCC prevents building anything better,
13444 # like `-m68040'.
13445 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13446 ;;
13447 esac
13448 ;;
13449
13450 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13451 # PIC is the default for these OSes.
13452 ;;
13453 mingw* | cygwin* | os2* | pw32* | cegcc*)
13454 # This hack is so that the source file can tell whether it is being
13455 # built for inclusion in a dll (and should export symbols for example).
13456 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13457 # (--disable-auto-import) libraries
13458 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13459 ;;
13460 darwin* | rhapsody*)
13461 # PIC is the default on this platform
13462 # Common symbols not allowed in MH_DYLIB files
13463 lt_prog_compiler_pic_CXX='-fno-common'
13464 ;;
13465 *djgpp*)
13466 # DJGPP does not support shared libraries at all
13467 lt_prog_compiler_pic_CXX=
13468 ;;
13469 haiku*)
13470 # PIC is the default for Haiku.
13471 # The "-static" flag exists, but is broken.
13472 lt_prog_compiler_static_CXX=
13473 ;;
13474 interix[3-9]*)
13475 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13476 # Instead, we relocate shared libraries at runtime.
13477 ;;
13478 sysv4*MP*)
13479 if test -d /usr/nec; then
13480 lt_prog_compiler_pic_CXX=-Kconform_pic
13481 fi
13482 ;;
13483 hpux*)
13484 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13485 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13486 # sets the default TLS model and affects inlining.
13487 case $host_cpu in
13488 hppa*64*)
13489 ;;
13490 *)
13491 lt_prog_compiler_pic_CXX='-fPIC'
13492 ;;
13493 esac
13494 ;;
13495 *qnx* | *nto*)
13496 # QNX uses GNU C++, but need to define -shared option too, otherwise
13497 # it will coredump.
13498 lt_prog_compiler_pic_CXX='-fPIC -shared'
13499 ;;
13500 *)
13501 lt_prog_compiler_pic_CXX='-fPIC'
13502 ;;
13503 esac
13504 else
13505 case $host_os in
13506 aix[4-9]*)
13507 # All AIX code is PIC.
13508 if test "$host_cpu" = ia64; then
13509 # AIX 5 now supports IA64 processor
13510 lt_prog_compiler_static_CXX='-Bstatic'
13511 else
13512 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13513 fi
13514 ;;
13515 chorus*)
13516 case $cc_basename in
13517 cxch68*)
13518 # Green Hills C++ Compiler
13519 # _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"
13520 ;;
13521 esac
13522 ;;
13523 dgux*)
13524 case $cc_basename in
13525 ec++*)
13526 lt_prog_compiler_pic_CXX='-KPIC'
13527 ;;
13528 ghcx*)
13529 # Green Hills C++ Compiler
13530 lt_prog_compiler_pic_CXX='-pic'
13531 ;;
13532 *)
13533 ;;
13534 esac
13535 ;;
13536 freebsd* | dragonfly*)
13537 # FreeBSD uses GNU C++
13538 ;;
13539 hpux9* | hpux10* | hpux11*)
13540 case $cc_basename in
13541 CC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 if test "$host_cpu" != ia64; then
13545 lt_prog_compiler_pic_CXX='+Z'
13546 fi
13547 ;;
13548 aCC*)
13549 lt_prog_compiler_wl_CXX='-Wl,'
13550 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13551 case $host_cpu in
13552 hppa*64*|ia64*)
13553 # +Z the default
13554 ;;
13555 *)
13556 lt_prog_compiler_pic_CXX='+Z'
13557 ;;
13558 esac
13559 ;;
13560 *)
13561 ;;
13562 esac
13563 ;;
13564 interix*)
13565 # This is c89, which is MS Visual C++ (no shared libs)
13566 # Anyone wants to do a port?
13567 ;;
13568 irix5* | irix6* | nonstopux*)
13569 case $cc_basename in
13570 CC*)
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_static_CXX='-non_shared'
13573 # CC pic flag -KPIC is the default.
13574 ;;
13575 *)
13576 ;;
13577 esac
13578 ;;
13579 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13580 case $cc_basename in
13581 KCC*)
13582 # KAI C++ Compiler
13583 lt_prog_compiler_wl_CXX='--backend -Wl,'
13584 lt_prog_compiler_pic_CXX='-fPIC'
13585 ;;
13586 ecpc* )
13587 # old Intel C++ for x86_64 which still supported -KPIC.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-static'
13591 ;;
13592 icpc* )
13593 # Intel C++, used to be incompatible with GCC.
13594 # ICC 10 doesn't accept -KPIC any more.
13595 lt_prog_compiler_wl_CXX='-Wl,'
13596 lt_prog_compiler_pic_CXX='-fPIC'
13597 lt_prog_compiler_static_CXX='-static'
13598 ;;
13599 pgCC* | pgcpp*)
13600 # Portland Group C++ compiler
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fpic'
13603 lt_prog_compiler_static_CXX='-Bstatic'
13604 ;;
13605 cxx*)
13606 # Compaq C++
13607 # Make sure the PIC flag is empty. It appears that all Alpha
13608 # Linux and Compaq Tru64 Unix objects are PIC.
13609 lt_prog_compiler_pic_CXX=
13610 lt_prog_compiler_static_CXX='-non_shared'
13611 ;;
13612 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13613 # IBM XL 8.0, 9.0 on PPC and BlueGene
13614 lt_prog_compiler_wl_CXX='-Wl,'
13615 lt_prog_compiler_pic_CXX='-qpic'
13616 lt_prog_compiler_static_CXX='-qstaticlink'
13617 ;;
13618 *)
13619 case `$CC -V 2>&1 | sed 5q` in
13620 *Sun\ C*)
13621 # Sun C++ 5.9
13622 lt_prog_compiler_pic_CXX='-KPIC'
13623 lt_prog_compiler_static_CXX='-Bstatic'
13624 lt_prog_compiler_wl_CXX='-Qoption ld '
13625 ;;
13626 esac
13627 ;;
13628 esac
13629 ;;
13630 lynxos*)
13631 ;;
13632 m88k*)
13633 ;;
13634 mvs*)
13635 case $cc_basename in
13636 cxx*)
13637 lt_prog_compiler_pic_CXX='-W c,exportall'
13638 ;;
13639 *)
13640 ;;
13641 esac
13642 ;;
13643 netbsd*)
13644 ;;
13645 *qnx* | *nto*)
13646 # QNX uses GNU C++, but need to define -shared option too, otherwise
13647 # it will coredump.
13648 lt_prog_compiler_pic_CXX='-fPIC -shared'
13649 ;;
13650 osf3* | osf4* | osf5*)
13651 case $cc_basename in
13652 KCC*)
13653 lt_prog_compiler_wl_CXX='--backend -Wl,'
13654 ;;
13655 RCC*)
13656 # Rational C++ 2.4.1
13657 lt_prog_compiler_pic_CXX='-pic'
13658 ;;
13659 cxx*)
13660 # Digital/Compaq C++
13661 lt_prog_compiler_wl_CXX='-Wl,'
13662 # Make sure the PIC flag is empty. It appears that all Alpha
13663 # Linux and Compaq Tru64 Unix objects are PIC.
13664 lt_prog_compiler_pic_CXX=
13665 lt_prog_compiler_static_CXX='-non_shared'
13666 ;;
13667 *)
13668 ;;
13669 esac
13670 ;;
13671 psos*)
13672 ;;
13673 solaris*)
13674 case $cc_basename in
13675 CC*)
13676 # Sun C++ 4.2, 5.x and Centerline C++
13677 lt_prog_compiler_pic_CXX='-KPIC'
13678 lt_prog_compiler_static_CXX='-Bstatic'
13679 lt_prog_compiler_wl_CXX='-Qoption ld '
13680 ;;
13681 gcx*)
13682 # Green Hills C++ Compiler
13683 lt_prog_compiler_pic_CXX='-PIC'
13684 ;;
13685 *)
13686 ;;
13687 esac
13688 ;;
13689 sunos4*)
13690 case $cc_basename in
13691 CC*)
13692 # Sun C++ 4.x
13693 lt_prog_compiler_pic_CXX='-pic'
13694 lt_prog_compiler_static_CXX='-Bstatic'
13695 ;;
13696 lcc*)
13697 # Lucid
13698 lt_prog_compiler_pic_CXX='-pic'
13699 ;;
13700 *)
13701 ;;
13702 esac
13703 ;;
13704 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13705 case $cc_basename in
13706 CC*)
13707 lt_prog_compiler_wl_CXX='-Wl,'
13708 lt_prog_compiler_pic_CXX='-KPIC'
13709 lt_prog_compiler_static_CXX='-Bstatic'
13710 ;;
13711 esac
13712 ;;
13713 tandem*)
13714 case $cc_basename in
13715 NCC*)
13716 # NonStop-UX NCC 3.20
13717 lt_prog_compiler_pic_CXX='-KPIC'
13718 ;;
13719 *)
13720 ;;
13721 esac
13722 ;;
13723 vxworks*)
13724 ;;
13725 *)
13726 lt_prog_compiler_can_build_shared_CXX=no
13727 ;;
13728 esac
13729 fi
13730
13731 case $host_os in
13732 # For platforms which do not support PIC, -DPIC is meaningless:
13733 *djgpp*)
13734 lt_prog_compiler_pic_CXX=
13735 ;;
13736 *)
13737 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13738 ;;
13739 esac
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13741 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13742
13743
13744
13745 #
13746 # Check to make sure the PIC flag actually works.
13747 #
13748 if test -n "$lt_prog_compiler_pic_CXX"; then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13750 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13751 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 lt_cv_prog_compiler_pic_works_CXX=no
13755 ac_outfile=conftest.$ac_objext
13756 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13757 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13758 # Insert the option either (1) after the last *FLAGS variable, or
13759 # (2) before a word containing "conftest.", or (3) at the end.
13760 # Note that $ac_compile itself does not contain backslashes and begins
13761 # with a dollar sign (not a hyphen), so the echo should work correctly.
13762 # The option is referenced via a variable to avoid confusing sed.
13763 lt_compile=`echo "$ac_compile" | $SED \
13764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13766 -e 's:$: $lt_compiler_flag:'`
13767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13768 (eval "$lt_compile" 2>conftest.err)
13769 ac_status=$?
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 if (exit $ac_status) && test -s "$ac_outfile"; then
13773 # The compiler can only warn and ignore the option if not recognized
13774 # So say no if there are warnings other than the usual output.
13775 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13776 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13777 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13778 lt_cv_prog_compiler_pic_works_CXX=yes
13779 fi
13780 fi
13781 $RM conftest*
13782
13783 fi
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13785 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13786
13787 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13788 case $lt_prog_compiler_pic_CXX in
13789 "" | " "*) ;;
13790 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13791 esac
13792 else
13793 lt_prog_compiler_pic_CXX=
13794 lt_prog_compiler_can_build_shared_CXX=no
13795 fi
13796
13797 fi
13798
13799
13800
13801 #
13802 # Check to make sure the static flag actually works.
13803 #
13804 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13807 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 lt_cv_prog_compiler_static_works_CXX=no
13811 save_LDFLAGS="$LDFLAGS"
13812 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13815 # The linker can only warn and ignore the option if not recognized
13816 # So say no if there are warnings
13817 if test -s conftest.err; then
13818 # Append any errors to the config.log.
13819 cat conftest.err 1>&5
13820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13822 if diff conftest.exp conftest.er2 >/dev/null; then
13823 lt_cv_prog_compiler_static_works_CXX=yes
13824 fi
13825 else
13826 lt_cv_prog_compiler_static_works_CXX=yes
13827 fi
13828 fi
13829 $RM -r conftest*
13830 LDFLAGS="$save_LDFLAGS"
13831
13832 fi
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13834 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13835
13836 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13837 :
13838 else
13839 lt_prog_compiler_static_CXX=
13840 fi
13841
13842
13843
13844
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13846 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13847 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13848 $as_echo_n "(cached) " >&6
13849 else
13850 lt_cv_prog_compiler_c_o_CXX=no
13851 $RM -r conftest 2>/dev/null
13852 mkdir conftest
13853 cd conftest
13854 mkdir out
13855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13856
13857 lt_compiler_flag="-o out/conftest2.$ac_objext"
13858 # Insert the option either (1) after the last *FLAGS variable, or
13859 # (2) before a word containing "conftest.", or (3) at the end.
13860 # Note that $ac_compile itself does not contain backslashes and begins
13861 # with a dollar sign (not a hyphen), so the echo should work correctly.
13862 lt_compile=`echo "$ac_compile" | $SED \
13863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13865 -e 's:$: $lt_compiler_flag:'`
13866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13867 (eval "$lt_compile" 2>out/conftest.err)
13868 ac_status=$?
13869 cat out/conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13872 then
13873 # The compiler can only warn and ignore the option if not recognized
13874 # So say no if there are warnings
13875 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13876 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13877 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13878 lt_cv_prog_compiler_c_o_CXX=yes
13879 fi
13880 fi
13881 chmod u+w . 2>&5
13882 $RM conftest*
13883 # SGI C++ compiler will create directory out/ii_files/ for
13884 # template instantiation
13885 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13886 $RM out/* && rmdir out
13887 cd ..
13888 $RM -r conftest
13889 $RM conftest*
13890
13891 fi
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13893 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13894
13895
13896
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13899 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 lt_cv_prog_compiler_c_o_CXX=no
13903 $RM -r conftest 2>/dev/null
13904 mkdir conftest
13905 cd conftest
13906 mkdir out
13907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13908
13909 lt_compiler_flag="-o out/conftest2.$ac_objext"
13910 # Insert the option either (1) after the last *FLAGS variable, or
13911 # (2) before a word containing "conftest.", or (3) at the end.
13912 # Note that $ac_compile itself does not contain backslashes and begins
13913 # with a dollar sign (not a hyphen), so the echo should work correctly.
13914 lt_compile=`echo "$ac_compile" | $SED \
13915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13917 -e 's:$: $lt_compiler_flag:'`
13918 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13919 (eval "$lt_compile" 2>out/conftest.err)
13920 ac_status=$?
13921 cat out/conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13924 then
13925 # The compiler can only warn and ignore the option if not recognized
13926 # So say no if there are warnings
13927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13928 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13929 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13930 lt_cv_prog_compiler_c_o_CXX=yes
13931 fi
13932 fi
13933 chmod u+w . 2>&5
13934 $RM conftest*
13935 # SGI C++ compiler will create directory out/ii_files/ for
13936 # template instantiation
13937 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13938 $RM out/* && rmdir out
13939 cd ..
13940 $RM -r conftest
13941 $RM conftest*
13942
13943 fi
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13945 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13946
13947
13948
13949
13950 hard_links="nottested"
13951 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13952 # do not overwrite the value of need_locks provided by the user
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13954 $as_echo_n "checking if we can lock with hard links... " >&6; }
13955 hard_links=yes
13956 $RM conftest*
13957 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13958 touch conftest.a
13959 ln conftest.a conftest.b 2>&5 || hard_links=no
13960 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13962 $as_echo "$hard_links" >&6; }
13963 if test "$hard_links" = no; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13965 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13966 need_locks=warn
13967 fi
13968 else
13969 need_locks=no
13970 fi
13971
13972
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13975 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13976
13977 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13978 case $host_os in
13979 aix[4-9]*)
13980 # If we're using GNU nm, then we don't want the "-C" option.
13981 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13982 # Also, AIX nm treats weak defined symbols like other global defined
13983 # symbols, whereas GNU nm marks them as "W".
13984 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13985 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'
13986 else
13987 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'
13988 fi
13989 ;;
13990 pw32*)
13991 export_symbols_cmds_CXX="$ltdll_cmds"
13992 ;;
13993 cygwin* | mingw* | cegcc*)
13994 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'
13995 ;;
13996 *)
13997 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13998 ;;
13999 esac
14000 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14001
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14003 $as_echo "$ld_shlibs_CXX" >&6; }
14004 test "$ld_shlibs_CXX" = no && can_build_shared=no
14005
14006 with_gnu_ld_CXX=$with_gnu_ld
14007
14008
14009
14010
14011
14012
14013 #
14014 # Do we need to explicitly link libc?
14015 #
14016 case "x$archive_cmds_need_lc_CXX" in
14017 x|xyes)
14018 # Assume -lc should be added
14019 archive_cmds_need_lc_CXX=yes
14020
14021 if test "$enable_shared" = yes && test "$GCC" = yes; then
14022 case $archive_cmds_CXX in
14023 *'~'*)
14024 # FIXME: we may have to deal with multi-command sequences.
14025 ;;
14026 '$CC '*)
14027 # Test whether the compiler implicitly links with -lc since on some
14028 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14029 # to ld, don't add -lc before -lgcc.
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14031 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14032 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 $RM conftest*
14036 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14037
14038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14039 (eval $ac_compile) 2>&5
14040 ac_status=$?
14041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14042 test $ac_status = 0; } 2>conftest.err; then
14043 soname=conftest
14044 lib=conftest
14045 libobjs=conftest.$ac_objext
14046 deplibs=
14047 wl=$lt_prog_compiler_wl_CXX
14048 pic_flag=$lt_prog_compiler_pic_CXX
14049 compiler_flags=-v
14050 linker_flags=-v
14051 verstring=
14052 output_objdir=.
14053 libname=conftest
14054 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14055 allow_undefined_flag_CXX=
14056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14057 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14058 ac_status=$?
14059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 test $ac_status = 0; }
14061 then
14062 lt_cv_archive_cmds_need_lc_CXX=no
14063 else
14064 lt_cv_archive_cmds_need_lc_CXX=yes
14065 fi
14066 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14067 else
14068 cat conftest.err 1>&5
14069 fi
14070 $RM conftest*
14071
14072 fi
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14074 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14075 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14076 ;;
14077 esac
14078 fi
14079 ;;
14080 esac
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14146 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14147
14148 library_names_spec=
14149 libname_spec='lib$name'
14150 soname_spec=
14151 shrext_cmds=".so"
14152 postinstall_cmds=
14153 postuninstall_cmds=
14154 finish_cmds=
14155 finish_eval=
14156 shlibpath_var=
14157 shlibpath_overrides_runpath=unknown
14158 version_type=none
14159 dynamic_linker="$host_os ld.so"
14160 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14161 need_lib_prefix=unknown
14162 hardcode_into_libs=no
14163
14164 # when you set need_version to no, make sure it does not cause -set_version
14165 # flags to be left without arguments
14166 need_version=unknown
14167
14168 case $host_os in
14169 aix3*)
14170 version_type=linux
14171 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14172 shlibpath_var=LIBPATH
14173
14174 # AIX 3 has no versioning support, so we append a major version to the name.
14175 soname_spec='${libname}${release}${shared_ext}$major'
14176 ;;
14177
14178 aix[4-9]*)
14179 version_type=linux
14180 need_lib_prefix=no
14181 need_version=no
14182 hardcode_into_libs=yes
14183 if test "$host_cpu" = ia64; then
14184 # AIX 5 supports IA64
14185 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14186 shlibpath_var=LD_LIBRARY_PATH
14187 else
14188 # With GCC up to 2.95.x, collect2 would create an import file
14189 # for dependence libraries. The import file would start with
14190 # the line `#! .'. This would cause the generated library to
14191 # depend on `.', always an invalid library. This was fixed in
14192 # development snapshots of GCC prior to 3.0.
14193 case $host_os in
14194 aix4 | aix4.[01] | aix4.[01].*)
14195 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14196 echo ' yes '
14197 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14198 :
14199 else
14200 can_build_shared=no
14201 fi
14202 ;;
14203 esac
14204 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14205 # soname into executable. Probably we can add versioning support to
14206 # collect2, so additional links can be useful in future.
14207 if test "$aix_use_runtimelinking" = yes; then
14208 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14209 # instead of lib<name>.a to let people know that these are not
14210 # typical AIX shared libraries.
14211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14212 else
14213 # We preserve .a as extension for shared libraries through AIX4.2
14214 # and later when we are not doing run time linking.
14215 library_names_spec='${libname}${release}.a $libname.a'
14216 soname_spec='${libname}${release}${shared_ext}$major'
14217 fi
14218 shlibpath_var=LIBPATH
14219 fi
14220 ;;
14221
14222 amigaos*)
14223 case $host_cpu in
14224 powerpc)
14225 # Since July 2007 AmigaOS4 officially supports .so libraries.
14226 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 ;;
14229 m68k)
14230 library_names_spec='$libname.ixlibrary $libname.a'
14231 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14232 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'
14233 ;;
14234 esac
14235 ;;
14236
14237 beos*)
14238 library_names_spec='${libname}${shared_ext}'
14239 dynamic_linker="$host_os ld.so"
14240 shlibpath_var=LIBRARY_PATH
14241 ;;
14242
14243 bsdi[45]*)
14244 version_type=linux
14245 need_version=no
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 soname_spec='${libname}${release}${shared_ext}$major'
14248 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14249 shlibpath_var=LD_LIBRARY_PATH
14250 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14251 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14252 # the default ld.so.conf also contains /usr/contrib/lib and
14253 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14254 # libtool to hard-code these into programs
14255 ;;
14256
14257 cygwin* | mingw* | pw32* | cegcc*)
14258 version_type=windows
14259 shrext_cmds=".dll"
14260 need_version=no
14261 need_lib_prefix=no
14262
14263 case $GCC,$host_os in
14264 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14265 library_names_spec='$libname.dll.a'
14266 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14267 postinstall_cmds='base_file=`basename \${file}`~
14268 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14269 dldir=$destdir/`dirname \$dlpath`~
14270 test -d \$dldir || mkdir -p \$dldir~
14271 $install_prog $dir/$dlname \$dldir/$dlname~
14272 chmod a+x \$dldir/$dlname~
14273 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14274 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14275 fi'
14276 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14277 dlpath=$dir/\$dldll~
14278 $RM \$dlpath'
14279 shlibpath_overrides_runpath=yes
14280
14281 case $host_os in
14282 cygwin*)
14283 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14284 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14285
14286 ;;
14287 mingw* | cegcc*)
14288 # MinGW DLLs use traditional 'lib' prefix
14289 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14290 ;;
14291 pw32*)
14292 # pw32 DLLs use 'pw' prefix rather than 'lib'
14293 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14294 ;;
14295 esac
14296 ;;
14297
14298 *)
14299 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14300 ;;
14301 esac
14302 dynamic_linker='Win32 ld.exe'
14303 # FIXME: first we should search . and the directory the executable is in
14304 shlibpath_var=PATH
14305 ;;
14306
14307 darwin* | rhapsody*)
14308 dynamic_linker="$host_os dyld"
14309 version_type=darwin
14310 need_lib_prefix=no
14311 need_version=no
14312 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14313 soname_spec='${libname}${release}${major}$shared_ext'
14314 shlibpath_overrides_runpath=yes
14315 shlibpath_var=DYLD_LIBRARY_PATH
14316 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14317
14318 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14319 ;;
14320
14321 dgux*)
14322 version_type=linux
14323 need_lib_prefix=no
14324 need_version=no
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14326 soname_spec='${libname}${release}${shared_ext}$major'
14327 shlibpath_var=LD_LIBRARY_PATH
14328 ;;
14329
14330 freebsd* | dragonfly*)
14331 # DragonFly does not have aout. When/if they implement a new
14332 # versioning mechanism, adjust this.
14333 if test -x /usr/bin/objformat; then
14334 objformat=`/usr/bin/objformat`
14335 else
14336 case $host_os in
14337 freebsd[23].*) objformat=aout ;;
14338 *) objformat=elf ;;
14339 esac
14340 fi
14341 version_type=freebsd-$objformat
14342 case $version_type in
14343 freebsd-elf*)
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14345 need_version=no
14346 need_lib_prefix=no
14347 ;;
14348 freebsd-*)
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14350 need_version=yes
14351 ;;
14352 esac
14353 shlibpath_var=LD_LIBRARY_PATH
14354 case $host_os in
14355 freebsd2.*)
14356 shlibpath_overrides_runpath=yes
14357 ;;
14358 freebsd3.[01]* | freebsdelf3.[01]*)
14359 shlibpath_overrides_runpath=yes
14360 hardcode_into_libs=yes
14361 ;;
14362 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14363 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14364 shlibpath_overrides_runpath=no
14365 hardcode_into_libs=yes
14366 ;;
14367 *) # from 4.6 on, and DragonFly
14368 shlibpath_overrides_runpath=yes
14369 hardcode_into_libs=yes
14370 ;;
14371 esac
14372 ;;
14373
14374 gnu*)
14375 version_type=linux
14376 need_lib_prefix=no
14377 need_version=no
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 shlibpath_var=LD_LIBRARY_PATH
14381 hardcode_into_libs=yes
14382 ;;
14383
14384 haiku*)
14385 version_type=linux
14386 need_lib_prefix=no
14387 need_version=no
14388 dynamic_linker="$host_os runtime_loader"
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LIBRARY_PATH
14392 shlibpath_overrides_runpath=yes
14393 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14394 hardcode_into_libs=yes
14395 ;;
14396
14397 hpux9* | hpux10* | hpux11*)
14398 # Give a soname corresponding to the major version so that dld.sl refuses to
14399 # link against other versions.
14400 version_type=sunos
14401 need_lib_prefix=no
14402 need_version=no
14403 case $host_cpu in
14404 ia64*)
14405 shrext_cmds='.so'
14406 hardcode_into_libs=yes
14407 dynamic_linker="$host_os dld.so"
14408 shlibpath_var=LD_LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 if test "X$HPUX_IA64_MODE" = X32; then
14413 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14414 else
14415 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14416 fi
14417 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14418 ;;
14419 hppa*64*)
14420 shrext_cmds='.sl'
14421 hardcode_into_libs=yes
14422 dynamic_linker="$host_os dld.sl"
14423 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14424 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14429 ;;
14430 *)
14431 shrext_cmds='.sl'
14432 dynamic_linker="$host_os dld.sl"
14433 shlibpath_var=SHLIB_PATH
14434 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 ;;
14438 esac
14439 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14440 postinstall_cmds='chmod 555 $lib'
14441 # or fails outright, so override atomically:
14442 install_override_mode=555
14443 ;;
14444
14445 interix[3-9]*)
14446 version_type=linux
14447 need_lib_prefix=no
14448 need_version=no
14449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14450 soname_spec='${libname}${release}${shared_ext}$major'
14451 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=no
14454 hardcode_into_libs=yes
14455 ;;
14456
14457 irix5* | irix6* | nonstopux*)
14458 case $host_os in
14459 nonstopux*) version_type=nonstopux ;;
14460 *)
14461 if test "$lt_cv_prog_gnu_ld" = yes; then
14462 version_type=linux
14463 else
14464 version_type=irix
14465 fi ;;
14466 esac
14467 need_lib_prefix=no
14468 need_version=no
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14471 case $host_os in
14472 irix5* | nonstopux*)
14473 libsuff= shlibsuff=
14474 ;;
14475 *)
14476 case $LD in # libtool.m4 will add one of these switches to LD
14477 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14478 libsuff= shlibsuff= libmagic=32-bit;;
14479 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14480 libsuff=32 shlibsuff=N32 libmagic=N32;;
14481 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14482 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14483 *) libsuff= shlibsuff= libmagic=never-match;;
14484 esac
14485 ;;
14486 esac
14487 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14488 shlibpath_overrides_runpath=no
14489 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14490 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14491 hardcode_into_libs=yes
14492 ;;
14493
14494 # No shared lib support for Linux oldld, aout, or coff.
14495 linux*oldld* | linux*aout* | linux*coff*)
14496 dynamic_linker=no
14497 ;;
14498
14499 # This must be Linux ELF.
14500 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14501 version_type=linux
14502 need_lib_prefix=no
14503 need_version=no
14504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505 soname_spec='${libname}${release}${shared_ext}$major'
14506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14507 shlibpath_var=LD_LIBRARY_PATH
14508 shlibpath_overrides_runpath=no
14509
14510 # Some binutils ld are patched to set DT_RUNPATH
14511 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 lt_cv_shlibpath_overrides_runpath=no
14515 save_LDFLAGS=$LDFLAGS
14516 save_libdir=$libdir
14517 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14518 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14519 if test x$gcc_no_link = xyes; then
14520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14521 fi
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14524
14525 int
14526 main ()
14527 {
14528
14529 ;
14530 return 0;
14531 }
14532 _ACEOF
14533 if ac_fn_cxx_try_link "$LINENO"; then :
14534 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14535 lt_cv_shlibpath_overrides_runpath=yes
14536 fi
14537 fi
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 LDFLAGS=$save_LDFLAGS
14541 libdir=$save_libdir
14542
14543 fi
14544
14545 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14546
14547 # This implies no fast_install, which is unacceptable.
14548 # Some rework will be needed to allow for fast_install
14549 # before this can be enabled.
14550 hardcode_into_libs=yes
14551
14552 # Append ld.so.conf contents to the search path
14553 if test -f /etc/ld.so.conf; then
14554 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' ' '`
14555 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14556 fi
14557
14558 # We used to test for /lib/ld.so.1 and disable shared libraries on
14559 # powerpc, because MkLinux only supported shared libraries with the
14560 # GNU dynamic linker. Since this was broken with cross compilers,
14561 # most powerpc-linux boxes support dynamic linking these days and
14562 # people can always --disable-shared, the test was removed, and we
14563 # assume the GNU/Linux dynamic linker is in use.
14564 dynamic_linker='GNU/Linux ld.so'
14565 ;;
14566
14567 netbsd*)
14568 version_type=sunos
14569 need_lib_prefix=no
14570 need_version=no
14571 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14574 dynamic_linker='NetBSD (a.out) ld.so'
14575 else
14576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14577 soname_spec='${libname}${release}${shared_ext}$major'
14578 dynamic_linker='NetBSD ld.elf_so'
14579 fi
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=yes
14582 hardcode_into_libs=yes
14583 ;;
14584
14585 newsos6)
14586 version_type=linux
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 shlibpath_overrides_runpath=yes
14590 ;;
14591
14592 *nto* | *qnx*)
14593 version_type=qnx
14594 need_lib_prefix=no
14595 need_version=no
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597 soname_spec='${libname}${release}${shared_ext}$major'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 shlibpath_overrides_runpath=no
14600 hardcode_into_libs=yes
14601 dynamic_linker='ldqnx.so'
14602 ;;
14603
14604 openbsd*)
14605 version_type=sunos
14606 sys_lib_dlsearch_path_spec="/usr/lib"
14607 need_lib_prefix=no
14608 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14609 case $host_os in
14610 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14611 *) need_version=no ;;
14612 esac
14613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14614 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14615 shlibpath_var=LD_LIBRARY_PATH
14616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 case $host_os in
14618 openbsd2.[89] | openbsd2.[89].*)
14619 shlibpath_overrides_runpath=no
14620 ;;
14621 *)
14622 shlibpath_overrides_runpath=yes
14623 ;;
14624 esac
14625 else
14626 shlibpath_overrides_runpath=yes
14627 fi
14628 ;;
14629
14630 os2*)
14631 libname_spec='$name'
14632 shrext_cmds=".dll"
14633 need_lib_prefix=no
14634 library_names_spec='$libname${shared_ext} $libname.a'
14635 dynamic_linker='OS/2 ld.exe'
14636 shlibpath_var=LIBPATH
14637 ;;
14638
14639 osf3* | osf4* | osf5*)
14640 version_type=osf
14641 need_lib_prefix=no
14642 need_version=no
14643 soname_spec='${libname}${release}${shared_ext}$major'
14644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14645 shlibpath_var=LD_LIBRARY_PATH
14646 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14647 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14648 ;;
14649
14650 rdos*)
14651 dynamic_linker=no
14652 ;;
14653
14654 solaris*)
14655 version_type=linux
14656 need_lib_prefix=no
14657 need_version=no
14658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14659 soname_spec='${libname}${release}${shared_ext}$major'
14660 shlibpath_var=LD_LIBRARY_PATH
14661 shlibpath_overrides_runpath=yes
14662 hardcode_into_libs=yes
14663 # ldd complains unless libraries are executable
14664 postinstall_cmds='chmod +x $lib'
14665 ;;
14666
14667 sunos4*)
14668 version_type=sunos
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14670 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 if test "$with_gnu_ld" = yes; then
14674 need_lib_prefix=no
14675 fi
14676 need_version=yes
14677 ;;
14678
14679 sysv4 | sysv4.3*)
14680 version_type=linux
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 case $host_vendor in
14685 sni)
14686 shlibpath_overrides_runpath=no
14687 need_lib_prefix=no
14688 runpath_var=LD_RUN_PATH
14689 ;;
14690 siemens)
14691 need_lib_prefix=no
14692 ;;
14693 motorola)
14694 need_lib_prefix=no
14695 need_version=no
14696 shlibpath_overrides_runpath=no
14697 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14698 ;;
14699 esac
14700 ;;
14701
14702 sysv4*MP*)
14703 if test -d /usr/nec ;then
14704 version_type=linux
14705 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14706 soname_spec='$libname${shared_ext}.$major'
14707 shlibpath_var=LD_LIBRARY_PATH
14708 fi
14709 ;;
14710
14711 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14712 version_type=freebsd-elf
14713 need_lib_prefix=no
14714 need_version=no
14715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14716 soname_spec='${libname}${release}${shared_ext}$major'
14717 shlibpath_var=LD_LIBRARY_PATH
14718 shlibpath_overrides_runpath=yes
14719 hardcode_into_libs=yes
14720 if test "$with_gnu_ld" = yes; then
14721 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14722 else
14723 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14724 case $host_os in
14725 sco3.2v5*)
14726 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14727 ;;
14728 esac
14729 fi
14730 sys_lib_dlsearch_path_spec='/usr/lib'
14731 ;;
14732
14733 tpf*)
14734 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14735 version_type=linux
14736 need_lib_prefix=no
14737 need_version=no
14738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 shlibpath_var=LD_LIBRARY_PATH
14740 shlibpath_overrides_runpath=no
14741 hardcode_into_libs=yes
14742 ;;
14743
14744 uts4*)
14745 version_type=linux
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 soname_spec='${libname}${release}${shared_ext}$major'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 ;;
14750
14751 *)
14752 dynamic_linker=no
14753 ;;
14754 esac
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14756 $as_echo "$dynamic_linker" >&6; }
14757 test "$dynamic_linker" = no && can_build_shared=no
14758
14759 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14760 if test "$GCC" = yes; then
14761 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14762 fi
14763
14764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14765 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14766 fi
14767 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14768 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14769 fi
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14809 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14810 hardcode_action_CXX=
14811 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14812 test -n "$runpath_var_CXX" ||
14813 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14814
14815 # We can hardcode non-existent directories.
14816 if test "$hardcode_direct_CXX" != no &&
14817 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14818 # have to relink, otherwise we might link with an installed library
14819 # when we should be linking with a yet-to-be-installed one
14820 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14821 test "$hardcode_minus_L_CXX" != no; then
14822 # Linking always hardcodes the temporary library directory.
14823 hardcode_action_CXX=relink
14824 else
14825 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14826 hardcode_action_CXX=immediate
14827 fi
14828 else
14829 # We cannot hardcode anything, or else we can only hardcode existing
14830 # directories.
14831 hardcode_action_CXX=unsupported
14832 fi
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14834 $as_echo "$hardcode_action_CXX" >&6; }
14835
14836 if test "$hardcode_action_CXX" = relink ||
14837 test "$inherit_rpath_CXX" = yes; then
14838 # Fast installation is not supported
14839 enable_fast_install=no
14840 elif test "$shlibpath_overrides_runpath" = yes ||
14841 test "$enable_shared" = no; then
14842 # Fast installation is not necessary
14843 enable_fast_install=needless
14844 fi
14845
14846
14847
14848
14849
14850
14851
14852 fi # test -n "$compiler"
14853
14854 CC=$lt_save_CC
14855 LDCXX=$LD
14856 LD=$lt_save_LD
14857 GCC=$lt_save_GCC
14858 with_gnu_ld=$lt_save_with_gnu_ld
14859 lt_cv_path_LDCXX=$lt_cv_path_LD
14860 lt_cv_path_LD=$lt_save_path_LD
14861 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14862 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14863 fi # test "$_lt_caught_CXX_error" != yes
14864
14865 ac_ext=c
14866 ac_cpp='$CPP $CPPFLAGS'
14867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883 ac_config_commands="$ac_config_commands libtool"
14884
14885
14886
14887
14888 # Only expand once:
14889
14890
14891
14892
14893
14894 case $host in
14895 *-cygwin* | *-mingw*)
14896 # 'host' will be top-level target in the case of a target lib,
14897 # we must compare to with_cross_host to decide if this is a native
14898 # or cross-compiler and select where to install dlls appropriately.
14899 if test -n "$with_cross_host" &&
14900 test x"$with_cross_host" != x"no"; then
14901 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14902 else
14903 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14904 fi
14905 ;;
14906 *)
14907 lt_host_flags=
14908 ;;
14909 esac
14910
14911
14912
14913
14914
14915
14916 if test "$enable_vtable_verify" = yes; then
14917 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14918 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14919 fi
14920
14921
14922 # libtool variables for C++ shared and position-independent compiles.
14923 #
14924 # Use glibcxx_lt_pic_flag to designate the automake variable
14925 # used to encapsulate the default libtool approach to creating objects
14926 # with position-independent code. Default: -prefer-pic.
14927 #
14928 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14929 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14930 #
14931 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14932 # creating position-independent objects. This varies with the target
14933 # hardware and operating system, but is often: -DPIC -fPIC.
14934 if test "$enable_shared" = yes; then
14935 glibcxx_lt_pic_flag="-prefer-pic"
14936 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14937 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14938
14939 else
14940 glibcxx_lt_pic_flag=
14941 glibcxx_compiler_pic_flag=
14942 glibcxx_compiler_shared_flag=
14943 fi
14944
14945
14946
14947
14948 # Override the libtool's pic_flag and pic_mode.
14949 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14950 # NB: this impacts --with-pic and --without-pic.
14951 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14952 pic_mode='default'
14953
14954 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14955 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14956
14957 # Possibly disable most of the library.
14958 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14959 ## than just ignoring the results. Faster /and/ more correct, win win.
14960
14961 # Check whether --enable-hosted-libstdcxx was given.
14962 if test "${enable_hosted_libstdcxx+set}" = set; then :
14963 enableval=$enable_hosted_libstdcxx;
14964 else
14965 case "$host" in
14966 arm*-*-symbianelf*)
14967 enable_hosted_libstdcxx=no
14968 ;;
14969 *)
14970 enable_hosted_libstdcxx=yes
14971 ;;
14972 esac
14973 fi
14974
14975 if test "$enable_hosted_libstdcxx" = no; then
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14977 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14978 is_hosted=no
14979 hosted_define=0
14980 enable_abi_check=no
14981 enable_libstdcxx_pch=no
14982 else
14983 is_hosted=yes
14984 hosted_define=1
14985 fi
14986
14987
14988 cat >>confdefs.h <<_ACEOF
14989 #define _GLIBCXX_HOSTED $hosted_define
14990 _ACEOF
14991
14992
14993
14994 # Enable descriptive messages to standard output on termination.
14995
14996 # Check whether --enable-libstdcxx-verbose was given.
14997 if test "${enable_libstdcxx_verbose+set}" = set; then :
14998 enableval=$enable_libstdcxx_verbose;
14999 else
15000 enable_libstdcxx_verbose=yes
15001 fi
15002
15003 if test x"$enable_libstdcxx_verbose" = xyes; then
15004 verbose_define=1
15005 else
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15007 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15008 verbose_define=0
15009 fi
15010
15011 cat >>confdefs.h <<_ACEOF
15012 #define _GLIBCXX_VERBOSE $verbose_define
15013 _ACEOF
15014
15015
15016
15017 # Enable compiler support that doesn't require linking.
15018
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15020 $as_echo_n "checking for exception model to use... " >&6; }
15021
15022 ac_ext=cpp
15023 ac_cpp='$CXXCPP $CPPFLAGS'
15024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15027
15028 # Check whether --enable-sjlj-exceptions was given.
15029 if test "${enable_sjlj_exceptions+set}" = set; then :
15030 enableval=$enable_sjlj_exceptions;
15031 case "$enableval" in
15032 yes|no|auto) ;;
15033 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15034 esac
15035
15036 else
15037 enable_sjlj_exceptions=auto
15038 fi
15039
15040
15041
15042 if test $enable_sjlj_exceptions = auto; then
15043 # Botheration. Now we've got to detect the exception model. Link tests
15044 # against libgcc.a are problematic since we've not been given proper -L
15045 # bits for single-tree newlib and libgloss.
15046 #
15047 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15048 cat > conftest.$ac_ext << EOF
15049 #line 15049 "configure"
15050 struct S { ~S(); };
15051 void bar();
15052 void foo()
15053 {
15054 S s;
15055 bar();
15056 }
15057 EOF
15058 old_CXXFLAGS="$CXXFLAGS"
15059 CXXFLAGS=-S
15060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15061 (eval $ac_compile) 2>&5
15062 ac_status=$?
15063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 test $ac_status = 0; }; then
15065 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15066 enable_sjlj_exceptions=yes
15067 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15068 enable_sjlj_exceptions=no
15069 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15070 enable_sjlj_exceptions=no
15071 fi
15072 fi
15073 CXXFLAGS="$old_CXXFLAGS"
15074 rm -f conftest*
15075 fi
15076
15077 # This is a tad weird, for hysterical raisins. We have to map
15078 # enable/disable to two different models.
15079 case $enable_sjlj_exceptions in
15080 yes)
15081
15082 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15083
15084 ac_exception_model_name=sjlj
15085 ;;
15086 no)
15087 ac_exception_model_name="call frame"
15088 ;;
15089 *)
15090 as_fn_error "unable to detect exception model" "$LINENO" 5
15091 ;;
15092 esac
15093 ac_ext=c
15094 ac_cpp='$CPP $CPPFLAGS'
15095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15098
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15100 $as_echo "$ac_exception_model_name" >&6; }
15101
15102
15103 # Check whether --enable-libstdcxx-pch was given.
15104 if test "${enable_libstdcxx_pch+set}" = set; then :
15105 enableval=$enable_libstdcxx_pch;
15106 case "$enableval" in
15107 yes|no) ;;
15108 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15109 esac
15110
15111 else
15112 enable_libstdcxx_pch=$is_hosted
15113 fi
15114
15115
15116 if test $enable_libstdcxx_pch = yes; then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15118 $as_echo_n "checking for compiler with PCH support... " >&6; }
15119 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_save_CXXFLAGS="$CXXFLAGS"
15123 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15124
15125 ac_ext=cpp
15126 ac_cpp='$CXXCPP $CPPFLAGS'
15127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15130
15131 echo '#include <math.h>' > conftest.h
15132 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15133 -o conftest.h.gch 1>&5 2>&1 &&
15134 echo '#error "pch failed"' > conftest.h &&
15135 echo '#include "conftest.h"' > conftest.cc &&
15136 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15137 then
15138 glibcxx_cv_prog_CXX_pch=yes
15139 else
15140 glibcxx_cv_prog_CXX_pch=no
15141 fi
15142 rm -f conftest*
15143 CXXFLAGS=$ac_save_CXXFLAGS
15144 ac_ext=c
15145 ac_cpp='$CPP $CPPFLAGS'
15146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15149
15150
15151 fi
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15153 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15154 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15155 fi
15156
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15158 $as_echo_n "checking for enabled PCH... " >&6; }
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15160 $as_echo "$enable_libstdcxx_pch" >&6; }
15161
15162
15163 if test $enable_libstdcxx_pch = yes; then
15164 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15165 else
15166 glibcxx_PCHFLAGS=""
15167 fi
15168
15169
15170
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15172 $as_echo_n "checking for thread model used by GCC... " >&6; }
15173 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15175 $as_echo "$target_thread_file" >&6; }
15176
15177 case $target_thread_file in
15178 aix) thread_header=config/rs6000/gthr-aix.h ;;
15179 dce) thread_header=config/pa/gthr-dce.h ;;
15180 lynx) thread_header=config/gthr-lynx.h ;;
15181 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15182 posix) thread_header=gthr-posix.h ;;
15183 rtems) thread_header=config/gthr-rtems.h ;;
15184 single) thread_header=gthr-single.h ;;
15185 tpf) thread_header=config/s390/gthr-tpf.h ;;
15186 vxworks) thread_header=config/gthr-vxworks.h ;;
15187 win32) thread_header=config/i386/gthr-win32.h ;;
15188 esac
15189
15190
15191
15192
15193
15194 ac_ext=cpp
15195 ac_cpp='$CXXCPP $CPPFLAGS'
15196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15199
15200 old_CXXFLAGS="$CXXFLAGS"
15201
15202 # Do link tests if possible, instead asm tests, limited to some platforms
15203 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15204 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15205 atomic_builtins_link_tests=no
15206 if test x$gcc_no_link != xyes; then
15207 # Can do link tests. Limit to some tested platforms
15208 case "$host" in
15209 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15210 atomic_builtins_link_tests=yes
15211 ;;
15212 esac
15213 fi
15214
15215 if test x$atomic_builtins_link_tests = xyes; then
15216
15217 # Do link tests.
15218
15219 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15220
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15222 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15223 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15229 fi
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15232
15233 int
15234 main ()
15235 {
15236 typedef bool atomic_type;
15237 atomic_type c1;
15238 atomic_type c2;
15239 atomic_type c3(0);
15240 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15241 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15242 __ATOMIC_RELAXED);
15243 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15244 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15245
15246 ;
15247 return 0;
15248 }
15249 _ACEOF
15250 if ac_fn_cxx_try_link "$LINENO"; then :
15251 glibcxx_cv_atomic_bool=yes
15252 else
15253 glibcxx_cv_atomic_bool=no
15254 fi
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15257
15258 fi
15259
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15261 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15262
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15264 $as_echo_n "checking for atomic builtins for short... " >&6; }
15265 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15268
15269 if test x$gcc_no_link = xyes; then
15270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15271 fi
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15274
15275 int
15276 main ()
15277 {
15278 typedef short atomic_type;
15279 atomic_type c1;
15280 atomic_type c2;
15281 atomic_type c3(0);
15282 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15283 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15284 __ATOMIC_RELAXED);
15285 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15286 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15287
15288 ;
15289 return 0;
15290 }
15291 _ACEOF
15292 if ac_fn_cxx_try_link "$LINENO"; then :
15293 glibcxx_cv_atomic_short=yes
15294 else
15295 glibcxx_cv_atomic_short=no
15296 fi
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15299
15300 fi
15301
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15303 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15304
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15306 $as_echo_n "checking for atomic builtins for int... " >&6; }
15307 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15308 $as_echo_n "(cached) " >&6
15309 else
15310
15311 if test x$gcc_no_link = xyes; then
15312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15313 fi
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15316
15317 int
15318 main ()
15319 {
15320 typedef int atomic_type;
15321 atomic_type c1;
15322 atomic_type c2;
15323 atomic_type c3(0);
15324 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15325 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15326 __ATOMIC_RELAXED);
15327 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15328 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15329
15330 ;
15331 return 0;
15332 }
15333 _ACEOF
15334 if ac_fn_cxx_try_link "$LINENO"; then :
15335 glibcxx_cv_atomic_int=yes
15336 else
15337 glibcxx_cv_atomic_int=no
15338 fi
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341
15342 fi
15343
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15345 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15346
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15348 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15349 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352
15353 if test x$gcc_no_link = xyes; then
15354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15355 fi
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15358
15359 int
15360 main ()
15361 {
15362 typedef long long atomic_type;
15363 atomic_type c1;
15364 atomic_type c2;
15365 atomic_type c3(0);
15366 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15367 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15368 __ATOMIC_RELAXED);
15369 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15370 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15371
15372 ;
15373 return 0;
15374 }
15375 _ACEOF
15376 if ac_fn_cxx_try_link "$LINENO"; then :
15377 glibcxx_cv_atomic_long_long=yes
15378 else
15379 glibcxx_cv_atomic_long_long=no
15380 fi
15381 rm -f core conftest.err conftest.$ac_objext \
15382 conftest$ac_exeext conftest.$ac_ext
15383
15384 fi
15385
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15387 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15388
15389 else
15390
15391 # Do asm tests.
15392
15393 # Compile unoptimized.
15394 CXXFLAGS='-O0 -S'
15395
15396 # Fake what AC_TRY_COMPILE does.
15397
15398 cat > conftest.$ac_ext << EOF
15399 #line 15399 "configure"
15400 int main()
15401 {
15402 typedef bool atomic_type;
15403 atomic_type c1;
15404 atomic_type c2;
15405 atomic_type c3(0);
15406 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15407 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15408 __ATOMIC_RELAXED);
15409 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15410 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15411
15412 return 0;
15413 }
15414 EOF
15415
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15417 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15419 (eval $ac_compile) 2>&5
15420 ac_status=$?
15421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422 test $ac_status = 0; }; then
15423 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15424 glibcxx_cv_atomic_bool=no
15425 else
15426 glibcxx_cv_atomic_bool=yes
15427 fi
15428 fi
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15430 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15431 rm -f conftest*
15432
15433 cat > conftest.$ac_ext << EOF
15434 #line 15434 "configure"
15435 int main()
15436 {
15437 typedef short atomic_type;
15438 atomic_type c1;
15439 atomic_type c2;
15440 atomic_type c3(0);
15441 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15442 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15443 __ATOMIC_RELAXED);
15444 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15445 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15446
15447 return 0;
15448 }
15449 EOF
15450
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15452 $as_echo_n "checking for atomic builtins for short... " >&6; }
15453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454 (eval $ac_compile) 2>&5
15455 ac_status=$?
15456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 test $ac_status = 0; }; then
15458 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15459 glibcxx_cv_atomic_short=no
15460 else
15461 glibcxx_cv_atomic_short=yes
15462 fi
15463 fi
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15465 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15466 rm -f conftest*
15467
15468 cat > conftest.$ac_ext << EOF
15469 #line 15469 "configure"
15470 int main()
15471 {
15472 // NB: _Atomic_word not necessarily int.
15473 typedef int atomic_type;
15474 atomic_type c1;
15475 atomic_type c2;
15476 atomic_type c3(0);
15477 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15478 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15479 __ATOMIC_RELAXED);
15480 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15481 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15482
15483 return 0;
15484 }
15485 EOF
15486
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15488 $as_echo_n "checking for atomic builtins for int... " >&6; }
15489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15490 (eval $ac_compile) 2>&5
15491 ac_status=$?
15492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15493 test $ac_status = 0; }; then
15494 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15495 glibcxx_cv_atomic_int=no
15496 else
15497 glibcxx_cv_atomic_int=yes
15498 fi
15499 fi
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15501 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15502 rm -f conftest*
15503
15504 cat > conftest.$ac_ext << EOF
15505 #line 15505 "configure"
15506 int main()
15507 {
15508 typedef long long atomic_type;
15509 atomic_type c1;
15510 atomic_type c2;
15511 atomic_type c3(0);
15512 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15513 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15514 __ATOMIC_RELAXED);
15515 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15516 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15517
15518 return 0;
15519 }
15520 EOF
15521
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15523 $as_echo_n "checking for atomic builtins for long long... " >&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 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15530 glibcxx_cv_atomic_long_long=no
15531 else
15532 glibcxx_cv_atomic_long_long=yes
15533 fi
15534 fi
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15536 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15537 rm -f conftest*
15538
15539 fi
15540
15541 CXXFLAGS="$old_CXXFLAGS"
15542 ac_ext=c
15543 ac_cpp='$CPP $CPPFLAGS'
15544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15547
15548
15549 # Set atomicity_dir to builtins if all but the long long test above passes.
15550 if test $glibcxx_cv_atomic_bool = yes \
15551 && test $glibcxx_cv_atomic_short = yes \
15552 && test $glibcxx_cv_atomic_int = yes; then
15553
15554 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15555
15556 atomicity_dir=cpu/generic/atomicity_builtins
15557 fi
15558
15559 # If still generic, set to mutex.
15560 if test $atomicity_dir = "cpu/generic" ; then
15561 atomicity_dir=cpu/generic/atomicity_mutex
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15563 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15564 if test "x$target_thread_file" = xsingle; then
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15566 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15568 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15569 else
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15571 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15573 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15574 fi
15575 fi
15576
15577
15578
15579
15580 # Fake what AC_TRY_COMPILE does, without linking as this is
15581 # unnecessary for this test.
15582
15583 cat > conftest.$ac_ext << EOF
15584 #line 15584 "configure"
15585 int main()
15586 {
15587 _Decimal32 d1;
15588 _Decimal64 d2;
15589 _Decimal128 d3;
15590 return 0;
15591 }
15592 EOF
15593
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15595 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15597 (eval $ac_compile) 2>&5
15598 ac_status=$?
15599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15600 test $ac_status = 0; }; then
15601
15602 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15603
15604 enable_dfp=yes
15605 else
15606 enable_dfp=no
15607 fi
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15609 $as_echo "$enable_dfp" >&6; }
15610 rm -f conftest*
15611
15612
15613
15614
15615 ac_ext=cpp
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620
15621
15622 # Fake what AC_TRY_COMPILE does, without linking as this is
15623 # unnecessary for this test.
15624
15625 cat > conftest.$ac_ext << EOF
15626 #line 15626 "configure"
15627 template<typename T1, typename T2>
15628 struct same
15629 { typedef T2 type; };
15630
15631 template<typename T>
15632 struct same<T, T>;
15633
15634 int main()
15635 {
15636 typename same<long, __int128>::type i1;
15637 typename same<long long, __int128>::type i2;
15638 }
15639 EOF
15640
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15642 $as_echo_n "checking for __int128... " >&6; }
15643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15644 (eval $ac_compile) 2>&5
15645 ac_status=$?
15646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15647 test $ac_status = 0; }; then
15648
15649 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15650
15651 enable_int128=yes
15652 else
15653 enable_int128=no
15654 fi
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15656 $as_echo "$enable_int128" >&6; }
15657 rm -f conftest*
15658
15659 cat > conftest.$ac_ext << EOF
15660 #line 15660 "configure"
15661 template<typename T1, typename T2>
15662 struct same
15663 { typedef T2 type; };
15664
15665 template<typename T>
15666 struct same<T, T>;
15667
15668 int main()
15669 {
15670 typename same<double, __float128>::type f1;
15671 typename same<long double, __float128>::type f2;
15672 }
15673 EOF
15674
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15676 $as_echo_n "checking for __float128... " >&6; }
15677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15678 (eval $ac_compile) 2>&5
15679 ac_status=$?
15680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15681 test $ac_status = 0; }; then
15682
15683 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15684
15685 enable_float128=yes
15686 else
15687 enable_float128=no
15688 fi
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15690 $as_echo "$enable_float128" >&6; }
15691 rm -f conftest*
15692
15693 ac_ext=c
15694 ac_cpp='$CPP $CPPFLAGS'
15695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15698
15699
15700
15701 # Checks for compiler support that doesn't require linking.
15702
15703 # All these tests are for C++; save the language and the compiler flags.
15704 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15705 # found in GLIBCXX_CONFIGURE.
15706
15707 ac_ext=cpp
15708 ac_cpp='$CXXCPP $CPPFLAGS'
15709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15712
15713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15714 ac_save_CXXFLAGS="$CXXFLAGS"
15715
15716 # Check for maintainer-mode bits.
15717 if test x"$USE_MAINTAINER_MODE" = xno; then
15718 WERROR=''
15719 else
15720 WERROR='-Werror'
15721 fi
15722
15723 # Check for -ffunction-sections -fdata-sections
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15725 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15726 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15729 int foo; void bar() { };
15730 int
15731 main ()
15732 {
15733
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 if ac_fn_cxx_try_compile "$LINENO"; then :
15739 ac_fdsections=yes
15740 else
15741 ac_fdsections=no
15742 fi
15743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15744 if test "$ac_test_CXXFLAGS" = set; then
15745 CXXFLAGS="$ac_save_CXXFLAGS"
15746 else
15747 # this is the suspicious part
15748 CXXFLAGS=''
15749 fi
15750 if test x"$ac_fdsections" = x"yes"; then
15751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15752 fi
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15754 $as_echo "$ac_fdsections" >&6; }
15755
15756 ac_ext=c
15757 ac_cpp='$CPP $CPPFLAGS'
15758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761
15762
15763
15764
15765
15766 # Enable all the variable C++ runtime options that don't require linking.
15767
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15769 $as_echo_n "checking for underlying I/O to use... " >&6; }
15770 # Check whether --enable-cstdio was given.
15771 if test "${enable_cstdio+set}" = set; then :
15772 enableval=$enable_cstdio;
15773 case "$enableval" in
15774 stdio) ;;
15775 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15776 esac
15777
15778 else
15779 enable_cstdio=stdio
15780 fi
15781
15782
15783
15784 # Now that libio has been removed, you can have any color you want as long
15785 # as it's black. This is one big no-op until other packages are added, but
15786 # showing the framework never hurts.
15787 case ${enable_cstdio} in
15788 stdio)
15789 CSTDIO_H=config/io/c_io_stdio.h
15790 BASIC_FILE_H=config/io/basic_file_stdio.h
15791 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15793 $as_echo "stdio" >&6; }
15794 ;;
15795 esac
15796
15797
15798
15799
15800
15801
15802 # Check whether --enable-clocale was given.
15803 if test "${enable_clocale+set}" = set; then :
15804 enableval=$enable_clocale;
15805 case "$enableval" in
15806 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15807 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15808 esac
15809
15810 else
15811 enable_clocale=auto
15812 fi
15813
15814
15815
15816 # Deal with gettext issues. Default to not using it (=no) until we detect
15817 # support for it later. Let the user turn it off via --e/d, but let that
15818 # default to on for easier handling.
15819 USE_NLS=no
15820 # Check whether --enable-nls was given.
15821 if test "${enable_nls+set}" = set; then :
15822 enableval=$enable_nls;
15823 else
15824 enable_nls=yes
15825 fi
15826
15827
15828 # Either a known package, or "auto"
15829 if test $enable_clocale = no || test $enable_clocale = yes; then
15830 enable_clocale=auto
15831 fi
15832 enable_clocale_flag=$enable_clocale
15833
15834 # Probe for locale model to use if none specified.
15835 # Default to "generic".
15836 if test $enable_clocale_flag = auto; then
15837 case ${target_os} in
15838 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15839 enable_clocale_flag=gnu
15840 ;;
15841 darwin* | freebsd*)
15842 enable_clocale_flag=darwin
15843 ;;
15844 openbsd*)
15845 enable_clocale_flag=newlib
15846 ;;
15847 *)
15848 if test x"$with_newlib" = x"yes"; then
15849 enable_clocale_flag=newlib
15850 else
15851 enable_clocale_flag=generic
15852 fi
15853 ;;
15854 esac
15855 fi
15856
15857 # Sanity check model, and test for special functionality.
15858 if test $enable_clocale_flag = gnu; then
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15861
15862 #include <features.h>
15863 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15864 _GLIBCXX_ok
15865 #endif
15866
15867 _ACEOF
15868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15869 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15870 enable_clocale_flag=gnu
15871 else
15872 enable_clocale_flag=generic
15873 fi
15874 rm -f conftest*
15875
15876
15877 # Set it to scream when it hurts.
15878 ac_save_CFLAGS="$CFLAGS"
15879 CFLAGS="-Wimplicit-function-declaration -Werror"
15880
15881 # Use strxfrm_l if available.
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #define _GNU_SOURCE 1
15885 #include <string.h>
15886 #include <locale.h>
15887 int
15888 main ()
15889 {
15890 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15891 ;
15892 return 0;
15893 }
15894 _ACEOF
15895 if ac_fn_c_try_compile "$LINENO"; then :
15896
15897 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15898
15899 fi
15900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15901
15902 # Use strerror_l if available.
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #define _GNU_SOURCE 1
15906 #include <string.h>
15907 #include <locale.h>
15908 int
15909 main ()
15910 {
15911 __locale_t loc; strerror_l(5, loc);
15912 ;
15913 return 0;
15914 }
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15917
15918 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15919
15920 fi
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922
15923 CFLAGS="$ac_save_CFLAGS"
15924 fi
15925
15926 # Perhaps use strerror_r if available, and strerror_l isn't.
15927 ac_save_CFLAGS="$CFLAGS"
15928 CFLAGS="-Wimplicit-function-declaration -Werror"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #define _GNU_SOURCE 1
15932 #include <string.h>
15933 #include <locale.h>
15934 int
15935 main ()
15936 {
15937 char s[128]; strerror_r(5, s, 128);
15938 ;
15939 return 0;
15940 }
15941 _ACEOF
15942 if ac_fn_c_try_compile "$LINENO"; then :
15943
15944 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15945
15946 fi
15947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 CFLAGS="$ac_save_CFLAGS"
15949
15950 # Set configure bits for specified locale package
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15952 $as_echo_n "checking for C locale to use... " >&6; }
15953 case ${enable_clocale_flag} in
15954 generic)
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15956 $as_echo "generic" >&6; }
15957
15958 CLOCALE_H=config/locale/generic/c_locale.h
15959 CLOCALE_CC=config/locale/generic/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/generic/ctype_members.cc
15963 CMESSAGES_H=config/locale/generic/messages_members.h
15964 CMESSAGES_CC=config/locale/generic/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15970 ;;
15971 darwin)
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15973 $as_echo "darwin or freebsd" >&6; }
15974
15975 CLOCALE_H=config/locale/generic/c_locale.h
15976 CLOCALE_CC=config/locale/generic/c_locale.cc
15977 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15978 CCOLLATE_CC=config/locale/generic/collate_members.cc
15979 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15980 CMESSAGES_H=config/locale/generic/messages_members.h
15981 CMESSAGES_CC=config/locale/generic/messages_members.cc
15982 CMONEY_CC=config/locale/generic/monetary_members.cc
15983 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15984 CTIME_H=config/locale/generic/time_members.h
15985 CTIME_CC=config/locale/generic/time_members.cc
15986 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 ;;
15988
15989 gnu)
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15991 $as_echo "gnu" >&6; }
15992
15993 # Declare intention to use gettext, and add support for specific
15994 # languages.
15995 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15996 ALL_LINGUAS="de fr"
15997
15998 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15999 # Extract the first word of "msgfmt", so it can be a program name with args.
16000 set dummy msgfmt; ac_word=$2
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16002 $as_echo_n "checking for $ac_word... " >&6; }
16003 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 if test -n "$check_msgfmt"; then
16007 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16008 else
16009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16010 for as_dir in $PATH
16011 do
16012 IFS=$as_save_IFS
16013 test -z "$as_dir" && as_dir=.
16014 for ac_exec_ext in '' $ac_executable_extensions; do
16015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16016 ac_cv_prog_check_msgfmt="yes"
16017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16018 break 2
16019 fi
16020 done
16021 done
16022 IFS=$as_save_IFS
16023
16024 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16025 fi
16026 fi
16027 check_msgfmt=$ac_cv_prog_check_msgfmt
16028 if test -n "$check_msgfmt"; then
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16030 $as_echo "$check_msgfmt" >&6; }
16031 else
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16033 $as_echo "no" >&6; }
16034 fi
16035
16036
16037 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16038 USE_NLS=yes
16039 fi
16040 # Export the build objects.
16041 for ling in $ALL_LINGUAS; do \
16042 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16043 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16044 done
16045
16046
16047
16048 CLOCALE_H=config/locale/gnu/c_locale.h
16049 CLOCALE_CC=config/locale/gnu/c_locale.cc
16050 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16051 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16052 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16053 CMESSAGES_H=config/locale/gnu/messages_members.h
16054 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16055 CMONEY_CC=config/locale/gnu/monetary_members.cc
16056 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16057 CTIME_H=config/locale/gnu/time_members.h
16058 CTIME_CC=config/locale/gnu/time_members.cc
16059 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16060 ;;
16061 ieee_1003.1-2001)
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16063 $as_echo "IEEE 1003.1" >&6; }
16064
16065 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16066 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16067 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16068 CCOLLATE_CC=config/locale/generic/collate_members.cc
16069 CCTYPE_CC=config/locale/generic/ctype_members.cc
16070 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16071 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16072 CMONEY_CC=config/locale/generic/monetary_members.cc
16073 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16074 CTIME_H=config/locale/generic/time_members.h
16075 CTIME_CC=config/locale/generic/time_members.cc
16076 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16077 ;;
16078 newlib)
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16080 $as_echo "newlib" >&6; }
16081
16082 CLOCALE_H=config/locale/generic/c_locale.h
16083 CLOCALE_CC=config/locale/generic/c_locale.cc
16084 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16085 CCOLLATE_CC=config/locale/generic/collate_members.cc
16086 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16087 CMESSAGES_H=config/locale/generic/messages_members.h
16088 CMESSAGES_CC=config/locale/generic/messages_members.cc
16089 CMONEY_CC=config/locale/generic/monetary_members.cc
16090 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16091 CTIME_H=config/locale/generic/time_members.h
16092 CTIME_CC=config/locale/generic/time_members.cc
16093 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16094 ;;
16095 esac
16096
16097 # This is where the testsuite looks for locale catalogs, using the
16098 # -DLOCALEDIR define during testsuite compilation.
16099 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16100
16101
16102 # A standalone libintl (e.g., GNU libintl) may be in use.
16103 if test $USE_NLS = yes; then
16104 for ac_header in libintl.h
16105 do :
16106 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16107 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_LIBINTL_H 1
16110 _ACEOF
16111
16112 else
16113 USE_NLS=no
16114 fi
16115
16116 done
16117
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16119 $as_echo_n "checking for library containing gettext... " >&6; }
16120 if test "${ac_cv_search_gettext+set}" = set; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 ac_func_search_save_LIBS=$LIBS
16124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125 /* end confdefs.h. */
16126
16127 /* Override any GCC internal prototype to avoid an error.
16128 Use char because int might match the return type of a GCC
16129 builtin and then its argument prototype would still apply. */
16130 #ifdef __cplusplus
16131 extern "C"
16132 #endif
16133 char gettext ();
16134 int
16135 main ()
16136 {
16137 return gettext ();
16138 ;
16139 return 0;
16140 }
16141 _ACEOF
16142 for ac_lib in '' intl; do
16143 if test -z "$ac_lib"; then
16144 ac_res="none required"
16145 else
16146 ac_res=-l$ac_lib
16147 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16148 fi
16149 if test x$gcc_no_link = xyes; then
16150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16151 fi
16152 if ac_fn_c_try_link "$LINENO"; then :
16153 ac_cv_search_gettext=$ac_res
16154 fi
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext
16157 if test "${ac_cv_search_gettext+set}" = set; then :
16158 break
16159 fi
16160 done
16161 if test "${ac_cv_search_gettext+set}" = set; then :
16162
16163 else
16164 ac_cv_search_gettext=no
16165 fi
16166 rm conftest.$ac_ext
16167 LIBS=$ac_func_search_save_LIBS
16168 fi
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16170 $as_echo "$ac_cv_search_gettext" >&6; }
16171 ac_res=$ac_cv_search_gettext
16172 if test "$ac_res" != no; then :
16173 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16174
16175 else
16176 USE_NLS=no
16177 fi
16178
16179 fi
16180 if test $USE_NLS = yes; then
16181
16182 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16183
16184 fi
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16202 $as_echo_n "checking for std::allocator base class... " >&6; }
16203 # Check whether --enable-libstdcxx-allocator was given.
16204 if test "${enable_libstdcxx_allocator+set}" = set; then :
16205 enableval=$enable_libstdcxx_allocator;
16206 case "$enableval" in
16207 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16208 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16209 esac
16210
16211 else
16212 enable_libstdcxx_allocator=auto
16213 fi
16214
16215
16216
16217 # If they didn't use this option switch, or if they specified --enable
16218 # with no specific model, we'll have to look for one. If they
16219 # specified --disable (???), do likewise.
16220 if test $enable_libstdcxx_allocator = no ||
16221 test $enable_libstdcxx_allocator = yes;
16222 then
16223 enable_libstdcxx_allocator=auto
16224 fi
16225
16226 # Either a known package, or "auto". Auto implies the default choice
16227 # for a particular platform.
16228 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16229
16230 # Probe for host-specific support if no specific model is specified.
16231 # Default to "new".
16232 if test $enable_libstdcxx_allocator_flag = auto; then
16233 case ${target_os} in
16234 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16235 enable_libstdcxx_allocator_flag=new
16236 ;;
16237 *)
16238 enable_libstdcxx_allocator_flag=new
16239 ;;
16240 esac
16241 fi
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16243 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16244
16245
16246 # Set configure bits for specified locale package
16247 case ${enable_libstdcxx_allocator_flag} in
16248 bitmap)
16249 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16250 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16251 ;;
16252 malloc)
16253 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16254 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16255 ;;
16256 mt)
16257 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16259 ;;
16260 new)
16261 ALLOCATOR_H=config/allocator/new_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16263 ;;
16264 pool)
16265 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16267 ;;
16268 esac
16269
16270
16271
16272
16273
16274 # Check whether --enable-cheaders was given.
16275 if test "${enable_cheaders+set}" = set; then :
16276 enableval=$enable_cheaders;
16277 case "$enableval" in
16278 c|c_std|c_global) ;;
16279 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16280 esac
16281
16282 else
16283 enable_cheaders=$c_model
16284 fi
16285
16286
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16288 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16289
16290 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16291
16292 # Allow overrides to configure.host here.
16293 if test $enable_cheaders = c_global; then
16294 c_compatibility=yes
16295 fi
16296
16297
16298
16299
16300
16301
16302
16303 # Check whether --enable-long-long was given.
16304 if test "${enable_long_long+set}" = set; then :
16305 enableval=$enable_long_long;
16306 case "$enableval" in
16307 yes|no) ;;
16308 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16309 esac
16310
16311 else
16312 enable_long_long=yes
16313 fi
16314
16315
16316 if test $enable_long_long = yes; then
16317
16318 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16319
16320 fi
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16322 $as_echo_n "checking for enabled long long specializations... " >&6; }
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16324 $as_echo "$enable_long_long" >&6; }
16325
16326
16327 # Check whether --enable-wchar_t was given.
16328 if test "${enable_wchar_t+set}" = set; then :
16329 enableval=$enable_wchar_t;
16330 case "$enableval" in
16331 yes|no) ;;
16332 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16333 esac
16334
16335 else
16336 enable_wchar_t=yes
16337 fi
16338
16339
16340
16341 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16342 for ac_header in wchar.h
16343 do :
16344 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16345 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_WCHAR_H 1
16348 _ACEOF
16349 ac_has_wchar_h=yes
16350 else
16351 ac_has_wchar_h=no
16352 fi
16353
16354 done
16355
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16357 $as_echo_n "checking for mbstate_t... " >&6; }
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h. */
16360 #include <wchar.h>
16361 int
16362 main ()
16363 {
16364 mbstate_t teststate;
16365 ;
16366 return 0;
16367 }
16368 _ACEOF
16369 if ac_fn_c_try_compile "$LINENO"; then :
16370 have_mbstate_t=yes
16371 else
16372 have_mbstate_t=no
16373 fi
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16376 $as_echo "$have_mbstate_t" >&6; }
16377 if test x"$have_mbstate_t" = xyes; then
16378
16379 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16380
16381 fi
16382
16383 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16384 # ac_has_wchar_h.
16385 for ac_header in wctype.h
16386 do :
16387 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16388 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_WCTYPE_H 1
16391 _ACEOF
16392 ac_has_wctype_h=yes
16393 else
16394 ac_has_wctype_h=no
16395 fi
16396
16397 done
16398
16399
16400 if test x"$enable_wchar_t" = x"yes"; then
16401
16402
16403 ac_ext=cpp
16404 ac_cpp='$CXXCPP $CPPFLAGS'
16405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16408
16409
16410 if test x"$ac_has_wchar_h" = xyes &&
16411 test x"$ac_has_wctype_h" = xyes; then
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16414 #include <wchar.h>
16415 #include <stddef.h>
16416 wint_t i;
16417 long l = WEOF;
16418 long j = WCHAR_MIN;
16419 long k = WCHAR_MAX;
16420 namespace test
16421 {
16422 using ::btowc;
16423 using ::fgetwc;
16424 using ::fgetws;
16425 using ::fputwc;
16426 using ::fputws;
16427 using ::fwide;
16428 using ::fwprintf;
16429 using ::fwscanf;
16430 using ::getwc;
16431 using ::getwchar;
16432 using ::mbrlen;
16433 using ::mbrtowc;
16434 using ::mbsinit;
16435 using ::mbsrtowcs;
16436 using ::putwc;
16437 using ::putwchar;
16438 using ::swprintf;
16439 using ::swscanf;
16440 using ::ungetwc;
16441 using ::vfwprintf;
16442 using ::vswprintf;
16443 using ::vwprintf;
16444 using ::wcrtomb;
16445 using ::wcscat;
16446 using ::wcschr;
16447 using ::wcscmp;
16448 using ::wcscoll;
16449 using ::wcscpy;
16450 using ::wcscspn;
16451 using ::wcsftime;
16452 using ::wcslen;
16453 using ::wcsncat;
16454 using ::wcsncmp;
16455 using ::wcsncpy;
16456 using ::wcspbrk;
16457 using ::wcsrchr;
16458 using ::wcsrtombs;
16459 using ::wcsspn;
16460 using ::wcsstr;
16461 using ::wcstod;
16462 using ::wcstok;
16463 using ::wcstol;
16464 using ::wcstoul;
16465 using ::wcsxfrm;
16466 using ::wctob;
16467 using ::wmemchr;
16468 using ::wmemcmp;
16469 using ::wmemcpy;
16470 using ::wmemmove;
16471 using ::wmemset;
16472 using ::wprintf;
16473 using ::wscanf;
16474 }
16475
16476 int
16477 main ()
16478 {
16479
16480 ;
16481 return 0;
16482 }
16483 _ACEOF
16484 if ac_fn_cxx_try_compile "$LINENO"; then :
16485
16486 else
16487 enable_wchar_t=no
16488 fi
16489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16490 else
16491 enable_wchar_t=no
16492 fi
16493
16494 ac_ext=c
16495 ac_cpp='$CPP $CPPFLAGS'
16496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16499
16500 fi
16501
16502 if test x"$enable_wchar_t" = x"yes"; then
16503
16504 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16505
16506 fi
16507
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16509 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16511 $as_echo "$enable_wchar_t" >&6; }
16512
16513
16514
16515 # Check whether --enable-c99 was given.
16516 if test "${enable_c99+set}" = set; then :
16517 enableval=$enable_c99;
16518 case "$enableval" in
16519 yes|no) ;;
16520 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16521 esac
16522
16523 else
16524 enable_c99=yes
16525 fi
16526
16527
16528
16529 if test x"$enable_c99" = x"yes"; then
16530
16531
16532 ac_ext=cpp
16533 ac_cpp='$CXXCPP $CPPFLAGS'
16534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16537
16538
16539 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16540 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16541 # spuriously enabled.
16542 # Long term, -std=c++0x could be even better, could manage to explicitely
16543 # request C99 facilities to the underlying C headers.
16544 ac_save_CXXFLAGS="$CXXFLAGS"
16545 CXXFLAGS="$CXXFLAGS -std=c++98"
16546 ac_save_LIBS="$LIBS"
16547 ac_save_gcc_no_link="$gcc_no_link"
16548
16549 if test x$gcc_no_link != xyes; then
16550 # Use -fno-exceptions to that the C driver can link these tests without
16551 # hitting undefined references to personality routines.
16552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16554 $as_echo_n "checking for sin in -lm... " >&6; }
16555 if test "${ac_cv_lib_m_sin+set}" = set; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 ac_check_lib_save_LIBS=$LIBS
16559 LIBS="-lm $LIBS"
16560 if test x$gcc_no_link = xyes; then
16561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16562 fi
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565
16566 /* Override any GCC internal prototype to avoid an error.
16567 Use char because int might match the return type of a GCC
16568 builtin and then its argument prototype would still apply. */
16569 #ifdef __cplusplus
16570 extern "C"
16571 #endif
16572 char sin ();
16573 int
16574 main ()
16575 {
16576 return sin ();
16577 ;
16578 return 0;
16579 }
16580 _ACEOF
16581 if ac_fn_cxx_try_link "$LINENO"; then :
16582 ac_cv_lib_m_sin=yes
16583 else
16584 ac_cv_lib_m_sin=no
16585 fi
16586 rm -f core conftest.err conftest.$ac_objext \
16587 conftest$ac_exeext conftest.$ac_ext
16588 LIBS=$ac_check_lib_save_LIBS
16589 fi
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16591 $as_echo "$ac_cv_lib_m_sin" >&6; }
16592 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16593
16594 LIBS="$LIBS -lm"
16595
16596 else
16597
16598 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16599 gcc_no_link=yes
16600
16601 fi
16602
16603 fi
16604
16605 # Check for the existence of <math.h> functions used if C99 is enabled.
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16607 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16608 if test "${glibcxx_cv_c99_math+set}" = set; then :
16609 $as_echo_n "(cached) " >&6
16610 else
16611
16612 if test x$gcc_no_link = xyes; then
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16615 #include <math.h>
16616 volatile double d1, d2;
16617 volatile int i;
16618 int
16619 main ()
16620 {
16621 i = fpclassify(d1);
16622 i = isfinite(d1);
16623 i = isinf(d1);
16624 i = isnan(d1);
16625 i = isnormal(d1);
16626 i = signbit(d1);
16627 i = isgreater(d1, d2);
16628 i = isgreaterequal(d1, d2);
16629 i = isless(d1, d2);
16630 i = islessequal(d1, d2);
16631 i = islessgreater(d1, d2);
16632 i = islessgreater(d1, d2);
16633 i = isunordered(d1, d2);
16634
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 if ac_fn_cxx_try_compile "$LINENO"; then :
16640 glibcxx_cv_c99_math=yes
16641 else
16642 glibcxx_cv_c99_math=no
16643 fi
16644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16645 else
16646 if test x$gcc_no_link = xyes; then
16647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16648 fi
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16651 #include <math.h>
16652 volatile double d1, d2;
16653 volatile int i;
16654 int
16655 main ()
16656 {
16657 i = fpclassify(d1);
16658 i = isfinite(d1);
16659 i = isinf(d1);
16660 i = isnan(d1);
16661 i = isnormal(d1);
16662 i = signbit(d1);
16663 i = isgreater(d1, d2);
16664 i = isgreaterequal(d1, d2);
16665 i = isless(d1, d2);
16666 i = islessequal(d1, d2);
16667 i = islessgreater(d1, d2);
16668 i = islessgreater(d1, d2);
16669 i = isunordered(d1, d2);
16670
16671 ;
16672 return 0;
16673 }
16674 _ACEOF
16675 if ac_fn_cxx_try_link "$LINENO"; then :
16676 glibcxx_cv_c99_math=yes
16677 else
16678 glibcxx_cv_c99_math=no
16679 fi
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16682 fi
16683
16684 fi
16685
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16687 $as_echo "$glibcxx_cv_c99_math" >&6; }
16688 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16689
16690 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16691
16692 fi
16693
16694 # Check for the existence of <complex.h> complex math functions.
16695 # This is necessary even though libstdc++ uses the builtin versions
16696 # of these functions, because if the builtin cannot be used, a reference
16697 # to the library function is emitted.
16698 for ac_header in tgmath.h
16699 do :
16700 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16701 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_TGMATH_H 1
16704 _ACEOF
16705 ac_has_tgmath_h=yes
16706 else
16707 ac_has_tgmath_h=no
16708 fi
16709
16710 done
16711
16712 for ac_header in complex.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_complex_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_COMPLEX_H 1
16718 _ACEOF
16719 ac_has_complex_h=yes
16720 else
16721 ac_has_complex_h=no
16722 fi
16723
16724 done
16725
16726 glibcxx_cv_c99_complex=no;
16727 if test x"$ac_has_complex_h" = x"yes"; then
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16729 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16730 if test x$gcc_no_link = xyes; then
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #include <complex.h>
16734 typedef __complex__ float float_type;
16735 typedef __complex__ double double_type;
16736 typedef __complex__ long double ld_type;
16737 volatile float_type tmpf;
16738 volatile double_type tmpd;
16739 volatile ld_type tmpld;
16740 volatile float f;
16741 volatile double d;
16742 volatile long double ld;
16743 int
16744 main ()
16745 {
16746 f = cabsf(tmpf);
16747 f = cargf(tmpf);
16748 tmpf = ccosf(tmpf);
16749 tmpf = ccoshf(tmpf);
16750 tmpf = cexpf(tmpf);
16751 tmpf = clogf(tmpf);
16752 tmpf = csinf(tmpf);
16753 tmpf = csinhf(tmpf);
16754 tmpf = csqrtf(tmpf);
16755 tmpf = ctanf(tmpf);
16756 tmpf = ctanhf(tmpf);
16757 tmpf = cpowf(tmpf, tmpf);
16758 tmpf = cprojf(tmpf);
16759 d = cabs(tmpd);
16760 d = carg(tmpd);
16761 tmpd = ccos(tmpd);
16762 tmpd = ccosh(tmpd);
16763 tmpd = cexp(tmpd);
16764 tmpd = clog(tmpd);
16765 tmpd = csin(tmpd);
16766 tmpd = csinh(tmpd);
16767 tmpd = csqrt(tmpd);
16768 tmpd = ctan(tmpd);
16769 tmpd = ctanh(tmpd);
16770 tmpd = cpow(tmpd, tmpd);
16771 tmpd = cproj(tmpd);
16772 ld = cabsl(tmpld);
16773 ld = cargl(tmpld);
16774 tmpld = ccosl(tmpld);
16775 tmpld = ccoshl(tmpld);
16776 tmpld = cexpl(tmpld);
16777 tmpld = clogl(tmpld);
16778 tmpld = csinl(tmpld);
16779 tmpld = csinhl(tmpld);
16780 tmpld = csqrtl(tmpld);
16781 tmpld = ctanl(tmpld);
16782 tmpld = ctanhl(tmpld);
16783 tmpld = cpowl(tmpld, tmpld);
16784 tmpld = cprojl(tmpld);
16785
16786 ;
16787 return 0;
16788 }
16789 _ACEOF
16790 if ac_fn_cxx_try_compile "$LINENO"; then :
16791 glibcxx_cv_c99_complex=yes
16792 else
16793 glibcxx_cv_c99_complex=no
16794 fi
16795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 else
16797 if test x$gcc_no_link = xyes; then
16798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16799 fi
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #include <complex.h>
16803 typedef __complex__ float float_type;
16804 typedef __complex__ double double_type;
16805 typedef __complex__ long double ld_type;
16806 volatile float_type tmpf;
16807 volatile double_type tmpd;
16808 volatile ld_type tmpld;
16809 volatile float f;
16810 volatile double d;
16811 volatile long double ld;
16812 int
16813 main ()
16814 {
16815 f = cabsf(tmpf);
16816 f = cargf(tmpf);
16817 tmpf = ccosf(tmpf);
16818 tmpf = ccoshf(tmpf);
16819 tmpf = cexpf(tmpf);
16820 tmpf = clogf(tmpf);
16821 tmpf = csinf(tmpf);
16822 tmpf = csinhf(tmpf);
16823 tmpf = csqrtf(tmpf);
16824 tmpf = ctanf(tmpf);
16825 tmpf = ctanhf(tmpf);
16826 tmpf = cpowf(tmpf, tmpf);
16827 tmpf = cprojf(tmpf);
16828 d = cabs(tmpd);
16829 d = carg(tmpd);
16830 tmpd = ccos(tmpd);
16831 tmpd = ccosh(tmpd);
16832 tmpd = cexp(tmpd);
16833 tmpd = clog(tmpd);
16834 tmpd = csin(tmpd);
16835 tmpd = csinh(tmpd);
16836 tmpd = csqrt(tmpd);
16837 tmpd = ctan(tmpd);
16838 tmpd = ctanh(tmpd);
16839 tmpd = cpow(tmpd, tmpd);
16840 tmpd = cproj(tmpd);
16841 ld = cabsl(tmpld);
16842 ld = cargl(tmpld);
16843 tmpld = ccosl(tmpld);
16844 tmpld = ccoshl(tmpld);
16845 tmpld = cexpl(tmpld);
16846 tmpld = clogl(tmpld);
16847 tmpld = csinl(tmpld);
16848 tmpld = csinhl(tmpld);
16849 tmpld = csqrtl(tmpld);
16850 tmpld = ctanl(tmpld);
16851 tmpld = ctanhl(tmpld);
16852 tmpld = cpowl(tmpld, tmpld);
16853 tmpld = cprojl(tmpld);
16854
16855 ;
16856 return 0;
16857 }
16858 _ACEOF
16859 if ac_fn_cxx_try_link "$LINENO"; then :
16860 glibcxx_cv_c99_complex=yes
16861 else
16862 glibcxx_cv_c99_complex=no
16863 fi
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16866 fi
16867 fi
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16869 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16870 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16871
16872 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16873
16874 fi
16875
16876 # Check for the existence in <stdio.h> of vscanf, et. al.
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16878 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16879 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882
16883 if test x$gcc_no_link = xyes; then
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #include <stdio.h>
16887 #include <stdarg.h>
16888 void foo(char* fmt, ...)
16889 {
16890 va_list args; va_start(args, fmt);
16891 vfscanf(stderr, "%i", args);
16892 vscanf("%i", args);
16893 vsnprintf(fmt, 0, "%i", args);
16894 vsscanf(fmt, "%i", args);
16895 }
16896 int
16897 main ()
16898 {
16899 snprintf("12", 0, "%i");
16900 ;
16901 return 0;
16902 }
16903 _ACEOF
16904 if ac_fn_cxx_try_compile "$LINENO"; then :
16905 glibcxx_cv_c99_stdio=yes
16906 else
16907 glibcxx_cv_c99_stdio=no
16908 fi
16909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 else
16911 if test x$gcc_no_link = xyes; then
16912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16913 fi
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <stdio.h>
16917 #include <stdarg.h>
16918 void foo(char* fmt, ...)
16919 {
16920 va_list args; va_start(args, fmt);
16921 vfscanf(stderr, "%i", args);
16922 vscanf("%i", args);
16923 vsnprintf(fmt, 0, "%i", args);
16924 vsscanf(fmt, "%i", args);
16925 }
16926 int
16927 main ()
16928 {
16929 snprintf("12", 0, "%i");
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 if ac_fn_cxx_try_link "$LINENO"; then :
16935 glibcxx_cv_c99_stdio=yes
16936 else
16937 glibcxx_cv_c99_stdio=no
16938 fi
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext conftest.$ac_ext
16941 fi
16942
16943 fi
16944
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16946 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16947
16948 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16950 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16951 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954
16955 if test x$gcc_no_link = xyes; then
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <stdlib.h>
16959 volatile float f;
16960 volatile long double ld;
16961 volatile unsigned long long ll;
16962 lldiv_t mydivt;
16963 int
16964 main ()
16965 {
16966 char* tmp;
16967 f = strtof("gnu", &tmp);
16968 ld = strtold("gnu", &tmp);
16969 ll = strtoll("gnu", &tmp, 10);
16970 ll = strtoull("gnu", &tmp, 10);
16971 ll = llabs(10);
16972 mydivt = lldiv(10,1);
16973 ll = mydivt.quot;
16974 ll = mydivt.rem;
16975 ll = atoll("10");
16976 _Exit(0);
16977
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 if ac_fn_cxx_try_compile "$LINENO"; then :
16983 glibcxx_cv_c99_stdlib=yes
16984 else
16985 glibcxx_cv_c99_stdlib=no
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 else
16989 if test x$gcc_no_link = xyes; then
16990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16991 fi
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
16999 int
17000 main ()
17001 {
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 if ac_fn_cxx_try_link "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib=yes
17020 else
17021 glibcxx_cv_c99_stdlib=no
17022 fi
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 fi
17026
17027 fi
17028
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17030 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17031
17032 # Check for the existence in <wchar.h> of wcstold, etc.
17033 glibcxx_cv_c99_wchar=no;
17034 if test x"$ac_has_wchar_h" = xyes &&
17035 test x"$ac_has_wctype_h" = xyes; then
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17037 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #include <wchar.h>
17041 namespace test
17042 {
17043 using ::wcstold;
17044 using ::wcstoll;
17045 using ::wcstoull;
17046 }
17047
17048 int
17049 main ()
17050 {
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 if ac_fn_cxx_try_compile "$LINENO"; then :
17057 glibcxx_cv_c99_wchar=yes
17058 else
17059 glibcxx_cv_c99_wchar=no
17060 fi
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062
17063 # Checks for wide character functions that may not be present.
17064 # Injection of these is wrapped with guard macros.
17065 # NB: only put functions here, instead of immediately above, if
17066 # absolutely necessary.
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #include <wchar.h>
17070 namespace test { using ::vfwscanf; }
17071 int
17072 main ()
17073 {
17074
17075 ;
17076 return 0;
17077 }
17078 _ACEOF
17079 if ac_fn_cxx_try_compile "$LINENO"; then :
17080
17081 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17082
17083 fi
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <wchar.h>
17089 namespace test { using ::vswscanf; }
17090 int
17091 main ()
17092 {
17093
17094 ;
17095 return 0;
17096 }
17097 _ACEOF
17098 if ac_fn_cxx_try_compile "$LINENO"; then :
17099
17100 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17101
17102 fi
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17104
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <wchar.h>
17108 namespace test { using ::vwscanf; }
17109 int
17110 main ()
17111 {
17112
17113 ;
17114 return 0;
17115 }
17116 _ACEOF
17117 if ac_fn_cxx_try_compile "$LINENO"; then :
17118
17119 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17120
17121 fi
17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 #include <wchar.h>
17127 namespace test { using ::wcstof; }
17128 int
17129 main ()
17130 {
17131
17132 ;
17133 return 0;
17134 }
17135 _ACEOF
17136 if ac_fn_cxx_try_compile "$LINENO"; then :
17137
17138 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17139
17140 fi
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <wctype.h>
17146 int
17147 main ()
17148 {
17149 wint_t t; int i = iswblank(t);
17150 ;
17151 return 0;
17152 }
17153 _ACEOF
17154 if ac_fn_cxx_try_compile "$LINENO"; then :
17155
17156 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17157
17158 fi
17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17162 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17163 fi
17164
17165 # Option parsed, now set things appropriately.
17166 if test x"$glibcxx_cv_c99_math" = x"no" ||
17167 test x"$glibcxx_cv_c99_complex" = x"no" ||
17168 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17169 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17170 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17171 enable_c99=no;
17172 else
17173
17174 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17175
17176 fi
17177
17178 gcc_no_link="$ac_save_gcc_no_link"
17179 LIBS="$ac_save_LIBS"
17180 CXXFLAGS="$ac_save_CXXFLAGS"
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186
17187 fi
17188
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17190 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17192 $as_echo "$enable_c99" >&6; }
17193
17194
17195 # Check whether --enable-concept-checks was given.
17196 if test "${enable_concept_checks+set}" = set; then :
17197 enableval=$enable_concept_checks;
17198 case "$enableval" in
17199 yes|no) ;;
17200 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17201 esac
17202
17203 else
17204 enable_concept_checks=no
17205 fi
17206
17207
17208 if test $enable_concept_checks = yes; then
17209
17210 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17211
17212 fi
17213
17214
17215 # Check whether --enable-libstdcxx-debug-flags was given.
17216 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17217 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17218 xno | x) enable_libstdcxx_debug_flags= ;;
17219 x-*) ;;
17220 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17221 esac
17222 else
17223 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17224 fi
17225
17226
17227
17228 # Option parsed, now set things appropriately
17229 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17230
17231
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17233 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17234
17235
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17237 $as_echo_n "checking for additional debug build... " >&6; }
17238 # Check whether --enable-libstdcxx-debug was given.
17239 if test "${enable_libstdcxx_debug+set}" = set; then :
17240 enableval=$enable_libstdcxx_debug;
17241 case "$enableval" in
17242 yes|no) ;;
17243 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17244 esac
17245
17246 else
17247 enable_libstdcxx_debug=no
17248 fi
17249
17250
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17252 $as_echo "$enable_libstdcxx_debug" >&6; }
17253
17254
17255
17256
17257 enable_parallel=no;
17258
17259 # See if configured libgomp/omp.h exists. (libgomp may be in
17260 # noconfigdirs but not explicitly disabled.)
17261 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17262 enable_parallel=yes;
17263 else
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17265 $as_echo "$as_me: target-libgomp not built" >&6;}
17266 fi
17267
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17269 $as_echo_n "checking for parallel mode support... " >&6; }
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17271 $as_echo "$enable_parallel" >&6; }
17272
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17274 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17275 # Check whether --enable-cxx-flags was given.
17276 if test "${enable_cxx_flags+set}" = set; then :
17277 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17278 xno | x) enable_cxx_flags= ;;
17279 x-*) ;;
17280 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17281 esac
17282 else
17283 enable_cxx_flags=
17284 fi
17285
17286
17287
17288 # Run through flags (either default or command-line) and set anything
17289 # extra (e.g., #defines) that must accompany particular g++ options.
17290 if test -n "$enable_cxx_flags"; then
17291 for f in $enable_cxx_flags; do
17292 case "$f" in
17293 -fhonor-std) ;;
17294 -*) ;;
17295 *) # and we're trying to pass /what/ exactly?
17296 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17297 esac
17298 done
17299 fi
17300
17301 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17303 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17304
17305
17306
17307 # Check whether --enable-fully-dynamic-string was given.
17308 if test "${enable_fully_dynamic_string+set}" = set; then :
17309 enableval=$enable_fully_dynamic_string;
17310 case "$enableval" in
17311 yes|no) ;;
17312 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17313 esac
17314
17315 else
17316 enable_fully_dynamic_string=no
17317 fi
17318
17319
17320 if test $enable_fully_dynamic_string = yes; then
17321 enable_fully_dynamic_string_def=1
17322 else
17323 enable_fully_dynamic_string_def=0
17324 fi
17325
17326 cat >>confdefs.h <<_ACEOF
17327 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17328 _ACEOF
17329
17330
17331
17332
17333 # Check whether --enable-extern-template was given.
17334 if test "${enable_extern_template+set}" = set; then :
17335 enableval=$enable_extern_template;
17336 case "$enableval" in
17337 yes|no) ;;
17338 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17339 esac
17340
17341 else
17342 enable_extern_template=yes
17343 fi
17344
17345
17346
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17348 $as_echo_n "checking for extern template support... " >&6; }
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17350 $as_echo "$enable_extern_template" >&6; }
17351
17352
17353
17354
17355
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17357 $as_echo_n "checking for custom python install directory... " >&6; }
17358
17359 # Check whether --with-python-dir was given.
17360 if test "${with_python_dir+set}" = set; then :
17361 withval=$with_python_dir; with_python_dir=$withval
17362 else
17363 with_python_dir="no"
17364 fi
17365
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17367 $as_echo "${with_python_dir}" >&6; }
17368
17369 # Needed for installing Python modules during make install.
17370 python_mod_dir="${with_python_dir}"
17371
17372
17373
17374
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17376 $as_echo_n "checking for -Werror... " >&6; }
17377 # Check whether --enable-werror was given.
17378 if test "${enable_werror+set}" = set; then :
17379 enableval=$enable_werror;
17380 case "$enableval" in
17381 yes|no) ;;
17382 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17383 esac
17384
17385 else
17386 enable_werror=yes
17387 fi
17388
17389
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17391 $as_echo "$enable_werror" >&6; }
17392
17393
17394
17395
17396 # Check whether --enable-vtable-verify was given.
17397 if test "${enable_vtable_verify+set}" = set; then :
17398 enableval=$enable_vtable_verify;
17399 case "$enableval" in
17400 yes|no) ;;
17401 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17402 esac
17403
17404 else
17405 enable_vtable_verify=no
17406 fi
17407
17408
17409
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17411 $as_echo_n "checking for vtable verify support... " >&6; }
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17413 $as_echo "$enable_vtable_verify" >&6; }
17414
17415 if test $enable_vtable_verify = yes; then
17416 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17417 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17418 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17419 else
17420 VTV_CXXFLAGS=
17421 VTV_PCH_CXXFLAGS=
17422 VTV_CXXLINKFLAGS=
17423 fi
17424
17425
17426
17427
17428
17429
17430
17431 # Checks for operating systems support that doesn't require linking.
17432
17433
17434
17435 ac_ext=cpp
17436 ac_cpp='$CXXCPP $CPPFLAGS'
17437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17440
17441
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17443 $as_echo_n "checking for gets declaration... " >&6; }
17444 if test "${glibcxx_cv_gets+set}" = set; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <stdio.h>
17451 namespace test
17452 {
17453 using ::gets;
17454 }
17455
17456 _ACEOF
17457 if ac_fn_cxx_try_compile "$LINENO"; then :
17458 glibcxx_cv_gets=yes
17459 else
17460 glibcxx_cv_gets=no
17461
17462 fi
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 fi
17465
17466
17467 if test $glibcxx_cv_gets = yes; then
17468
17469 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17470
17471 fi
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17473 $as_echo "$glibcxx_cv_gets" >&6; }
17474
17475 ac_ext=c
17476 ac_cpp='$CPP $CPPFLAGS'
17477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17480
17481
17482
17483
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17485 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17486 if test "${glibcxx_cv_system_error1+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 #include <errno.h>
17493 int
17494 main ()
17495 {
17496 int i = EOWNERDEAD;
17497 ;
17498 return 0;
17499 }
17500 _ACEOF
17501 if ac_fn_c_try_compile "$LINENO"; then :
17502 glibcxx_cv_system_error1=yes
17503 else
17504 glibcxx_cv_system_error1=no
17505 fi
17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507
17508 fi
17509
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17511 $as_echo "$glibcxx_cv_system_error1" >&6; }
17512 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17513
17514 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17515
17516 fi
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17518 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17519 if test "${glibcxx_cv_system_error2+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <errno.h>
17526 int
17527 main ()
17528 {
17529 int i = ENOTRECOVERABLE;
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 glibcxx_cv_system_error2=yes
17536 else
17537 glibcxx_cv_system_error2=no
17538 fi
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540
17541 fi
17542
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17544 $as_echo "$glibcxx_cv_system_error2" >&6; }
17545 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17546
17547 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17548
17549 fi
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17551 $as_echo_n "checking for ENOLINK... " >&6; }
17552 if test "${glibcxx_cv_system_error3+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17555
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <errno.h>
17559 int
17560 main ()
17561 {
17562 int i = ENOLINK;
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 glibcxx_cv_system_error3=yes
17569 else
17570 glibcxx_cv_system_error3=no
17571 fi
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573
17574 fi
17575
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17577 $as_echo "$glibcxx_cv_system_error3" >&6; }
17578 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17579
17580 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17581
17582 fi
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17584 $as_echo_n "checking for EPROTO... " >&6; }
17585 if test "${glibcxx_cv_system_error4+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <errno.h>
17592 int
17593 main ()
17594 {
17595 int i = EPROTO;
17596 ;
17597 return 0;
17598 }
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 glibcxx_cv_system_error4=yes
17602 else
17603 glibcxx_cv_system_error4=no
17604 fi
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606
17607 fi
17608
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17610 $as_echo "$glibcxx_cv_system_error4" >&6; }
17611 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17612
17613 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17614
17615 fi
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17617 $as_echo_n "checking for ENODATA... " >&6; }
17618 if test "${glibcxx_cv_system_error5+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <errno.h>
17625 int
17626 main ()
17627 {
17628 int i = ENODATA;
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 glibcxx_cv_system_error5=yes
17635 else
17636 glibcxx_cv_system_error5=no
17637 fi
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639
17640 fi
17641
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17643 $as_echo "$glibcxx_cv_system_error5" >&6; }
17644 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17645
17646 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17647
17648 fi
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17650 $as_echo_n "checking for ENOSR... " >&6; }
17651 if test "${glibcxx_cv_system_error6+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <errno.h>
17658 int
17659 main ()
17660 {
17661 int i = ENOSR;
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 glibcxx_cv_system_error6=yes
17668 else
17669 glibcxx_cv_system_error6=no
17670 fi
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672
17673 fi
17674
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17676 $as_echo "$glibcxx_cv_system_error6" >&6; }
17677 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17678
17679 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17680
17681 fi
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17683 $as_echo_n "checking for ENOSTR... " >&6; }
17684 if test "${glibcxx_cv_system_error7+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <errno.h>
17691 int
17692 main ()
17693 {
17694 int i = ENOSTR;
17695 ;
17696 return 0;
17697 }
17698 _ACEOF
17699 if ac_fn_c_try_compile "$LINENO"; then :
17700 glibcxx_cv_system_error7=yes
17701 else
17702 glibcxx_cv_system_error7=no
17703 fi
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705
17706 fi
17707
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17709 $as_echo "$glibcxx_cv_system_error7" >&6; }
17710 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17711
17712 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17713
17714 fi
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17716 $as_echo_n "checking for ETIME... " >&6; }
17717 if test "${glibcxx_cv_system_error8+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #include <errno.h>
17724 int
17725 main ()
17726 {
17727 int i = ETIME;
17728 ;
17729 return 0;
17730 }
17731 _ACEOF
17732 if ac_fn_c_try_compile "$LINENO"; then :
17733 glibcxx_cv_system_error8=yes
17734 else
17735 glibcxx_cv_system_error8=no
17736 fi
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17738
17739 fi
17740
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17742 $as_echo "$glibcxx_cv_system_error8" >&6; }
17743 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17744
17745 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17746
17747 fi
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17749 $as_echo_n "checking for EBADMSG... " >&6; }
17750 if test "${glibcxx_cv_system_error9+set}" = set; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <errno.h>
17757 int
17758 main ()
17759 {
17760 int i = EBADMSG;
17761 ;
17762 return 0;
17763 }
17764 _ACEOF
17765 if ac_fn_c_try_compile "$LINENO"; then :
17766 glibcxx_cv_system_error9=yes
17767 else
17768 glibcxx_cv_system_error9=no
17769 fi
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771
17772 fi
17773
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17775 $as_echo "$glibcxx_cv_system_error9" >&6; }
17776 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17777
17778 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17779
17780 fi
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17782 $as_echo_n "checking for ECANCELED... " >&6; }
17783 if test "${glibcxx_cv_system_error10+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <errno.h>
17790 int
17791 main ()
17792 {
17793 int i = ECANCELED;
17794 ;
17795 return 0;
17796 }
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 glibcxx_cv_system_error10=yes
17800 else
17801 glibcxx_cv_system_error10=no
17802 fi
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804
17805 fi
17806
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17808 $as_echo "$glibcxx_cv_system_error10" >&6; }
17809 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17810
17811 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17812
17813 fi
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17815 $as_echo_n "checking for EOVERFLOW... " >&6; }
17816 if test "${glibcxx_cv_system_error11+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17819
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <errno.h>
17823 int
17824 main ()
17825 {
17826 int i = EOVERFLOW;
17827 ;
17828 return 0;
17829 }
17830 _ACEOF
17831 if ac_fn_c_try_compile "$LINENO"; then :
17832 glibcxx_cv_system_error11=yes
17833 else
17834 glibcxx_cv_system_error11=no
17835 fi
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837
17838 fi
17839
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17841 $as_echo "$glibcxx_cv_system_error11" >&6; }
17842 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17843
17844 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17845
17846 fi
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17848 $as_echo_n "checking for ENOTSUP... " >&6; }
17849 if test "${glibcxx_cv_system_error12+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <errno.h>
17856 int
17857 main ()
17858 {
17859 int i = ENOTSUP;
17860 ;
17861 return 0;
17862 }
17863 _ACEOF
17864 if ac_fn_c_try_compile "$LINENO"; then :
17865 glibcxx_cv_system_error12=yes
17866 else
17867 glibcxx_cv_system_error12=no
17868 fi
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870
17871 fi
17872
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17874 $as_echo "$glibcxx_cv_system_error12" >&6; }
17875 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17876
17877 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17878
17879 fi
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17881 $as_echo_n "checking for EIDRM... " >&6; }
17882 if test "${glibcxx_cv_system_error13+set}" = set; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #include <errno.h>
17889 int
17890 main ()
17891 {
17892 int i = EIDRM;
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 if ac_fn_c_try_compile "$LINENO"; then :
17898 glibcxx_cv_system_error13=yes
17899 else
17900 glibcxx_cv_system_error13=no
17901 fi
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903
17904 fi
17905
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17907 $as_echo "$glibcxx_cv_system_error13" >&6; }
17908 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17909
17910 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17911
17912 fi
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17914 $as_echo_n "checking for ETXTBSY... " >&6; }
17915 if test "${glibcxx_cv_system_error14+set}" = set; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <errno.h>
17922 int
17923 main ()
17924 {
17925 int i = ETXTBSY;
17926 ;
17927 return 0;
17928 }
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 glibcxx_cv_system_error14=yes
17932 else
17933 glibcxx_cv_system_error14=no
17934 fi
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936
17937 fi
17938
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17940 $as_echo "$glibcxx_cv_system_error14" >&6; }
17941 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17942
17943 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17944
17945 fi
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17947 $as_echo_n "checking for ECHILD... " >&6; }
17948 if test "${glibcxx_cv_system_error15+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17951
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <errno.h>
17955 int
17956 main ()
17957 {
17958 int i = ECHILD;
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 glibcxx_cv_system_error15=yes
17965 else
17966 glibcxx_cv_system_error15=no
17967 fi
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969
17970 fi
17971
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17973 $as_echo "$glibcxx_cv_system_error15" >&6; }
17974 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17975
17976 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17977
17978 fi
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17980 $as_echo_n "checking for ENOSPC... " >&6; }
17981 if test "${glibcxx_cv_system_error16+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #include <errno.h>
17988 int
17989 main ()
17990 {
17991 int i = ENOSPC;
17992 ;
17993 return 0;
17994 }
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 glibcxx_cv_system_error16=yes
17998 else
17999 glibcxx_cv_system_error16=no
18000 fi
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18002
18003 fi
18004
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18006 $as_echo "$glibcxx_cv_system_error16" >&6; }
18007 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18008
18009 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18010
18011 fi
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18013 $as_echo_n "checking for EPERM... " >&6; }
18014 if test "${glibcxx_cv_system_error17+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #include <errno.h>
18021 int
18022 main ()
18023 {
18024 int i = EPERM;
18025 ;
18026 return 0;
18027 }
18028 _ACEOF
18029 if ac_fn_c_try_compile "$LINENO"; then :
18030 glibcxx_cv_system_error17=yes
18031 else
18032 glibcxx_cv_system_error17=no
18033 fi
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035
18036 fi
18037
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18039 $as_echo "$glibcxx_cv_system_error17" >&6; }
18040 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18041
18042 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18043
18044 fi
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18046 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18047 if test "${glibcxx_cv_system_error18+set}" = set; then :
18048 $as_echo_n "(cached) " >&6
18049 else
18050
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18053 #include <errno.h>
18054 int
18055 main ()
18056 {
18057 int i = ETIMEDOUT;
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 if ac_fn_c_try_compile "$LINENO"; then :
18063 glibcxx_cv_system_error18=yes
18064 else
18065 glibcxx_cv_system_error18=no
18066 fi
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068
18069 fi
18070
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18072 $as_echo "$glibcxx_cv_system_error18" >&6; }
18073 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18074
18075 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18076
18077 fi
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18079 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18080 if test "${glibcxx_cv_system_error19+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18083
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <errno.h>
18087 int
18088 main ()
18089 {
18090 int i = EWOULDBLOCK;
18091 ;
18092 return 0;
18093 }
18094 _ACEOF
18095 if ac_fn_c_try_compile "$LINENO"; then :
18096 glibcxx_cv_system_error19=yes
18097 else
18098 glibcxx_cv_system_error19=no
18099 fi
18100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101
18102 fi
18103
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18105 $as_echo "$glibcxx_cv_system_error19" >&6; }
18106 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18107
18108 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18109
18110 fi
18111
18112
18113
18114 # For the streamoff typedef.
18115
18116
18117
18118 ac_ext=cpp
18119 ac_cpp='$CXXCPP $CPPFLAGS'
18120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18123
18124
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18126 $as_echo_n "checking for int64_t... " >&6; }
18127 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #include <stdint.h>
18134 int
18135 main ()
18136 {
18137 int64_t var;
18138 ;
18139 return 0;
18140 }
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_INT64_T=yes
18144 else
18145 glibcxx_cv_INT64_T=no
18146 fi
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148
18149 fi
18150
18151
18152 if test $glibcxx_cv_INT64_T = yes; then
18153
18154 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18155
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18157 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18158
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18160 $as_echo_n "checking for int64_t as long... " >&6; }
18161 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #include <stdint.h>
18168 template<typename, typename> struct same { enum { value = -1 }; };
18169 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18170 int array[same<int64_t, long>::value];
18171 int
18172 main ()
18173 {
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 if ac_fn_cxx_try_compile "$LINENO"; then :
18180 glibcxx_cv_int64_t_long=yes
18181 else
18182 glibcxx_cv_int64_t_long=no
18183 fi
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185
18186 fi
18187
18188
18189 if test $glibcxx_cv_int64_t_long = yes; then
18190
18191 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18192
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18194 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18195 fi
18196
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18198 $as_echo_n "checking for int64_t as long long... " >&6; }
18199 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18200 $as_echo_n "(cached) " >&6
18201 else
18202
18203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18205 #include <stdint.h>
18206 template<typename, typename> struct same { enum { value = -1 }; };
18207 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18208 int array[same<int64_t, long long>::value];
18209 int
18210 main ()
18211 {
18212
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218 glibcxx_cv_int64_t_long_long=yes
18219 else
18220 glibcxx_cv_int64_t_long_long=no
18221 fi
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223
18224 fi
18225
18226
18227 if test $glibcxx_cv_int64_t_long_long = yes; then
18228
18229 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18230
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18232 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18233 fi
18234 fi
18235
18236 ac_ext=c
18237 ac_cpp='$CPP $CPPFLAGS'
18238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18241
18242
18243
18244 # For LFS support.
18245
18246
18247 ac_ext=cpp
18248 ac_cpp='$CXXCPP $CPPFLAGS'
18249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18252
18253 ac_save_CXXFLAGS="$CXXFLAGS"
18254 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18256 $as_echo_n "checking for LFS support... " >&6; }
18257 if test "${glibcxx_cv_LFS+set}" = set; then :
18258 $as_echo_n "(cached) " >&6
18259 else
18260
18261 if test x$gcc_no_link = xyes; then
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18264 #include <unistd.h>
18265 #include <stdio.h>
18266 #include <sys/stat.h>
18267
18268 int
18269 main ()
18270 {
18271 FILE* fp;
18272 fopen64("t", "w");
18273 fseeko64(fp, 0, SEEK_CUR);
18274 ftello64(fp);
18275 lseek64(1, 0, SEEK_CUR);
18276 struct stat64 buf;
18277 fstat64(1, &buf);
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 glibcxx_cv_LFS=yes
18284 else
18285 glibcxx_cv_LFS=no
18286 fi
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 else
18289 if test x$gcc_no_link = xyes; then
18290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18291 fi
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <unistd.h>
18295 #include <stdio.h>
18296 #include <sys/stat.h>
18297
18298 int
18299 main ()
18300 {
18301 FILE* fp;
18302 fopen64("t", "w");
18303 fseeko64(fp, 0, SEEK_CUR);
18304 ftello64(fp);
18305 lseek64(1, 0, SEEK_CUR);
18306 struct stat64 buf;
18307 fstat64(1, &buf);
18308 ;
18309 return 0;
18310 }
18311 _ACEOF
18312 if ac_fn_cxx_try_link "$LINENO"; then :
18313 glibcxx_cv_LFS=yes
18314 else
18315 glibcxx_cv_LFS=no
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext \
18318 conftest$ac_exeext conftest.$ac_ext
18319 fi
18320
18321 fi
18322
18323 if test $glibcxx_cv_LFS = yes; then
18324
18325 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18326
18327 fi
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18329 $as_echo "$glibcxx_cv_LFS" >&6; }
18330 CXXFLAGS="$ac_save_CXXFLAGS"
18331 ac_ext=c
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18336
18337
18338
18339 # For showmanyc_helper().
18340 for ac_header in sys/ioctl.h sys/filio.h
18341 do :
18342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18344 eval as_val=\$$as_ac_Header
18345 if test "x$as_val" = x""yes; then :
18346 cat >>confdefs.h <<_ACEOF
18347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18348 _ACEOF
18349
18350 fi
18351
18352 done
18353
18354
18355
18356
18357 ac_ext=cpp
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18362
18363 ac_save_CXXFLAGS="$CXXFLAGS"
18364 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18365
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18367 $as_echo_n "checking for poll... " >&6; }
18368 if test "${glibcxx_cv_POLL+set}" = set; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18371
18372 if test x$gcc_no_link = xyes; then
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <poll.h>
18376 int
18377 main ()
18378 {
18379 struct pollfd pfd[1];
18380 pfd[0].events = POLLIN;
18381 poll(pfd, 1, 0);
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 if ac_fn_cxx_try_compile "$LINENO"; then :
18387 glibcxx_cv_POLL=yes
18388 else
18389 glibcxx_cv_POLL=no
18390 fi
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18392 else
18393 if test x$gcc_no_link = xyes; then
18394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18395 fi
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #include <poll.h>
18399 int
18400 main ()
18401 {
18402 struct pollfd pfd[1];
18403 pfd[0].events = POLLIN;
18404 poll(pfd, 1, 0);
18405 ;
18406 return 0;
18407 }
18408 _ACEOF
18409 if ac_fn_cxx_try_link "$LINENO"; then :
18410 glibcxx_cv_POLL=yes
18411 else
18412 glibcxx_cv_POLL=no
18413 fi
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18416 fi
18417
18418 fi
18419
18420 if test $glibcxx_cv_POLL = yes; then
18421
18422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18423
18424 fi
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18426 $as_echo "$glibcxx_cv_POLL" >&6; }
18427
18428 CXXFLAGS="$ac_save_CXXFLAGS"
18429 ac_ext=c
18430 ac_cpp='$CPP $CPPFLAGS'
18431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18434
18435
18436
18437
18438
18439 ac_ext=cpp
18440 ac_cpp='$CXXCPP $CPPFLAGS'
18441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18444
18445 ac_save_CXXFLAGS="$CXXFLAGS"
18446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18447
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18449 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18450 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18451 $as_echo_n "(cached) " >&6
18452 else
18453
18454 if test x$gcc_no_link = xyes; then
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <sys/stat.h>
18458 int
18459 main ()
18460 {
18461 struct stat buffer;
18462 fstat(0, &buffer);
18463 S_ISREG(buffer.st_mode);
18464 ;
18465 return 0;
18466 }
18467 _ACEOF
18468 if ac_fn_cxx_try_compile "$LINENO"; then :
18469 glibcxx_cv_S_ISREG=yes
18470 else
18471 glibcxx_cv_S_ISREG=no
18472 fi
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 else
18475 if test x$gcc_no_link = xyes; then
18476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18477 fi
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #include <sys/stat.h>
18481 int
18482 main ()
18483 {
18484 struct stat buffer;
18485 fstat(0, &buffer);
18486 S_ISREG(buffer.st_mode);
18487 ;
18488 return 0;
18489 }
18490 _ACEOF
18491 if ac_fn_cxx_try_link "$LINENO"; then :
18492 glibcxx_cv_S_ISREG=yes
18493 else
18494 glibcxx_cv_S_ISREG=no
18495 fi
18496 rm -f core conftest.err conftest.$ac_objext \
18497 conftest$ac_exeext conftest.$ac_ext
18498 fi
18499
18500 fi
18501
18502 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18503 $as_echo_n "(cached) " >&6
18504 else
18505
18506 if test x$gcc_no_link = xyes; then
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <sys/stat.h>
18510 int
18511 main ()
18512 {
18513 struct stat buffer;
18514 fstat(0, &buffer);
18515 S_IFREG & buffer.st_mode;
18516 ;
18517 return 0;
18518 }
18519 _ACEOF
18520 if ac_fn_cxx_try_compile "$LINENO"; then :
18521 glibcxx_cv_S_IFREG=yes
18522 else
18523 glibcxx_cv_S_IFREG=no
18524 fi
18525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 else
18527 if test x$gcc_no_link = xyes; then
18528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18529 fi
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <sys/stat.h>
18533 int
18534 main ()
18535 {
18536 struct stat buffer;
18537 fstat(0, &buffer);
18538 S_IFREG & buffer.st_mode;
18539 ;
18540 return 0;
18541 }
18542 _ACEOF
18543 if ac_fn_cxx_try_link "$LINENO"; then :
18544 glibcxx_cv_S_IFREG=yes
18545 else
18546 glibcxx_cv_S_IFREG=no
18547 fi
18548 rm -f core conftest.err conftest.$ac_objext \
18549 conftest$ac_exeext conftest.$ac_ext
18550 fi
18551
18552 fi
18553
18554 res=no
18555 if test $glibcxx_cv_S_ISREG = yes; then
18556
18557 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18558
18559 res=S_ISREG
18560 elif test $glibcxx_cv_S_IFREG = yes; then
18561
18562 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18563
18564 res=S_IFREG
18565 fi
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18567 $as_echo "$res" >&6; }
18568
18569 CXXFLAGS="$ac_save_CXXFLAGS"
18570 ac_ext=c
18571 ac_cpp='$CPP $CPPFLAGS'
18572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18575
18576
18577
18578 # For xsputn_2().
18579 for ac_header in sys/uio.h
18580 do :
18581 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18582 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_SYS_UIO_H 1
18585 _ACEOF
18586
18587 fi
18588
18589 done
18590
18591
18592
18593
18594 ac_ext=cpp
18595 ac_cpp='$CXXCPP $CPPFLAGS'
18596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18599
18600 ac_save_CXXFLAGS="$CXXFLAGS"
18601 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18602
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18604 $as_echo_n "checking for writev... " >&6; }
18605 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18606 $as_echo_n "(cached) " >&6
18607 else
18608
18609 if test x$gcc_no_link = xyes; then
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <sys/uio.h>
18613 int
18614 main ()
18615 {
18616 struct iovec iov[2];
18617 writev(0, iov, 0);
18618 ;
18619 return 0;
18620 }
18621 _ACEOF
18622 if ac_fn_cxx_try_compile "$LINENO"; then :
18623 glibcxx_cv_WRITEV=yes
18624 else
18625 glibcxx_cv_WRITEV=no
18626 fi
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 else
18629 if test x$gcc_no_link = xyes; then
18630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18631 fi
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 #include <sys/uio.h>
18635 int
18636 main ()
18637 {
18638 struct iovec iov[2];
18639 writev(0, iov, 0);
18640 ;
18641 return 0;
18642 }
18643 _ACEOF
18644 if ac_fn_cxx_try_link "$LINENO"; then :
18645 glibcxx_cv_WRITEV=yes
18646 else
18647 glibcxx_cv_WRITEV=no
18648 fi
18649 rm -f core conftest.err conftest.$ac_objext \
18650 conftest$ac_exeext conftest.$ac_ext
18651 fi
18652
18653 fi
18654
18655 if test $glibcxx_cv_WRITEV = yes; then
18656
18657 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18658
18659 fi
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18661 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18662
18663 CXXFLAGS="$ac_save_CXXFLAGS"
18664 ac_ext=c
18665 ac_cpp='$CPP $CPPFLAGS'
18666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18669
18670
18671
18672 # For C99 support to TR1.
18673
18674
18675
18676 ac_ext=cpp
18677 ac_cpp='$CXXCPP $CPPFLAGS'
18678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18681
18682
18683 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18684 # undefined and fake C99 facilities may be spuriously enabled.
18685 ac_save_CXXFLAGS="$CXXFLAGS"
18686 CXXFLAGS="$CXXFLAGS -std=c++98"
18687
18688 # Check for the existence of <complex.h> complex math functions used
18689 # by tr1/complex.
18690 for ac_header in complex.h
18691 do :
18692 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18693 if test "x$ac_cv_header_complex_h" = x""yes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_COMPLEX_H 1
18696 _ACEOF
18697 ac_has_complex_h=yes
18698 else
18699 ac_has_complex_h=no
18700 fi
18701
18702 done
18703
18704 ac_c99_complex_tr1=no;
18705 if test x"$ac_has_complex_h" = x"yes"; then
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18707 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 #include <complex.h>
18711 int
18712 main ()
18713 {
18714 typedef __complex__ float float_type; float_type tmpf;
18715 cacosf(tmpf);
18716 casinf(tmpf);
18717 catanf(tmpf);
18718 cacoshf(tmpf);
18719 casinhf(tmpf);
18720 catanhf(tmpf);
18721 typedef __complex__ double double_type; double_type tmpd;
18722 cacos(tmpd);
18723 casin(tmpd);
18724 catan(tmpd);
18725 cacosh(tmpd);
18726 casinh(tmpd);
18727 catanh(tmpd);
18728 typedef __complex__ long double ld_type; ld_type tmpld;
18729 cacosl(tmpld);
18730 casinl(tmpld);
18731 catanl(tmpld);
18732 cacoshl(tmpld);
18733 casinhl(tmpld);
18734 catanhl(tmpld);
18735
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 ac_c99_complex_tr1=yes
18742 else
18743 ac_c99_complex_tr1=no
18744 fi
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 fi
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18748 $as_echo "$ac_c99_complex_tr1" >&6; }
18749 if test x"$ac_c99_complex_tr1" = x"yes"; then
18750
18751 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18752
18753 fi
18754
18755 # Check for the existence of <ctype.h> functions.
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18757 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18758 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18759 $as_echo_n "(cached) " >&6
18760 else
18761
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18763 /* end confdefs.h. */
18764 #include <ctype.h>
18765 int
18766 main ()
18767 {
18768 int ch;
18769 int ret;
18770 ret = isblank(ch);
18771
18772 ;
18773 return 0;
18774 }
18775 _ACEOF
18776 if ac_fn_cxx_try_compile "$LINENO"; then :
18777 glibcxx_cv_c99_ctype_tr1=yes
18778 else
18779 glibcxx_cv_c99_ctype_tr1=no
18780 fi
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18782
18783 fi
18784
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18786 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18787 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18788
18789 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18790
18791 fi
18792
18793 # Check for the existence of <fenv.h> functions.
18794 for ac_header in fenv.h
18795 do :
18796 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18797 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_FENV_H 1
18800 _ACEOF
18801 ac_has_fenv_h=yes
18802 else
18803 ac_has_fenv_h=no
18804 fi
18805
18806 done
18807
18808 ac_c99_fenv_tr1=no;
18809 if test x"$ac_has_fenv_h" = x"yes"; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18811 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <fenv.h>
18815 int
18816 main ()
18817 {
18818 int except, mode;
18819 fexcept_t* pflag;
18820 fenv_t* penv;
18821 int ret;
18822 ret = feclearexcept(except);
18823 ret = fegetexceptflag(pflag, except);
18824 ret = feraiseexcept(except);
18825 ret = fesetexceptflag(pflag, except);
18826 ret = fetestexcept(except);
18827 ret = fegetround();
18828 ret = fesetround(mode);
18829 ret = fegetenv(penv);
18830 ret = feholdexcept(penv);
18831 ret = fesetenv(penv);
18832 ret = feupdateenv(penv);
18833
18834 ;
18835 return 0;
18836 }
18837 _ACEOF
18838 if ac_fn_cxx_try_compile "$LINENO"; then :
18839 ac_c99_fenv_tr1=yes
18840 else
18841 ac_c99_fenv_tr1=no
18842 fi
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844 fi
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18846 $as_echo "$ac_c99_fenv_tr1" >&6; }
18847 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18848
18849 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18850
18851 fi
18852
18853 # Check for the existence of <stdint.h> types.
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18855 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18856 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18859
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 #define __STDC_LIMIT_MACROS
18863 #define __STDC_CONSTANT_MACROS
18864 #include <stdint.h>
18865 int
18866 main ()
18867 {
18868 typedef int8_t my_int8_t;
18869 my_int8_t i8 = INT8_MIN;
18870 i8 = INT8_MAX;
18871 typedef int16_t my_int16_t;
18872 my_int16_t i16 = INT16_MIN;
18873 i16 = INT16_MAX;
18874 typedef int32_t my_int32_t;
18875 my_int32_t i32 = INT32_MIN;
18876 i32 = INT32_MAX;
18877 typedef int64_t my_int64_t;
18878 my_int64_t i64 = INT64_MIN;
18879 i64 = INT64_MAX;
18880 typedef int_fast8_t my_int_fast8_t;
18881 my_int_fast8_t if8 = INT_FAST8_MIN;
18882 if8 = INT_FAST8_MAX;
18883 typedef int_fast16_t my_int_fast16_t;
18884 my_int_fast16_t if16 = INT_FAST16_MIN;
18885 if16 = INT_FAST16_MAX;
18886 typedef int_fast32_t my_int_fast32_t;
18887 my_int_fast32_t if32 = INT_FAST32_MIN;
18888 if32 = INT_FAST32_MAX;
18889 typedef int_fast64_t my_int_fast64_t;
18890 my_int_fast64_t if64 = INT_FAST64_MIN;
18891 if64 = INT_FAST64_MAX;
18892 typedef int_least8_t my_int_least8_t;
18893 my_int_least8_t il8 = INT_LEAST8_MIN;
18894 il8 = INT_LEAST8_MAX;
18895 typedef int_least16_t my_int_least16_t;
18896 my_int_least16_t il16 = INT_LEAST16_MIN;
18897 il16 = INT_LEAST16_MAX;
18898 typedef int_least32_t my_int_least32_t;
18899 my_int_least32_t il32 = INT_LEAST32_MIN;
18900 il32 = INT_LEAST32_MAX;
18901 typedef int_least64_t my_int_least64_t;
18902 my_int_least64_t il64 = INT_LEAST64_MIN;
18903 il64 = INT_LEAST64_MAX;
18904 typedef intmax_t my_intmax_t;
18905 my_intmax_t im = INTMAX_MAX;
18906 im = INTMAX_MIN;
18907 typedef intptr_t my_intptr_t;
18908 my_intptr_t ip = INTPTR_MAX;
18909 ip = INTPTR_MIN;
18910 typedef uint8_t my_uint8_t;
18911 my_uint8_t ui8 = UINT8_MAX;
18912 ui8 = UINT8_MAX;
18913 typedef uint16_t my_uint16_t;
18914 my_uint16_t ui16 = UINT16_MAX;
18915 ui16 = UINT16_MAX;
18916 typedef uint32_t my_uint32_t;
18917 my_uint32_t ui32 = UINT32_MAX;
18918 ui32 = UINT32_MAX;
18919 typedef uint64_t my_uint64_t;
18920 my_uint64_t ui64 = UINT64_MAX;
18921 ui64 = UINT64_MAX;
18922 typedef uint_fast8_t my_uint_fast8_t;
18923 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18924 uif8 = UINT_FAST8_MAX;
18925 typedef uint_fast16_t my_uint_fast16_t;
18926 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18927 uif16 = UINT_FAST16_MAX;
18928 typedef uint_fast32_t my_uint_fast32_t;
18929 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18930 uif32 = UINT_FAST32_MAX;
18931 typedef uint_fast64_t my_uint_fast64_t;
18932 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18933 uif64 = UINT_FAST64_MAX;
18934 typedef uint_least8_t my_uint_least8_t;
18935 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18936 uil8 = UINT_LEAST8_MAX;
18937 typedef uint_least16_t my_uint_least16_t;
18938 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18939 uil16 = UINT_LEAST16_MAX;
18940 typedef uint_least32_t my_uint_least32_t;
18941 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18942 uil32 = UINT_LEAST32_MAX;
18943 typedef uint_least64_t my_uint_least64_t;
18944 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18945 uil64 = UINT_LEAST64_MAX;
18946 typedef uintmax_t my_uintmax_t;
18947 my_uintmax_t uim = UINTMAX_MAX;
18948 uim = UINTMAX_MAX;
18949 typedef uintptr_t my_uintptr_t;
18950 my_uintptr_t uip = UINTPTR_MAX;
18951 uip = UINTPTR_MAX;
18952
18953 ;
18954 return 0;
18955 }
18956 _ACEOF
18957 if ac_fn_cxx_try_compile "$LINENO"; then :
18958 glibcxx_cv_c99_stdint_tr1=yes
18959 else
18960 glibcxx_cv_c99_stdint_tr1=no
18961 fi
18962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963
18964 fi
18965
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18967 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18968 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18969
18970 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18971
18972 fi
18973
18974 # Check for the existence of <math.h> functions.
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18976 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18977 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18978 $as_echo_n "(cached) " >&6
18979 else
18980
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #include <math.h>
18984 int
18985 main ()
18986 {
18987 typedef double_t my_double_t;
18988 typedef float_t my_float_t;
18989 acosh(0.0);
18990 acoshf(0.0f);
18991 acoshl(0.0l);
18992 asinh(0.0);
18993 asinhf(0.0f);
18994 asinhl(0.0l);
18995 atanh(0.0);
18996 atanhf(0.0f);
18997 atanhl(0.0l);
18998 cbrt(0.0);
18999 cbrtf(0.0f);
19000 cbrtl(0.0l);
19001 copysign(0.0, 0.0);
19002 copysignf(0.0f, 0.0f);
19003 copysignl(0.0l, 0.0l);
19004 erf(0.0);
19005 erff(0.0f);
19006 erfl(0.0l);
19007 erfc(0.0);
19008 erfcf(0.0f);
19009 erfcl(0.0l);
19010 exp2(0.0);
19011 exp2f(0.0f);
19012 exp2l(0.0l);
19013 expm1(0.0);
19014 expm1f(0.0f);
19015 expm1l(0.0l);
19016 fdim(0.0, 0.0);
19017 fdimf(0.0f, 0.0f);
19018 fdiml(0.0l, 0.0l);
19019 fma(0.0, 0.0, 0.0);
19020 fmaf(0.0f, 0.0f, 0.0f);
19021 fmal(0.0l, 0.0l, 0.0l);
19022 fmax(0.0, 0.0);
19023 fmaxf(0.0f, 0.0f);
19024 fmaxl(0.0l, 0.0l);
19025 fmin(0.0, 0.0);
19026 fminf(0.0f, 0.0f);
19027 fminl(0.0l, 0.0l);
19028 hypot(0.0, 0.0);
19029 hypotf(0.0f, 0.0f);
19030 hypotl(0.0l, 0.0l);
19031 ilogb(0.0);
19032 ilogbf(0.0f);
19033 ilogbl(0.0l);
19034 lgamma(0.0);
19035 lgammaf(0.0f);
19036 lgammal(0.0l);
19037 llrint(0.0);
19038 llrintf(0.0f);
19039 llrintl(0.0l);
19040 llround(0.0);
19041 llroundf(0.0f);
19042 llroundl(0.0l);
19043 log1p(0.0);
19044 log1pf(0.0f);
19045 log1pl(0.0l);
19046 log2(0.0);
19047 log2f(0.0f);
19048 log2l(0.0l);
19049 logb(0.0);
19050 logbf(0.0f);
19051 logbl(0.0l);
19052 lrint(0.0);
19053 lrintf(0.0f);
19054 lrintl(0.0l);
19055 lround(0.0);
19056 lroundf(0.0f);
19057 lroundl(0.0l);
19058 nan(0);
19059 nanf(0);
19060 nanl(0);
19061 nearbyint(0.0);
19062 nearbyintf(0.0f);
19063 nearbyintl(0.0l);
19064 nextafter(0.0, 0.0);
19065 nextafterf(0.0f, 0.0f);
19066 nextafterl(0.0l, 0.0l);
19067 nexttoward(0.0, 0.0);
19068 nexttowardf(0.0f, 0.0f);
19069 nexttowardl(0.0l, 0.0l);
19070 remainder(0.0, 0.0);
19071 remainderf(0.0f, 0.0f);
19072 remainderl(0.0l, 0.0l);
19073 remquo(0.0, 0.0, 0);
19074 remquof(0.0f, 0.0f, 0);
19075 remquol(0.0l, 0.0l, 0);
19076 rint(0.0);
19077 rintf(0.0f);
19078 rintl(0.0l);
19079 round(0.0);
19080 roundf(0.0f);
19081 roundl(0.0l);
19082 scalbln(0.0, 0l);
19083 scalblnf(0.0f, 0l);
19084 scalblnl(0.0l, 0l);
19085 scalbn(0.0, 0);
19086 scalbnf(0.0f, 0);
19087 scalbnl(0.0l, 0);
19088 tgamma(0.0);
19089 tgammaf(0.0f);
19090 tgammal(0.0l);
19091 trunc(0.0);
19092 truncf(0.0f);
19093 truncl(0.0l);
19094
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 if ac_fn_cxx_try_compile "$LINENO"; then :
19100 glibcxx_cv_c99_math_tr1=yes
19101 else
19102 glibcxx_cv_c99_math_tr1=no
19103 fi
19104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19105
19106 fi
19107
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19109 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19110 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19111
19112 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19113
19114 fi
19115
19116 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19117 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19118 ac_c99_inttypes_tr1=no;
19119 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19121 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <inttypes.h>
19125 int
19126 main ()
19127 {
19128 intmax_t i, numer, denom, base;
19129 const char* s;
19130 char** endptr;
19131 intmax_t ret = imaxabs(i);
19132 imaxdiv_t dret = imaxdiv(numer, denom);
19133 ret = strtoimax(s, endptr, base);
19134 uintmax_t uret = strtoumax(s, endptr, base);
19135
19136 ;
19137 return 0;
19138 }
19139 _ACEOF
19140 if ac_fn_cxx_try_compile "$LINENO"; then :
19141 ac_c99_inttypes_tr1=yes
19142 else
19143 ac_c99_inttypes_tr1=no
19144 fi
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 fi
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19148 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19149 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19150
19151 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19152
19153 fi
19154
19155 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19156 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19157 ac_c99_inttypes_wchar_t_tr1=no;
19158 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19160 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <inttypes.h>
19164 int
19165 main ()
19166 {
19167 intmax_t base;
19168 const wchar_t* s;
19169 wchar_t** endptr;
19170 intmax_t ret = wcstoimax(s, endptr, base);
19171 uintmax_t uret = wcstoumax(s, endptr, base);
19172
19173 ;
19174 return 0;
19175 }
19176 _ACEOF
19177 if ac_fn_cxx_try_compile "$LINENO"; then :
19178 ac_c99_inttypes_wchar_t_tr1=yes
19179 else
19180 ac_c99_inttypes_wchar_t_tr1=no
19181 fi
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 fi
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19185 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19186 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19187
19188 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19189
19190 fi
19191
19192 # Check for the existence of the <stdbool.h> header.
19193 for ac_header in stdbool.h
19194 do :
19195 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19196 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STDBOOL_H 1
19199 _ACEOF
19200
19201 fi
19202
19203 done
19204
19205
19206 # Check for the existence of the <stdalign.h> header.
19207 for ac_header in stdalign.h
19208 do :
19209 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19210 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STDALIGN_H 1
19213 _ACEOF
19214
19215 fi
19216
19217 done
19218
19219
19220 CXXFLAGS="$ac_save_CXXFLAGS"
19221 ac_ext=c
19222 ac_cpp='$CPP $CPPFLAGS'
19223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19226
19227
19228
19229 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19230
19231
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19233 $as_echo_n "checking for the value of EOF... " >&6; }
19234 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19237
19238 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19239
19240 else
19241 as_fn_error "computing EOF failed" "$LINENO" 5
19242 fi
19243
19244
19245 fi
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19247 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19248
19249 cat >>confdefs.h <<_ACEOF
19250 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19251 _ACEOF
19252
19253
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19255 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19256 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19257 $as_echo_n "(cached) " >&6
19258 else
19259
19260 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19261
19262 else
19263 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19264 fi
19265
19266
19267 fi
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19269 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19270
19271 cat >>confdefs.h <<_ACEOF
19272 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19273 _ACEOF
19274
19275
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19277 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19278 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19279 $as_echo_n "(cached) " >&6
19280 else
19281
19282 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19283
19284 else
19285 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19286 fi
19287
19288
19289 fi
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19291 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19292
19293 cat >>confdefs.h <<_ACEOF
19294 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19295 _ACEOF
19296
19297
19298
19299 # For gettimeofday support.
19300
19301
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19303 $as_echo_n "checking for gettimeofday... " >&6; }
19304
19305
19306 ac_ext=cpp
19307 ac_cpp='$CXXCPP $CPPFLAGS'
19308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311
19312 ac_save_CXXFLAGS="$CXXFLAGS"
19313 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19314
19315 ac_has_gettimeofday=no;
19316 for ac_header in sys/time.h
19317 do :
19318 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19319 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19320 cat >>confdefs.h <<_ACEOF
19321 #define HAVE_SYS_TIME_H 1
19322 _ACEOF
19323 ac_has_sys_time_h=yes
19324 else
19325 ac_has_sys_time_h=no
19326 fi
19327
19328 done
19329
19330 if test x"$ac_has_sys_time_h" = x"yes"; then
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19332 $as_echo_n "checking for gettimeofday... " >&6; }
19333 if test x$gcc_no_link = xyes; then
19334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19336 #include <sys/time.h>
19337 int
19338 main ()
19339 {
19340 timeval tv; gettimeofday(&tv, 0);
19341 ;
19342 return 0;
19343 }
19344 _ACEOF
19345 if ac_fn_cxx_try_compile "$LINENO"; then :
19346 ac_has_gettimeofday=yes
19347 else
19348 ac_has_gettimeofday=no
19349 fi
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 else
19352 if test x$gcc_no_link = xyes; then
19353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19354 fi
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19357 #include <sys/time.h>
19358 int
19359 main ()
19360 {
19361 timeval tv; gettimeofday(&tv, 0);
19362 ;
19363 return 0;
19364 }
19365 _ACEOF
19366 if ac_fn_cxx_try_link "$LINENO"; then :
19367 ac_has_gettimeofday=yes
19368 else
19369 ac_has_gettimeofday=no
19370 fi
19371 rm -f core conftest.err conftest.$ac_objext \
19372 conftest$ac_exeext conftest.$ac_ext
19373 fi
19374
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19376 $as_echo "$ac_has_gettimeofday" >&6; }
19377 fi
19378
19379 if test x"$ac_has_gettimeofday" = x"yes"; then
19380
19381 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19382
19383 fi
19384
19385 CXXFLAGS="$ac_save_CXXFLAGS"
19386 ac_ext=c
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19391
19392
19393
19394 # For clock_gettime, nanosleep and sched_yield support.
19395
19396
19397 # Check whether --enable-libstdcxx-time was given.
19398 if test "${enable_libstdcxx_time+set}" = set; then :
19399 enableval=$enable_libstdcxx_time;
19400 case "$enableval" in
19401 yes|no|rt) ;;
19402 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19403 esac
19404
19405 else
19406 enable_libstdcxx_time=auto
19407 fi
19408
19409
19410
19411
19412 ac_ext=cpp
19413 ac_cpp='$CXXCPP $CPPFLAGS'
19414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19417
19418 ac_save_CXXFLAGS="$CXXFLAGS"
19419 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19420 ac_save_LIBS="$LIBS"
19421
19422 ac_has_clock_monotonic=no
19423 ac_has_clock_realtime=no
19424 ac_has_nanosleep=no
19425 ac_has_sched_yield=no
19426
19427 if test x"$enable_libstdcxx_time" = x"auto"; then
19428
19429 case "${target_os}" in
19430 cygwin*)
19431 ac_has_nanosleep=yes
19432 ;;
19433 darwin*)
19434 ac_has_nanosleep=yes
19435 ac_has_sched_yield=yes
19436 ;;
19437 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19439 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441 /* end confdefs.h. */
19442 #include <features.h>
19443 int
19444 main ()
19445 {
19446
19447 #if ! __GLIBC_PREREQ(2, 17)
19448 #error
19449 #endif
19450
19451 ;
19452 return 0;
19453 }
19454 _ACEOF
19455 if ac_fn_cxx_try_compile "$LINENO"; then :
19456 glibcxx_glibc217=yes
19457 else
19458 glibcxx_glibc217=no
19459 fi
19460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19462 $as_echo "$glibcxx_glibc217" >&6; }
19463
19464 if test x"$glibcxx_glibc217" = x"yes"; then
19465 ac_has_clock_monotonic=yes
19466 ac_has_clock_realtime=yes
19467 fi
19468 ac_has_nanosleep=yes
19469 ac_has_sched_yield=yes
19470 ;;
19471 freebsd*|netbsd*)
19472 ac_has_clock_monotonic=yes
19473 ac_has_clock_realtime=yes
19474 ac_has_nanosleep=yes
19475 ac_has_sched_yield=yes
19476 ;;
19477 openbsd*)
19478 ac_has_clock_monotonic=yes
19479 ac_has_clock_realtime=yes
19480 ac_has_nanosleep=yes
19481 ;;
19482 solaris*)
19483 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19484 ac_has_clock_monotonic=yes
19485 ac_has_clock_realtime=yes
19486 ac_has_nanosleep=yes
19487 ac_has_sched_yield=yes
19488 ;;
19489 esac
19490
19491 elif test x"$enable_libstdcxx_time" != x"no"; then
19492
19493 if test x"$enable_libstdcxx_time" = x"rt"; then
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19495 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19496 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19497 $as_echo_n "(cached) " >&6
19498 else
19499 ac_func_search_save_LIBS=$LIBS
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502
19503 /* Override any GCC internal prototype to avoid an error.
19504 Use char because int might match the return type of a GCC
19505 builtin and then its argument prototype would still apply. */
19506 #ifdef __cplusplus
19507 extern "C"
19508 #endif
19509 char clock_gettime ();
19510 int
19511 main ()
19512 {
19513 return clock_gettime ();
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 for ac_lib in '' rt posix4; do
19519 if test -z "$ac_lib"; then
19520 ac_res="none required"
19521 else
19522 ac_res=-l$ac_lib
19523 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19524 fi
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 fi
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 ac_cv_search_clock_gettime=$ac_res
19530 fi
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext
19533 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19534 break
19535 fi
19536 done
19537 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19538
19539 else
19540 ac_cv_search_clock_gettime=no
19541 fi
19542 rm conftest.$ac_ext
19543 LIBS=$ac_func_search_save_LIBS
19544 fi
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19546 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19547 ac_res=$ac_cv_search_clock_gettime
19548 if test "$ac_res" != no; then :
19549 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19550
19551 fi
19552
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19554 $as_echo_n "checking for library containing nanosleep... " >&6; }
19555 if test "${ac_cv_search_nanosleep+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19557 else
19558 ac_func_search_save_LIBS=$LIBS
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561
19562 /* Override any GCC internal prototype to avoid an error.
19563 Use char because int might match the return type of a GCC
19564 builtin and then its argument prototype would still apply. */
19565 #ifdef __cplusplus
19566 extern "C"
19567 #endif
19568 char nanosleep ();
19569 int
19570 main ()
19571 {
19572 return nanosleep ();
19573 ;
19574 return 0;
19575 }
19576 _ACEOF
19577 for ac_lib in '' rt posix4; do
19578 if test -z "$ac_lib"; then
19579 ac_res="none required"
19580 else
19581 ac_res=-l$ac_lib
19582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19583 fi
19584 if test x$gcc_no_link = xyes; then
19585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19586 fi
19587 if ac_fn_cxx_try_link "$LINENO"; then :
19588 ac_cv_search_nanosleep=$ac_res
19589 fi
19590 rm -f core conftest.err conftest.$ac_objext \
19591 conftest$ac_exeext
19592 if test "${ac_cv_search_nanosleep+set}" = set; then :
19593 break
19594 fi
19595 done
19596 if test "${ac_cv_search_nanosleep+set}" = set; then :
19597
19598 else
19599 ac_cv_search_nanosleep=no
19600 fi
19601 rm conftest.$ac_ext
19602 LIBS=$ac_func_search_save_LIBS
19603 fi
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19605 $as_echo "$ac_cv_search_nanosleep" >&6; }
19606 ac_res=$ac_cv_search_nanosleep
19607 if test "$ac_res" != no; then :
19608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19609
19610 fi
19611
19612 else
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19614 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19615 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 ac_func_search_save_LIBS=$LIBS
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19625 #ifdef __cplusplus
19626 extern "C"
19627 #endif
19628 char clock_gettime ();
19629 int
19630 main ()
19631 {
19632 return clock_gettime ();
19633 ;
19634 return 0;
19635 }
19636 _ACEOF
19637 for ac_lib in '' posix4; do
19638 if test -z "$ac_lib"; then
19639 ac_res="none required"
19640 else
19641 ac_res=-l$ac_lib
19642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19643 fi
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19646 fi
19647 if ac_fn_cxx_try_link "$LINENO"; then :
19648 ac_cv_search_clock_gettime=$ac_res
19649 fi
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext
19652 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19653 break
19654 fi
19655 done
19656 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19657
19658 else
19659 ac_cv_search_clock_gettime=no
19660 fi
19661 rm conftest.$ac_ext
19662 LIBS=$ac_func_search_save_LIBS
19663 fi
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19665 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19666 ac_res=$ac_cv_search_clock_gettime
19667 if test "$ac_res" != no; then :
19668 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19669
19670 fi
19671
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19673 $as_echo_n "checking for library containing nanosleep... " >&6; }
19674 if test "${ac_cv_search_nanosleep+set}" = set; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 ac_func_search_save_LIBS=$LIBS
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680
19681 /* Override any GCC internal prototype to avoid an error.
19682 Use char because int might match the return type of a GCC
19683 builtin and then its argument prototype would still apply. */
19684 #ifdef __cplusplus
19685 extern "C"
19686 #endif
19687 char nanosleep ();
19688 int
19689 main ()
19690 {
19691 return nanosleep ();
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 for ac_lib in '' posix4; do
19697 if test -z "$ac_lib"; then
19698 ac_res="none required"
19699 else
19700 ac_res=-l$ac_lib
19701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19702 fi
19703 if test x$gcc_no_link = xyes; then
19704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19705 fi
19706 if ac_fn_cxx_try_link "$LINENO"; then :
19707 ac_cv_search_nanosleep=$ac_res
19708 fi
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext
19711 if test "${ac_cv_search_nanosleep+set}" = set; then :
19712 break
19713 fi
19714 done
19715 if test "${ac_cv_search_nanosleep+set}" = set; then :
19716
19717 else
19718 ac_cv_search_nanosleep=no
19719 fi
19720 rm conftest.$ac_ext
19721 LIBS=$ac_func_search_save_LIBS
19722 fi
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19724 $as_echo "$ac_cv_search_nanosleep" >&6; }
19725 ac_res=$ac_cv_search_nanosleep
19726 if test "$ac_res" != no; then :
19727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19728
19729 fi
19730
19731 fi
19732
19733 case "$ac_cv_search_clock_gettime" in
19734 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19735 ;;
19736 esac
19737 case "$ac_cv_search_nanosleep" in
19738 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19739 ;;
19740 esac
19741
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19743 $as_echo_n "checking for library containing sched_yield... " >&6; }
19744 if test "${ac_cv_search_sched_yield+set}" = set; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 ac_func_search_save_LIBS=$LIBS
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19750
19751 /* Override any GCC internal prototype to avoid an error.
19752 Use char because int might match the return type of a GCC
19753 builtin and then its argument prototype would still apply. */
19754 #ifdef __cplusplus
19755 extern "C"
19756 #endif
19757 char sched_yield ();
19758 int
19759 main ()
19760 {
19761 return sched_yield ();
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 for ac_lib in '' rt posix4; do
19767 if test -z "$ac_lib"; then
19768 ac_res="none required"
19769 else
19770 ac_res=-l$ac_lib
19771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19772 fi
19773 if test x$gcc_no_link = xyes; then
19774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19775 fi
19776 if ac_fn_cxx_try_link "$LINENO"; then :
19777 ac_cv_search_sched_yield=$ac_res
19778 fi
19779 rm -f core conftest.err conftest.$ac_objext \
19780 conftest$ac_exeext
19781 if test "${ac_cv_search_sched_yield+set}" = set; then :
19782 break
19783 fi
19784 done
19785 if test "${ac_cv_search_sched_yield+set}" = set; then :
19786
19787 else
19788 ac_cv_search_sched_yield=no
19789 fi
19790 rm conftest.$ac_ext
19791 LIBS=$ac_func_search_save_LIBS
19792 fi
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19794 $as_echo "$ac_cv_search_sched_yield" >&6; }
19795 ac_res=$ac_cv_search_sched_yield
19796 if test "$ac_res" != no; then :
19797 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19798
19799 fi
19800
19801
19802 case "$ac_cv_search_sched_yield" in
19803 -lposix4*)
19804 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19805 ac_has_sched_yield=yes
19806 ;;
19807 -lrt*)
19808 if test x"$enable_libstdcxx_time" = x"rt"; then
19809 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19810 ac_has_sched_yield=yes
19811 fi
19812 ;;
19813 *)
19814 ac_has_sched_yield=yes
19815 ;;
19816 esac
19817
19818 for ac_header in unistd.h
19819 do :
19820 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19821 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19822 cat >>confdefs.h <<_ACEOF
19823 #define HAVE_UNISTD_H 1
19824 _ACEOF
19825 ac_has_unistd_h=yes
19826 else
19827 ac_has_unistd_h=no
19828 fi
19829
19830 done
19831
19832
19833 if test x"$ac_has_unistd_h" = x"yes"; then
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19835 $as_echo_n "checking for monotonic clock... " >&6; }
19836 if test x$gcc_no_link = xyes; then
19837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19838 fi
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19841 #include <unistd.h>
19842 #include <time.h>
19843
19844 int
19845 main ()
19846 {
19847 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19848 timespec tp;
19849 #endif
19850 clock_gettime(CLOCK_MONOTONIC, &tp);
19851
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_cxx_try_link "$LINENO"; then :
19857 ac_has_clock_monotonic=yes
19858 else
19859 ac_has_clock_monotonic=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext \
19862 conftest$ac_exeext conftest.$ac_ext
19863
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19865 $as_echo "$ac_has_clock_monotonic" >&6; }
19866
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19868 $as_echo_n "checking for realtime clock... " >&6; }
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19871 fi
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <unistd.h>
19875 #include <time.h>
19876
19877 int
19878 main ()
19879 {
19880 #if _POSIX_TIMERS > 0
19881 timespec tp;
19882 #endif
19883 clock_gettime(CLOCK_REALTIME, &tp);
19884
19885 ;
19886 return 0;
19887 }
19888 _ACEOF
19889 if ac_fn_cxx_try_link "$LINENO"; then :
19890 ac_has_clock_realtime=yes
19891 else
19892 ac_has_clock_realtime=no
19893 fi
19894 rm -f core conftest.err conftest.$ac_objext \
19895 conftest$ac_exeext conftest.$ac_ext
19896
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19898 $as_echo "$ac_has_clock_realtime" >&6; }
19899
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19901 $as_echo_n "checking for nanosleep... " >&6; }
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19904 fi
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #include <unistd.h>
19908 #include <time.h>
19909
19910 int
19911 main ()
19912 {
19913 #if _POSIX_TIMERS > 0
19914 timespec tp;
19915 #endif
19916 nanosleep(&tp, 0);
19917
19918 ;
19919 return 0;
19920 }
19921 _ACEOF
19922 if ac_fn_cxx_try_link "$LINENO"; then :
19923 ac_has_nanosleep=yes
19924 else
19925 ac_has_nanosleep=no
19926 fi
19927 rm -f core conftest.err conftest.$ac_objext \
19928 conftest$ac_exeext conftest.$ac_ext
19929
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19931 $as_echo "$ac_has_nanosleep" >&6; }
19932 fi
19933 fi
19934
19935 if test x"$ac_has_clock_monotonic" != x"yes"; then
19936 case ${target_os} in
19937 linux*)
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19939 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19942 #include <unistd.h>
19943 #include <time.h>
19944 #include <sys/syscall.h>
19945
19946 int
19947 main ()
19948 {
19949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19950 timespec tp;
19951 #endif
19952 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19953 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19954
19955 ;
19956 return 0;
19957 }
19958 _ACEOF
19959 if ac_fn_cxx_try_compile "$LINENO"; then :
19960 ac_has_clock_monotonic_syscall=yes
19961 else
19962 ac_has_clock_monotonic_syscall=no
19963 fi
19964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19966 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19967 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19968
19969 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19970
19971 ac_has_clock_monotonic=yes
19972 ac_has_clock_realtime=yes
19973 fi;;
19974 esac
19975 fi
19976
19977 if test x"$ac_has_clock_monotonic" = x"yes"; then
19978
19979 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19980
19981 fi
19982
19983 if test x"$ac_has_clock_realtime" = x"yes"; then
19984
19985 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19986
19987 fi
19988
19989 if test x"$ac_has_sched_yield" = x"yes"; then
19990
19991 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19992
19993 fi
19994
19995 if test x"$ac_has_nanosleep" = x"yes"; then
19996
19997 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19998
19999 else
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20001 $as_echo_n "checking for sleep... " >&6; }
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20004 #include <unistd.h>
20005 int
20006 main ()
20007 {
20008 sleep(1)
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014 ac_has_sleep=yes
20015 else
20016 ac_has_sleep=no
20017 fi
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 if test x"$ac_has_sleep" = x"yes"; then
20020
20021 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20022
20023 fi
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20025 $as_echo "$ac_has_sleep" >&6; }
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20027 $as_echo_n "checking for usleep... " >&6; }
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20030 #include <unistd.h>
20031 int
20032 main ()
20033 {
20034 sleep(1);
20035 usleep(100);
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041 ac_has_usleep=yes
20042 else
20043 ac_has_usleep=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 if test x"$ac_has_usleep" = x"yes"; then
20047
20048 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20049
20050 fi
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20052 $as_echo "$ac_has_usleep" >&6; }
20053 fi
20054
20055 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20057 $as_echo_n "checking for Sleep... " >&6; }
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060 #include <windows.h>
20061 int
20062 main ()
20063 {
20064 Sleep(1)
20065 ;
20066 return 0;
20067 }
20068 _ACEOF
20069 if ac_fn_cxx_try_compile "$LINENO"; then :
20070 ac_has_win32_sleep=yes
20071 else
20072 ac_has_win32_sleep=no
20073 fi
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 if test x"$ac_has_win32_sleep" = x"yes"; then
20076
20077 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20078
20079 fi
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20081 $as_echo "$ac_has_win32_sleep" >&6; }
20082 fi
20083
20084
20085
20086 CXXFLAGS="$ac_save_CXXFLAGS"
20087 LIBS="$ac_save_LIBS"
20088 ac_ext=c
20089 ac_cpp='$CPP $CPPFLAGS'
20090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20093
20094
20095
20096
20097 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20098 if test "x$ac_cv_header_locale_h" = x""yes; then :
20099
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20101 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20102 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20103 $as_echo_n "(cached) " >&6
20104 else
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <locale.h>
20108 int
20109 main ()
20110 {
20111 return LC_MESSAGES
20112 ;
20113 return 0;
20114 }
20115 _ACEOF
20116 if ac_fn_c_try_compile "$LINENO"; then :
20117 ac_cv_val_LC_MESSAGES=yes
20118 else
20119 ac_cv_val_LC_MESSAGES=no
20120 fi
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 fi
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20124 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20125 if test $ac_cv_val_LC_MESSAGES = yes; then
20126
20127 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20128
20129 fi
20130
20131 fi
20132
20133
20134
20135
20136 # For hardware_concurrency
20137 for ac_header in sys/sysinfo.h
20138 do :
20139 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20140 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20141 cat >>confdefs.h <<_ACEOF
20142 #define HAVE_SYS_SYSINFO_H 1
20143 _ACEOF
20144
20145 fi
20146
20147 done
20148
20149
20150
20151
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158 ac_save_CXXFLAGS="$CXXFLAGS"
20159 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20160
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20162 $as_echo_n "checking for get_nprocs... " >&6; }
20163 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20166
20167 if test x$gcc_no_link = xyes; then
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20170 #include <sys/sysinfo.h>
20171 int
20172 main ()
20173 {
20174 int n = get_nprocs();
20175 ;
20176 return 0;
20177 }
20178 _ACEOF
20179 if ac_fn_cxx_try_compile "$LINENO"; then :
20180 glibcxx_cv_GET_NPROCS=yes
20181 else
20182 glibcxx_cv_GET_NPROCS=no
20183 fi
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 else
20186 if test x$gcc_no_link = xyes; then
20187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20188 fi
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20191 #include <sys/sysinfo.h>
20192 int
20193 main ()
20194 {
20195 int n = get_nprocs();
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 if ac_fn_cxx_try_link "$LINENO"; then :
20201 glibcxx_cv_GET_NPROCS=yes
20202 else
20203 glibcxx_cv_GET_NPROCS=no
20204 fi
20205 rm -f core conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20207 fi
20208
20209 fi
20210
20211 if test $glibcxx_cv_GET_NPROCS = yes; then
20212
20213 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20214
20215 fi
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20217 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20218
20219 CXXFLAGS="$ac_save_CXXFLAGS"
20220 ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20225
20226
20227 for ac_header in unistd.h
20228 do :
20229 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20230 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20231 cat >>confdefs.h <<_ACEOF
20232 #define HAVE_UNISTD_H 1
20233 _ACEOF
20234
20235 fi
20236
20237 done
20238
20239
20240
20241
20242 ac_ext=cpp
20243 ac_cpp='$CXXCPP $CPPFLAGS'
20244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20247
20248 ac_save_CXXFLAGS="$CXXFLAGS"
20249 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20250
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20252 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20253 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20255 else
20256
20257 if test x$gcc_no_link = xyes; then
20258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20259 /* end confdefs.h. */
20260 #include <unistd.h>
20261 int
20262 main ()
20263 {
20264 int n = sysconf(_SC_NPROCESSORS_ONLN);
20265 ;
20266 return 0;
20267 }
20268 _ACEOF
20269 if ac_fn_cxx_try_compile "$LINENO"; then :
20270 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20271 else
20272 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20273 fi
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 else
20276 if test x$gcc_no_link = xyes; then
20277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20278 fi
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20281 #include <unistd.h>
20282 int
20283 main ()
20284 {
20285 int n = sysconf(_SC_NPROCESSORS_ONLN);
20286 ;
20287 return 0;
20288 }
20289 _ACEOF
20290 if ac_fn_cxx_try_link "$LINENO"; then :
20291 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20292 else
20293 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20294 fi
20295 rm -f core conftest.err conftest.$ac_objext \
20296 conftest$ac_exeext conftest.$ac_ext
20297 fi
20298
20299 fi
20300
20301 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20302
20303 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20304
20305 fi
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20307 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20308
20309 CXXFLAGS="$ac_save_CXXFLAGS"
20310 ac_ext=c
20311 ac_cpp='$CPP $CPPFLAGS'
20312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20315
20316
20317
20318
20319
20320 ac_ext=cpp
20321 ac_cpp='$CXXCPP $CPPFLAGS'
20322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20325
20326 ac_save_CXXFLAGS="$CXXFLAGS"
20327 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20328
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20330 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20331 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334
20335 if test x$gcc_no_link = xyes; then
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 #include <unistd.h>
20339 int
20340 main ()
20341 {
20342 int n = sysconf(_SC_NPROC_ONLN);
20343 ;
20344 return 0;
20345 }
20346 _ACEOF
20347 if ac_fn_cxx_try_compile "$LINENO"; then :
20348 glibcxx_cv_SC_NPROC_ONLN=yes
20349 else
20350 glibcxx_cv_SC_NPROC_ONLN=no
20351 fi
20352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 else
20354 if test x$gcc_no_link = xyes; then
20355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20356 fi
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20359 #include <unistd.h>
20360 int
20361 main ()
20362 {
20363 int n = sysconf(_SC_NPROC_ONLN);
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 if ac_fn_cxx_try_link "$LINENO"; then :
20369 glibcxx_cv_SC_NPROC_ONLN=yes
20370 else
20371 glibcxx_cv_SC_NPROC_ONLN=no
20372 fi
20373 rm -f core conftest.err conftest.$ac_objext \
20374 conftest$ac_exeext conftest.$ac_ext
20375 fi
20376
20377 fi
20378
20379 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20380
20381 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20382
20383 fi
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20385 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20386
20387 CXXFLAGS="$ac_save_CXXFLAGS"
20388 ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20393
20394
20395
20396
20397
20398 ac_ext=cpp
20399 ac_cpp='$CXXCPP $CPPFLAGS'
20400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20403
20404 ac_save_CXXFLAGS="$CXXFLAGS"
20405 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20406
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20408 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20409 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20410 $as_echo_n "(cached) " >&6
20411 else
20412
20413 if test x$gcc_no_link = xyes; then
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <pthread.h>
20417 int
20418 main ()
20419 {
20420 int n = pthread_num_processors_np();
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 if ac_fn_cxx_try_compile "$LINENO"; then :
20426 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20427 else
20428 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20429 fi
20430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 else
20432 if test x$gcc_no_link = xyes; then
20433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20434 fi
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <pthread.h>
20438 int
20439 main ()
20440 {
20441 int n = pthread_num_processors_np();
20442 ;
20443 return 0;
20444 }
20445 _ACEOF
20446 if ac_fn_cxx_try_link "$LINENO"; then :
20447 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20448 else
20449 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20450 fi
20451 rm -f core conftest.err conftest.$ac_objext \
20452 conftest$ac_exeext conftest.$ac_ext
20453 fi
20454
20455 fi
20456
20457 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20458
20459 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20460
20461 fi
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20463 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20464
20465 CXXFLAGS="$ac_save_CXXFLAGS"
20466 ac_ext=c
20467 ac_cpp='$CPP $CPPFLAGS'
20468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20471
20472
20473
20474
20475
20476 ac_ext=cpp
20477 ac_cpp='$CXXCPP $CPPFLAGS'
20478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20481
20482 ac_save_CXXFLAGS="$CXXFLAGS"
20483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20484
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20486 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20487 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20488 $as_echo_n "(cached) " >&6
20489 else
20490
20491 if test x$gcc_no_link = xyes; then
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494
20495 #include <stddef.h>
20496 #include <sys/sysctl.h>
20497
20498 int
20499 main ()
20500 {
20501
20502 int count;
20503 size_t size = sizeof(count);
20504 int mib[] = { CTL_HW, HW_NCPU };
20505 sysctl(mib, 2, &count, &size, NULL, 0);
20506
20507 ;
20508 return 0;
20509 }
20510 _ACEOF
20511 if ac_fn_cxx_try_compile "$LINENO"; then :
20512 glibcxx_cv_SYSCTL_HW_NCPU=yes
20513 else
20514 glibcxx_cv_SYSCTL_HW_NCPU=no
20515 fi
20516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20517 else
20518 if test x$gcc_no_link = xyes; then
20519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20520 fi
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20523
20524 #include <stddef.h>
20525 #include <sys/sysctl.h>
20526
20527 int
20528 main ()
20529 {
20530
20531 int count;
20532 size_t size = sizeof(count);
20533 int mib[] = { CTL_HW, HW_NCPU };
20534 sysctl(mib, 2, &count, &size, NULL, 0);
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 if ac_fn_cxx_try_link "$LINENO"; then :
20541 glibcxx_cv_SYSCTL_HW_NCPU=yes
20542 else
20543 glibcxx_cv_SYSCTL_HW_NCPU=no
20544 fi
20545 rm -f core conftest.err conftest.$ac_objext \
20546 conftest$ac_exeext conftest.$ac_ext
20547 fi
20548
20549 fi
20550
20551 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20552
20553 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20554
20555 fi
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20557 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20558
20559 CXXFLAGS="$ac_save_CXXFLAGS"
20560 ac_ext=c
20561 ac_cpp='$CPP $CPPFLAGS'
20562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20565
20566
20567
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20569 $as_echo "for suitable sys/sdt.h" >&6; }
20570 # Note that this test has to be run with the C language.
20571 # Otherwise, sdt.h will try to include some headers from
20572 # libstdc++ itself.
20573
20574 ac_ext=c
20575 ac_cpp='$CPP $CPPFLAGS'
20576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20579
20580 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20581 $as_echo_n "(cached) " >&6
20582 else
20583
20584 # Because we have to run the test in C, we use grep rather
20585 # than the compiler to check for the bug. The bug is that
20586 # were strings without trailing whitespace, causing g++
20587 # to look for operator"". The pattern searches for the fixed
20588 # output.
20589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20590 /* end confdefs.h. */
20591
20592 #include <sys/sdt.h>
20593 int f() { STAP_PROBE(hi, bob); }
20594
20595 _ACEOF
20596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20597 $EGREP " \",\" " >/dev/null 2>&1; then :
20598 glibcxx_cv_sys_sdt_h=yes
20599 else
20600 glibcxx_cv_sys_sdt_h=no
20601 fi
20602 rm -f conftest*
20603
20604
20605 fi
20606
20607 ac_ext=c
20608 ac_cpp='$CPP $CPPFLAGS'
20609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20612
20613 if test $glibcxx_cv_sys_sdt_h = yes; then
20614
20615 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20616
20617 fi
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20619 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20620
20621
20622 # Check for available headers.
20623 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20624 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20625 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20626 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20627 wchar.h wctype.h
20628 do :
20629 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20630 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20631 eval as_val=\$$as_ac_Header
20632 if test "x$as_val" = x""yes; then :
20633 cat >>confdefs.h <<_ACEOF
20634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20635 _ACEOF
20636
20637 fi
20638
20639 done
20640
20641
20642 # Only do link tests if native. Else, hardcode.
20643 if $GLIBCXX_IS_NATIVE; then
20644
20645 # We can do more elaborate tests that assume a working linker.
20646 CANADIAN=no
20647
20648
20649
20650 # Check whether --with-gnu-ld was given.
20651 if test "${with_gnu_ld+set}" = set; then :
20652 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20653 else
20654 with_gnu_ld=no
20655 fi
20656
20657 ac_prog=ld
20658 if test "$GCC" = yes; then
20659 # Check if gcc -print-prog-name=ld gives a path.
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20661 $as_echo_n "checking for ld used by $CC... " >&6; }
20662 case $host in
20663 *-*-mingw*)
20664 # gcc leaves a trailing carriage return which upsets mingw
20665 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20666 *)
20667 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20668 esac
20669 case $ac_prog in
20670 # Accept absolute paths.
20671 [\\/]* | ?:[\\/]*)
20672 re_direlt='/[^/][^/]*/\.\./'
20673 # Canonicalize the pathname of ld
20674 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20675 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20676 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20677 done
20678 test -z "$LD" && LD="$ac_prog"
20679 ;;
20680 "")
20681 # If it fails, then pretend we aren't using GCC.
20682 ac_prog=ld
20683 ;;
20684 *)
20685 # If it is relative, then search for the first ld in PATH.
20686 with_gnu_ld=unknown
20687 ;;
20688 esac
20689 elif test "$with_gnu_ld" = yes; then
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20691 $as_echo_n "checking for GNU ld... " >&6; }
20692 else
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20694 $as_echo_n "checking for non-GNU ld... " >&6; }
20695 fi
20696 if test "${lt_cv_path_LD+set}" = set; then :
20697 $as_echo_n "(cached) " >&6
20698 else
20699 if test -z "$LD"; then
20700 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20701 for ac_dir in $PATH; do
20702 IFS="$lt_save_ifs"
20703 test -z "$ac_dir" && ac_dir=.
20704 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20705 lt_cv_path_LD="$ac_dir/$ac_prog"
20706 # Check to see if the program is GNU ld. I'd rather use --version,
20707 # but apparently some variants of GNU ld only accept -v.
20708 # Break only if it was the GNU/non-GNU ld that we prefer.
20709 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20710 *GNU* | *'with BFD'*)
20711 test "$with_gnu_ld" != no && break
20712 ;;
20713 *)
20714 test "$with_gnu_ld" != yes && break
20715 ;;
20716 esac
20717 fi
20718 done
20719 IFS="$lt_save_ifs"
20720 else
20721 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20722 fi
20723 fi
20724
20725 LD="$lt_cv_path_LD"
20726 if test -n "$LD"; then
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20728 $as_echo "$LD" >&6; }
20729 else
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20731 $as_echo "no" >&6; }
20732 fi
20733 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20735 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20736 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20738 else
20739 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20740 case `$LD -v 2>&1 </dev/null` in
20741 *GNU* | *'with BFD'*)
20742 lt_cv_prog_gnu_ld=yes
20743 ;;
20744 *)
20745 lt_cv_prog_gnu_ld=no
20746 ;;
20747 esac
20748 fi
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20750 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20751 with_gnu_ld=$lt_cv_prog_gnu_ld
20752
20753
20754
20755
20756
20757
20758
20759 # If we're not using GNU ld, then there's no point in even trying these
20760 # tests. Check for that first. We should have already tested for gld
20761 # by now (in libtool), but require it now just to be safe...
20762 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20763 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20764
20765
20766
20767 # The name set by libtool depends on the version of libtool. Shame on us
20768 # for depending on an impl detail, but c'est la vie. Older versions used
20769 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20770 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20771 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20772 # set (hence we're using an older libtool), then set it.
20773 if test x${with_gnu_ld+set} != xset; then
20774 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20775 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20776 with_gnu_ld=no
20777 else
20778 with_gnu_ld=$ac_cv_prog_gnu_ld
20779 fi
20780 fi
20781
20782 # Start by getting the version number. I think the libtool test already
20783 # does some of this, but throws away the result.
20784 glibcxx_ld_is_gold=no
20785 if test x"$with_gnu_ld" = x"yes"; then
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20787 $as_echo_n "checking for ld version... " >&6; }
20788
20789 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20790 glibcxx_ld_is_gold=yes
20791 fi
20792 ldver=`$LD --version 2>/dev/null |
20793 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'`
20794
20795 glibcxx_gnu_ld_version=`echo $ldver | \
20796 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20798 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20799 fi
20800
20801 # Set --gc-sections.
20802 glibcxx_have_gc_sections=no
20803 if test "$glibcxx_ld_is_gold" = "yes"; then
20804 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20805 glibcxx_have_gc_sections=yes
20806 fi
20807 else
20808 glibcxx_gcsections_min_ld=21602
20809 if test x"$with_gnu_ld" = x"yes" &&
20810 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20811 glibcxx_have_gc_sections=yes
20812 fi
20813 fi
20814 if test "$glibcxx_have_gc_sections" = "yes"; then
20815 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20816 # NB: This flag only works reliably after 2.16.1. Configure tests
20817 # for this are difficult, so hard wire a value that should work.
20818
20819 ac_test_CFLAGS="${CFLAGS+set}"
20820 ac_save_CFLAGS="$CFLAGS"
20821 CFLAGS='-Wl,--gc-sections'
20822
20823 # Check for -Wl,--gc-sections
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20825 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20826 if test x$gcc_no_link = xyes; then
20827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20828 fi
20829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20831 int one(void) { return 1; }
20832 int two(void) { return 2; }
20833
20834 int
20835 main ()
20836 {
20837 two();
20838 ;
20839 return 0;
20840 }
20841 _ACEOF
20842 if ac_fn_c_try_link "$LINENO"; then :
20843 ac_gcsections=yes
20844 else
20845 ac_gcsections=no
20846 fi
20847 rm -f core conftest.err conftest.$ac_objext \
20848 conftest$ac_exeext conftest.$ac_ext
20849 if test "$ac_gcsections" = "yes"; then
20850 rm -f conftest.c
20851 touch conftest.c
20852 if $CC -c conftest.c; then
20853 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20854 grep "Warning: gc-sections option ignored" > /dev/null; then
20855 ac_gcsections=no
20856 fi
20857 fi
20858 rm -f conftest.c conftest.o conftest
20859 fi
20860 if test "$ac_gcsections" = "yes"; then
20861 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20862 fi
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20864 $as_echo "$ac_gcsections" >&6; }
20865
20866 if test "$ac_test_CFLAGS" = set; then
20867 CFLAGS="$ac_save_CFLAGS"
20868 else
20869 # this is the suspicious part
20870 CFLAGS=''
20871 fi
20872 fi
20873
20874 # Set -z,relro.
20875 # Note this is only for shared objects.
20876 ac_ld_relro=no
20877 if test x"$with_gnu_ld" = x"yes"; then
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20879 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20880 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20881 if test -n "$cxx_z_relo"; then
20882 OPT_LDFLAGS="-Wl,-z,relro"
20883 ac_ld_relro=yes
20884 fi
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20886 $as_echo "$ac_ld_relro" >&6; }
20887 fi
20888
20889 # Set linker optimization flags.
20890 if test x"$with_gnu_ld" = x"yes"; then
20891 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20892 fi
20893
20894
20895
20896
20897
20898 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20899 ac_save_CXXFLAGS="$CXXFLAGS"
20900 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20901
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20903 $as_echo_n "checking for sin in -lm... " >&6; }
20904 if test "${ac_cv_lib_m_sin+set}" = set; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20907 ac_check_lib_save_LIBS=$LIBS
20908 LIBS="-lm $LIBS"
20909 if test x$gcc_no_link = xyes; then
20910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20911 fi
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20914
20915 /* Override any GCC internal prototype to avoid an error.
20916 Use char because int might match the return type of a GCC
20917 builtin and then its argument prototype would still apply. */
20918 #ifdef __cplusplus
20919 extern "C"
20920 #endif
20921 char sin ();
20922 int
20923 main ()
20924 {
20925 return sin ();
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 if ac_fn_c_try_link "$LINENO"; then :
20931 ac_cv_lib_m_sin=yes
20932 else
20933 ac_cv_lib_m_sin=no
20934 fi
20935 rm -f core conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20937 LIBS=$ac_check_lib_save_LIBS
20938 fi
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20940 $as_echo "$ac_cv_lib_m_sin" >&6; }
20941 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20942 libm="-lm"
20943 fi
20944
20945 ac_save_LIBS="$LIBS"
20946 LIBS="$LIBS $libm"
20947
20948
20949
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20951 $as_echo_n "checking for isinf declaration... " >&6; }
20952 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20953 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20954 $as_echo_n "(cached) " >&6
20955 else
20956
20957
20958 ac_ext=cpp
20959 ac_cpp='$CXXCPP $CPPFLAGS'
20960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20963
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #include <math.h>
20967 #ifdef HAVE_IEEEFP_H
20968 #include <ieeefp.h>
20969 #endif
20970
20971 int
20972 main ()
20973 {
20974 isinf(0);
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
20979 if ac_fn_cxx_try_compile "$LINENO"; then :
20980 glibcxx_cv_func_isinf_use=yes
20981 else
20982 glibcxx_cv_func_isinf_use=no
20983 fi
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 ac_ext=c
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20990
20991
20992 fi
20993
20994 fi
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20996 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20997
20998 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20999 for ac_func in isinf
21000 do :
21001 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21002 if test "x$ac_cv_func_isinf" = x""yes; then :
21003 cat >>confdefs.h <<_ACEOF
21004 #define HAVE_ISINF 1
21005 _ACEOF
21006
21007 fi
21008 done
21009
21010 else
21011
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21013 $as_echo_n "checking for _isinf declaration... " >&6; }
21014 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21015 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21016 $as_echo_n "(cached) " >&6
21017 else
21018
21019
21020 ac_ext=cpp
21021 ac_cpp='$CXXCPP $CPPFLAGS'
21022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21025
21026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21027 /* end confdefs.h. */
21028 #include <math.h>
21029 #ifdef HAVE_IEEEFP_H
21030 #include <ieeefp.h>
21031 #endif
21032
21033 int
21034 main ()
21035 {
21036 _isinf(0);
21037 ;
21038 return 0;
21039 }
21040 _ACEOF
21041 if ac_fn_cxx_try_compile "$LINENO"; then :
21042 glibcxx_cv_func__isinf_use=yes
21043 else
21044 glibcxx_cv_func__isinf_use=no
21045 fi
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 ac_ext=c
21048 ac_cpp='$CPP $CPPFLAGS'
21049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052
21053
21054 fi
21055
21056 fi
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21058 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21059
21060 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21061 for ac_func in _isinf
21062 do :
21063 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21064 if test "x$ac_cv_func__isinf" = x""yes; then :
21065 cat >>confdefs.h <<_ACEOF
21066 #define HAVE__ISINF 1
21067 _ACEOF
21068
21069 fi
21070 done
21071
21072 fi
21073 fi
21074
21075
21076
21077
21078
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21080 $as_echo_n "checking for isnan declaration... " >&6; }
21081 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21082 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21083 $as_echo_n "(cached) " >&6
21084 else
21085
21086
21087 ac_ext=cpp
21088 ac_cpp='$CXXCPP $CPPFLAGS'
21089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21092
21093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21094 /* end confdefs.h. */
21095 #include <math.h>
21096 #ifdef HAVE_IEEEFP_H
21097 #include <ieeefp.h>
21098 #endif
21099
21100 int
21101 main ()
21102 {
21103 isnan(0);
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109 glibcxx_cv_func_isnan_use=yes
21110 else
21111 glibcxx_cv_func_isnan_use=no
21112 fi
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 ac_ext=c
21115 ac_cpp='$CPP $CPPFLAGS'
21116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21119
21120
21121 fi
21122
21123 fi
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21125 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21126
21127 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21128 for ac_func in isnan
21129 do :
21130 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21131 if test "x$ac_cv_func_isnan" = x""yes; then :
21132 cat >>confdefs.h <<_ACEOF
21133 #define HAVE_ISNAN 1
21134 _ACEOF
21135
21136 fi
21137 done
21138
21139 else
21140
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21142 $as_echo_n "checking for _isnan declaration... " >&6; }
21143 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21144 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21145 $as_echo_n "(cached) " >&6
21146 else
21147
21148
21149 ac_ext=cpp
21150 ac_cpp='$CXXCPP $CPPFLAGS'
21151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21154
21155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21157 #include <math.h>
21158 #ifdef HAVE_IEEEFP_H
21159 #include <ieeefp.h>
21160 #endif
21161
21162 int
21163 main ()
21164 {
21165 _isnan(0);
21166 ;
21167 return 0;
21168 }
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 glibcxx_cv_func__isnan_use=yes
21172 else
21173 glibcxx_cv_func__isnan_use=no
21174 fi
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 ac_ext=c
21177 ac_cpp='$CPP $CPPFLAGS'
21178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21181
21182
21183 fi
21184
21185 fi
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21187 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21188
21189 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21190 for ac_func in _isnan
21191 do :
21192 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21193 if test "x$ac_cv_func__isnan" = x""yes; then :
21194 cat >>confdefs.h <<_ACEOF
21195 #define HAVE__ISNAN 1
21196 _ACEOF
21197
21198 fi
21199 done
21200
21201 fi
21202 fi
21203
21204
21205
21206
21207
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21209 $as_echo_n "checking for finite declaration... " >&6; }
21210 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21211 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21212 $as_echo_n "(cached) " >&6
21213 else
21214
21215
21216 ac_ext=cpp
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21221
21222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21223 /* end confdefs.h. */
21224 #include <math.h>
21225 #ifdef HAVE_IEEEFP_H
21226 #include <ieeefp.h>
21227 #endif
21228
21229 int
21230 main ()
21231 {
21232 finite(0);
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_func_finite_use=yes
21239 else
21240 glibcxx_cv_func_finite_use=no
21241 fi
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 ac_ext=c
21244 ac_cpp='$CPP $CPPFLAGS'
21245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21248
21249
21250 fi
21251
21252 fi
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21254 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21255
21256 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21257 for ac_func in finite
21258 do :
21259 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21260 if test "x$ac_cv_func_finite" = x""yes; then :
21261 cat >>confdefs.h <<_ACEOF
21262 #define HAVE_FINITE 1
21263 _ACEOF
21264
21265 fi
21266 done
21267
21268 else
21269
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21271 $as_echo_n "checking for _finite declaration... " >&6; }
21272 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21273 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21275 else
21276
21277
21278 ac_ext=cpp
21279 ac_cpp='$CXXCPP $CPPFLAGS'
21280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21283
21284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21285 /* end confdefs.h. */
21286 #include <math.h>
21287 #ifdef HAVE_IEEEFP_H
21288 #include <ieeefp.h>
21289 #endif
21290
21291 int
21292 main ()
21293 {
21294 _finite(0);
21295 ;
21296 return 0;
21297 }
21298 _ACEOF
21299 if ac_fn_cxx_try_compile "$LINENO"; then :
21300 glibcxx_cv_func__finite_use=yes
21301 else
21302 glibcxx_cv_func__finite_use=no
21303 fi
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310
21311
21312 fi
21313
21314 fi
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21316 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21317
21318 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21319 for ac_func in _finite
21320 do :
21321 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21322 if test "x$ac_cv_func__finite" = x""yes; then :
21323 cat >>confdefs.h <<_ACEOF
21324 #define HAVE__FINITE 1
21325 _ACEOF
21326
21327 fi
21328 done
21329
21330 fi
21331 fi
21332
21333
21334
21335
21336
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21338 $as_echo_n "checking for sincos declaration... " >&6; }
21339 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21340 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21343
21344
21345 ac_ext=cpp
21346 ac_cpp='$CXXCPP $CPPFLAGS'
21347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21350
21351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21353 #include <math.h>
21354 int
21355 main ()
21356 {
21357 sincos(0, 0, 0);
21358 ;
21359 return 0;
21360 }
21361 _ACEOF
21362 if ac_fn_cxx_try_compile "$LINENO"; then :
21363 glibcxx_cv_func_sincos_use=yes
21364 else
21365 glibcxx_cv_func_sincos_use=no
21366 fi
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ac_ext=c
21369 ac_cpp='$CPP $CPPFLAGS'
21370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21373
21374
21375 fi
21376
21377 fi
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21379 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21380
21381 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21382 for ac_func in sincos
21383 do :
21384 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21385 if test "x$ac_cv_func_sincos" = x""yes; then :
21386 cat >>confdefs.h <<_ACEOF
21387 #define HAVE_SINCOS 1
21388 _ACEOF
21389
21390 fi
21391 done
21392
21393 else
21394
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21396 $as_echo_n "checking for _sincos declaration... " >&6; }
21397 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21398 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21399 $as_echo_n "(cached) " >&6
21400 else
21401
21402
21403 ac_ext=cpp
21404 ac_cpp='$CXXCPP $CPPFLAGS'
21405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21408
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 #include <math.h>
21412 int
21413 main ()
21414 {
21415 _sincos(0, 0, 0);
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 if ac_fn_cxx_try_compile "$LINENO"; then :
21421 glibcxx_cv_func__sincos_use=yes
21422 else
21423 glibcxx_cv_func__sincos_use=no
21424 fi
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21426 ac_ext=c
21427 ac_cpp='$CPP $CPPFLAGS'
21428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21431
21432
21433 fi
21434
21435 fi
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21437 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21438
21439 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21440 for ac_func in _sincos
21441 do :
21442 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21443 if test "x$ac_cv_func__sincos" = x""yes; then :
21444 cat >>confdefs.h <<_ACEOF
21445 #define HAVE__SINCOS 1
21446 _ACEOF
21447
21448 fi
21449 done
21450
21451 fi
21452 fi
21453
21454
21455
21456
21457
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21459 $as_echo_n "checking for fpclass declaration... " >&6; }
21460 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21461 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21462 $as_echo_n "(cached) " >&6
21463 else
21464
21465
21466 ac_ext=cpp
21467 ac_cpp='$CXXCPP $CPPFLAGS'
21468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21471
21472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21473 /* end confdefs.h. */
21474 #include <math.h>
21475 #ifdef HAVE_IEEEFP_H
21476 #include <ieeefp.h>
21477 #endif
21478
21479 int
21480 main ()
21481 {
21482 fpclass(0);
21483 ;
21484 return 0;
21485 }
21486 _ACEOF
21487 if ac_fn_cxx_try_compile "$LINENO"; then :
21488 glibcxx_cv_func_fpclass_use=yes
21489 else
21490 glibcxx_cv_func_fpclass_use=no
21491 fi
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 ac_ext=c
21494 ac_cpp='$CPP $CPPFLAGS'
21495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21498
21499
21500 fi
21501
21502 fi
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21504 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21505
21506 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21507 for ac_func in fpclass
21508 do :
21509 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21510 if test "x$ac_cv_func_fpclass" = x""yes; then :
21511 cat >>confdefs.h <<_ACEOF
21512 #define HAVE_FPCLASS 1
21513 _ACEOF
21514
21515 fi
21516 done
21517
21518 else
21519
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21521 $as_echo_n "checking for _fpclass declaration... " >&6; }
21522 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21523 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21526
21527
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21533
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21537 #ifdef HAVE_IEEEFP_H
21538 #include <ieeefp.h>
21539 #endif
21540
21541 int
21542 main ()
21543 {
21544 _fpclass(0);
21545 ;
21546 return 0;
21547 }
21548 _ACEOF
21549 if ac_fn_cxx_try_compile "$LINENO"; then :
21550 glibcxx_cv_func__fpclass_use=yes
21551 else
21552 glibcxx_cv_func__fpclass_use=no
21553 fi
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21555 ac_ext=c
21556 ac_cpp='$CPP $CPPFLAGS'
21557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21560
21561
21562 fi
21563
21564 fi
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21566 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21567
21568 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21569 for ac_func in _fpclass
21570 do :
21571 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21572 if test "x$ac_cv_func__fpclass" = x""yes; then :
21573 cat >>confdefs.h <<_ACEOF
21574 #define HAVE__FPCLASS 1
21575 _ACEOF
21576
21577 fi
21578 done
21579
21580 fi
21581 fi
21582
21583
21584
21585
21586
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21588 $as_echo_n "checking for qfpclass declaration... " >&6; }
21589 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21590 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21591 $as_echo_n "(cached) " >&6
21592 else
21593
21594
21595 ac_ext=cpp
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21600
21601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21603 #include <math.h>
21604 #ifdef HAVE_IEEEFP_H
21605 #include <ieeefp.h>
21606 #endif
21607
21608 int
21609 main ()
21610 {
21611 qfpclass(0);
21612 ;
21613 return 0;
21614 }
21615 _ACEOF
21616 if ac_fn_cxx_try_compile "$LINENO"; then :
21617 glibcxx_cv_func_qfpclass_use=yes
21618 else
21619 glibcxx_cv_func_qfpclass_use=no
21620 fi
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 ac_ext=c
21623 ac_cpp='$CPP $CPPFLAGS'
21624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21627
21628
21629 fi
21630
21631 fi
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21633 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21634
21635 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21636 for ac_func in qfpclass
21637 do :
21638 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21639 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21640 cat >>confdefs.h <<_ACEOF
21641 #define HAVE_QFPCLASS 1
21642 _ACEOF
21643
21644 fi
21645 done
21646
21647 else
21648
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21650 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21651 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21652 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21653 $as_echo_n "(cached) " >&6
21654 else
21655
21656
21657 ac_ext=cpp
21658 ac_cpp='$CXXCPP $CPPFLAGS'
21659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21662
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21665 #include <math.h>
21666 #ifdef HAVE_IEEEFP_H
21667 #include <ieeefp.h>
21668 #endif
21669
21670 int
21671 main ()
21672 {
21673 _qfpclass(0);
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 if ac_fn_cxx_try_compile "$LINENO"; then :
21679 glibcxx_cv_func__qfpclass_use=yes
21680 else
21681 glibcxx_cv_func__qfpclass_use=no
21682 fi
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 ac_ext=c
21685 ac_cpp='$CPP $CPPFLAGS'
21686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21689
21690
21691 fi
21692
21693 fi
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21695 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21696
21697 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21698 for ac_func in _qfpclass
21699 do :
21700 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21701 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21702 cat >>confdefs.h <<_ACEOF
21703 #define HAVE__QFPCLASS 1
21704 _ACEOF
21705
21706 fi
21707 done
21708
21709 fi
21710 fi
21711
21712
21713
21714
21715
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21717 $as_echo_n "checking for hypot declaration... " >&6; }
21718 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21719 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21720 $as_echo_n "(cached) " >&6
21721 else
21722
21723
21724 ac_ext=cpp
21725 ac_cpp='$CXXCPP $CPPFLAGS'
21726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21729
21730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21732 #include <math.h>
21733 int
21734 main ()
21735 {
21736 hypot(0, 0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_hypot_use=yes
21743 else
21744 glibcxx_cv_func_hypot_use=no
21745 fi
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21752
21753
21754 fi
21755
21756 fi
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21758 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21759
21760 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21761 for ac_func in hypot
21762 do :
21763 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21764 if test "x$ac_cv_func_hypot" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_HYPOT 1
21767 _ACEOF
21768
21769 fi
21770 done
21771
21772 else
21773
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21775 $as_echo_n "checking for _hypot declaration... " >&6; }
21776 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21777 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21780
21781
21782 ac_ext=cpp
21783 ac_cpp='$CXXCPP $CPPFLAGS'
21784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21787
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21790 #include <math.h>
21791 int
21792 main ()
21793 {
21794 _hypot(0, 0);
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 if ac_fn_cxx_try_compile "$LINENO"; then :
21800 glibcxx_cv_func__hypot_use=yes
21801 else
21802 glibcxx_cv_func__hypot_use=no
21803 fi
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 ac_ext=c
21806 ac_cpp='$CPP $CPPFLAGS'
21807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21810
21811
21812 fi
21813
21814 fi
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21816 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21817
21818 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21819 for ac_func in _hypot
21820 do :
21821 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21822 if test "x$ac_cv_func__hypot" = x""yes; then :
21823 cat >>confdefs.h <<_ACEOF
21824 #define HAVE__HYPOT 1
21825 _ACEOF
21826
21827 fi
21828 done
21829
21830 fi
21831 fi
21832
21833
21834
21835
21836
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21838 $as_echo_n "checking for float trig functions... " >&6; }
21839 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21840 $as_echo_n "(cached) " >&6
21841 else
21842
21843
21844 ac_ext=cpp
21845 ac_cpp='$CXXCPP $CPPFLAGS'
21846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21849
21850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h. */
21852 #include <math.h>
21853 int
21854 main ()
21855 {
21856 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21857 ;
21858 return 0;
21859 }
21860 _ACEOF
21861 if ac_fn_cxx_try_compile "$LINENO"; then :
21862 glibcxx_cv_func_float_trig_use=yes
21863 else
21864 glibcxx_cv_func_float_trig_use=no
21865 fi
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867 ac_ext=c
21868 ac_cpp='$CPP $CPPFLAGS'
21869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21872
21873 fi
21874
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21876 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21877 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21878 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21879 do :
21880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21882 eval as_val=\$$as_ac_var
21883 if test "x$as_val" = x""yes; then :
21884 cat >>confdefs.h <<_ACEOF
21885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21886 _ACEOF
21887
21888 fi
21889 done
21890
21891 else
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21893 $as_echo_n "checking for _float trig functions... " >&6; }
21894 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21895 $as_echo_n "(cached) " >&6
21896 else
21897
21898
21899 ac_ext=cpp
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21904
21905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21906 /* end confdefs.h. */
21907 #include <math.h>
21908 int
21909 main ()
21910 {
21911 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21912 ;
21913 return 0;
21914 }
21915 _ACEOF
21916 if ac_fn_cxx_try_compile "$LINENO"; then :
21917 glibcxx_cv_func__float_trig_use=yes
21918 else
21919 glibcxx_cv_func__float_trig_use=no
21920 fi
21921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21922 ac_ext=c
21923 ac_cpp='$CPP $CPPFLAGS'
21924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21927
21928 fi
21929
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21931 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21932 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21933 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21934 do :
21935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21937 eval as_val=\$$as_ac_var
21938 if test "x$as_val" = x""yes; then :
21939 cat >>confdefs.h <<_ACEOF
21940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21941 _ACEOF
21942
21943 fi
21944 done
21945
21946 fi
21947 fi
21948
21949
21950
21951
21952
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21954 $as_echo_n "checking for float round functions... " >&6; }
21955 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21956 $as_echo_n "(cached) " >&6
21957 else
21958
21959
21960 ac_ext=cpp
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21965
21966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h. */
21968 #include <math.h>
21969 int
21970 main ()
21971 {
21972 ceilf (0); floorf (0);
21973 ;
21974 return 0;
21975 }
21976 _ACEOF
21977 if ac_fn_cxx_try_compile "$LINENO"; then :
21978 glibcxx_cv_func_float_round_use=yes
21979 else
21980 glibcxx_cv_func_float_round_use=no
21981 fi
21982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21983 ac_ext=c
21984 ac_cpp='$CPP $CPPFLAGS'
21985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988
21989 fi
21990
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21992 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21993 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21994 for ac_func in ceilf floorf
21995 do :
21996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21998 eval as_val=\$$as_ac_var
21999 if test "x$as_val" = x""yes; then :
22000 cat >>confdefs.h <<_ACEOF
22001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22002 _ACEOF
22003
22004 fi
22005 done
22006
22007 else
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22009 $as_echo_n "checking for _float round functions... " >&6; }
22010 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22011 $as_echo_n "(cached) " >&6
22012 else
22013
22014
22015 ac_ext=cpp
22016 ac_cpp='$CXXCPP $CPPFLAGS'
22017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22020
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22023 #include <math.h>
22024 int
22025 main ()
22026 {
22027 _ceilf (0); _floorf (0);
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 if ac_fn_cxx_try_compile "$LINENO"; then :
22033 glibcxx_cv_func__float_round_use=yes
22034 else
22035 glibcxx_cv_func__float_round_use=no
22036 fi
22037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22038 ac_ext=c
22039 ac_cpp='$CPP $CPPFLAGS'
22040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22043
22044 fi
22045
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22047 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22048 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22049 for ac_func in _ceilf _floorf
22050 do :
22051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22053 eval as_val=\$$as_ac_var
22054 if test "x$as_val" = x""yes; then :
22055 cat >>confdefs.h <<_ACEOF
22056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22057 _ACEOF
22058
22059 fi
22060 done
22061
22062 fi
22063 fi
22064
22065
22066
22067
22068
22069
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22071 $as_echo_n "checking for expf declaration... " >&6; }
22072 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22073 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22074 $as_echo_n "(cached) " >&6
22075 else
22076
22077
22078 ac_ext=cpp
22079 ac_cpp='$CXXCPP $CPPFLAGS'
22080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22083
22084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22086 #include <math.h>
22087 #ifdef HAVE_IEEEFP_H
22088 #include <ieeefp.h>
22089 #endif
22090
22091 int
22092 main ()
22093 {
22094 expf(0);
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 if ac_fn_cxx_try_compile "$LINENO"; then :
22100 glibcxx_cv_func_expf_use=yes
22101 else
22102 glibcxx_cv_func_expf_use=no
22103 fi
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ac_ext=c
22106 ac_cpp='$CPP $CPPFLAGS'
22107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22110
22111
22112 fi
22113
22114 fi
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22116 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22117
22118 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22119 for ac_func in expf
22120 do :
22121 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22122 if test "x$ac_cv_func_expf" = x""yes; then :
22123 cat >>confdefs.h <<_ACEOF
22124 #define HAVE_EXPF 1
22125 _ACEOF
22126
22127 fi
22128 done
22129
22130 else
22131
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22133 $as_echo_n "checking for _expf declaration... " >&6; }
22134 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22135 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22138
22139
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22145
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22149 #ifdef HAVE_IEEEFP_H
22150 #include <ieeefp.h>
22151 #endif
22152
22153 int
22154 main ()
22155 {
22156 _expf(0);
22157 ;
22158 return 0;
22159 }
22160 _ACEOF
22161 if ac_fn_cxx_try_compile "$LINENO"; then :
22162 glibcxx_cv_func__expf_use=yes
22163 else
22164 glibcxx_cv_func__expf_use=no
22165 fi
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22172
22173
22174 fi
22175
22176 fi
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22178 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22179
22180 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22181 for ac_func in _expf
22182 do :
22183 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22184 if test "x$ac_cv_func__expf" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE__EXPF 1
22187 _ACEOF
22188
22189 fi
22190 done
22191
22192 fi
22193 fi
22194
22195
22196
22197
22198
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22200 $as_echo_n "checking for isnanf declaration... " >&6; }
22201 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22202 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22203 $as_echo_n "(cached) " >&6
22204 else
22205
22206
22207 ac_ext=cpp
22208 ac_cpp='$CXXCPP $CPPFLAGS'
22209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22212
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 #include <math.h>
22216 #ifdef HAVE_IEEEFP_H
22217 #include <ieeefp.h>
22218 #endif
22219
22220 int
22221 main ()
22222 {
22223 isnanf(0);
22224 ;
22225 return 0;
22226 }
22227 _ACEOF
22228 if ac_fn_cxx_try_compile "$LINENO"; then :
22229 glibcxx_cv_func_isnanf_use=yes
22230 else
22231 glibcxx_cv_func_isnanf_use=no
22232 fi
22233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ac_ext=c
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22239
22240
22241 fi
22242
22243 fi
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22245 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22246
22247 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22248 for ac_func in isnanf
22249 do :
22250 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22251 if test "x$ac_cv_func_isnanf" = x""yes; then :
22252 cat >>confdefs.h <<_ACEOF
22253 #define HAVE_ISNANF 1
22254 _ACEOF
22255
22256 fi
22257 done
22258
22259 else
22260
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22262 $as_echo_n "checking for _isnanf declaration... " >&6; }
22263 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22264 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22265 $as_echo_n "(cached) " >&6
22266 else
22267
22268
22269 ac_ext=cpp
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22274
22275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h. */
22277 #include <math.h>
22278 #ifdef HAVE_IEEEFP_H
22279 #include <ieeefp.h>
22280 #endif
22281
22282 int
22283 main ()
22284 {
22285 _isnanf(0);
22286 ;
22287 return 0;
22288 }
22289 _ACEOF
22290 if ac_fn_cxx_try_compile "$LINENO"; then :
22291 glibcxx_cv_func__isnanf_use=yes
22292 else
22293 glibcxx_cv_func__isnanf_use=no
22294 fi
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22301
22302
22303 fi
22304
22305 fi
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22307 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22308
22309 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22310 for ac_func in _isnanf
22311 do :
22312 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22313 if test "x$ac_cv_func__isnanf" = x""yes; then :
22314 cat >>confdefs.h <<_ACEOF
22315 #define HAVE__ISNANF 1
22316 _ACEOF
22317
22318 fi
22319 done
22320
22321 fi
22322 fi
22323
22324
22325
22326
22327
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22329 $as_echo_n "checking for isinff declaration... " >&6; }
22330 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22331 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22332 $as_echo_n "(cached) " >&6
22333 else
22334
22335
22336 ac_ext=cpp
22337 ac_cpp='$CXXCPP $CPPFLAGS'
22338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22341
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22344 #include <math.h>
22345 #ifdef HAVE_IEEEFP_H
22346 #include <ieeefp.h>
22347 #endif
22348
22349 int
22350 main ()
22351 {
22352 isinff(0);
22353 ;
22354 return 0;
22355 }
22356 _ACEOF
22357 if ac_fn_cxx_try_compile "$LINENO"; then :
22358 glibcxx_cv_func_isinff_use=yes
22359 else
22360 glibcxx_cv_func_isinff_use=no
22361 fi
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 ac_ext=c
22364 ac_cpp='$CPP $CPPFLAGS'
22365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22368
22369
22370 fi
22371
22372 fi
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22374 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22375
22376 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22377 for ac_func in isinff
22378 do :
22379 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22380 if test "x$ac_cv_func_isinff" = x""yes; then :
22381 cat >>confdefs.h <<_ACEOF
22382 #define HAVE_ISINFF 1
22383 _ACEOF
22384
22385 fi
22386 done
22387
22388 else
22389
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22391 $as_echo_n "checking for _isinff declaration... " >&6; }
22392 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22393 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22395 else
22396
22397
22398 ac_ext=cpp
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403
22404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22405 /* end confdefs.h. */
22406 #include <math.h>
22407 #ifdef HAVE_IEEEFP_H
22408 #include <ieeefp.h>
22409 #endif
22410
22411 int
22412 main ()
22413 {
22414 _isinff(0);
22415 ;
22416 return 0;
22417 }
22418 _ACEOF
22419 if ac_fn_cxx_try_compile "$LINENO"; then :
22420 glibcxx_cv_func__isinff_use=yes
22421 else
22422 glibcxx_cv_func__isinff_use=no
22423 fi
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 ac_ext=c
22426 ac_cpp='$CPP $CPPFLAGS'
22427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22430
22431
22432 fi
22433
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22436 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22437
22438 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22439 for ac_func in _isinff
22440 do :
22441 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22442 if test "x$ac_cv_func__isinff" = x""yes; then :
22443 cat >>confdefs.h <<_ACEOF
22444 #define HAVE__ISINFF 1
22445 _ACEOF
22446
22447 fi
22448 done
22449
22450 fi
22451 fi
22452
22453
22454
22455
22456
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22458 $as_echo_n "checking for atan2f declaration... " >&6; }
22459 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22460 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22463
22464
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22470
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22474 int
22475 main ()
22476 {
22477 atan2f(0, 0);
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_atan2f_use=yes
22484 else
22485 glibcxx_cv_func_atan2f_use=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495 fi
22496
22497 fi
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22499 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22500
22501 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22502 for ac_func in atan2f
22503 do :
22504 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22505 if test "x$ac_cv_func_atan2f" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_ATAN2F 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513 else
22514
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22516 $as_echo_n "checking for _atan2f declaration... " >&6; }
22517 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22518 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22521
22522
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22528
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22532 int
22533 main ()
22534 {
22535 _atan2f(0, 0);
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func__atan2f_use=yes
22542 else
22543 glibcxx_cv_func__atan2f_use=no
22544 fi
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22551
22552
22553 fi
22554
22555 fi
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22557 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22558
22559 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22560 for ac_func in _atan2f
22561 do :
22562 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22563 if test "x$ac_cv_func__atan2f" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE__ATAN2F 1
22566 _ACEOF
22567
22568 fi
22569 done
22570
22571 fi
22572 fi
22573
22574
22575
22576
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22579 $as_echo_n "checking for fabsf declaration... " >&6; }
22580 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22581 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22584
22585
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 #ifdef HAVE_IEEEFP_H
22596 #include <ieeefp.h>
22597 #endif
22598
22599 int
22600 main ()
22601 {
22602 fabsf(0);
22603 ;
22604 return 0;
22605 }
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func_fabsf_use=yes
22609 else
22610 glibcxx_cv_func_fabsf_use=no
22611 fi
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618
22619
22620 fi
22621
22622 fi
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22624 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22625
22626 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22627 for ac_func in fabsf
22628 do :
22629 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22630 if test "x$ac_cv_func_fabsf" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_FABSF 1
22633 _ACEOF
22634
22635 fi
22636 done
22637
22638 else
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22641 $as_echo_n "checking for _fabsf declaration... " >&6; }
22642 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22643 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22646
22647
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22653
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22657 #ifdef HAVE_IEEEFP_H
22658 #include <ieeefp.h>
22659 #endif
22660
22661 int
22662 main ()
22663 {
22664 _fabsf(0);
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func__fabsf_use=yes
22671 else
22672 glibcxx_cv_func__fabsf_use=no
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22680
22681
22682 fi
22683
22684 fi
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22686 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22687
22688 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22689 for ac_func in _fabsf
22690 do :
22691 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22692 if test "x$ac_cv_func__fabsf" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE__FABSF 1
22695 _ACEOF
22696
22697 fi
22698 done
22699
22700 fi
22701 fi
22702
22703
22704
22705
22706
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22708 $as_echo_n "checking for fmodf declaration... " >&6; }
22709 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22710 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22712 else
22713
22714
22715 ac_ext=cpp
22716 ac_cpp='$CXXCPP $CPPFLAGS'
22717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22720
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h. */
22723 #include <math.h>
22724 int
22725 main ()
22726 {
22727 fmodf(0, 0);
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 if ac_fn_cxx_try_compile "$LINENO"; then :
22733 glibcxx_cv_func_fmodf_use=yes
22734 else
22735 glibcxx_cv_func_fmodf_use=no
22736 fi
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743
22744
22745 fi
22746
22747 fi
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22749 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22750
22751 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22752 for ac_func in fmodf
22753 do :
22754 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22755 if test "x$ac_cv_func_fmodf" = x""yes; then :
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_FMODF 1
22758 _ACEOF
22759
22760 fi
22761 done
22762
22763 else
22764
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22766 $as_echo_n "checking for _fmodf declaration... " >&6; }
22767 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22768 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22771
22772
22773 ac_ext=cpp
22774 ac_cpp='$CXXCPP $CPPFLAGS'
22775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22778
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781 #include <math.h>
22782 int
22783 main ()
22784 {
22785 _fmodf(0, 0);
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func__fmodf_use=yes
22792 else
22793 glibcxx_cv_func__fmodf_use=no
22794 fi
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22801
22802
22803 fi
22804
22805 fi
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22807 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22808
22809 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22810 for ac_func in _fmodf
22811 do :
22812 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22813 if test "x$ac_cv_func__fmodf" = x""yes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE__FMODF 1
22816 _ACEOF
22817
22818 fi
22819 done
22820
22821 fi
22822 fi
22823
22824
22825
22826
22827
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22829 $as_echo_n "checking for frexpf declaration... " >&6; }
22830 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22831 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22834
22835
22836 ac_ext=cpp
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22844 #include <math.h>
22845 int
22846 main ()
22847 {
22848 frexpf(0, 0);
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854 glibcxx_cv_func_frexpf_use=yes
22855 else
22856 glibcxx_cv_func_frexpf_use=no
22857 fi
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859 ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864
22865
22866 fi
22867
22868 fi
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22870 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22871
22872 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22873 for ac_func in frexpf
22874 do :
22875 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22876 if test "x$ac_cv_func_frexpf" = x""yes; then :
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE_FREXPF 1
22879 _ACEOF
22880
22881 fi
22882 done
22883
22884 else
22885
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22887 $as_echo_n "checking for _frexpf declaration... " >&6; }
22888 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22889 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22892
22893
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22903 int
22904 main ()
22905 {
22906 _frexpf(0, 0);
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__frexpf_use=yes
22913 else
22914 glibcxx_cv_func__frexpf_use=no
22915 fi
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922
22923
22924 fi
22925
22926 fi
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22928 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22929
22930 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22931 for ac_func in _frexpf
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22934 if test "x$ac_cv_func__frexpf" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__FREXPF 1
22937 _ACEOF
22938
22939 fi
22940 done
22941
22942 fi
22943 fi
22944
22945
22946
22947
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22950 $as_echo_n "checking for hypotf declaration... " >&6; }
22951 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22952 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 int
22967 main ()
22968 {
22969 hypotf(0, 0);
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func_hypotf_use=yes
22976 else
22977 glibcxx_cv_func_hypotf_use=no
22978 fi
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22985
22986
22987 fi
22988
22989 fi
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22991 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22992
22993 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22994 for ac_func in hypotf
22995 do :
22996 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22997 if test "x$ac_cv_func_hypotf" = x""yes; then :
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE_HYPOTF 1
23000 _ACEOF
23001
23002 fi
23003 done
23004
23005 else
23006
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23008 $as_echo_n "checking for _hypotf declaration... " >&6; }
23009 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23010 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23011 $as_echo_n "(cached) " >&6
23012 else
23013
23014
23015 ac_ext=cpp
23016 ac_cpp='$CXXCPP $CPPFLAGS'
23017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23020
23021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h. */
23023 #include <math.h>
23024 int
23025 main ()
23026 {
23027 _hypotf(0, 0);
23028 ;
23029 return 0;
23030 }
23031 _ACEOF
23032 if ac_fn_cxx_try_compile "$LINENO"; then :
23033 glibcxx_cv_func__hypotf_use=yes
23034 else
23035 glibcxx_cv_func__hypotf_use=no
23036 fi
23037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 ac_ext=c
23039 ac_cpp='$CPP $CPPFLAGS'
23040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23043
23044
23045 fi
23046
23047 fi
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23049 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23050
23051 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23052 for ac_func in _hypotf
23053 do :
23054 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23055 if test "x$ac_cv_func__hypotf" = x""yes; then :
23056 cat >>confdefs.h <<_ACEOF
23057 #define HAVE__HYPOTF 1
23058 _ACEOF
23059
23060 fi
23061 done
23062
23063 fi
23064 fi
23065
23066
23067
23068
23069
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23071 $as_echo_n "checking for ldexpf declaration... " >&6; }
23072 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23073 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23074 $as_echo_n "(cached) " >&6
23075 else
23076
23077
23078 ac_ext=cpp
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23083
23084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23085 /* end confdefs.h. */
23086 #include <math.h>
23087 int
23088 main ()
23089 {
23090 ldexpf(0, 0);
23091 ;
23092 return 0;
23093 }
23094 _ACEOF
23095 if ac_fn_cxx_try_compile "$LINENO"; then :
23096 glibcxx_cv_func_ldexpf_use=yes
23097 else
23098 glibcxx_cv_func_ldexpf_use=no
23099 fi
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 ac_ext=c
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106
23107
23108 fi
23109
23110 fi
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23112 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23113
23114 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23115 for ac_func in ldexpf
23116 do :
23117 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23118 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23119 cat >>confdefs.h <<_ACEOF
23120 #define HAVE_LDEXPF 1
23121 _ACEOF
23122
23123 fi
23124 done
23125
23126 else
23127
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23129 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23130 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23131 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23132 $as_echo_n "(cached) " >&6
23133 else
23134
23135
23136 ac_ext=cpp
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23143 /* end confdefs.h. */
23144 #include <math.h>
23145 int
23146 main ()
23147 {
23148 _ldexpf(0, 0);
23149 ;
23150 return 0;
23151 }
23152 _ACEOF
23153 if ac_fn_cxx_try_compile "$LINENO"; then :
23154 glibcxx_cv_func__ldexpf_use=yes
23155 else
23156 glibcxx_cv_func__ldexpf_use=no
23157 fi
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 ac_ext=c
23160 ac_cpp='$CPP $CPPFLAGS'
23161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164
23165
23166 fi
23167
23168 fi
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23170 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23171
23172 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23173 for ac_func in _ldexpf
23174 do :
23175 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23176 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23177 cat >>confdefs.h <<_ACEOF
23178 #define HAVE__LDEXPF 1
23179 _ACEOF
23180
23181 fi
23182 done
23183
23184 fi
23185 fi
23186
23187
23188
23189
23190
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23192 $as_echo_n "checking for logf declaration... " >&6; }
23193 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23194 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23197
23198
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23208 #ifdef HAVE_IEEEFP_H
23209 #include <ieeefp.h>
23210 #endif
23211
23212 int
23213 main ()
23214 {
23215 logf(0);
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221 glibcxx_cv_func_logf_use=yes
23222 else
23223 glibcxx_cv_func_logf_use=no
23224 fi
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226 ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231
23232
23233 fi
23234
23235 fi
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23237 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23238
23239 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23240 for ac_func in logf
23241 do :
23242 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23243 if test "x$ac_cv_func_logf" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE_LOGF 1
23246 _ACEOF
23247
23248 fi
23249 done
23250
23251 else
23252
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23254 $as_echo_n "checking for _logf declaration... " >&6; }
23255 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23256 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23257 $as_echo_n "(cached) " >&6
23258 else
23259
23260
23261 ac_ext=cpp
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h. */
23269 #include <math.h>
23270 #ifdef HAVE_IEEEFP_H
23271 #include <ieeefp.h>
23272 #endif
23273
23274 int
23275 main ()
23276 {
23277 _logf(0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283 glibcxx_cv_func__logf_use=yes
23284 else
23285 glibcxx_cv_func__logf_use=no
23286 fi
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295 fi
23296
23297 fi
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23299 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23300
23301 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23302 for ac_func in _logf
23303 do :
23304 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23305 if test "x$ac_cv_func__logf" = x""yes; then :
23306 cat >>confdefs.h <<_ACEOF
23307 #define HAVE__LOGF 1
23308 _ACEOF
23309
23310 fi
23311 done
23312
23313 fi
23314 fi
23315
23316
23317
23318
23319
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23321 $as_echo_n "checking for log10f declaration... " >&6; }
23322 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23323 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23326
23327
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23337 #ifdef HAVE_IEEEFP_H
23338 #include <ieeefp.h>
23339 #endif
23340
23341 int
23342 main ()
23343 {
23344 log10f(0);
23345 ;
23346 return 0;
23347 }
23348 _ACEOF
23349 if ac_fn_cxx_try_compile "$LINENO"; then :
23350 glibcxx_cv_func_log10f_use=yes
23351 else
23352 glibcxx_cv_func_log10f_use=no
23353 fi
23354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 ac_ext=c
23356 ac_cpp='$CPP $CPPFLAGS'
23357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23360
23361
23362 fi
23363
23364 fi
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23366 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23367
23368 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23369 for ac_func in log10f
23370 do :
23371 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23372 if test "x$ac_cv_func_log10f" = x""yes; then :
23373 cat >>confdefs.h <<_ACEOF
23374 #define HAVE_LOG10F 1
23375 _ACEOF
23376
23377 fi
23378 done
23379
23380 else
23381
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23383 $as_echo_n "checking for _log10f declaration... " >&6; }
23384 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23385 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23386 $as_echo_n "(cached) " >&6
23387 else
23388
23389
23390 ac_ext=cpp
23391 ac_cpp='$CXXCPP $CPPFLAGS'
23392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395
23396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23397 /* end confdefs.h. */
23398 #include <math.h>
23399 #ifdef HAVE_IEEEFP_H
23400 #include <ieeefp.h>
23401 #endif
23402
23403 int
23404 main ()
23405 {
23406 _log10f(0);
23407 ;
23408 return 0;
23409 }
23410 _ACEOF
23411 if ac_fn_cxx_try_compile "$LINENO"; then :
23412 glibcxx_cv_func__log10f_use=yes
23413 else
23414 glibcxx_cv_func__log10f_use=no
23415 fi
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424 fi
23425
23426 fi
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23428 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23429
23430 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23431 for ac_func in _log10f
23432 do :
23433 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23434 if test "x$ac_cv_func__log10f" = x""yes; then :
23435 cat >>confdefs.h <<_ACEOF
23436 #define HAVE__LOG10F 1
23437 _ACEOF
23438
23439 fi
23440 done
23441
23442 fi
23443 fi
23444
23445
23446
23447
23448
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23450 $as_echo_n "checking for modff declaration... " >&6; }
23451 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23452 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23453 $as_echo_n "(cached) " >&6
23454 else
23455
23456
23457 ac_ext=cpp
23458 ac_cpp='$CXXCPP $CPPFLAGS'
23459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23462
23463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23465 #include <math.h>
23466 int
23467 main ()
23468 {
23469 modff(0, 0);
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func_modff_use=yes
23476 else
23477 glibcxx_cv_func_modff_use=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488
23489 fi
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23491 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23492
23493 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23494 for ac_func in modff
23495 do :
23496 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23497 if test "x$ac_cv_func_modff" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE_MODFF 1
23500 _ACEOF
23501
23502 fi
23503 done
23504
23505 else
23506
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23508 $as_echo_n "checking for _modff declaration... " >&6; }
23509 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23510 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23513
23514
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23524 int
23525 main ()
23526 {
23527 _modff(0, 0);
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func__modff_use=yes
23534 else
23535 glibcxx_cv_func__modff_use=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543
23544
23545 fi
23546
23547 fi
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23549 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23550
23551 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23552 for ac_func in _modff
23553 do :
23554 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23555 if test "x$ac_cv_func__modff" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE__MODFF 1
23558 _ACEOF
23559
23560 fi
23561 done
23562
23563 fi
23564 fi
23565
23566
23567
23568
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23571 $as_echo_n "checking for modf declaration... " >&6; }
23572 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23573 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 int
23588 main ()
23589 {
23590 modf(0, 0);
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func_modf_use=yes
23597 else
23598 glibcxx_cv_func_modf_use=no
23599 fi
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606
23607
23608 fi
23609
23610 fi
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23612 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23613
23614 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23615 for ac_func in modf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23618 if test "x$ac_cv_func_modf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE_MODF 1
23621 _ACEOF
23622
23623 fi
23624 done
23625
23626 else
23627
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23629 $as_echo_n "checking for _modf declaration... " >&6; }
23630 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23631 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23634
23635
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23645 int
23646 main ()
23647 {
23648 _modf(0, 0);
23649 ;
23650 return 0;
23651 }
23652 _ACEOF
23653 if ac_fn_cxx_try_compile "$LINENO"; then :
23654 glibcxx_cv_func__modf_use=yes
23655 else
23656 glibcxx_cv_func__modf_use=no
23657 fi
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ac_ext=c
23660 ac_cpp='$CPP $CPPFLAGS'
23661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23664
23665
23666 fi
23667
23668 fi
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23670 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23671
23672 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23673 for ac_func in _modf
23674 do :
23675 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23676 if test "x$ac_cv_func__modf" = x""yes; then :
23677 cat >>confdefs.h <<_ACEOF
23678 #define HAVE__MODF 1
23679 _ACEOF
23680
23681 fi
23682 done
23683
23684 fi
23685 fi
23686
23687
23688
23689
23690
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23692 $as_echo_n "checking for powf declaration... " >&6; }
23693 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23694 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23697
23698
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23708 int
23709 main ()
23710 {
23711 powf(0, 0);
23712 ;
23713 return 0;
23714 }
23715 _ACEOF
23716 if ac_fn_cxx_try_compile "$LINENO"; then :
23717 glibcxx_cv_func_powf_use=yes
23718 else
23719 glibcxx_cv_func_powf_use=no
23720 fi
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722 ac_ext=c
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23727
23728
23729 fi
23730
23731 fi
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23733 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23734
23735 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23736 for ac_func in powf
23737 do :
23738 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23739 if test "x$ac_cv_func_powf" = x""yes; then :
23740 cat >>confdefs.h <<_ACEOF
23741 #define HAVE_POWF 1
23742 _ACEOF
23743
23744 fi
23745 done
23746
23747 else
23748
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23750 $as_echo_n "checking for _powf declaration... " >&6; }
23751 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23752 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23753 $as_echo_n "(cached) " >&6
23754 else
23755
23756
23757 ac_ext=cpp
23758 ac_cpp='$CXXCPP $CPPFLAGS'
23759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23762
23763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23764 /* end confdefs.h. */
23765 #include <math.h>
23766 int
23767 main ()
23768 {
23769 _powf(0, 0);
23770 ;
23771 return 0;
23772 }
23773 _ACEOF
23774 if ac_fn_cxx_try_compile "$LINENO"; then :
23775 glibcxx_cv_func__powf_use=yes
23776 else
23777 glibcxx_cv_func__powf_use=no
23778 fi
23779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780 ac_ext=c
23781 ac_cpp='$CPP $CPPFLAGS'
23782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23785
23786
23787 fi
23788
23789 fi
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23791 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23792
23793 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23794 for ac_func in _powf
23795 do :
23796 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23797 if test "x$ac_cv_func__powf" = x""yes; then :
23798 cat >>confdefs.h <<_ACEOF
23799 #define HAVE__POWF 1
23800 _ACEOF
23801
23802 fi
23803 done
23804
23805 fi
23806 fi
23807
23808
23809
23810
23811
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23813 $as_echo_n "checking for sqrtf declaration... " >&6; }
23814 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23815 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23816 $as_echo_n "(cached) " >&6
23817 else
23818
23819
23820 ac_ext=cpp
23821 ac_cpp='$CXXCPP $CPPFLAGS'
23822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23825
23826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23827 /* end confdefs.h. */
23828 #include <math.h>
23829 #ifdef HAVE_IEEEFP_H
23830 #include <ieeefp.h>
23831 #endif
23832
23833 int
23834 main ()
23835 {
23836 sqrtf(0);
23837 ;
23838 return 0;
23839 }
23840 _ACEOF
23841 if ac_fn_cxx_try_compile "$LINENO"; then :
23842 glibcxx_cv_func_sqrtf_use=yes
23843 else
23844 glibcxx_cv_func_sqrtf_use=no
23845 fi
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23847 ac_ext=c
23848 ac_cpp='$CPP $CPPFLAGS'
23849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23852
23853
23854 fi
23855
23856 fi
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23858 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23859
23860 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23861 for ac_func in sqrtf
23862 do :
23863 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23864 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_SQRTF 1
23867 _ACEOF
23868
23869 fi
23870 done
23871
23872 else
23873
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23875 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23876 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23877 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23880
23881
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23887
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 #ifdef HAVE_IEEEFP_H
23892 #include <ieeefp.h>
23893 #endif
23894
23895 int
23896 main ()
23897 {
23898 _sqrtf(0);
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 if ac_fn_cxx_try_compile "$LINENO"; then :
23904 glibcxx_cv_func__sqrtf_use=yes
23905 else
23906 glibcxx_cv_func__sqrtf_use=no
23907 fi
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914
23915
23916 fi
23917
23918 fi
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23920 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23921
23922 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23923 for ac_func in _sqrtf
23924 do :
23925 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23926 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE__SQRTF 1
23929 _ACEOF
23930
23931 fi
23932 done
23933
23934 fi
23935 fi
23936
23937
23938
23939
23940
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23942 $as_echo_n "checking for sincosf declaration... " >&6; }
23943 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23944 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23945 $as_echo_n "(cached) " >&6
23946 else
23947
23948
23949 ac_ext=cpp
23950 ac_cpp='$CXXCPP $CPPFLAGS'
23951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954
23955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23956 /* end confdefs.h. */
23957 #include <math.h>
23958 int
23959 main ()
23960 {
23961 sincosf(0, 0, 0);
23962 ;
23963 return 0;
23964 }
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_sincosf_use=yes
23968 else
23969 glibcxx_cv_func_sincosf_use=no
23970 fi
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977
23978
23979 fi
23980
23981 fi
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23983 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23984
23985 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23986 for ac_func in sincosf
23987 do :
23988 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23989 if test "x$ac_cv_func_sincosf" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_SINCOSF 1
23992 _ACEOF
23993
23994 fi
23995 done
23996
23997 else
23998
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24000 $as_echo_n "checking for _sincosf declaration... " >&6; }
24001 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24002 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24005
24006
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24016 int
24017 main ()
24018 {
24019 _sincosf(0, 0, 0);
24020 ;
24021 return 0;
24022 }
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func__sincosf_use=yes
24026 else
24027 glibcxx_cv_func__sincosf_use=no
24028 fi
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24035
24036
24037 fi
24038
24039 fi
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24041 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24042
24043 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24044 for ac_func in _sincosf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24047 if test "x$ac_cv_func__sincosf" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE__SINCOSF 1
24050 _ACEOF
24051
24052 fi
24053 done
24054
24055 fi
24056 fi
24057
24058
24059
24060
24061
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24063 $as_echo_n "checking for finitef declaration... " >&6; }
24064 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24065 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24066 $as_echo_n "(cached) " >&6
24067 else
24068
24069
24070 ac_ext=cpp
24071 ac_cpp='$CXXCPP $CPPFLAGS'
24072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24075
24076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24077 /* end confdefs.h. */
24078 #include <math.h>
24079 #ifdef HAVE_IEEEFP_H
24080 #include <ieeefp.h>
24081 #endif
24082
24083 int
24084 main ()
24085 {
24086 finitef(0);
24087 ;
24088 return 0;
24089 }
24090 _ACEOF
24091 if ac_fn_cxx_try_compile "$LINENO"; then :
24092 glibcxx_cv_func_finitef_use=yes
24093 else
24094 glibcxx_cv_func_finitef_use=no
24095 fi
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102
24103
24104 fi
24105
24106 fi
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24108 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24109
24110 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24111 for ac_func in finitef
24112 do :
24113 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24114 if test "x$ac_cv_func_finitef" = x""yes; then :
24115 cat >>confdefs.h <<_ACEOF
24116 #define HAVE_FINITEF 1
24117 _ACEOF
24118
24119 fi
24120 done
24121
24122 else
24123
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24125 $as_echo_n "checking for _finitef declaration... " >&6; }
24126 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24127 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24130
24131
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24137
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24141 #ifdef HAVE_IEEEFP_H
24142 #include <ieeefp.h>
24143 #endif
24144
24145 int
24146 main ()
24147 {
24148 _finitef(0);
24149 ;
24150 return 0;
24151 }
24152 _ACEOF
24153 if ac_fn_cxx_try_compile "$LINENO"; then :
24154 glibcxx_cv_func__finitef_use=yes
24155 else
24156 glibcxx_cv_func__finitef_use=no
24157 fi
24158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24159 ac_ext=c
24160 ac_cpp='$CPP $CPPFLAGS'
24161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24164
24165
24166 fi
24167
24168 fi
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24170 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24171
24172 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24173 for ac_func in _finitef
24174 do :
24175 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24176 if test "x$ac_cv_func__finitef" = x""yes; then :
24177 cat >>confdefs.h <<_ACEOF
24178 #define HAVE__FINITEF 1
24179 _ACEOF
24180
24181 fi
24182 done
24183
24184 fi
24185 fi
24186
24187
24188
24189
24190
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24192 $as_echo_n "checking for long double trig functions... " >&6; }
24193 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24194 $as_echo_n "(cached) " >&6
24195 else
24196
24197
24198 ac_ext=cpp
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203
24204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h. */
24206 #include <math.h>
24207 int
24208 main ()
24209 {
24210 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24211 ;
24212 return 0;
24213 }
24214 _ACEOF
24215 if ac_fn_cxx_try_compile "$LINENO"; then :
24216 glibcxx_cv_func_long_double_trig_use=yes
24217 else
24218 glibcxx_cv_func_long_double_trig_use=no
24219 fi
24220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226
24227 fi
24228
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24230 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24231 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24232 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24233 do :
24234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24236 eval as_val=\$$as_ac_var
24237 if test "x$as_val" = x""yes; then :
24238 cat >>confdefs.h <<_ACEOF
24239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24240 _ACEOF
24241
24242 fi
24243 done
24244
24245 else
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24247 $as_echo_n "checking for _long double trig functions... " >&6; }
24248 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24251
24252
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24258
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24262 int
24263 main ()
24264 {
24265 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24266 ;
24267 return 0;
24268 }
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func__long_double_trig_use=yes
24272 else
24273 glibcxx_cv_func__long_double_trig_use=no
24274 fi
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24281
24282 fi
24283
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24285 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24286 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24287 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24288 do :
24289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24291 eval as_val=\$$as_ac_var
24292 if test "x$as_val" = x""yes; then :
24293 cat >>confdefs.h <<_ACEOF
24294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24295 _ACEOF
24296
24297 fi
24298 done
24299
24300 fi
24301 fi
24302
24303
24304
24305
24306
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24308 $as_echo_n "checking for long double round functions... " >&6; }
24309 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24310 $as_echo_n "(cached) " >&6
24311 else
24312
24313
24314 ac_ext=cpp
24315 ac_cpp='$CXXCPP $CPPFLAGS'
24316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24319
24320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24321 /* end confdefs.h. */
24322 #include <math.h>
24323 int
24324 main ()
24325 {
24326 ceill (0); floorl (0);
24327 ;
24328 return 0;
24329 }
24330 _ACEOF
24331 if ac_fn_cxx_try_compile "$LINENO"; then :
24332 glibcxx_cv_func_long_double_round_use=yes
24333 else
24334 glibcxx_cv_func_long_double_round_use=no
24335 fi
24336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24337 ac_ext=c
24338 ac_cpp='$CPP $CPPFLAGS'
24339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24342
24343 fi
24344
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24346 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24347 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24348 for ac_func in ceill floorl
24349 do :
24350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24352 eval as_val=\$$as_ac_var
24353 if test "x$as_val" = x""yes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24356 _ACEOF
24357
24358 fi
24359 done
24360
24361 else
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24363 $as_echo_n "checking for _long double round functions... " >&6; }
24364 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24365 $as_echo_n "(cached) " >&6
24366 else
24367
24368
24369 ac_ext=cpp
24370 ac_cpp='$CXXCPP $CPPFLAGS'
24371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24374
24375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24376 /* end confdefs.h. */
24377 #include <math.h>
24378 int
24379 main ()
24380 {
24381 _ceill (0); _floorl (0);
24382 ;
24383 return 0;
24384 }
24385 _ACEOF
24386 if ac_fn_cxx_try_compile "$LINENO"; then :
24387 glibcxx_cv_func__long_double_round_use=yes
24388 else
24389 glibcxx_cv_func__long_double_round_use=no
24390 fi
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 ac_ext=c
24393 ac_cpp='$CPP $CPPFLAGS'
24394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24397
24398 fi
24399
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24401 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24402 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24403 for ac_func in _ceill _floorl
24404 do :
24405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24407 eval as_val=\$$as_ac_var
24408 if test "x$as_val" = x""yes; then :
24409 cat >>confdefs.h <<_ACEOF
24410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24411 _ACEOF
24412
24413 fi
24414 done
24415
24416 fi
24417 fi
24418
24419
24420
24421
24422
24423
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24425 $as_echo_n "checking for isnanl declaration... " >&6; }
24426 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24427 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24428 $as_echo_n "(cached) " >&6
24429 else
24430
24431
24432 ac_ext=cpp
24433 ac_cpp='$CXXCPP $CPPFLAGS'
24434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24437
24438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24440 #include <math.h>
24441 #ifdef HAVE_IEEEFP_H
24442 #include <ieeefp.h>
24443 #endif
24444
24445 int
24446 main ()
24447 {
24448 isnanl(0);
24449 ;
24450 return 0;
24451 }
24452 _ACEOF
24453 if ac_fn_cxx_try_compile "$LINENO"; then :
24454 glibcxx_cv_func_isnanl_use=yes
24455 else
24456 glibcxx_cv_func_isnanl_use=no
24457 fi
24458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24459 ac_ext=c
24460 ac_cpp='$CPP $CPPFLAGS'
24461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24464
24465
24466 fi
24467
24468 fi
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24470 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24471
24472 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24473 for ac_func in isnanl
24474 do :
24475 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24476 if test "x$ac_cv_func_isnanl" = x""yes; then :
24477 cat >>confdefs.h <<_ACEOF
24478 #define HAVE_ISNANL 1
24479 _ACEOF
24480
24481 fi
24482 done
24483
24484 else
24485
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24487 $as_echo_n "checking for _isnanl declaration... " >&6; }
24488 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24489 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24492
24493
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24499
24500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24502 #include <math.h>
24503 #ifdef HAVE_IEEEFP_H
24504 #include <ieeefp.h>
24505 #endif
24506
24507 int
24508 main ()
24509 {
24510 _isnanl(0);
24511 ;
24512 return 0;
24513 }
24514 _ACEOF
24515 if ac_fn_cxx_try_compile "$LINENO"; then :
24516 glibcxx_cv_func__isnanl_use=yes
24517 else
24518 glibcxx_cv_func__isnanl_use=no
24519 fi
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24521 ac_ext=c
24522 ac_cpp='$CPP $CPPFLAGS'
24523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24526
24527
24528 fi
24529
24530 fi
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24532 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24533
24534 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24535 for ac_func in _isnanl
24536 do :
24537 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24538 if test "x$ac_cv_func__isnanl" = x""yes; then :
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE__ISNANL 1
24541 _ACEOF
24542
24543 fi
24544 done
24545
24546 fi
24547 fi
24548
24549
24550
24551
24552
24553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24554 $as_echo_n "checking for isinfl declaration... " >&6; }
24555 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24556 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24557 $as_echo_n "(cached) " >&6
24558 else
24559
24560
24561 ac_ext=cpp
24562 ac_cpp='$CXXCPP $CPPFLAGS'
24563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24566
24567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24569 #include <math.h>
24570 #ifdef HAVE_IEEEFP_H
24571 #include <ieeefp.h>
24572 #endif
24573
24574 int
24575 main ()
24576 {
24577 isinfl(0);
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func_isinfl_use=yes
24584 else
24585 glibcxx_cv_func_isinfl_use=no
24586 fi
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593
24594
24595 fi
24596
24597 fi
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24599 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24600
24601 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24602 for ac_func in isinfl
24603 do :
24604 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24605 if test "x$ac_cv_func_isinfl" = x""yes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_ISINFL 1
24608 _ACEOF
24609
24610 fi
24611 done
24612
24613 else
24614
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24616 $as_echo_n "checking for _isinfl declaration... " >&6; }
24617 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24618 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24619 $as_echo_n "(cached) " >&6
24620 else
24621
24622
24623 ac_ext=cpp
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628
24629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630 /* end confdefs.h. */
24631 #include <math.h>
24632 #ifdef HAVE_IEEEFP_H
24633 #include <ieeefp.h>
24634 #endif
24635
24636 int
24637 main ()
24638 {
24639 _isinfl(0);
24640 ;
24641 return 0;
24642 }
24643 _ACEOF
24644 if ac_fn_cxx_try_compile "$LINENO"; then :
24645 glibcxx_cv_func__isinfl_use=yes
24646 else
24647 glibcxx_cv_func__isinfl_use=no
24648 fi
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 ac_ext=c
24651 ac_cpp='$CPP $CPPFLAGS'
24652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24655
24656
24657 fi
24658
24659 fi
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24661 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24662
24663 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24664 for ac_func in _isinfl
24665 do :
24666 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24667 if test "x$ac_cv_func__isinfl" = x""yes; then :
24668 cat >>confdefs.h <<_ACEOF
24669 #define HAVE__ISINFL 1
24670 _ACEOF
24671
24672 fi
24673 done
24674
24675 fi
24676 fi
24677
24678
24679
24680
24681
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24683 $as_echo_n "checking for atan2l declaration... " >&6; }
24684 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24685 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24686 $as_echo_n "(cached) " >&6
24687 else
24688
24689
24690 ac_ext=cpp
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24695
24696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24697 /* end confdefs.h. */
24698 #include <math.h>
24699 int
24700 main ()
24701 {
24702 atan2l(0, 0);
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_atan2l_use=yes
24709 else
24710 glibcxx_cv_func_atan2l_use=no
24711 fi
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718
24719
24720 fi
24721
24722 fi
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24724 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24725
24726 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24727 for ac_func in atan2l
24728 do :
24729 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24730 if test "x$ac_cv_func_atan2l" = x""yes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_ATAN2L 1
24733 _ACEOF
24734
24735 fi
24736 done
24737
24738 else
24739
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24741 $as_echo_n "checking for _atan2l declaration... " >&6; }
24742 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24743 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746
24747
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 int
24758 main ()
24759 {
24760 _atan2l(0, 0);
24761 ;
24762 return 0;
24763 }
24764 _ACEOF
24765 if ac_fn_cxx_try_compile "$LINENO"; then :
24766 glibcxx_cv_func__atan2l_use=yes
24767 else
24768 glibcxx_cv_func__atan2l_use=no
24769 fi
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24776
24777
24778 fi
24779
24780 fi
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24782 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24783
24784 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24785 for ac_func in _atan2l
24786 do :
24787 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24788 if test "x$ac_cv_func__atan2l" = x""yes; then :
24789 cat >>confdefs.h <<_ACEOF
24790 #define HAVE__ATAN2L 1
24791 _ACEOF
24792
24793 fi
24794 done
24795
24796 fi
24797 fi
24798
24799
24800
24801
24802
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24804 $as_echo_n "checking for expl declaration... " >&6; }
24805 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24806 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24807 $as_echo_n "(cached) " >&6
24808 else
24809
24810
24811 ac_ext=cpp
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816
24817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819 #include <math.h>
24820 #ifdef HAVE_IEEEFP_H
24821 #include <ieeefp.h>
24822 #endif
24823
24824 int
24825 main ()
24826 {
24827 expl(0);
24828 ;
24829 return 0;
24830 }
24831 _ACEOF
24832 if ac_fn_cxx_try_compile "$LINENO"; then :
24833 glibcxx_cv_func_expl_use=yes
24834 else
24835 glibcxx_cv_func_expl_use=no
24836 fi
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 ac_ext=c
24839 ac_cpp='$CPP $CPPFLAGS'
24840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24843
24844
24845 fi
24846
24847 fi
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24849 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24850
24851 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24852 for ac_func in expl
24853 do :
24854 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24855 if test "x$ac_cv_func_expl" = x""yes; then :
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE_EXPL 1
24858 _ACEOF
24859
24860 fi
24861 done
24862
24863 else
24864
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24866 $as_echo_n "checking for _expl declaration... " >&6; }
24867 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24868 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24870 else
24871
24872
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24878
24879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24880 /* end confdefs.h. */
24881 #include <math.h>
24882 #ifdef HAVE_IEEEFP_H
24883 #include <ieeefp.h>
24884 #endif
24885
24886 int
24887 main ()
24888 {
24889 _expl(0);
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func__expl_use=yes
24896 else
24897 glibcxx_cv_func__expl_use=no
24898 fi
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24905
24906
24907 fi
24908
24909 fi
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24911 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24912
24913 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24914 for ac_func in _expl
24915 do :
24916 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24917 if test "x$ac_cv_func__expl" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE__EXPL 1
24920 _ACEOF
24921
24922 fi
24923 done
24924
24925 fi
24926 fi
24927
24928
24929
24930
24931
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24933 $as_echo_n "checking for fabsl declaration... " >&6; }
24934 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24935 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24938
24939
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24945
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 #ifdef HAVE_IEEEFP_H
24950 #include <ieeefp.h>
24951 #endif
24952
24953 int
24954 main ()
24955 {
24956 fabsl(0);
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func_fabsl_use=yes
24963 else
24964 glibcxx_cv_func_fabsl_use=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972
24973
24974 fi
24975
24976 fi
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24978 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24979
24980 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24981 for ac_func in fabsl
24982 do :
24983 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24984 if test "x$ac_cv_func_fabsl" = x""yes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_FABSL 1
24987 _ACEOF
24988
24989 fi
24990 done
24991
24992 else
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24995 $as_echo_n "checking for _fabsl declaration... " >&6; }
24996 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24997 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25000
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 #ifdef HAVE_IEEEFP_H
25012 #include <ieeefp.h>
25013 #endif
25014
25015 int
25016 main ()
25017 {
25018 _fabsl(0);
25019 ;
25020 return 0;
25021 }
25022 _ACEOF
25023 if ac_fn_cxx_try_compile "$LINENO"; then :
25024 glibcxx_cv_func__fabsl_use=yes
25025 else
25026 glibcxx_cv_func__fabsl_use=no
25027 fi
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 ac_ext=c
25030 ac_cpp='$CPP $CPPFLAGS'
25031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034
25035
25036 fi
25037
25038 fi
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25040 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25041
25042 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25043 for ac_func in _fabsl
25044 do :
25045 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25046 if test "x$ac_cv_func__fabsl" = x""yes; then :
25047 cat >>confdefs.h <<_ACEOF
25048 #define HAVE__FABSL 1
25049 _ACEOF
25050
25051 fi
25052 done
25053
25054 fi
25055 fi
25056
25057
25058
25059
25060
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25062 $as_echo_n "checking for fmodl declaration... " >&6; }
25063 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25064 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25065 $as_echo_n "(cached) " >&6
25066 else
25067
25068
25069 ac_ext=cpp
25070 ac_cpp='$CXXCPP $CPPFLAGS'
25071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25074
25075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25076 /* end confdefs.h. */
25077 #include <math.h>
25078 int
25079 main ()
25080 {
25081 fmodl(0, 0);
25082 ;
25083 return 0;
25084 }
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087 glibcxx_cv_func_fmodl_use=yes
25088 else
25089 glibcxx_cv_func_fmodl_use=no
25090 fi
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25097
25098
25099 fi
25100
25101 fi
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25103 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25104
25105 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25106 for ac_func in fmodl
25107 do :
25108 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25109 if test "x$ac_cv_func_fmodl" = x""yes; then :
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_FMODL 1
25112 _ACEOF
25113
25114 fi
25115 done
25116
25117 else
25118
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25120 $as_echo_n "checking for _fmodl declaration... " >&6; }
25121 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25122 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25125
25126
25127 ac_ext=cpp
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25132
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135 #include <math.h>
25136 int
25137 main ()
25138 {
25139 _fmodl(0, 0);
25140 ;
25141 return 0;
25142 }
25143 _ACEOF
25144 if ac_fn_cxx_try_compile "$LINENO"; then :
25145 glibcxx_cv_func__fmodl_use=yes
25146 else
25147 glibcxx_cv_func__fmodl_use=no
25148 fi
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150 ac_ext=c
25151 ac_cpp='$CPP $CPPFLAGS'
25152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25155
25156
25157 fi
25158
25159 fi
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25161 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25162
25163 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25164 for ac_func in _fmodl
25165 do :
25166 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25167 if test "x$ac_cv_func__fmodl" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE__FMODL 1
25170 _ACEOF
25171
25172 fi
25173 done
25174
25175 fi
25176 fi
25177
25178
25179
25180
25181
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25183 $as_echo_n "checking for frexpl declaration... " >&6; }
25184 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25185 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25188
25189
25190 ac_ext=cpp
25191 ac_cpp='$CXXCPP $CPPFLAGS'
25192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25195
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25198 #include <math.h>
25199 int
25200 main ()
25201 {
25202 frexpl(0, 0);
25203 ;
25204 return 0;
25205 }
25206 _ACEOF
25207 if ac_fn_cxx_try_compile "$LINENO"; then :
25208 glibcxx_cv_func_frexpl_use=yes
25209 else
25210 glibcxx_cv_func_frexpl_use=no
25211 fi
25212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25213 ac_ext=c
25214 ac_cpp='$CPP $CPPFLAGS'
25215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25218
25219
25220 fi
25221
25222 fi
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25224 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25225
25226 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25227 for ac_func in frexpl
25228 do :
25229 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25230 if test "x$ac_cv_func_frexpl" = x""yes; then :
25231 cat >>confdefs.h <<_ACEOF
25232 #define HAVE_FREXPL 1
25233 _ACEOF
25234
25235 fi
25236 done
25237
25238 else
25239
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25241 $as_echo_n "checking for _frexpl declaration... " >&6; }
25242 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25243 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25246
25247
25248 ac_ext=cpp
25249 ac_cpp='$CXXCPP $CPPFLAGS'
25250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25253
25254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25255 /* end confdefs.h. */
25256 #include <math.h>
25257 int
25258 main ()
25259 {
25260 _frexpl(0, 0);
25261 ;
25262 return 0;
25263 }
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func__frexpl_use=yes
25267 else
25268 glibcxx_cv_func__frexpl_use=no
25269 fi
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276
25277
25278 fi
25279
25280 fi
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25282 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25283
25284 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25285 for ac_func in _frexpl
25286 do :
25287 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25288 if test "x$ac_cv_func__frexpl" = x""yes; then :
25289 cat >>confdefs.h <<_ACEOF
25290 #define HAVE__FREXPL 1
25291 _ACEOF
25292
25293 fi
25294 done
25295
25296 fi
25297 fi
25298
25299
25300
25301
25302
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25304 $as_echo_n "checking for hypotl declaration... " >&6; }
25305 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25306 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309
25310
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25320 int
25321 main ()
25322 {
25323 hypotl(0, 0);
25324 ;
25325 return 0;
25326 }
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func_hypotl_use=yes
25330 else
25331 glibcxx_cv_func_hypotl_use=no
25332 fi
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339
25340
25341 fi
25342
25343 fi
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25345 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25346
25347 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25348 for ac_func in hypotl
25349 do :
25350 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25351 if test "x$ac_cv_func_hypotl" = x""yes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE_HYPOTL 1
25354 _ACEOF
25355
25356 fi
25357 done
25358
25359 else
25360
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25362 $as_echo_n "checking for _hypotl declaration... " >&6; }
25363 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25364 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25367
25368
25369 ac_ext=cpp
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25377 #include <math.h>
25378 int
25379 main ()
25380 {
25381 _hypotl(0, 0);
25382 ;
25383 return 0;
25384 }
25385 _ACEOF
25386 if ac_fn_cxx_try_compile "$LINENO"; then :
25387 glibcxx_cv_func__hypotl_use=yes
25388 else
25389 glibcxx_cv_func__hypotl_use=no
25390 fi
25391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 ac_ext=c
25393 ac_cpp='$CPP $CPPFLAGS'
25394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25397
25398
25399 fi
25400
25401 fi
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25403 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25404
25405 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25406 for ac_func in _hypotl
25407 do :
25408 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25409 if test "x$ac_cv_func__hypotl" = x""yes; then :
25410 cat >>confdefs.h <<_ACEOF
25411 #define HAVE__HYPOTL 1
25412 _ACEOF
25413
25414 fi
25415 done
25416
25417 fi
25418 fi
25419
25420
25421
25422
25423
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25425 $as_echo_n "checking for ldexpl declaration... " >&6; }
25426 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25427 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25428 $as_echo_n "(cached) " >&6
25429 else
25430
25431
25432 ac_ext=cpp
25433 ac_cpp='$CXXCPP $CPPFLAGS'
25434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25437
25438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25439 /* end confdefs.h. */
25440 #include <math.h>
25441 int
25442 main ()
25443 {
25444 ldexpl(0, 0);
25445 ;
25446 return 0;
25447 }
25448 _ACEOF
25449 if ac_fn_cxx_try_compile "$LINENO"; then :
25450 glibcxx_cv_func_ldexpl_use=yes
25451 else
25452 glibcxx_cv_func_ldexpl_use=no
25453 fi
25454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25455 ac_ext=c
25456 ac_cpp='$CPP $CPPFLAGS'
25457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25460
25461
25462 fi
25463
25464 fi
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25466 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25467
25468 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25469 for ac_func in ldexpl
25470 do :
25471 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25472 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25473 cat >>confdefs.h <<_ACEOF
25474 #define HAVE_LDEXPL 1
25475 _ACEOF
25476
25477 fi
25478 done
25479
25480 else
25481
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25483 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25484 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25485 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25486 $as_echo_n "(cached) " >&6
25487 else
25488
25489
25490 ac_ext=cpp
25491 ac_cpp='$CXXCPP $CPPFLAGS'
25492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495
25496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497 /* end confdefs.h. */
25498 #include <math.h>
25499 int
25500 main ()
25501 {
25502 _ldexpl(0, 0);
25503 ;
25504 return 0;
25505 }
25506 _ACEOF
25507 if ac_fn_cxx_try_compile "$LINENO"; then :
25508 glibcxx_cv_func__ldexpl_use=yes
25509 else
25510 glibcxx_cv_func__ldexpl_use=no
25511 fi
25512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513 ac_ext=c
25514 ac_cpp='$CPP $CPPFLAGS'
25515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25518
25519
25520 fi
25521
25522 fi
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25524 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25525
25526 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25527 for ac_func in _ldexpl
25528 do :
25529 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25530 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25531 cat >>confdefs.h <<_ACEOF
25532 #define HAVE__LDEXPL 1
25533 _ACEOF
25534
25535 fi
25536 done
25537
25538 fi
25539 fi
25540
25541
25542
25543
25544
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25546 $as_echo_n "checking for logl declaration... " >&6; }
25547 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25548 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25549 $as_echo_n "(cached) " >&6
25550 else
25551
25552
25553 ac_ext=cpp
25554 ac_cpp='$CXXCPP $CPPFLAGS'
25555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25561 #include <math.h>
25562 #ifdef HAVE_IEEEFP_H
25563 #include <ieeefp.h>
25564 #endif
25565
25566 int
25567 main ()
25568 {
25569 logl(0);
25570 ;
25571 return 0;
25572 }
25573 _ACEOF
25574 if ac_fn_cxx_try_compile "$LINENO"; then :
25575 glibcxx_cv_func_logl_use=yes
25576 else
25577 glibcxx_cv_func_logl_use=no
25578 fi
25579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 ac_ext=c
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25585
25586
25587 fi
25588
25589 fi
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25591 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25592
25593 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25594 for ac_func in logl
25595 do :
25596 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25597 if test "x$ac_cv_func_logl" = x""yes; then :
25598 cat >>confdefs.h <<_ACEOF
25599 #define HAVE_LOGL 1
25600 _ACEOF
25601
25602 fi
25603 done
25604
25605 else
25606
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25608 $as_echo_n "checking for _logl declaration... " >&6; }
25609 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25610 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25611 $as_echo_n "(cached) " >&6
25612 else
25613
25614
25615 ac_ext=cpp
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25620
25621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25623 #include <math.h>
25624 #ifdef HAVE_IEEEFP_H
25625 #include <ieeefp.h>
25626 #endif
25627
25628 int
25629 main ()
25630 {
25631 _logl(0);
25632 ;
25633 return 0;
25634 }
25635 _ACEOF
25636 if ac_fn_cxx_try_compile "$LINENO"; then :
25637 glibcxx_cv_func__logl_use=yes
25638 else
25639 glibcxx_cv_func__logl_use=no
25640 fi
25641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25642 ac_ext=c
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25647
25648
25649 fi
25650
25651 fi
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25653 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25654
25655 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25656 for ac_func in _logl
25657 do :
25658 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25659 if test "x$ac_cv_func__logl" = x""yes; then :
25660 cat >>confdefs.h <<_ACEOF
25661 #define HAVE__LOGL 1
25662 _ACEOF
25663
25664 fi
25665 done
25666
25667 fi
25668 fi
25669
25670
25671
25672
25673
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25675 $as_echo_n "checking for log10l declaration... " >&6; }
25676 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25677 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25680
25681
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25691 #ifdef HAVE_IEEEFP_H
25692 #include <ieeefp.h>
25693 #endif
25694
25695 int
25696 main ()
25697 {
25698 log10l(0);
25699 ;
25700 return 0;
25701 }
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704 glibcxx_cv_func_log10l_use=yes
25705 else
25706 glibcxx_cv_func_log10l_use=no
25707 fi
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25714
25715
25716 fi
25717
25718 fi
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25720 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25721
25722 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25723 for ac_func in log10l
25724 do :
25725 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25726 if test "x$ac_cv_func_log10l" = x""yes; then :
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE_LOG10L 1
25729 _ACEOF
25730
25731 fi
25732 done
25733
25734 else
25735
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25737 $as_echo_n "checking for _log10l declaration... " >&6; }
25738 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25739 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25740 $as_echo_n "(cached) " >&6
25741 else
25742
25743
25744 ac_ext=cpp
25745 ac_cpp='$CXXCPP $CPPFLAGS'
25746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25749
25750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h. */
25752 #include <math.h>
25753 #ifdef HAVE_IEEEFP_H
25754 #include <ieeefp.h>
25755 #endif
25756
25757 int
25758 main ()
25759 {
25760 _log10l(0);
25761 ;
25762 return 0;
25763 }
25764 _ACEOF
25765 if ac_fn_cxx_try_compile "$LINENO"; then :
25766 glibcxx_cv_func__log10l_use=yes
25767 else
25768 glibcxx_cv_func__log10l_use=no
25769 fi
25770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25776
25777
25778 fi
25779
25780 fi
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25782 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25783
25784 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25785 for ac_func in _log10l
25786 do :
25787 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25788 if test "x$ac_cv_func__log10l" = x""yes; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define HAVE__LOG10L 1
25791 _ACEOF
25792
25793 fi
25794 done
25795
25796 fi
25797 fi
25798
25799
25800
25801
25802
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25804 $as_echo_n "checking for modfl declaration... " >&6; }
25805 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25806 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25807 $as_echo_n "(cached) " >&6
25808 else
25809
25810
25811 ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25816
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25819 #include <math.h>
25820 int
25821 main ()
25822 {
25823 modfl(0, 0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_modfl_use=yes
25830 else
25831 glibcxx_cv_func_modfl_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25845 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25846
25847 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25848 for ac_func in modfl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25851 if test "x$ac_cv_func_modfl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_MODFL 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 else
25860
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25862 $as_echo_n "checking for _modfl declaration... " >&6; }
25863 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25864 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25867
25868
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25878 int
25879 main ()
25880 {
25881 _modfl(0, 0);
25882 ;
25883 return 0;
25884 }
25885 _ACEOF
25886 if ac_fn_cxx_try_compile "$LINENO"; then :
25887 glibcxx_cv_func__modfl_use=yes
25888 else
25889 glibcxx_cv_func__modfl_use=no
25890 fi
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 ac_ext=c
25893 ac_cpp='$CPP $CPPFLAGS'
25894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
25898
25899 fi
25900
25901 fi
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25903 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25904
25905 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25906 for ac_func in _modfl
25907 do :
25908 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25909 if test "x$ac_cv_func__modfl" = x""yes; then :
25910 cat >>confdefs.h <<_ACEOF
25911 #define HAVE__MODFL 1
25912 _ACEOF
25913
25914 fi
25915 done
25916
25917 fi
25918 fi
25919
25920
25921
25922
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25925 $as_echo_n "checking for powl declaration... " >&6; }
25926 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25927 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25930
25931
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25941 int
25942 main ()
25943 {
25944 powl(0, 0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func_powl_use=yes
25951 else
25952 glibcxx_cv_func_powl_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25966 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25967
25968 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25969 for ac_func in powl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25972 if test "x$ac_cv_func_powl" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE_POWL 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 else
25981
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25983 $as_echo_n "checking for _powl declaration... " >&6; }
25984 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25985 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25986 $as_echo_n "(cached) " >&6
25987 else
25988
25989
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998 #include <math.h>
25999 int
26000 main ()
26001 {
26002 _powl(0, 0);
26003 ;
26004 return 0;
26005 }
26006 _ACEOF
26007 if ac_fn_cxx_try_compile "$LINENO"; then :
26008 glibcxx_cv_func__powl_use=yes
26009 else
26010 glibcxx_cv_func__powl_use=no
26011 fi
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26013 ac_ext=c
26014 ac_cpp='$CPP $CPPFLAGS'
26015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26018
26019
26020 fi
26021
26022 fi
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26024 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26025
26026 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26027 for ac_func in _powl
26028 do :
26029 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26030 if test "x$ac_cv_func__powl" = x""yes; then :
26031 cat >>confdefs.h <<_ACEOF
26032 #define HAVE__POWL 1
26033 _ACEOF
26034
26035 fi
26036 done
26037
26038 fi
26039 fi
26040
26041
26042
26043
26044
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26046 $as_echo_n "checking for sqrtl declaration... " >&6; }
26047 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26048 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26049 $as_echo_n "(cached) " >&6
26050 else
26051
26052
26053 ac_ext=cpp
26054 ac_cpp='$CXXCPP $CPPFLAGS'
26055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26058
26059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26060 /* end confdefs.h. */
26061 #include <math.h>
26062 #ifdef HAVE_IEEEFP_H
26063 #include <ieeefp.h>
26064 #endif
26065
26066 int
26067 main ()
26068 {
26069 sqrtl(0);
26070 ;
26071 return 0;
26072 }
26073 _ACEOF
26074 if ac_fn_cxx_try_compile "$LINENO"; then :
26075 glibcxx_cv_func_sqrtl_use=yes
26076 else
26077 glibcxx_cv_func_sqrtl_use=no
26078 fi
26079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26080 ac_ext=c
26081 ac_cpp='$CPP $CPPFLAGS'
26082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26085
26086
26087 fi
26088
26089 fi
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26091 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26092
26093 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26094 for ac_func in sqrtl
26095 do :
26096 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26097 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26098 cat >>confdefs.h <<_ACEOF
26099 #define HAVE_SQRTL 1
26100 _ACEOF
26101
26102 fi
26103 done
26104
26105 else
26106
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26108 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26109 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26110 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26113
26114
26115 ac_ext=cpp
26116 ac_cpp='$CXXCPP $CPPFLAGS'
26117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26120
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123 #include <math.h>
26124 #ifdef HAVE_IEEEFP_H
26125 #include <ieeefp.h>
26126 #endif
26127
26128 int
26129 main ()
26130 {
26131 _sqrtl(0);
26132 ;
26133 return 0;
26134 }
26135 _ACEOF
26136 if ac_fn_cxx_try_compile "$LINENO"; then :
26137 glibcxx_cv_func__sqrtl_use=yes
26138 else
26139 glibcxx_cv_func__sqrtl_use=no
26140 fi
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 ac_ext=c
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26147
26148
26149 fi
26150
26151 fi
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26153 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26154
26155 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26156 for ac_func in _sqrtl
26157 do :
26158 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26159 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26160 cat >>confdefs.h <<_ACEOF
26161 #define HAVE__SQRTL 1
26162 _ACEOF
26163
26164 fi
26165 done
26166
26167 fi
26168 fi
26169
26170
26171
26172
26173
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26175 $as_echo_n "checking for sincosl declaration... " >&6; }
26176 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26177 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26178 $as_echo_n "(cached) " >&6
26179 else
26180
26181
26182 ac_ext=cpp
26183 ac_cpp='$CXXCPP $CPPFLAGS'
26184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26187
26188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26189 /* end confdefs.h. */
26190 #include <math.h>
26191 int
26192 main ()
26193 {
26194 sincosl(0, 0, 0);
26195 ;
26196 return 0;
26197 }
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func_sincosl_use=yes
26201 else
26202 glibcxx_cv_func_sincosl_use=no
26203 fi
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210
26211
26212 fi
26213
26214 fi
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26216 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26217
26218 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26219 for ac_func in sincosl
26220 do :
26221 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26222 if test "x$ac_cv_func_sincosl" = x""yes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE_SINCOSL 1
26225 _ACEOF
26226
26227 fi
26228 done
26229
26230 else
26231
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26233 $as_echo_n "checking for _sincosl declaration... " >&6; }
26234 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26235 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26238
26239
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26249 int
26250 main ()
26251 {
26252 _sincosl(0, 0, 0);
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 if ac_fn_cxx_try_compile "$LINENO"; then :
26258 glibcxx_cv_func__sincosl_use=yes
26259 else
26260 glibcxx_cv_func__sincosl_use=no
26261 fi
26262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26263 ac_ext=c
26264 ac_cpp='$CPP $CPPFLAGS'
26265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26268
26269
26270 fi
26271
26272 fi
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26274 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26275
26276 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26277 for ac_func in _sincosl
26278 do :
26279 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26280 if test "x$ac_cv_func__sincosl" = x""yes; then :
26281 cat >>confdefs.h <<_ACEOF
26282 #define HAVE__SINCOSL 1
26283 _ACEOF
26284
26285 fi
26286 done
26287
26288 fi
26289 fi
26290
26291
26292
26293
26294
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26296 $as_echo_n "checking for finitel declaration... " >&6; }
26297 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26298 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26299 $as_echo_n "(cached) " >&6
26300 else
26301
26302
26303 ac_ext=cpp
26304 ac_cpp='$CXXCPP $CPPFLAGS'
26305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308
26309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310 /* end confdefs.h. */
26311 #include <math.h>
26312 #ifdef HAVE_IEEEFP_H
26313 #include <ieeefp.h>
26314 #endif
26315
26316 int
26317 main ()
26318 {
26319 finitel(0);
26320 ;
26321 return 0;
26322 }
26323 _ACEOF
26324 if ac_fn_cxx_try_compile "$LINENO"; then :
26325 glibcxx_cv_func_finitel_use=yes
26326 else
26327 glibcxx_cv_func_finitel_use=no
26328 fi
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 ac_ext=c
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26335
26336
26337 fi
26338
26339 fi
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26341 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26342
26343 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26344 for ac_func in finitel
26345 do :
26346 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26347 if test "x$ac_cv_func_finitel" = x""yes; then :
26348 cat >>confdefs.h <<_ACEOF
26349 #define HAVE_FINITEL 1
26350 _ACEOF
26351
26352 fi
26353 done
26354
26355 else
26356
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26358 $as_echo_n "checking for _finitel declaration... " >&6; }
26359 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26360 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26363
26364
26365 ac_ext=cpp
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26373 #include <math.h>
26374 #ifdef HAVE_IEEEFP_H
26375 #include <ieeefp.h>
26376 #endif
26377
26378 int
26379 main ()
26380 {
26381 _finitel(0);
26382 ;
26383 return 0;
26384 }
26385 _ACEOF
26386 if ac_fn_cxx_try_compile "$LINENO"; then :
26387 glibcxx_cv_func__finitel_use=yes
26388 else
26389 glibcxx_cv_func__finitel_use=no
26390 fi
26391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26392 ac_ext=c
26393 ac_cpp='$CPP $CPPFLAGS'
26394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26397
26398
26399 fi
26400
26401 fi
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26403 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26404
26405 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26406 for ac_func in _finitel
26407 do :
26408 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26409 if test "x$ac_cv_func__finitel" = x""yes; then :
26410 cat >>confdefs.h <<_ACEOF
26411 #define HAVE__FINITEL 1
26412 _ACEOF
26413
26414 fi
26415 done
26416
26417 fi
26418 fi
26419
26420
26421
26422
26423 LIBS="$ac_save_LIBS"
26424 CXXFLAGS="$ac_save_CXXFLAGS"
26425
26426
26427 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26428 ac_save_CXXFLAGS="$CXXFLAGS"
26429 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26430
26431
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26433 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26434 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26435 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26436 $as_echo_n "(cached) " >&6
26437 else
26438
26439
26440 ac_ext=cpp
26441 ac_cpp='$CXXCPP $CPPFLAGS'
26442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26445
26446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26447 /* end confdefs.h. */
26448 #include <stdlib.h>
26449 int
26450 main ()
26451 {
26452 at_quick_exit(0);
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func_at_quick_exit_use=yes
26459 else
26460 glibcxx_cv_func_at_quick_exit_use=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26468
26469
26470 fi
26471
26472 fi
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26474 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26475 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26476 for ac_func in at_quick_exit
26477 do :
26478 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26479 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26480 cat >>confdefs.h <<_ACEOF
26481 #define HAVE_AT_QUICK_EXIT 1
26482 _ACEOF
26483
26484 fi
26485 done
26486
26487 fi
26488
26489
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26491 $as_echo_n "checking for quick_exit declaration... " >&6; }
26492 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26493 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26496
26497
26498 ac_ext=cpp
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503
26504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26505 /* end confdefs.h. */
26506 #include <stdlib.h>
26507 int
26508 main ()
26509 {
26510 quick_exit(0);
26511 ;
26512 return 0;
26513 }
26514 _ACEOF
26515 if ac_fn_cxx_try_compile "$LINENO"; then :
26516 glibcxx_cv_func_quick_exit_use=yes
26517 else
26518 glibcxx_cv_func_quick_exit_use=no
26519 fi
26520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26521 ac_ext=c
26522 ac_cpp='$CPP $CPPFLAGS'
26523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26526
26527
26528 fi
26529
26530 fi
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26532 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26533 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26534 for ac_func in quick_exit
26535 do :
26536 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26537 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26538 cat >>confdefs.h <<_ACEOF
26539 #define HAVE_QUICK_EXIT 1
26540 _ACEOF
26541
26542 fi
26543 done
26544
26545 fi
26546
26547
26548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26549 $as_echo_n "checking for strtold declaration... " >&6; }
26550 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26551 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26552 $as_echo_n "(cached) " >&6
26553 else
26554
26555
26556 ac_ext=cpp
26557 ac_cpp='$CXXCPP $CPPFLAGS'
26558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26561
26562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26563 /* end confdefs.h. */
26564 #include <stdlib.h>
26565 int
26566 main ()
26567 {
26568 strtold(0, 0);
26569 ;
26570 return 0;
26571 }
26572 _ACEOF
26573 if ac_fn_cxx_try_compile "$LINENO"; then :
26574 glibcxx_cv_func_strtold_use=yes
26575 else
26576 glibcxx_cv_func_strtold_use=no
26577 fi
26578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26579 ac_ext=c
26580 ac_cpp='$CPP $CPPFLAGS'
26581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26584
26585
26586 fi
26587
26588 fi
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26590 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26591 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26592 for ac_func in strtold
26593 do :
26594 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26595 if test "x$ac_cv_func_strtold" = x""yes; then :
26596 cat >>confdefs.h <<_ACEOF
26597 #define HAVE_STRTOLD 1
26598 _ACEOF
26599
26600 fi
26601 done
26602
26603 fi
26604
26605
26606
26607
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26609 $as_echo_n "checking for strtof declaration... " >&6; }
26610 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26611 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26612 $as_echo_n "(cached) " >&6
26613 else
26614
26615
26616 ac_ext=cpp
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26621
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <stdlib.h>
26625 int
26626 main ()
26627 {
26628 strtof(0, 0);
26629 ;
26630 return 0;
26631 }
26632 _ACEOF
26633 if ac_fn_cxx_try_compile "$LINENO"; then :
26634 glibcxx_cv_func_strtof_use=yes
26635 else
26636 glibcxx_cv_func_strtof_use=no
26637 fi
26638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26639 ac_ext=c
26640 ac_cpp='$CPP $CPPFLAGS'
26641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26644
26645
26646 fi
26647
26648 fi
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26650 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26651 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26652 for ac_func in strtof
26653 do :
26654 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26655 if test "x$ac_cv_func_strtof" = x""yes; then :
26656 cat >>confdefs.h <<_ACEOF
26657 #define HAVE_STRTOF 1
26658 _ACEOF
26659
26660 fi
26661 done
26662
26663 fi
26664
26665
26666
26667
26668 CXXFLAGS="$ac_save_CXXFLAGS"
26669
26670
26671 # For /dev/random and /dev/urandom for TR1.
26672
26673
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26675 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26676 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26677 $as_echo_n "(cached) " >&6
26678 else
26679
26680 if test -r /dev/random && test -r /dev/urandom; then
26681 ## For MSys environment the test above is detect as false-positive
26682 ## on mingw-targets. So disable it explicit for them.
26683 case ${target_os} in
26684 *mingw*) glibcxx_cv_random_tr1=no ;;
26685 *) glibcxx_cv_random_tr1=yes ;;
26686 esac
26687 else
26688 glibcxx_cv_random_tr1=no;
26689 fi
26690
26691 fi
26692
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26694 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26695
26696 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26697
26698 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26699
26700 fi
26701
26702
26703
26704 # For TLS support.
26705
26706
26707 # Check whether --enable-tls was given.
26708 if test "${enable_tls+set}" = set; then :
26709 enableval=$enable_tls;
26710 case "$enableval" in
26711 yes|no) ;;
26712 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26713 esac
26714
26715 else
26716 enable_tls=yes
26717 fi
26718
26719
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26721 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26722 if test "${gcc_cv_have_tls+set}" = set; then :
26723 $as_echo_n "(cached) " >&6
26724 else
26725
26726 if test "$cross_compiling" = yes; then :
26727 if test x$gcc_no_link = xyes; then
26728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26729 fi
26730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26731 /* end confdefs.h. */
26732 __thread int a; int b; int main() { return a = b; }
26733 _ACEOF
26734 if ac_fn_c_try_link "$LINENO"; then :
26735 chktls_save_LDFLAGS="$LDFLAGS"
26736 case $host in
26737 *-*-linux*)
26738 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26739 ;;
26740 esac
26741 chktls_save_CFLAGS="$CFLAGS"
26742 CFLAGS="-fPIC $CFLAGS"
26743 if test x$gcc_no_link = xyes; then
26744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26745 fi
26746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26747 /* end confdefs.h. */
26748 int f() { return 0; }
26749 _ACEOF
26750 if ac_fn_c_try_link "$LINENO"; then :
26751 if test x$gcc_no_link = xyes; then
26752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26753 fi
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 __thread int a; int b; int f() { return a = b; }
26757 _ACEOF
26758 if ac_fn_c_try_link "$LINENO"; then :
26759 gcc_cv_have_tls=yes
26760 else
26761 gcc_cv_have_tls=no
26762 fi
26763 rm -f core conftest.err conftest.$ac_objext \
26764 conftest$ac_exeext conftest.$ac_ext
26765 else
26766 gcc_cv_have_tls=yes
26767 fi
26768 rm -f core conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770 CFLAGS="$chktls_save_CFLAGS"
26771 LDFLAGS="$chktls_save_LDFLAGS"
26772 else
26773 gcc_cv_have_tls=no
26774 fi
26775 rm -f core conftest.err conftest.$ac_objext \
26776 conftest$ac_exeext conftest.$ac_ext
26777
26778
26779 else
26780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26782 __thread int a; int b; int main() { return a = b; }
26783 _ACEOF
26784 if ac_fn_c_try_run "$LINENO"; then :
26785 chktls_save_LDFLAGS="$LDFLAGS"
26786 LDFLAGS="-static $LDFLAGS"
26787 if test x$gcc_no_link = xyes; then
26788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26789 fi
26790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26791 /* end confdefs.h. */
26792 int main() { return 0; }
26793 _ACEOF
26794 if ac_fn_c_try_link "$LINENO"; then :
26795 if test "$cross_compiling" = yes; then :
26796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26798 as_fn_error "cannot run test program while cross compiling
26799 See \`config.log' for more details." "$LINENO" 5; }
26800 else
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26802 /* end confdefs.h. */
26803 __thread int a; int b; int main() { return a = b; }
26804 _ACEOF
26805 if ac_fn_c_try_run "$LINENO"; then :
26806 gcc_cv_have_tls=yes
26807 else
26808 gcc_cv_have_tls=no
26809 fi
26810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26811 conftest.$ac_objext conftest.beam conftest.$ac_ext
26812 fi
26813
26814 else
26815 gcc_cv_have_tls=yes
26816 fi
26817 rm -f core conftest.err conftest.$ac_objext \
26818 conftest$ac_exeext conftest.$ac_ext
26819 LDFLAGS="$chktls_save_LDFLAGS"
26820 if test $gcc_cv_have_tls = yes; then
26821 chktls_save_CFLAGS="$CFLAGS"
26822 thread_CFLAGS=failed
26823 for flag in '' '-pthread' '-lpthread'; do
26824 CFLAGS="$flag $chktls_save_CFLAGS"
26825 if test x$gcc_no_link = xyes; then
26826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26827 fi
26828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26829 /* end confdefs.h. */
26830 #include <pthread.h>
26831 void *g(void *d) { return NULL; }
26832 int
26833 main ()
26834 {
26835 pthread_t t; pthread_create(&t,NULL,g,NULL);
26836 ;
26837 return 0;
26838 }
26839 _ACEOF
26840 if ac_fn_c_try_link "$LINENO"; then :
26841 thread_CFLAGS="$flag"
26842 fi
26843 rm -f core conftest.err conftest.$ac_objext \
26844 conftest$ac_exeext conftest.$ac_ext
26845 if test "X$thread_CFLAGS" != Xfailed; then
26846 break
26847 fi
26848 done
26849 CFLAGS="$chktls_save_CFLAGS"
26850 if test "X$thread_CFLAGS" != Xfailed; then
26851 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26852 if test "$cross_compiling" = yes; then :
26853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26855 as_fn_error "cannot run test program while cross compiling
26856 See \`config.log' for more details." "$LINENO" 5; }
26857 else
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 #include <pthread.h>
26861 __thread int a;
26862 static int *volatile a_in_other_thread;
26863 static void *
26864 thread_func (void *arg)
26865 {
26866 a_in_other_thread = &a;
26867 return (void *)0;
26868 }
26869 int
26870 main ()
26871 {
26872 pthread_t thread;
26873 void *thread_retval;
26874 int *volatile a_in_main_thread;
26875 a_in_main_thread = &a;
26876 if (pthread_create (&thread, (pthread_attr_t *)0,
26877 thread_func, (void *)0))
26878 return 0;
26879 if (pthread_join (thread, &thread_retval))
26880 return 0;
26881 return (a_in_other_thread == a_in_main_thread);
26882 ;
26883 return 0;
26884 }
26885 _ACEOF
26886 if ac_fn_c_try_run "$LINENO"; then :
26887 gcc_cv_have_tls=yes
26888 else
26889 gcc_cv_have_tls=no
26890 fi
26891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26892 conftest.$ac_objext conftest.beam conftest.$ac_ext
26893 fi
26894
26895 CFLAGS="$chktls_save_CFLAGS"
26896 fi
26897 fi
26898 else
26899 gcc_cv_have_tls=no
26900 fi
26901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26902 conftest.$ac_objext conftest.beam conftest.$ac_ext
26903 fi
26904
26905 fi
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26907 $as_echo "$gcc_cv_have_tls" >&6; }
26908 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26909
26910 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26911
26912 fi
26913
26914 for ac_func in __cxa_thread_atexit_impl
26915 do :
26916 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26917 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26918 cat >>confdefs.h <<_ACEOF
26919 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26920 _ACEOF
26921
26922 fi
26923 done
26924
26925
26926 # For iconv support.
26927
26928 if test "X$prefix" = "XNONE"; then
26929 acl_final_prefix="$ac_default_prefix"
26930 else
26931 acl_final_prefix="$prefix"
26932 fi
26933 if test "X$exec_prefix" = "XNONE"; then
26934 acl_final_exec_prefix='${prefix}'
26935 else
26936 acl_final_exec_prefix="$exec_prefix"
26937 fi
26938 acl_save_prefix="$prefix"
26939 prefix="$acl_final_prefix"
26940 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26941 prefix="$acl_save_prefix"
26942
26943
26944 # Check whether --with-gnu-ld was given.
26945 if test "${with_gnu_ld+set}" = set; then :
26946 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26947 else
26948 with_gnu_ld=no
26949 fi
26950
26951 # Prepare PATH_SEPARATOR.
26952 # The user is always right.
26953 if test "${PATH_SEPARATOR+set}" != set; then
26954 echo "#! /bin/sh" >conf$$.sh
26955 echo "exit 0" >>conf$$.sh
26956 chmod +x conf$$.sh
26957 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26958 PATH_SEPARATOR=';'
26959 else
26960 PATH_SEPARATOR=:
26961 fi
26962 rm -f conf$$.sh
26963 fi
26964 ac_prog=ld
26965 if test "$GCC" = yes; then
26966 # Check if gcc -print-prog-name=ld gives a path.
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26968 $as_echo_n "checking for ld used by GCC... " >&6; }
26969 case $host in
26970 *-*-mingw*)
26971 # gcc leaves a trailing carriage return which upsets mingw
26972 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26973 *)
26974 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26975 esac
26976 case $ac_prog in
26977 # Accept absolute paths.
26978 [\\/]* | [A-Za-z]:[\\/]*)
26979 re_direlt='/[^/][^/]*/\.\./'
26980 # Canonicalize the path of ld
26981 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26982 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26983 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26984 done
26985 test -z "$LD" && LD="$ac_prog"
26986 ;;
26987 "")
26988 # If it fails, then pretend we aren't using GCC.
26989 ac_prog=ld
26990 ;;
26991 *)
26992 # If it is relative, then search for the first ld in PATH.
26993 with_gnu_ld=unknown
26994 ;;
26995 esac
26996 elif test "$with_gnu_ld" = yes; then
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26998 $as_echo_n "checking for GNU ld... " >&6; }
26999 else
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27001 $as_echo_n "checking for non-GNU ld... " >&6; }
27002 fi
27003 if test "${acl_cv_path_LD+set}" = set; then :
27004 $as_echo_n "(cached) " >&6
27005 else
27006 if test -z "$LD"; then
27007 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27008 for ac_dir in $PATH; do
27009 test -z "$ac_dir" && ac_dir=.
27010 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27011 acl_cv_path_LD="$ac_dir/$ac_prog"
27012 # Check to see if the program is GNU ld. I'd rather use --version,
27013 # but apparently some GNU ld's only accept -v.
27014 # Break only if it was the GNU/non-GNU ld that we prefer.
27015 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27016 test "$with_gnu_ld" != no && break
27017 else
27018 test "$with_gnu_ld" != yes && break
27019 fi
27020 fi
27021 done
27022 IFS="$ac_save_ifs"
27023 else
27024 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27025 fi
27026 fi
27027
27028 LD="$acl_cv_path_LD"
27029 if test -n "$LD"; then
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27031 $as_echo "$LD" >&6; }
27032 else
27033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27034 $as_echo "no" >&6; }
27035 fi
27036 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27038 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27039 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27040 $as_echo_n "(cached) " >&6
27041 else
27042 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27043 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27044 acl_cv_prog_gnu_ld=yes
27045 else
27046 acl_cv_prog_gnu_ld=no
27047 fi
27048 fi
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27050 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27051 with_gnu_ld=$acl_cv_prog_gnu_ld
27052
27053
27054
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27056 $as_echo_n "checking for shared library run path origin... " >&6; }
27057 if test "${acl_cv_rpath+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27060
27061 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27062 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27063 . ./conftest.sh
27064 rm -f ./conftest.sh
27065 acl_cv_rpath=done
27066
27067 fi
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27069 $as_echo "$acl_cv_rpath" >&6; }
27070 wl="$acl_cv_wl"
27071 libext="$acl_cv_libext"
27072 shlibext="$acl_cv_shlibext"
27073 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27074 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27075 hardcode_direct="$acl_cv_hardcode_direct"
27076 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27077 # Check whether --enable-rpath was given.
27078 if test "${enable_rpath+set}" = set; then :
27079 enableval=$enable_rpath; :
27080 else
27081 enable_rpath=yes
27082 fi
27083
27084
27085
27086
27087
27088
27089
27090
27091 use_additional=yes
27092
27093 acl_save_prefix="$prefix"
27094 prefix="$acl_final_prefix"
27095 acl_save_exec_prefix="$exec_prefix"
27096 exec_prefix="$acl_final_exec_prefix"
27097
27098 eval additional_includedir=\"$includedir\"
27099 eval additional_libdir=\"$libdir\"
27100
27101 exec_prefix="$acl_save_exec_prefix"
27102 prefix="$acl_save_prefix"
27103
27104
27105 # Check whether --with-libiconv-prefix was given.
27106 if test "${with_libiconv_prefix+set}" = set; then :
27107 withval=$with_libiconv_prefix;
27108 if test "X$withval" = "Xno"; then
27109 use_additional=no
27110 else
27111 if test "X$withval" = "X"; then
27112
27113 acl_save_prefix="$prefix"
27114 prefix="$acl_final_prefix"
27115 acl_save_exec_prefix="$exec_prefix"
27116 exec_prefix="$acl_final_exec_prefix"
27117
27118 eval additional_includedir=\"$includedir\"
27119 eval additional_libdir=\"$libdir\"
27120
27121 exec_prefix="$acl_save_exec_prefix"
27122 prefix="$acl_save_prefix"
27123
27124 else
27125 additional_includedir="$withval/include"
27126 additional_libdir="$withval/lib"
27127 fi
27128 fi
27129
27130 fi
27131
27132 LIBICONV=
27133 LTLIBICONV=
27134 INCICONV=
27135 rpathdirs=
27136 ltrpathdirs=
27137 names_already_handled=
27138 names_next_round='iconv '
27139 while test -n "$names_next_round"; do
27140 names_this_round="$names_next_round"
27141 names_next_round=
27142 for name in $names_this_round; do
27143 already_handled=
27144 for n in $names_already_handled; do
27145 if test "$n" = "$name"; then
27146 already_handled=yes
27147 break
27148 fi
27149 done
27150 if test -z "$already_handled"; then
27151 names_already_handled="$names_already_handled $name"
27152 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27153 eval value=\"\$HAVE_LIB$uppername\"
27154 if test -n "$value"; then
27155 if test "$value" = yes; then
27156 eval value=\"\$LIB$uppername\"
27157 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27158 eval value=\"\$LTLIB$uppername\"
27159 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27160 else
27161 :
27162 fi
27163 else
27164 found_dir=
27165 found_la=
27166 found_so=
27167 found_a=
27168 if test $use_additional = yes; then
27169 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27170 found_dir="$additional_libdir"
27171 found_so="$additional_libdir/lib$name.$shlibext"
27172 if test -f "$additional_libdir/lib$name.la"; then
27173 found_la="$additional_libdir/lib$name.la"
27174 fi
27175 else
27176 if test -f "$additional_libdir/lib$name.$libext"; then
27177 found_dir="$additional_libdir"
27178 found_a="$additional_libdir/lib$name.$libext"
27179 if test -f "$additional_libdir/lib$name.la"; then
27180 found_la="$additional_libdir/lib$name.la"
27181 fi
27182 fi
27183 fi
27184 fi
27185 if test "X$found_dir" = "X"; then
27186 for x in $LDFLAGS $LTLIBICONV; do
27187
27188 acl_save_prefix="$prefix"
27189 prefix="$acl_final_prefix"
27190 acl_save_exec_prefix="$exec_prefix"
27191 exec_prefix="$acl_final_exec_prefix"
27192 eval x=\"$x\"
27193 exec_prefix="$acl_save_exec_prefix"
27194 prefix="$acl_save_prefix"
27195
27196 case "$x" in
27197 -L*)
27198 dir=`echo "X$x" | sed -e 's/^X-L//'`
27199 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27200 found_dir="$dir"
27201 found_so="$dir/lib$name.$shlibext"
27202 if test -f "$dir/lib$name.la"; then
27203 found_la="$dir/lib$name.la"
27204 fi
27205 else
27206 if test -f "$dir/lib$name.$libext"; then
27207 found_dir="$dir"
27208 found_a="$dir/lib$name.$libext"
27209 if test -f "$dir/lib$name.la"; then
27210 found_la="$dir/lib$name.la"
27211 fi
27212 fi
27213 fi
27214 ;;
27215 esac
27216 if test "X$found_dir" != "X"; then
27217 break
27218 fi
27219 done
27220 fi
27221 if test "X$found_dir" != "X"; then
27222 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27223 if test "X$found_so" != "X"; then
27224 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27225 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27226 else
27227 haveit=
27228 for x in $ltrpathdirs; do
27229 if test "X$x" = "X$found_dir"; then
27230 haveit=yes
27231 break
27232 fi
27233 done
27234 if test -z "$haveit"; then
27235 ltrpathdirs="$ltrpathdirs $found_dir"
27236 fi
27237 if test "$hardcode_direct" = yes; then
27238 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27239 else
27240 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27241 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27242 haveit=
27243 for x in $rpathdirs; do
27244 if test "X$x" = "X$found_dir"; then
27245 haveit=yes
27246 break
27247 fi
27248 done
27249 if test -z "$haveit"; then
27250 rpathdirs="$rpathdirs $found_dir"
27251 fi
27252 else
27253 haveit=
27254 for x in $LDFLAGS $LIBICONV; do
27255
27256 acl_save_prefix="$prefix"
27257 prefix="$acl_final_prefix"
27258 acl_save_exec_prefix="$exec_prefix"
27259 exec_prefix="$acl_final_exec_prefix"
27260 eval x=\"$x\"
27261 exec_prefix="$acl_save_exec_prefix"
27262 prefix="$acl_save_prefix"
27263
27264 if test "X$x" = "X-L$found_dir"; then
27265 haveit=yes
27266 break
27267 fi
27268 done
27269 if test -z "$haveit"; then
27270 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27271 fi
27272 if test "$hardcode_minus_L" != no; then
27273 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27274 else
27275 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27276 fi
27277 fi
27278 fi
27279 fi
27280 else
27281 if test "X$found_a" != "X"; then
27282 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27283 else
27284 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27285 fi
27286 fi
27287 additional_includedir=
27288 case "$found_dir" in
27289 */lib | */lib/)
27290 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27291 additional_includedir="$basedir/include"
27292 ;;
27293 esac
27294 if test "X$additional_includedir" != "X"; then
27295 if test "X$additional_includedir" != "X/usr/include"; then
27296 haveit=
27297 if test "X$additional_includedir" = "X/usr/local/include"; then
27298 if test -n "$GCC"; then
27299 case $host_os in
27300 linux*) haveit=yes;;
27301 esac
27302 fi
27303 fi
27304 if test -z "$haveit"; then
27305 for x in $CPPFLAGS $INCICONV; do
27306
27307 acl_save_prefix="$prefix"
27308 prefix="$acl_final_prefix"
27309 acl_save_exec_prefix="$exec_prefix"
27310 exec_prefix="$acl_final_exec_prefix"
27311 eval x=\"$x\"
27312 exec_prefix="$acl_save_exec_prefix"
27313 prefix="$acl_save_prefix"
27314
27315 if test "X$x" = "X-I$additional_includedir"; then
27316 haveit=yes
27317 break
27318 fi
27319 done
27320 if test -z "$haveit"; then
27321 if test -d "$additional_includedir"; then
27322 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27323 fi
27324 fi
27325 fi
27326 fi
27327 fi
27328 if test -n "$found_la"; then
27329 save_libdir="$libdir"
27330 case "$found_la" in
27331 */* | *\\*) . "$found_la" ;;
27332 *) . "./$found_la" ;;
27333 esac
27334 libdir="$save_libdir"
27335 for dep in $dependency_libs; do
27336 case "$dep" in
27337 -L*)
27338 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27339 if test "X$additional_libdir" != "X/usr/lib"; then
27340 haveit=
27341 if test "X$additional_libdir" = "X/usr/local/lib"; then
27342 if test -n "$GCC"; then
27343 case $host_os in
27344 linux*) haveit=yes;;
27345 esac
27346 fi
27347 fi
27348 if test -z "$haveit"; then
27349 haveit=
27350 for x in $LDFLAGS $LIBICONV; do
27351
27352 acl_save_prefix="$prefix"
27353 prefix="$acl_final_prefix"
27354 acl_save_exec_prefix="$exec_prefix"
27355 exec_prefix="$acl_final_exec_prefix"
27356 eval x=\"$x\"
27357 exec_prefix="$acl_save_exec_prefix"
27358 prefix="$acl_save_prefix"
27359
27360 if test "X$x" = "X-L$additional_libdir"; then
27361 haveit=yes
27362 break
27363 fi
27364 done
27365 if test -z "$haveit"; then
27366 if test -d "$additional_libdir"; then
27367 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27368 fi
27369 fi
27370 haveit=
27371 for x in $LDFLAGS $LTLIBICONV; do
27372
27373 acl_save_prefix="$prefix"
27374 prefix="$acl_final_prefix"
27375 acl_save_exec_prefix="$exec_prefix"
27376 exec_prefix="$acl_final_exec_prefix"
27377 eval x=\"$x\"
27378 exec_prefix="$acl_save_exec_prefix"
27379 prefix="$acl_save_prefix"
27380
27381 if test "X$x" = "X-L$additional_libdir"; then
27382 haveit=yes
27383 break
27384 fi
27385 done
27386 if test -z "$haveit"; then
27387 if test -d "$additional_libdir"; then
27388 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27389 fi
27390 fi
27391 fi
27392 fi
27393 ;;
27394 -R*)
27395 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27396 if test "$enable_rpath" != no; then
27397 haveit=
27398 for x in $rpathdirs; do
27399 if test "X$x" = "X$dir"; then
27400 haveit=yes
27401 break
27402 fi
27403 done
27404 if test -z "$haveit"; then
27405 rpathdirs="$rpathdirs $dir"
27406 fi
27407 haveit=
27408 for x in $ltrpathdirs; do
27409 if test "X$x" = "X$dir"; then
27410 haveit=yes
27411 break
27412 fi
27413 done
27414 if test -z "$haveit"; then
27415 ltrpathdirs="$ltrpathdirs $dir"
27416 fi
27417 fi
27418 ;;
27419 -l*)
27420 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27421 ;;
27422 *.la)
27423 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27424 ;;
27425 *)
27426 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27427 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27428 ;;
27429 esac
27430 done
27431 fi
27432 else
27433 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27434 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27435 fi
27436 fi
27437 fi
27438 done
27439 done
27440 if test "X$rpathdirs" != "X"; then
27441 if test -n "$hardcode_libdir_separator"; then
27442 alldirs=
27443 for found_dir in $rpathdirs; do
27444 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27445 done
27446 acl_save_libdir="$libdir"
27447 libdir="$alldirs"
27448 eval flag=\"$hardcode_libdir_flag_spec\"
27449 libdir="$acl_save_libdir"
27450 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27451 else
27452 for found_dir in $rpathdirs; do
27453 acl_save_libdir="$libdir"
27454 libdir="$found_dir"
27455 eval flag=\"$hardcode_libdir_flag_spec\"
27456 libdir="$acl_save_libdir"
27457 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27458 done
27459 fi
27460 fi
27461 if test "X$ltrpathdirs" != "X"; then
27462 for found_dir in $ltrpathdirs; do
27463 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27464 done
27465 fi
27466
27467
27468
27469
27470
27471
27472
27473 am_save_CPPFLAGS="$CPPFLAGS"
27474
27475 for element in $INCICONV; do
27476 haveit=
27477 for x in $CPPFLAGS; do
27478
27479 acl_save_prefix="$prefix"
27480 prefix="$acl_final_prefix"
27481 acl_save_exec_prefix="$exec_prefix"
27482 exec_prefix="$acl_final_exec_prefix"
27483 eval x=\"$x\"
27484 exec_prefix="$acl_save_exec_prefix"
27485 prefix="$acl_save_prefix"
27486
27487 if test "X$x" = "X$element"; then
27488 haveit=yes
27489 break
27490 fi
27491 done
27492 if test -z "$haveit"; then
27493 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27494 fi
27495 done
27496
27497
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27499 $as_echo_n "checking for iconv... " >&6; }
27500 if test "${am_cv_func_iconv+set}" = set; then :
27501 $as_echo_n "(cached) " >&6
27502 else
27503
27504 am_cv_func_iconv="no, consider installing GNU libiconv"
27505 am_cv_lib_iconv=no
27506 if test x$gcc_no_link = xyes; then
27507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27508 fi
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27511 #include <stdlib.h>
27512 #include <iconv.h>
27513 int
27514 main ()
27515 {
27516 iconv_t cd = iconv_open("","");
27517 iconv(cd,NULL,NULL,NULL,NULL);
27518 iconv_close(cd);
27519 ;
27520 return 0;
27521 }
27522 _ACEOF
27523 if ac_fn_c_try_link "$LINENO"; then :
27524 am_cv_func_iconv=yes
27525 fi
27526 rm -f core conftest.err conftest.$ac_objext \
27527 conftest$ac_exeext conftest.$ac_ext
27528 if test "$am_cv_func_iconv" != yes; then
27529 am_save_LIBS="$LIBS"
27530 LIBS="$LIBS $LIBICONV"
27531 if test x$gcc_no_link = xyes; then
27532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27533 fi
27534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h. */
27536 #include <stdlib.h>
27537 #include <iconv.h>
27538 int
27539 main ()
27540 {
27541 iconv_t cd = iconv_open("","");
27542 iconv(cd,NULL,NULL,NULL,NULL);
27543 iconv_close(cd);
27544 ;
27545 return 0;
27546 }
27547 _ACEOF
27548 if ac_fn_c_try_link "$LINENO"; then :
27549 am_cv_lib_iconv=yes
27550 am_cv_func_iconv=yes
27551 fi
27552 rm -f core conftest.err conftest.$ac_objext \
27553 conftest$ac_exeext conftest.$ac_ext
27554 LIBS="$am_save_LIBS"
27555 fi
27556
27557 fi
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27559 $as_echo "$am_cv_func_iconv" >&6; }
27560 if test "$am_cv_func_iconv" = yes; then
27561
27562 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27563
27564 fi
27565 if test "$am_cv_lib_iconv" = yes; then
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27567 $as_echo_n "checking how to link with libiconv... " >&6; }
27568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27569 $as_echo "$LIBICONV" >&6; }
27570 else
27571 CPPFLAGS="$am_save_CPPFLAGS"
27572 LIBICONV=
27573 LTLIBICONV=
27574 fi
27575
27576
27577
27578 if test "$am_cv_func_iconv" = yes; then
27579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27580 $as_echo_n "checking for iconv declaration... " >&6; }
27581 if test "${am_cv_proto_iconv+set}" = set; then :
27582 $as_echo_n "(cached) " >&6
27583 else
27584
27585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27586 /* end confdefs.h. */
27587
27588 #include <stdlib.h>
27589 #include <iconv.h>
27590 extern
27591 #ifdef __cplusplus
27592 "C"
27593 #endif
27594 #if defined(__STDC__) || defined(__cplusplus)
27595 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27596 #else
27597 size_t iconv();
27598 #endif
27599
27600 int
27601 main ()
27602 {
27603
27604 ;
27605 return 0;
27606 }
27607 _ACEOF
27608 if ac_fn_c_try_compile "$LINENO"; then :
27609 am_cv_proto_iconv_arg1=""
27610 else
27611 am_cv_proto_iconv_arg1="const"
27612 fi
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 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);"
27615 fi
27616
27617 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27619 }$am_cv_proto_iconv" >&5
27620 $as_echo "${ac_t:-
27621 }$am_cv_proto_iconv" >&6; }
27622
27623 cat >>confdefs.h <<_ACEOF
27624 #define ICONV_CONST $am_cv_proto_iconv_arg1
27625 _ACEOF
27626
27627 fi
27628
27629
27630 else
27631
27632 # This lets us hard-code the functionality we know we'll have in the cross
27633 # target environment. "Let" is a sugar-coated word placed on an especially
27634 # dull and tedious hack, actually.
27635 #
27636 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27637 # that involve linking, can't be used:
27638 # "cannot open sim-crt0.o"
27639 # "cannot open crt0.o"
27640 # etc. All this is because there currently exists no unified, consistent
27641 # way for top level CC information to be passed down to target directories:
27642 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27643 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27644 # crosses can be removed.
27645
27646 # If Canadian cross, then don't pick up tools from the build directory.
27647 # Used only in GLIBCXX_EXPORT_INCLUDES.
27648 if test -n "$with_cross_host" &&
27649 test x"$build_alias" != x"$with_cross_host" &&
27650 test x"$build" != x"$target";
27651 then
27652 CANADIAN=yes
27653 else
27654 CANADIAN=no
27655 fi
27656
27657 # Construct crosses by hand, eliminating bits that need ld...
27658 # GLIBCXX_CHECK_MATH_SUPPORT
27659
27660 # First, test for "known" system libraries. We may be using newlib even
27661 # on a hosted environment.
27662 if test "x${with_newlib}" = "xyes"; then
27663 os_include_dir="os/newlib"
27664 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27665
27666
27667 # GLIBCXX_CHECK_STDLIB_SUPPORT
27668 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27669
27670
27671 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27672
27673 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27674
27675 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27676
27677 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27678
27679 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27680
27681 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27682
27683 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27684
27685 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27686
27687 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27688
27689 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27690
27691 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27692
27693 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27694
27695 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27696
27697 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27698
27699 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27700
27701 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27702
27703 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27704
27705 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27706
27707 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27708
27709 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27710
27711 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27712
27713 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27714
27715
27716 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27717
27718 else
27719
27720 # Base decisions on target environment.
27721 case "${host}" in
27722 arm*-*-symbianelf*)
27723 # This is a freestanding configuration; there is nothing to do here.
27724 ;;
27725
27726 mips*-sde-elf*)
27727 # These definitions are for the SDE C library rather than newlib.
27728 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27729
27730
27731 # All these tests are for C++; save the language and the compiler flags.
27732 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27733 # found in GLIBCXX_CONFIGURE.
27734
27735 ac_ext=cpp
27736 ac_cpp='$CXXCPP $CPPFLAGS'
27737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27740
27741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27742 ac_save_CXXFLAGS="$CXXFLAGS"
27743
27744 # Check for maintainer-mode bits.
27745 if test x"$USE_MAINTAINER_MODE" = xno; then
27746 WERROR=''
27747 else
27748 WERROR='-Werror'
27749 fi
27750
27751 # Check for -ffunction-sections -fdata-sections
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27753 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27754 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27757 int foo; void bar() { };
27758 int
27759 main ()
27760 {
27761
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 ac_fdsections=yes
27768 else
27769 ac_fdsections=no
27770 fi
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 if test "$ac_test_CXXFLAGS" = set; then
27773 CXXFLAGS="$ac_save_CXXFLAGS"
27774 else
27775 # this is the suspicious part
27776 CXXFLAGS=''
27777 fi
27778 if test x"$ac_fdsections" = x"yes"; then
27779 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27780 fi
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27782 $as_echo "$ac_fdsections" >&6; }
27783
27784 ac_ext=c
27785 ac_cpp='$CPP $CPPFLAGS'
27786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27789
27790
27791
27792
27793
27794 # If we're not using GNU ld, then there's no point in even trying these
27795 # tests. Check for that first. We should have already tested for gld
27796 # by now (in libtool), but require it now just to be safe...
27797 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27798 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27799
27800
27801
27802 # The name set by libtool depends on the version of libtool. Shame on us
27803 # for depending on an impl detail, but c'est la vie. Older versions used
27804 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27805 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27806 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27807 # set (hence we're using an older libtool), then set it.
27808 if test x${with_gnu_ld+set} != xset; then
27809 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27810 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27811 with_gnu_ld=no
27812 else
27813 with_gnu_ld=$ac_cv_prog_gnu_ld
27814 fi
27815 fi
27816
27817 # Start by getting the version number. I think the libtool test already
27818 # does some of this, but throws away the result.
27819 glibcxx_ld_is_gold=no
27820 if test x"$with_gnu_ld" = x"yes"; then
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27822 $as_echo_n "checking for ld version... " >&6; }
27823
27824 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27825 glibcxx_ld_is_gold=yes
27826 fi
27827 ldver=`$LD --version 2>/dev/null |
27828 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'`
27829
27830 glibcxx_gnu_ld_version=`echo $ldver | \
27831 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27833 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27834 fi
27835
27836 # Set --gc-sections.
27837 glibcxx_have_gc_sections=no
27838 if test "$glibcxx_ld_is_gold" = "yes"; then
27839 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27840 glibcxx_have_gc_sections=yes
27841 fi
27842 else
27843 glibcxx_gcsections_min_ld=21602
27844 if test x"$with_gnu_ld" = x"yes" &&
27845 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27846 glibcxx_have_gc_sections=yes
27847 fi
27848 fi
27849 if test "$glibcxx_have_gc_sections" = "yes"; then
27850 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27851 # NB: This flag only works reliably after 2.16.1. Configure tests
27852 # for this are difficult, so hard wire a value that should work.
27853
27854 ac_test_CFLAGS="${CFLAGS+set}"
27855 ac_save_CFLAGS="$CFLAGS"
27856 CFLAGS='-Wl,--gc-sections'
27857
27858 # Check for -Wl,--gc-sections
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27860 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27861 if test x$gcc_no_link = xyes; then
27862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27863 fi
27864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27865 /* end confdefs.h. */
27866 int one(void) { return 1; }
27867 int two(void) { return 2; }
27868
27869 int
27870 main ()
27871 {
27872 two();
27873 ;
27874 return 0;
27875 }
27876 _ACEOF
27877 if ac_fn_c_try_link "$LINENO"; then :
27878 ac_gcsections=yes
27879 else
27880 ac_gcsections=no
27881 fi
27882 rm -f core conftest.err conftest.$ac_objext \
27883 conftest$ac_exeext conftest.$ac_ext
27884 if test "$ac_gcsections" = "yes"; then
27885 rm -f conftest.c
27886 touch conftest.c
27887 if $CC -c conftest.c; then
27888 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27889 grep "Warning: gc-sections option ignored" > /dev/null; then
27890 ac_gcsections=no
27891 fi
27892 fi
27893 rm -f conftest.c conftest.o conftest
27894 fi
27895 if test "$ac_gcsections" = "yes"; then
27896 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27897 fi
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27899 $as_echo "$ac_gcsections" >&6; }
27900
27901 if test "$ac_test_CFLAGS" = set; then
27902 CFLAGS="$ac_save_CFLAGS"
27903 else
27904 # this is the suspicious part
27905 CFLAGS=''
27906 fi
27907 fi
27908
27909 # Set -z,relro.
27910 # Note this is only for shared objects.
27911 ac_ld_relro=no
27912 if test x"$with_gnu_ld" = x"yes"; then
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27914 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27915 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27916 if test -n "$cxx_z_relo"; then
27917 OPT_LDFLAGS="-Wl,-z,relro"
27918 ac_ld_relro=yes
27919 fi
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27921 $as_echo "$ac_ld_relro" >&6; }
27922 fi
27923
27924 # Set linker optimization flags.
27925 if test x"$with_gnu_ld" = x"yes"; then
27926 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27927 fi
27928
27929
27930
27931
27932
27933 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27934 ac_save_CXXFLAGS="$CXXFLAGS"
27935 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27936
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27938 $as_echo_n "checking for sin in -lm... " >&6; }
27939 if test "${ac_cv_lib_m_sin+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27942 ac_check_lib_save_LIBS=$LIBS
27943 LIBS="-lm $LIBS"
27944 if test x$gcc_no_link = xyes; then
27945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27946 fi
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949
27950 /* Override any GCC internal prototype to avoid an error.
27951 Use char because int might match the return type of a GCC
27952 builtin and then its argument prototype would still apply. */
27953 #ifdef __cplusplus
27954 extern "C"
27955 #endif
27956 char sin ();
27957 int
27958 main ()
27959 {
27960 return sin ();
27961 ;
27962 return 0;
27963 }
27964 _ACEOF
27965 if ac_fn_c_try_link "$LINENO"; then :
27966 ac_cv_lib_m_sin=yes
27967 else
27968 ac_cv_lib_m_sin=no
27969 fi
27970 rm -f core conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27973 fi
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27975 $as_echo "$ac_cv_lib_m_sin" >&6; }
27976 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27977 libm="-lm"
27978 fi
27979
27980 ac_save_LIBS="$LIBS"
27981 LIBS="$LIBS $libm"
27982
27983
27984
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27986 $as_echo_n "checking for isinf declaration... " >&6; }
27987 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27988 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27989 $as_echo_n "(cached) " >&6
27990 else
27991
27992
27993 ac_ext=cpp
27994 ac_cpp='$CXXCPP $CPPFLAGS'
27995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27998
27999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28000 /* end confdefs.h. */
28001 #include <math.h>
28002 #ifdef HAVE_IEEEFP_H
28003 #include <ieeefp.h>
28004 #endif
28005
28006 int
28007 main ()
28008 {
28009 isinf(0);
28010 ;
28011 return 0;
28012 }
28013 _ACEOF
28014 if ac_fn_cxx_try_compile "$LINENO"; then :
28015 glibcxx_cv_func_isinf_use=yes
28016 else
28017 glibcxx_cv_func_isinf_use=no
28018 fi
28019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28020 ac_ext=c
28021 ac_cpp='$CPP $CPPFLAGS'
28022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28025
28026
28027 fi
28028
28029 fi
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28031 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28032
28033 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28034 for ac_func in isinf
28035 do :
28036 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28037 if test "x$ac_cv_func_isinf" = x""yes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE_ISINF 1
28040 _ACEOF
28041
28042 fi
28043 done
28044
28045 else
28046
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28048 $as_echo_n "checking for _isinf declaration... " >&6; }
28049 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28050 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28051 $as_echo_n "(cached) " >&6
28052 else
28053
28054
28055 ac_ext=cpp
28056 ac_cpp='$CXXCPP $CPPFLAGS'
28057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28060
28061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28062 /* end confdefs.h. */
28063 #include <math.h>
28064 #ifdef HAVE_IEEEFP_H
28065 #include <ieeefp.h>
28066 #endif
28067
28068 int
28069 main ()
28070 {
28071 _isinf(0);
28072 ;
28073 return 0;
28074 }
28075 _ACEOF
28076 if ac_fn_cxx_try_compile "$LINENO"; then :
28077 glibcxx_cv_func__isinf_use=yes
28078 else
28079 glibcxx_cv_func__isinf_use=no
28080 fi
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28082 ac_ext=c
28083 ac_cpp='$CPP $CPPFLAGS'
28084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28087
28088
28089 fi
28090
28091 fi
28092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28093 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28094
28095 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28096 for ac_func in _isinf
28097 do :
28098 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28099 if test "x$ac_cv_func__isinf" = x""yes; then :
28100 cat >>confdefs.h <<_ACEOF
28101 #define HAVE__ISINF 1
28102 _ACEOF
28103
28104 fi
28105 done
28106
28107 fi
28108 fi
28109
28110
28111
28112
28113
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28115 $as_echo_n "checking for isnan declaration... " >&6; }
28116 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28117 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28118 $as_echo_n "(cached) " >&6
28119 else
28120
28121
28122 ac_ext=cpp
28123 ac_cpp='$CXXCPP $CPPFLAGS'
28124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28127
28128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28129 /* end confdefs.h. */
28130 #include <math.h>
28131 #ifdef HAVE_IEEEFP_H
28132 #include <ieeefp.h>
28133 #endif
28134
28135 int
28136 main ()
28137 {
28138 isnan(0);
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 if ac_fn_cxx_try_compile "$LINENO"; then :
28144 glibcxx_cv_func_isnan_use=yes
28145 else
28146 glibcxx_cv_func_isnan_use=no
28147 fi
28148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28149 ac_ext=c
28150 ac_cpp='$CPP $CPPFLAGS'
28151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28154
28155
28156 fi
28157
28158 fi
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28160 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28161
28162 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28163 for ac_func in isnan
28164 do :
28165 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28166 if test "x$ac_cv_func_isnan" = x""yes; then :
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE_ISNAN 1
28169 _ACEOF
28170
28171 fi
28172 done
28173
28174 else
28175
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28177 $as_echo_n "checking for _isnan declaration... " >&6; }
28178 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28179 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28180 $as_echo_n "(cached) " >&6
28181 else
28182
28183
28184 ac_ext=cpp
28185 ac_cpp='$CXXCPP $CPPFLAGS'
28186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28189
28190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28191 /* end confdefs.h. */
28192 #include <math.h>
28193 #ifdef HAVE_IEEEFP_H
28194 #include <ieeefp.h>
28195 #endif
28196
28197 int
28198 main ()
28199 {
28200 _isnan(0);
28201 ;
28202 return 0;
28203 }
28204 _ACEOF
28205 if ac_fn_cxx_try_compile "$LINENO"; then :
28206 glibcxx_cv_func__isnan_use=yes
28207 else
28208 glibcxx_cv_func__isnan_use=no
28209 fi
28210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28211 ac_ext=c
28212 ac_cpp='$CPP $CPPFLAGS'
28213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28216
28217
28218 fi
28219
28220 fi
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28222 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28223
28224 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28225 for ac_func in _isnan
28226 do :
28227 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28228 if test "x$ac_cv_func__isnan" = x""yes; then :
28229 cat >>confdefs.h <<_ACEOF
28230 #define HAVE__ISNAN 1
28231 _ACEOF
28232
28233 fi
28234 done
28235
28236 fi
28237 fi
28238
28239
28240
28241
28242
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28244 $as_echo_n "checking for finite declaration... " >&6; }
28245 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28246 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28249
28250
28251 ac_ext=cpp
28252 ac_cpp='$CXXCPP $CPPFLAGS'
28253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28256
28257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28258 /* end confdefs.h. */
28259 #include <math.h>
28260 #ifdef HAVE_IEEEFP_H
28261 #include <ieeefp.h>
28262 #endif
28263
28264 int
28265 main ()
28266 {
28267 finite(0);
28268 ;
28269 return 0;
28270 }
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func_finite_use=yes
28274 else
28275 glibcxx_cv_func_finite_use=no
28276 fi
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28283
28284
28285 fi
28286
28287 fi
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28289 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28290
28291 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28292 for ac_func in finite
28293 do :
28294 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28295 if test "x$ac_cv_func_finite" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE_FINITE 1
28298 _ACEOF
28299
28300 fi
28301 done
28302
28303 else
28304
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28306 $as_echo_n "checking for _finite declaration... " >&6; }
28307 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28308 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28309 $as_echo_n "(cached) " >&6
28310 else
28311
28312
28313 ac_ext=cpp
28314 ac_cpp='$CXXCPP $CPPFLAGS'
28315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28318
28319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28320 /* end confdefs.h. */
28321 #include <math.h>
28322 #ifdef HAVE_IEEEFP_H
28323 #include <ieeefp.h>
28324 #endif
28325
28326 int
28327 main ()
28328 {
28329 _finite(0);
28330 ;
28331 return 0;
28332 }
28333 _ACEOF
28334 if ac_fn_cxx_try_compile "$LINENO"; then :
28335 glibcxx_cv_func__finite_use=yes
28336 else
28337 glibcxx_cv_func__finite_use=no
28338 fi
28339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28340 ac_ext=c
28341 ac_cpp='$CPP $CPPFLAGS'
28342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28345
28346
28347 fi
28348
28349 fi
28350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28351 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28352
28353 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28354 for ac_func in _finite
28355 do :
28356 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28357 if test "x$ac_cv_func__finite" = x""yes; then :
28358 cat >>confdefs.h <<_ACEOF
28359 #define HAVE__FINITE 1
28360 _ACEOF
28361
28362 fi
28363 done
28364
28365 fi
28366 fi
28367
28368
28369
28370
28371
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28373 $as_echo_n "checking for sincos declaration... " >&6; }
28374 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28375 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28376 $as_echo_n "(cached) " >&6
28377 else
28378
28379
28380 ac_ext=cpp
28381 ac_cpp='$CXXCPP $CPPFLAGS'
28382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28385
28386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h. */
28388 #include <math.h>
28389 int
28390 main ()
28391 {
28392 sincos(0, 0, 0);
28393 ;
28394 return 0;
28395 }
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398 glibcxx_cv_func_sincos_use=yes
28399 else
28400 glibcxx_cv_func_sincos_use=no
28401 fi
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28408
28409
28410 fi
28411
28412 fi
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28414 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28415
28416 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28417 for ac_func in sincos
28418 do :
28419 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28420 if test "x$ac_cv_func_sincos" = x""yes; then :
28421 cat >>confdefs.h <<_ACEOF
28422 #define HAVE_SINCOS 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428 else
28429
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28431 $as_echo_n "checking for _sincos declaration... " >&6; }
28432 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28433 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28436
28437
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28443
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28447 int
28448 main ()
28449 {
28450 _sincos(0, 0, 0);
28451 ;
28452 return 0;
28453 }
28454 _ACEOF
28455 if ac_fn_cxx_try_compile "$LINENO"; then :
28456 glibcxx_cv_func__sincos_use=yes
28457 else
28458 glibcxx_cv_func__sincos_use=no
28459 fi
28460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28461 ac_ext=c
28462 ac_cpp='$CPP $CPPFLAGS'
28463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28466
28467
28468 fi
28469
28470 fi
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28472 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28473
28474 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28475 for ac_func in _sincos
28476 do :
28477 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28478 if test "x$ac_cv_func__sincos" = x""yes; then :
28479 cat >>confdefs.h <<_ACEOF
28480 #define HAVE__SINCOS 1
28481 _ACEOF
28482
28483 fi
28484 done
28485
28486 fi
28487 fi
28488
28489
28490
28491
28492
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28494 $as_echo_n "checking for fpclass declaration... " >&6; }
28495 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28496 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28497 $as_echo_n "(cached) " >&6
28498 else
28499
28500
28501 ac_ext=cpp
28502 ac_cpp='$CXXCPP $CPPFLAGS'
28503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28506
28507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28508 /* end confdefs.h. */
28509 #include <math.h>
28510 #ifdef HAVE_IEEEFP_H
28511 #include <ieeefp.h>
28512 #endif
28513
28514 int
28515 main ()
28516 {
28517 fpclass(0);
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 if ac_fn_cxx_try_compile "$LINENO"; then :
28523 glibcxx_cv_func_fpclass_use=yes
28524 else
28525 glibcxx_cv_func_fpclass_use=no
28526 fi
28527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28528 ac_ext=c
28529 ac_cpp='$CPP $CPPFLAGS'
28530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28533
28534
28535 fi
28536
28537 fi
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28539 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28540
28541 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28542 for ac_func in fpclass
28543 do :
28544 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28545 if test "x$ac_cv_func_fpclass" = x""yes; then :
28546 cat >>confdefs.h <<_ACEOF
28547 #define HAVE_FPCLASS 1
28548 _ACEOF
28549
28550 fi
28551 done
28552
28553 else
28554
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28556 $as_echo_n "checking for _fpclass declaration... " >&6; }
28557 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28558 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28559 $as_echo_n "(cached) " >&6
28560 else
28561
28562
28563 ac_ext=cpp
28564 ac_cpp='$CXXCPP $CPPFLAGS'
28565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28568
28569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28570 /* end confdefs.h. */
28571 #include <math.h>
28572 #ifdef HAVE_IEEEFP_H
28573 #include <ieeefp.h>
28574 #endif
28575
28576 int
28577 main ()
28578 {
28579 _fpclass(0);
28580 ;
28581 return 0;
28582 }
28583 _ACEOF
28584 if ac_fn_cxx_try_compile "$LINENO"; then :
28585 glibcxx_cv_func__fpclass_use=yes
28586 else
28587 glibcxx_cv_func__fpclass_use=no
28588 fi
28589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28590 ac_ext=c
28591 ac_cpp='$CPP $CPPFLAGS'
28592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28595
28596
28597 fi
28598
28599 fi
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28601 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28602
28603 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28604 for ac_func in _fpclass
28605 do :
28606 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28607 if test "x$ac_cv_func__fpclass" = x""yes; then :
28608 cat >>confdefs.h <<_ACEOF
28609 #define HAVE__FPCLASS 1
28610 _ACEOF
28611
28612 fi
28613 done
28614
28615 fi
28616 fi
28617
28618
28619
28620
28621
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28623 $as_echo_n "checking for qfpclass declaration... " >&6; }
28624 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28625 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28626 $as_echo_n "(cached) " >&6
28627 else
28628
28629
28630 ac_ext=cpp
28631 ac_cpp='$CXXCPP $CPPFLAGS'
28632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28635
28636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 /* end confdefs.h. */
28638 #include <math.h>
28639 #ifdef HAVE_IEEEFP_H
28640 #include <ieeefp.h>
28641 #endif
28642
28643 int
28644 main ()
28645 {
28646 qfpclass(0);
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 if ac_fn_cxx_try_compile "$LINENO"; then :
28652 glibcxx_cv_func_qfpclass_use=yes
28653 else
28654 glibcxx_cv_func_qfpclass_use=no
28655 fi
28656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28657 ac_ext=c
28658 ac_cpp='$CPP $CPPFLAGS'
28659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28662
28663
28664 fi
28665
28666 fi
28667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28668 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28669
28670 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28671 for ac_func in qfpclass
28672 do :
28673 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28674 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28675 cat >>confdefs.h <<_ACEOF
28676 #define HAVE_QFPCLASS 1
28677 _ACEOF
28678
28679 fi
28680 done
28681
28682 else
28683
28684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28685 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28686 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28687 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28688 $as_echo_n "(cached) " >&6
28689 else
28690
28691
28692 ac_ext=cpp
28693 ac_cpp='$CXXCPP $CPPFLAGS'
28694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28697
28698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28699 /* end confdefs.h. */
28700 #include <math.h>
28701 #ifdef HAVE_IEEEFP_H
28702 #include <ieeefp.h>
28703 #endif
28704
28705 int
28706 main ()
28707 {
28708 _qfpclass(0);
28709 ;
28710 return 0;
28711 }
28712 _ACEOF
28713 if ac_fn_cxx_try_compile "$LINENO"; then :
28714 glibcxx_cv_func__qfpclass_use=yes
28715 else
28716 glibcxx_cv_func__qfpclass_use=no
28717 fi
28718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28719 ac_ext=c
28720 ac_cpp='$CPP $CPPFLAGS'
28721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28724
28725
28726 fi
28727
28728 fi
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28730 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28731
28732 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28733 for ac_func in _qfpclass
28734 do :
28735 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28736 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28737 cat >>confdefs.h <<_ACEOF
28738 #define HAVE__QFPCLASS 1
28739 _ACEOF
28740
28741 fi
28742 done
28743
28744 fi
28745 fi
28746
28747
28748
28749
28750
28751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28752 $as_echo_n "checking for hypot declaration... " >&6; }
28753 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28754 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28755 $as_echo_n "(cached) " >&6
28756 else
28757
28758
28759 ac_ext=cpp
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28764
28765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h. */
28767 #include <math.h>
28768 int
28769 main ()
28770 {
28771 hypot(0, 0);
28772 ;
28773 return 0;
28774 }
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func_hypot_use=yes
28778 else
28779 glibcxx_cv_func_hypot_use=no
28780 fi
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28787
28788
28789 fi
28790
28791 fi
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28793 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28794
28795 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28796 for ac_func in hypot
28797 do :
28798 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28799 if test "x$ac_cv_func_hypot" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_HYPOT 1
28802 _ACEOF
28803
28804 fi
28805 done
28806
28807 else
28808
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28810 $as_echo_n "checking for _hypot declaration... " >&6; }
28811 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28812 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28813 $as_echo_n "(cached) " >&6
28814 else
28815
28816
28817 ac_ext=cpp
28818 ac_cpp='$CXXCPP $CPPFLAGS'
28819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28822
28823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28824 /* end confdefs.h. */
28825 #include <math.h>
28826 int
28827 main ()
28828 {
28829 _hypot(0, 0);
28830 ;
28831 return 0;
28832 }
28833 _ACEOF
28834 if ac_fn_cxx_try_compile "$LINENO"; then :
28835 glibcxx_cv_func__hypot_use=yes
28836 else
28837 glibcxx_cv_func__hypot_use=no
28838 fi
28839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_ext=c
28841 ac_cpp='$CPP $CPPFLAGS'
28842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28845
28846
28847 fi
28848
28849 fi
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28851 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28852
28853 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28854 for ac_func in _hypot
28855 do :
28856 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28857 if test "x$ac_cv_func__hypot" = x""yes; then :
28858 cat >>confdefs.h <<_ACEOF
28859 #define HAVE__HYPOT 1
28860 _ACEOF
28861
28862 fi
28863 done
28864
28865 fi
28866 fi
28867
28868
28869
28870
28871
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28873 $as_echo_n "checking for float trig functions... " >&6; }
28874 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28875 $as_echo_n "(cached) " >&6
28876 else
28877
28878
28879 ac_ext=cpp
28880 ac_cpp='$CXXCPP $CPPFLAGS'
28881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28884
28885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28886 /* end confdefs.h. */
28887 #include <math.h>
28888 int
28889 main ()
28890 {
28891 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28892 ;
28893 return 0;
28894 }
28895 _ACEOF
28896 if ac_fn_cxx_try_compile "$LINENO"; then :
28897 glibcxx_cv_func_float_trig_use=yes
28898 else
28899 glibcxx_cv_func_float_trig_use=no
28900 fi
28901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28902 ac_ext=c
28903 ac_cpp='$CPP $CPPFLAGS'
28904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28907
28908 fi
28909
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28911 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28912 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28913 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28914 do :
28915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28917 eval as_val=\$$as_ac_var
28918 if test "x$as_val" = x""yes; then :
28919 cat >>confdefs.h <<_ACEOF
28920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28921 _ACEOF
28922
28923 fi
28924 done
28925
28926 else
28927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28928 $as_echo_n "checking for _float trig functions... " >&6; }
28929 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28930 $as_echo_n "(cached) " >&6
28931 else
28932
28933
28934 ac_ext=cpp
28935 ac_cpp='$CXXCPP $CPPFLAGS'
28936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28939
28940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28941 /* end confdefs.h. */
28942 #include <math.h>
28943 int
28944 main ()
28945 {
28946 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28947 ;
28948 return 0;
28949 }
28950 _ACEOF
28951 if ac_fn_cxx_try_compile "$LINENO"; then :
28952 glibcxx_cv_func__float_trig_use=yes
28953 else
28954 glibcxx_cv_func__float_trig_use=no
28955 fi
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957 ac_ext=c
28958 ac_cpp='$CPP $CPPFLAGS'
28959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28962
28963 fi
28964
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28966 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28967 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28968 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28969 do :
28970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28972 eval as_val=\$$as_ac_var
28973 if test "x$as_val" = x""yes; then :
28974 cat >>confdefs.h <<_ACEOF
28975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28976 _ACEOF
28977
28978 fi
28979 done
28980
28981 fi
28982 fi
28983
28984
28985
28986
28987
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28989 $as_echo_n "checking for float round functions... " >&6; }
28990 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28991 $as_echo_n "(cached) " >&6
28992 else
28993
28994
28995 ac_ext=cpp
28996 ac_cpp='$CXXCPP $CPPFLAGS'
28997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000
29001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h. */
29003 #include <math.h>
29004 int
29005 main ()
29006 {
29007 ceilf (0); floorf (0);
29008 ;
29009 return 0;
29010 }
29011 _ACEOF
29012 if ac_fn_cxx_try_compile "$LINENO"; then :
29013 glibcxx_cv_func_float_round_use=yes
29014 else
29015 glibcxx_cv_func_float_round_use=no
29016 fi
29017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29018 ac_ext=c
29019 ac_cpp='$CPP $CPPFLAGS'
29020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29023
29024 fi
29025
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29027 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29028 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29029 for ac_func in ceilf floorf
29030 do :
29031 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29032 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29033 eval as_val=\$$as_ac_var
29034 if test "x$as_val" = x""yes; then :
29035 cat >>confdefs.h <<_ACEOF
29036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29037 _ACEOF
29038
29039 fi
29040 done
29041
29042 else
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29044 $as_echo_n "checking for _float round functions... " >&6; }
29045 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29046 $as_echo_n "(cached) " >&6
29047 else
29048
29049
29050 ac_ext=cpp
29051 ac_cpp='$CXXCPP $CPPFLAGS'
29052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29055
29056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29057 /* end confdefs.h. */
29058 #include <math.h>
29059 int
29060 main ()
29061 {
29062 _ceilf (0); _floorf (0);
29063 ;
29064 return 0;
29065 }
29066 _ACEOF
29067 if ac_fn_cxx_try_compile "$LINENO"; then :
29068 glibcxx_cv_func__float_round_use=yes
29069 else
29070 glibcxx_cv_func__float_round_use=no
29071 fi
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 ac_ext=c
29074 ac_cpp='$CPP $CPPFLAGS'
29075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29078
29079 fi
29080
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29082 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29083 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29084 for ac_func in _ceilf _floorf
29085 do :
29086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29088 eval as_val=\$$as_ac_var
29089 if test "x$as_val" = x""yes; then :
29090 cat >>confdefs.h <<_ACEOF
29091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29092 _ACEOF
29093
29094 fi
29095 done
29096
29097 fi
29098 fi
29099
29100
29101
29102
29103
29104
29105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29106 $as_echo_n "checking for expf declaration... " >&6; }
29107 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29108 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29109 $as_echo_n "(cached) " >&6
29110 else
29111
29112
29113 ac_ext=cpp
29114 ac_cpp='$CXXCPP $CPPFLAGS'
29115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29118
29119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29120 /* end confdefs.h. */
29121 #include <math.h>
29122 #ifdef HAVE_IEEEFP_H
29123 #include <ieeefp.h>
29124 #endif
29125
29126 int
29127 main ()
29128 {
29129 expf(0);
29130 ;
29131 return 0;
29132 }
29133 _ACEOF
29134 if ac_fn_cxx_try_compile "$LINENO"; then :
29135 glibcxx_cv_func_expf_use=yes
29136 else
29137 glibcxx_cv_func_expf_use=no
29138 fi
29139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140 ac_ext=c
29141 ac_cpp='$CPP $CPPFLAGS'
29142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29145
29146
29147 fi
29148
29149 fi
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29151 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29152
29153 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29154 for ac_func in expf
29155 do :
29156 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29157 if test "x$ac_cv_func_expf" = x""yes; then :
29158 cat >>confdefs.h <<_ACEOF
29159 #define HAVE_EXPF 1
29160 _ACEOF
29161
29162 fi
29163 done
29164
29165 else
29166
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29168 $as_echo_n "checking for _expf declaration... " >&6; }
29169 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29170 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29173
29174
29175 ac_ext=cpp
29176 ac_cpp='$CXXCPP $CPPFLAGS'
29177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29180
29181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29182 /* end confdefs.h. */
29183 #include <math.h>
29184 #ifdef HAVE_IEEEFP_H
29185 #include <ieeefp.h>
29186 #endif
29187
29188 int
29189 main ()
29190 {
29191 _expf(0);
29192 ;
29193 return 0;
29194 }
29195 _ACEOF
29196 if ac_fn_cxx_try_compile "$LINENO"; then :
29197 glibcxx_cv_func__expf_use=yes
29198 else
29199 glibcxx_cv_func__expf_use=no
29200 fi
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 ac_ext=c
29203 ac_cpp='$CPP $CPPFLAGS'
29204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29207
29208
29209 fi
29210
29211 fi
29212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29213 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29214
29215 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29216 for ac_func in _expf
29217 do :
29218 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29219 if test "x$ac_cv_func__expf" = x""yes; then :
29220 cat >>confdefs.h <<_ACEOF
29221 #define HAVE__EXPF 1
29222 _ACEOF
29223
29224 fi
29225 done
29226
29227 fi
29228 fi
29229
29230
29231
29232
29233
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29235 $as_echo_n "checking for isnanf declaration... " >&6; }
29236 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29237 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29238 $as_echo_n "(cached) " >&6
29239 else
29240
29241
29242 ac_ext=cpp
29243 ac_cpp='$CXXCPP $CPPFLAGS'
29244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29247
29248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29249 /* end confdefs.h. */
29250 #include <math.h>
29251 #ifdef HAVE_IEEEFP_H
29252 #include <ieeefp.h>
29253 #endif
29254
29255 int
29256 main ()
29257 {
29258 isnanf(0);
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func_isnanf_use=yes
29265 else
29266 glibcxx_cv_func_isnanf_use=no
29267 fi
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274
29275
29276 fi
29277
29278 fi
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29280 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29281
29282 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29283 for ac_func in isnanf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29286 if test "x$ac_cv_func_isnanf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE_ISNANF 1
29289 _ACEOF
29290
29291 fi
29292 done
29293
29294 else
29295
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29297 $as_echo_n "checking for _isnanf declaration... " >&6; }
29298 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29299 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29300 $as_echo_n "(cached) " >&6
29301 else
29302
29303
29304 ac_ext=cpp
29305 ac_cpp='$CXXCPP $CPPFLAGS'
29306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29309
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <math.h>
29313 #ifdef HAVE_IEEEFP_H
29314 #include <ieeefp.h>
29315 #endif
29316
29317 int
29318 main ()
29319 {
29320 _isnanf(0);
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 if ac_fn_cxx_try_compile "$LINENO"; then :
29326 glibcxx_cv_func__isnanf_use=yes
29327 else
29328 glibcxx_cv_func__isnanf_use=no
29329 fi
29330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29331 ac_ext=c
29332 ac_cpp='$CPP $CPPFLAGS'
29333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29336
29337
29338 fi
29339
29340 fi
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29342 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29343
29344 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29345 for ac_func in _isnanf
29346 do :
29347 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29348 if test "x$ac_cv_func__isnanf" = x""yes; then :
29349 cat >>confdefs.h <<_ACEOF
29350 #define HAVE__ISNANF 1
29351 _ACEOF
29352
29353 fi
29354 done
29355
29356 fi
29357 fi
29358
29359
29360
29361
29362
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29364 $as_echo_n "checking for isinff declaration... " >&6; }
29365 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29366 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29367 $as_echo_n "(cached) " >&6
29368 else
29369
29370
29371 ac_ext=cpp
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29376
29377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29378 /* end confdefs.h. */
29379 #include <math.h>
29380 #ifdef HAVE_IEEEFP_H
29381 #include <ieeefp.h>
29382 #endif
29383
29384 int
29385 main ()
29386 {
29387 isinff(0);
29388 ;
29389 return 0;
29390 }
29391 _ACEOF
29392 if ac_fn_cxx_try_compile "$LINENO"; then :
29393 glibcxx_cv_func_isinff_use=yes
29394 else
29395 glibcxx_cv_func_isinff_use=no
29396 fi
29397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29398 ac_ext=c
29399 ac_cpp='$CPP $CPPFLAGS'
29400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29403
29404
29405 fi
29406
29407 fi
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29409 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29410
29411 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29412 for ac_func in isinff
29413 do :
29414 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29415 if test "x$ac_cv_func_isinff" = x""yes; then :
29416 cat >>confdefs.h <<_ACEOF
29417 #define HAVE_ISINFF 1
29418 _ACEOF
29419
29420 fi
29421 done
29422
29423 else
29424
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29426 $as_echo_n "checking for _isinff declaration... " >&6; }
29427 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29428 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29429 $as_echo_n "(cached) " >&6
29430 else
29431
29432
29433 ac_ext=cpp
29434 ac_cpp='$CXXCPP $CPPFLAGS'
29435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29438
29439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <math.h>
29442 #ifdef HAVE_IEEEFP_H
29443 #include <ieeefp.h>
29444 #endif
29445
29446 int
29447 main ()
29448 {
29449 _isinff(0);
29450 ;
29451 return 0;
29452 }
29453 _ACEOF
29454 if ac_fn_cxx_try_compile "$LINENO"; then :
29455 glibcxx_cv_func__isinff_use=yes
29456 else
29457 glibcxx_cv_func__isinff_use=no
29458 fi
29459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29460 ac_ext=c
29461 ac_cpp='$CPP $CPPFLAGS'
29462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29465
29466
29467 fi
29468
29469 fi
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29471 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29472
29473 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29474 for ac_func in _isinff
29475 do :
29476 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29477 if test "x$ac_cv_func__isinff" = x""yes; then :
29478 cat >>confdefs.h <<_ACEOF
29479 #define HAVE__ISINFF 1
29480 _ACEOF
29481
29482 fi
29483 done
29484
29485 fi
29486 fi
29487
29488
29489
29490
29491
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29493 $as_echo_n "checking for atan2f declaration... " >&6; }
29494 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29495 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29496 $as_echo_n "(cached) " >&6
29497 else
29498
29499
29500 ac_ext=cpp
29501 ac_cpp='$CXXCPP $CPPFLAGS'
29502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29505
29506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29507 /* end confdefs.h. */
29508 #include <math.h>
29509 int
29510 main ()
29511 {
29512 atan2f(0, 0);
29513 ;
29514 return 0;
29515 }
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 glibcxx_cv_func_atan2f_use=yes
29519 else
29520 glibcxx_cv_func_atan2f_use=no
29521 fi
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523 ac_ext=c
29524 ac_cpp='$CPP $CPPFLAGS'
29525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29528
29529
29530 fi
29531
29532 fi
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29534 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29535
29536 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29537 for ac_func in atan2f
29538 do :
29539 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29540 if test "x$ac_cv_func_atan2f" = x""yes; then :
29541 cat >>confdefs.h <<_ACEOF
29542 #define HAVE_ATAN2F 1
29543 _ACEOF
29544
29545 fi
29546 done
29547
29548 else
29549
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29551 $as_echo_n "checking for _atan2f declaration... " >&6; }
29552 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29553 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29556
29557
29558 ac_ext=cpp
29559 ac_cpp='$CXXCPP $CPPFLAGS'
29560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563
29564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565 /* end confdefs.h. */
29566 #include <math.h>
29567 int
29568 main ()
29569 {
29570 _atan2f(0, 0);
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func__atan2f_use=yes
29577 else
29578 glibcxx_cv_func__atan2f_use=no
29579 fi
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29586
29587
29588 fi
29589
29590 fi
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29592 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29593
29594 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29595 for ac_func in _atan2f
29596 do :
29597 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29598 if test "x$ac_cv_func__atan2f" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE__ATAN2F 1
29601 _ACEOF
29602
29603 fi
29604 done
29605
29606 fi
29607 fi
29608
29609
29610
29611
29612
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29614 $as_echo_n "checking for fabsf declaration... " >&6; }
29615 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29616 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29617 $as_echo_n "(cached) " >&6
29618 else
29619
29620
29621 ac_ext=cpp
29622 ac_cpp='$CXXCPP $CPPFLAGS'
29623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29626
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29629 #include <math.h>
29630 #ifdef HAVE_IEEEFP_H
29631 #include <ieeefp.h>
29632 #endif
29633
29634 int
29635 main ()
29636 {
29637 fabsf(0);
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_fabsf_use=yes
29644 else
29645 glibcxx_cv_func_fabsf_use=no
29646 fi
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653
29654
29655 fi
29656
29657 fi
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29659 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29660
29661 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29662 for ac_func in fabsf
29663 do :
29664 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29665 if test "x$ac_cv_func_fabsf" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_FABSF 1
29668 _ACEOF
29669
29670 fi
29671 done
29672
29673 else
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29676 $as_echo_n "checking for _fabsf declaration... " >&6; }
29677 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29678 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29681
29682
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29692 #ifdef HAVE_IEEEFP_H
29693 #include <ieeefp.h>
29694 #endif
29695
29696 int
29697 main ()
29698 {
29699 _fabsf(0);
29700 ;
29701 return 0;
29702 }
29703 _ACEOF
29704 if ac_fn_cxx_try_compile "$LINENO"; then :
29705 glibcxx_cv_func__fabsf_use=yes
29706 else
29707 glibcxx_cv_func__fabsf_use=no
29708 fi
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710 ac_ext=c
29711 ac_cpp='$CPP $CPPFLAGS'
29712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29715
29716
29717 fi
29718
29719 fi
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29721 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29722
29723 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29724 for ac_func in _fabsf
29725 do :
29726 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29727 if test "x$ac_cv_func__fabsf" = x""yes; then :
29728 cat >>confdefs.h <<_ACEOF
29729 #define HAVE__FABSF 1
29730 _ACEOF
29731
29732 fi
29733 done
29734
29735 fi
29736 fi
29737
29738
29739
29740
29741
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29743 $as_echo_n "checking for fmodf declaration... " >&6; }
29744 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29745 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29746 $as_echo_n "(cached) " >&6
29747 else
29748
29749
29750 ac_ext=cpp
29751 ac_cpp='$CXXCPP $CPPFLAGS'
29752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29755
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29758 #include <math.h>
29759 int
29760 main ()
29761 {
29762 fmodf(0, 0);
29763 ;
29764 return 0;
29765 }
29766 _ACEOF
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768 glibcxx_cv_func_fmodf_use=yes
29769 else
29770 glibcxx_cv_func_fmodf_use=no
29771 fi
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773 ac_ext=c
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29778
29779
29780 fi
29781
29782 fi
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29784 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29785
29786 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29787 for ac_func in fmodf
29788 do :
29789 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29790 if test "x$ac_cv_func_fmodf" = x""yes; then :
29791 cat >>confdefs.h <<_ACEOF
29792 #define HAVE_FMODF 1
29793 _ACEOF
29794
29795 fi
29796 done
29797
29798 else
29799
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29801 $as_echo_n "checking for _fmodf declaration... " >&6; }
29802 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29803 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29805 else
29806
29807
29808 ac_ext=cpp
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29813
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29816 #include <math.h>
29817 int
29818 main ()
29819 {
29820 _fmodf(0, 0);
29821 ;
29822 return 0;
29823 }
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func__fmodf_use=yes
29827 else
29828 glibcxx_cv_func__fmodf_use=no
29829 fi
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836
29837
29838 fi
29839
29840 fi
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29842 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29843
29844 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29845 for ac_func in _fmodf
29846 do :
29847 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29848 if test "x$ac_cv_func__fmodf" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE__FMODF 1
29851 _ACEOF
29852
29853 fi
29854 done
29855
29856 fi
29857 fi
29858
29859
29860
29861
29862
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29864 $as_echo_n "checking for frexpf declaration... " >&6; }
29865 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29866 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29867 $as_echo_n "(cached) " >&6
29868 else
29869
29870
29871 ac_ext=cpp
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29876
29877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h. */
29879 #include <math.h>
29880 int
29881 main ()
29882 {
29883 frexpf(0, 0);
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func_frexpf_use=yes
29890 else
29891 glibcxx_cv_func_frexpf_use=no
29892 fi
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899
29900
29901 fi
29902
29903 fi
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29905 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29906
29907 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29908 for ac_func in frexpf
29909 do :
29910 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29911 if test "x$ac_cv_func_frexpf" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE_FREXPF 1
29914 _ACEOF
29915
29916 fi
29917 done
29918
29919 else
29920
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29922 $as_echo_n "checking for _frexpf declaration... " >&6; }
29923 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29924 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29925 $as_echo_n "(cached) " >&6
29926 else
29927
29928
29929 ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934
29935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h. */
29937 #include <math.h>
29938 int
29939 main ()
29940 {
29941 _frexpf(0, 0);
29942 ;
29943 return 0;
29944 }
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947 glibcxx_cv_func__frexpf_use=yes
29948 else
29949 glibcxx_cv_func__frexpf_use=no
29950 fi
29951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29952 ac_ext=c
29953 ac_cpp='$CPP $CPPFLAGS'
29954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29957
29958
29959 fi
29960
29961 fi
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29963 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29964
29965 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29966 for ac_func in _frexpf
29967 do :
29968 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29969 if test "x$ac_cv_func__frexpf" = x""yes; then :
29970 cat >>confdefs.h <<_ACEOF
29971 #define HAVE__FREXPF 1
29972 _ACEOF
29973
29974 fi
29975 done
29976
29977 fi
29978 fi
29979
29980
29981
29982
29983
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29985 $as_echo_n "checking for hypotf declaration... " >&6; }
29986 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29987 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29988 $as_echo_n "(cached) " >&6
29989 else
29990
29991
29992 ac_ext=cpp
29993 ac_cpp='$CXXCPP $CPPFLAGS'
29994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29997
29998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29999 /* end confdefs.h. */
30000 #include <math.h>
30001 int
30002 main ()
30003 {
30004 hypotf(0, 0);
30005 ;
30006 return 0;
30007 }
30008 _ACEOF
30009 if ac_fn_cxx_try_compile "$LINENO"; then :
30010 glibcxx_cv_func_hypotf_use=yes
30011 else
30012 glibcxx_cv_func_hypotf_use=no
30013 fi
30014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30015 ac_ext=c
30016 ac_cpp='$CPP $CPPFLAGS'
30017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30020
30021
30022 fi
30023
30024 fi
30025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30026 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30027
30028 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30029 for ac_func in hypotf
30030 do :
30031 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30032 if test "x$ac_cv_func_hypotf" = x""yes; then :
30033 cat >>confdefs.h <<_ACEOF
30034 #define HAVE_HYPOTF 1
30035 _ACEOF
30036
30037 fi
30038 done
30039
30040 else
30041
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30043 $as_echo_n "checking for _hypotf declaration... " >&6; }
30044 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30045 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30046 $as_echo_n "(cached) " >&6
30047 else
30048
30049
30050 ac_ext=cpp
30051 ac_cpp='$CXXCPP $CPPFLAGS'
30052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30055
30056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h. */
30058 #include <math.h>
30059 int
30060 main ()
30061 {
30062 _hypotf(0, 0);
30063 ;
30064 return 0;
30065 }
30066 _ACEOF
30067 if ac_fn_cxx_try_compile "$LINENO"; then :
30068 glibcxx_cv_func__hypotf_use=yes
30069 else
30070 glibcxx_cv_func__hypotf_use=no
30071 fi
30072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30073 ac_ext=c
30074 ac_cpp='$CPP $CPPFLAGS'
30075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30078
30079
30080 fi
30081
30082 fi
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30084 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30085
30086 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30087 for ac_func in _hypotf
30088 do :
30089 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30090 if test "x$ac_cv_func__hypotf" = x""yes; then :
30091 cat >>confdefs.h <<_ACEOF
30092 #define HAVE__HYPOTF 1
30093 _ACEOF
30094
30095 fi
30096 done
30097
30098 fi
30099 fi
30100
30101
30102
30103
30104
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30106 $as_echo_n "checking for ldexpf declaration... " >&6; }
30107 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30108 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30111
30112
30113 ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30118
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30121 #include <math.h>
30122 int
30123 main ()
30124 {
30125 ldexpf(0, 0);
30126 ;
30127 return 0;
30128 }
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func_ldexpf_use=yes
30132 else
30133 glibcxx_cv_func_ldexpf_use=no
30134 fi
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30141
30142
30143 fi
30144
30145 fi
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30147 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30148
30149 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30150 for ac_func in ldexpf
30151 do :
30152 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30153 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30154 cat >>confdefs.h <<_ACEOF
30155 #define HAVE_LDEXPF 1
30156 _ACEOF
30157
30158 fi
30159 done
30160
30161 else
30162
30163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30164 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30165 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30166 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30167 $as_echo_n "(cached) " >&6
30168 else
30169
30170
30171 ac_ext=cpp
30172 ac_cpp='$CXXCPP $CPPFLAGS'
30173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30176
30177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30178 /* end confdefs.h. */
30179 #include <math.h>
30180 int
30181 main ()
30182 {
30183 _ldexpf(0, 0);
30184 ;
30185 return 0;
30186 }
30187 _ACEOF
30188 if ac_fn_cxx_try_compile "$LINENO"; then :
30189 glibcxx_cv_func__ldexpf_use=yes
30190 else
30191 glibcxx_cv_func__ldexpf_use=no
30192 fi
30193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30194 ac_ext=c
30195 ac_cpp='$CPP $CPPFLAGS'
30196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30199
30200
30201 fi
30202
30203 fi
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30205 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30206
30207 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30208 for ac_func in _ldexpf
30209 do :
30210 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30211 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30212 cat >>confdefs.h <<_ACEOF
30213 #define HAVE__LDEXPF 1
30214 _ACEOF
30215
30216 fi
30217 done
30218
30219 fi
30220 fi
30221
30222
30223
30224
30225
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30227 $as_echo_n "checking for logf declaration... " >&6; }
30228 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30229 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30230 $as_echo_n "(cached) " >&6
30231 else
30232
30233
30234 ac_ext=cpp
30235 ac_cpp='$CXXCPP $CPPFLAGS'
30236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30239
30240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30241 /* end confdefs.h. */
30242 #include <math.h>
30243 #ifdef HAVE_IEEEFP_H
30244 #include <ieeefp.h>
30245 #endif
30246
30247 int
30248 main ()
30249 {
30250 logf(0);
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func_logf_use=yes
30257 else
30258 glibcxx_cv_func_logf_use=no
30259 fi
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267
30268 fi
30269
30270 fi
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30272 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30273
30274 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30275 for ac_func in logf
30276 do :
30277 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30278 if test "x$ac_cv_func_logf" = x""yes; then :
30279 cat >>confdefs.h <<_ACEOF
30280 #define HAVE_LOGF 1
30281 _ACEOF
30282
30283 fi
30284 done
30285
30286 else
30287
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30289 $as_echo_n "checking for _logf declaration... " >&6; }
30290 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30291 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30292 $as_echo_n "(cached) " >&6
30293 else
30294
30295
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <math.h>
30305 #ifdef HAVE_IEEEFP_H
30306 #include <ieeefp.h>
30307 #endif
30308
30309 int
30310 main ()
30311 {
30312 _logf(0);
30313 ;
30314 return 0;
30315 }
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318 glibcxx_cv_func__logf_use=yes
30319 else
30320 glibcxx_cv_func__logf_use=no
30321 fi
30322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30323 ac_ext=c
30324 ac_cpp='$CPP $CPPFLAGS'
30325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328
30329
30330 fi
30331
30332 fi
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30334 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30335
30336 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30337 for ac_func in _logf
30338 do :
30339 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30340 if test "x$ac_cv_func__logf" = x""yes; then :
30341 cat >>confdefs.h <<_ACEOF
30342 #define HAVE__LOGF 1
30343 _ACEOF
30344
30345 fi
30346 done
30347
30348 fi
30349 fi
30350
30351
30352
30353
30354
30355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30356 $as_echo_n "checking for log10f declaration... " >&6; }
30357 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30358 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30359 $as_echo_n "(cached) " >&6
30360 else
30361
30362
30363 ac_ext=cpp
30364 ac_cpp='$CXXCPP $CPPFLAGS'
30365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30368
30369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30370 /* end confdefs.h. */
30371 #include <math.h>
30372 #ifdef HAVE_IEEEFP_H
30373 #include <ieeefp.h>
30374 #endif
30375
30376 int
30377 main ()
30378 {
30379 log10f(0);
30380 ;
30381 return 0;
30382 }
30383 _ACEOF
30384 if ac_fn_cxx_try_compile "$LINENO"; then :
30385 glibcxx_cv_func_log10f_use=yes
30386 else
30387 glibcxx_cv_func_log10f_use=no
30388 fi
30389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30390 ac_ext=c
30391 ac_cpp='$CPP $CPPFLAGS'
30392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30395
30396
30397 fi
30398
30399 fi
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30401 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30402
30403 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30404 for ac_func in log10f
30405 do :
30406 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30407 if test "x$ac_cv_func_log10f" = x""yes; then :
30408 cat >>confdefs.h <<_ACEOF
30409 #define HAVE_LOG10F 1
30410 _ACEOF
30411
30412 fi
30413 done
30414
30415 else
30416
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30418 $as_echo_n "checking for _log10f declaration... " >&6; }
30419 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30420 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30421 $as_echo_n "(cached) " >&6
30422 else
30423
30424
30425 ac_ext=cpp
30426 ac_cpp='$CXXCPP $CPPFLAGS'
30427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30430
30431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30432 /* end confdefs.h. */
30433 #include <math.h>
30434 #ifdef HAVE_IEEEFP_H
30435 #include <ieeefp.h>
30436 #endif
30437
30438 int
30439 main ()
30440 {
30441 _log10f(0);
30442 ;
30443 return 0;
30444 }
30445 _ACEOF
30446 if ac_fn_cxx_try_compile "$LINENO"; then :
30447 glibcxx_cv_func__log10f_use=yes
30448 else
30449 glibcxx_cv_func__log10f_use=no
30450 fi
30451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 ac_ext=c
30453 ac_cpp='$CPP $CPPFLAGS'
30454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30457
30458
30459 fi
30460
30461 fi
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30463 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30464
30465 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30466 for ac_func in _log10f
30467 do :
30468 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30469 if test "x$ac_cv_func__log10f" = x""yes; then :
30470 cat >>confdefs.h <<_ACEOF
30471 #define HAVE__LOG10F 1
30472 _ACEOF
30473
30474 fi
30475 done
30476
30477 fi
30478 fi
30479
30480
30481
30482
30483
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30485 $as_echo_n "checking for modff declaration... " >&6; }
30486 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30487 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30488 $as_echo_n "(cached) " >&6
30489 else
30490
30491
30492 ac_ext=cpp
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30497
30498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h. */
30500 #include <math.h>
30501 int
30502 main ()
30503 {
30504 modff(0, 0);
30505 ;
30506 return 0;
30507 }
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func_modff_use=yes
30511 else
30512 glibcxx_cv_func_modff_use=no
30513 fi
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30520
30521
30522 fi
30523
30524 fi
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30526 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30527
30528 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30529 for ac_func in modff
30530 do :
30531 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30532 if test "x$ac_cv_func_modff" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE_MODFF 1
30535 _ACEOF
30536
30537 fi
30538 done
30539
30540 else
30541
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30543 $as_echo_n "checking for _modff declaration... " >&6; }
30544 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30545 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30548
30549
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30555
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30559 int
30560 main ()
30561 {
30562 _modff(0, 0);
30563 ;
30564 return 0;
30565 }
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568 glibcxx_cv_func__modff_use=yes
30569 else
30570 glibcxx_cv_func__modff_use=no
30571 fi
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573 ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578
30579
30580 fi
30581
30582 fi
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30584 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30585
30586 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30587 for ac_func in _modff
30588 do :
30589 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30590 if test "x$ac_cv_func__modff" = x""yes; then :
30591 cat >>confdefs.h <<_ACEOF
30592 #define HAVE__MODFF 1
30593 _ACEOF
30594
30595 fi
30596 done
30597
30598 fi
30599 fi
30600
30601
30602
30603
30604
30605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30606 $as_echo_n "checking for modf declaration... " >&6; }
30607 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30608 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30609 $as_echo_n "(cached) " >&6
30610 else
30611
30612
30613 ac_ext=cpp
30614 ac_cpp='$CXXCPP $CPPFLAGS'
30615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30618
30619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30620 /* end confdefs.h. */
30621 #include <math.h>
30622 int
30623 main ()
30624 {
30625 modf(0, 0);
30626 ;
30627 return 0;
30628 }
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631 glibcxx_cv_func_modf_use=yes
30632 else
30633 glibcxx_cv_func_modf_use=no
30634 fi
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636 ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641
30642
30643 fi
30644
30645 fi
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30647 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30648
30649 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30650 for ac_func in modf
30651 do :
30652 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30653 if test "x$ac_cv_func_modf" = x""yes; then :
30654 cat >>confdefs.h <<_ACEOF
30655 #define HAVE_MODF 1
30656 _ACEOF
30657
30658 fi
30659 done
30660
30661 else
30662
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30664 $as_echo_n "checking for _modf declaration... " >&6; }
30665 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30666 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30667 $as_echo_n "(cached) " >&6
30668 else
30669
30670
30671 ac_ext=cpp
30672 ac_cpp='$CXXCPP $CPPFLAGS'
30673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30676
30677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h. */
30679 #include <math.h>
30680 int
30681 main ()
30682 {
30683 _modf(0, 0);
30684 ;
30685 return 0;
30686 }
30687 _ACEOF
30688 if ac_fn_cxx_try_compile "$LINENO"; then :
30689 glibcxx_cv_func__modf_use=yes
30690 else
30691 glibcxx_cv_func__modf_use=no
30692 fi
30693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30694 ac_ext=c
30695 ac_cpp='$CPP $CPPFLAGS'
30696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30699
30700
30701 fi
30702
30703 fi
30704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30705 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30706
30707 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30708 for ac_func in _modf
30709 do :
30710 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30711 if test "x$ac_cv_func__modf" = x""yes; then :
30712 cat >>confdefs.h <<_ACEOF
30713 #define HAVE__MODF 1
30714 _ACEOF
30715
30716 fi
30717 done
30718
30719 fi
30720 fi
30721
30722
30723
30724
30725
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30727 $as_echo_n "checking for powf declaration... " >&6; }
30728 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30729 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30730 $as_echo_n "(cached) " >&6
30731 else
30732
30733
30734 ac_ext=cpp
30735 ac_cpp='$CXXCPP $CPPFLAGS'
30736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30739
30740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741 /* end confdefs.h. */
30742 #include <math.h>
30743 int
30744 main ()
30745 {
30746 powf(0, 0);
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752 glibcxx_cv_func_powf_use=yes
30753 else
30754 glibcxx_cv_func_powf_use=no
30755 fi
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30762
30763
30764 fi
30765
30766 fi
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30768 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30769
30770 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30771 for ac_func in powf
30772 do :
30773 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30774 if test "x$ac_cv_func_powf" = x""yes; then :
30775 cat >>confdefs.h <<_ACEOF
30776 #define HAVE_POWF 1
30777 _ACEOF
30778
30779 fi
30780 done
30781
30782 else
30783
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30785 $as_echo_n "checking for _powf declaration... " >&6; }
30786 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30787 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30788 $as_echo_n "(cached) " >&6
30789 else
30790
30791
30792 ac_ext=cpp
30793 ac_cpp='$CXXCPP $CPPFLAGS'
30794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30797
30798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30799 /* end confdefs.h. */
30800 #include <math.h>
30801 int
30802 main ()
30803 {
30804 _powf(0, 0);
30805 ;
30806 return 0;
30807 }
30808 _ACEOF
30809 if ac_fn_cxx_try_compile "$LINENO"; then :
30810 glibcxx_cv_func__powf_use=yes
30811 else
30812 glibcxx_cv_func__powf_use=no
30813 fi
30814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30815 ac_ext=c
30816 ac_cpp='$CPP $CPPFLAGS'
30817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30820
30821
30822 fi
30823
30824 fi
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30826 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30827
30828 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30829 for ac_func in _powf
30830 do :
30831 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30832 if test "x$ac_cv_func__powf" = x""yes; then :
30833 cat >>confdefs.h <<_ACEOF
30834 #define HAVE__POWF 1
30835 _ACEOF
30836
30837 fi
30838 done
30839
30840 fi
30841 fi
30842
30843
30844
30845
30846
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30848 $as_echo_n "checking for sqrtf declaration... " >&6; }
30849 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30850 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30851 $as_echo_n "(cached) " >&6
30852 else
30853
30854
30855 ac_ext=cpp
30856 ac_cpp='$CXXCPP $CPPFLAGS'
30857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30860
30861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30862 /* end confdefs.h. */
30863 #include <math.h>
30864 #ifdef HAVE_IEEEFP_H
30865 #include <ieeefp.h>
30866 #endif
30867
30868 int
30869 main ()
30870 {
30871 sqrtf(0);
30872 ;
30873 return 0;
30874 }
30875 _ACEOF
30876 if ac_fn_cxx_try_compile "$LINENO"; then :
30877 glibcxx_cv_func_sqrtf_use=yes
30878 else
30879 glibcxx_cv_func_sqrtf_use=no
30880 fi
30881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30882 ac_ext=c
30883 ac_cpp='$CPP $CPPFLAGS'
30884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30887
30888
30889 fi
30890
30891 fi
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30893 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30894
30895 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30896 for ac_func in sqrtf
30897 do :
30898 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30899 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30900 cat >>confdefs.h <<_ACEOF
30901 #define HAVE_SQRTF 1
30902 _ACEOF
30903
30904 fi
30905 done
30906
30907 else
30908
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30910 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30911 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30912 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30915
30916
30917 ac_ext=cpp
30918 ac_cpp='$CXXCPP $CPPFLAGS'
30919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30922
30923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924 /* end confdefs.h. */
30925 #include <math.h>
30926 #ifdef HAVE_IEEEFP_H
30927 #include <ieeefp.h>
30928 #endif
30929
30930 int
30931 main ()
30932 {
30933 _sqrtf(0);
30934 ;
30935 return 0;
30936 }
30937 _ACEOF
30938 if ac_fn_cxx_try_compile "$LINENO"; then :
30939 glibcxx_cv_func__sqrtf_use=yes
30940 else
30941 glibcxx_cv_func__sqrtf_use=no
30942 fi
30943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30944 ac_ext=c
30945 ac_cpp='$CPP $CPPFLAGS'
30946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30949
30950
30951 fi
30952
30953 fi
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30955 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30956
30957 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30958 for ac_func in _sqrtf
30959 do :
30960 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30961 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30962 cat >>confdefs.h <<_ACEOF
30963 #define HAVE__SQRTF 1
30964 _ACEOF
30965
30966 fi
30967 done
30968
30969 fi
30970 fi
30971
30972
30973
30974
30975
30976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30977 $as_echo_n "checking for sincosf declaration... " >&6; }
30978 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30979 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30980 $as_echo_n "(cached) " >&6
30981 else
30982
30983
30984 ac_ext=cpp
30985 ac_cpp='$CXXCPP $CPPFLAGS'
30986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30989
30990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30991 /* end confdefs.h. */
30992 #include <math.h>
30993 int
30994 main ()
30995 {
30996 sincosf(0, 0, 0);
30997 ;
30998 return 0;
30999 }
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func_sincosf_use=yes
31003 else
31004 glibcxx_cv_func_sincosf_use=no
31005 fi
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31012
31013
31014 fi
31015
31016 fi
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31018 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31019
31020 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31021 for ac_func in sincosf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31024 if test "x$ac_cv_func_sincosf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE_SINCOSF 1
31027 _ACEOF
31028
31029 fi
31030 done
31031
31032 else
31033
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31035 $as_echo_n "checking for _sincosf declaration... " >&6; }
31036 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31037 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31038 $as_echo_n "(cached) " >&6
31039 else
31040
31041
31042 ac_ext=cpp
31043 ac_cpp='$CXXCPP $CPPFLAGS'
31044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31050 #include <math.h>
31051 int
31052 main ()
31053 {
31054 _sincosf(0, 0, 0);
31055 ;
31056 return 0;
31057 }
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060 glibcxx_cv_func__sincosf_use=yes
31061 else
31062 glibcxx_cv_func__sincosf_use=no
31063 fi
31064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 ac_ext=c
31066 ac_cpp='$CPP $CPPFLAGS'
31067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31070
31071
31072 fi
31073
31074 fi
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31076 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31077
31078 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31079 for ac_func in _sincosf
31080 do :
31081 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31082 if test "x$ac_cv_func__sincosf" = x""yes; then :
31083 cat >>confdefs.h <<_ACEOF
31084 #define HAVE__SINCOSF 1
31085 _ACEOF
31086
31087 fi
31088 done
31089
31090 fi
31091 fi
31092
31093
31094
31095
31096
31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31098 $as_echo_n "checking for finitef declaration... " >&6; }
31099 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31100 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31101 $as_echo_n "(cached) " >&6
31102 else
31103
31104
31105 ac_ext=cpp
31106 ac_cpp='$CXXCPP $CPPFLAGS'
31107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31110
31111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31112 /* end confdefs.h. */
31113 #include <math.h>
31114 #ifdef HAVE_IEEEFP_H
31115 #include <ieeefp.h>
31116 #endif
31117
31118 int
31119 main ()
31120 {
31121 finitef(0);
31122 ;
31123 return 0;
31124 }
31125 _ACEOF
31126 if ac_fn_cxx_try_compile "$LINENO"; then :
31127 glibcxx_cv_func_finitef_use=yes
31128 else
31129 glibcxx_cv_func_finitef_use=no
31130 fi
31131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_ext=c
31133 ac_cpp='$CPP $CPPFLAGS'
31134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31137
31138
31139 fi
31140
31141 fi
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31143 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31144
31145 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31146 for ac_func in finitef
31147 do :
31148 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31149 if test "x$ac_cv_func_finitef" = x""yes; then :
31150 cat >>confdefs.h <<_ACEOF
31151 #define HAVE_FINITEF 1
31152 _ACEOF
31153
31154 fi
31155 done
31156
31157 else
31158
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31160 $as_echo_n "checking for _finitef declaration... " >&6; }
31161 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31162 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31165
31166
31167 ac_ext=cpp
31168 ac_cpp='$CXXCPP $CPPFLAGS'
31169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31172
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175 #include <math.h>
31176 #ifdef HAVE_IEEEFP_H
31177 #include <ieeefp.h>
31178 #endif
31179
31180 int
31181 main ()
31182 {
31183 _finitef(0);
31184 ;
31185 return 0;
31186 }
31187 _ACEOF
31188 if ac_fn_cxx_try_compile "$LINENO"; then :
31189 glibcxx_cv_func__finitef_use=yes
31190 else
31191 glibcxx_cv_func__finitef_use=no
31192 fi
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31199
31200
31201 fi
31202
31203 fi
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31205 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31206
31207 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31208 for ac_func in _finitef
31209 do :
31210 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31211 if test "x$ac_cv_func__finitef" = x""yes; then :
31212 cat >>confdefs.h <<_ACEOF
31213 #define HAVE__FINITEF 1
31214 _ACEOF
31215
31216 fi
31217 done
31218
31219 fi
31220 fi
31221
31222
31223
31224
31225
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31227 $as_echo_n "checking for long double trig functions... " >&6; }
31228 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31231
31232
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31242 int
31243 main ()
31244 {
31245 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31246 ;
31247 return 0;
31248 }
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251 glibcxx_cv_func_long_double_trig_use=yes
31252 else
31253 glibcxx_cv_func_long_double_trig_use=no
31254 fi
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31261
31262 fi
31263
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31265 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31266 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31267 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31268 do :
31269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31271 eval as_val=\$$as_ac_var
31272 if test "x$as_val" = x""yes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31275 _ACEOF
31276
31277 fi
31278 done
31279
31280 else
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31282 $as_echo_n "checking for _long double trig functions... " >&6; }
31283 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31286
31287
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31297 int
31298 main ()
31299 {
31300 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31301 ;
31302 return 0;
31303 }
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306 glibcxx_cv_func__long_double_trig_use=yes
31307 else
31308 glibcxx_cv_func__long_double_trig_use=no
31309 fi
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31316
31317 fi
31318
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31320 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31321 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31322 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31323 do :
31324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31326 eval as_val=\$$as_ac_var
31327 if test "x$as_val" = x""yes; then :
31328 cat >>confdefs.h <<_ACEOF
31329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31330 _ACEOF
31331
31332 fi
31333 done
31334
31335 fi
31336 fi
31337
31338
31339
31340
31341
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31343 $as_echo_n "checking for long double round functions... " >&6; }
31344 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31345 $as_echo_n "(cached) " >&6
31346 else
31347
31348
31349 ac_ext=cpp
31350 ac_cpp='$CXXCPP $CPPFLAGS'
31351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31354
31355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31356 /* end confdefs.h. */
31357 #include <math.h>
31358 int
31359 main ()
31360 {
31361 ceill (0); floorl (0);
31362 ;
31363 return 0;
31364 }
31365 _ACEOF
31366 if ac_fn_cxx_try_compile "$LINENO"; then :
31367 glibcxx_cv_func_long_double_round_use=yes
31368 else
31369 glibcxx_cv_func_long_double_round_use=no
31370 fi
31371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 ac_ext=c
31373 ac_cpp='$CPP $CPPFLAGS'
31374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31377
31378 fi
31379
31380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31381 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31382 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31383 for ac_func in ceill floorl
31384 do :
31385 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31386 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31387 eval as_val=\$$as_ac_var
31388 if test "x$as_val" = x""yes; then :
31389 cat >>confdefs.h <<_ACEOF
31390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31391 _ACEOF
31392
31393 fi
31394 done
31395
31396 else
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31398 $as_echo_n "checking for _long double round functions... " >&6; }
31399 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31400 $as_echo_n "(cached) " >&6
31401 else
31402
31403
31404 ac_ext=cpp
31405 ac_cpp='$CXXCPP $CPPFLAGS'
31406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31409
31410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31411 /* end confdefs.h. */
31412 #include <math.h>
31413 int
31414 main ()
31415 {
31416 _ceill (0); _floorl (0);
31417 ;
31418 return 0;
31419 }
31420 _ACEOF
31421 if ac_fn_cxx_try_compile "$LINENO"; then :
31422 glibcxx_cv_func__long_double_round_use=yes
31423 else
31424 glibcxx_cv_func__long_double_round_use=no
31425 fi
31426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31427 ac_ext=c
31428 ac_cpp='$CPP $CPPFLAGS'
31429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31432
31433 fi
31434
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31436 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31437 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31438 for ac_func in _ceill _floorl
31439 do :
31440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31442 eval as_val=\$$as_ac_var
31443 if test "x$as_val" = x""yes; then :
31444 cat >>confdefs.h <<_ACEOF
31445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31446 _ACEOF
31447
31448 fi
31449 done
31450
31451 fi
31452 fi
31453
31454
31455
31456
31457
31458
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31460 $as_echo_n "checking for isnanl declaration... " >&6; }
31461 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31462 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31465
31466
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31472
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31476 #ifdef HAVE_IEEEFP_H
31477 #include <ieeefp.h>
31478 #endif
31479
31480 int
31481 main ()
31482 {
31483 isnanl(0);
31484 ;
31485 return 0;
31486 }
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func_isnanl_use=yes
31490 else
31491 glibcxx_cv_func_isnanl_use=no
31492 fi
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31499
31500
31501 fi
31502
31503 fi
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31505 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31506
31507 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31508 for ac_func in isnanl
31509 do :
31510 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31511 if test "x$ac_cv_func_isnanl" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE_ISNANL 1
31514 _ACEOF
31515
31516 fi
31517 done
31518
31519 else
31520
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31522 $as_echo_n "checking for _isnanl declaration... " >&6; }
31523 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31524 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31525 $as_echo_n "(cached) " >&6
31526 else
31527
31528
31529 ac_ext=cpp
31530 ac_cpp='$CXXCPP $CPPFLAGS'
31531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31534
31535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31537 #include <math.h>
31538 #ifdef HAVE_IEEEFP_H
31539 #include <ieeefp.h>
31540 #endif
31541
31542 int
31543 main ()
31544 {
31545 _isnanl(0);
31546 ;
31547 return 0;
31548 }
31549 _ACEOF
31550 if ac_fn_cxx_try_compile "$LINENO"; then :
31551 glibcxx_cv_func__isnanl_use=yes
31552 else
31553 glibcxx_cv_func__isnanl_use=no
31554 fi
31555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31556 ac_ext=c
31557 ac_cpp='$CPP $CPPFLAGS'
31558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31561
31562
31563 fi
31564
31565 fi
31566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31567 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31568
31569 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31570 for ac_func in _isnanl
31571 do :
31572 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31573 if test "x$ac_cv_func__isnanl" = x""yes; then :
31574 cat >>confdefs.h <<_ACEOF
31575 #define HAVE__ISNANL 1
31576 _ACEOF
31577
31578 fi
31579 done
31580
31581 fi
31582 fi
31583
31584
31585
31586
31587
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31589 $as_echo_n "checking for isinfl declaration... " >&6; }
31590 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31591 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31594
31595
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31601
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31608
31609 int
31610 main ()
31611 {
31612 isinfl(0);
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func_isinfl_use=yes
31619 else
31620 glibcxx_cv_func_isinfl_use=no
31621 fi
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31628
31629
31630 fi
31631
31632 fi
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31634 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31635
31636 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31637 for ac_func in isinfl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31640 if test "x$ac_cv_func_isinfl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE_ISINFL 1
31643 _ACEOF
31644
31645 fi
31646 done
31647
31648 else
31649
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31651 $as_echo_n "checking for _isinfl declaration... " >&6; }
31652 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31653 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31654 $as_echo_n "(cached) " >&6
31655 else
31656
31657
31658 ac_ext=cpp
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31663
31664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31665 /* end confdefs.h. */
31666 #include <math.h>
31667 #ifdef HAVE_IEEEFP_H
31668 #include <ieeefp.h>
31669 #endif
31670
31671 int
31672 main ()
31673 {
31674 _isinfl(0);
31675 ;
31676 return 0;
31677 }
31678 _ACEOF
31679 if ac_fn_cxx_try_compile "$LINENO"; then :
31680 glibcxx_cv_func__isinfl_use=yes
31681 else
31682 glibcxx_cv_func__isinfl_use=no
31683 fi
31684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31685 ac_ext=c
31686 ac_cpp='$CPP $CPPFLAGS'
31687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31690
31691
31692 fi
31693
31694 fi
31695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31696 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31697
31698 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31699 for ac_func in _isinfl
31700 do :
31701 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31702 if test "x$ac_cv_func__isinfl" = x""yes; then :
31703 cat >>confdefs.h <<_ACEOF
31704 #define HAVE__ISINFL 1
31705 _ACEOF
31706
31707 fi
31708 done
31709
31710 fi
31711 fi
31712
31713
31714
31715
31716
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31718 $as_echo_n "checking for atan2l declaration... " >&6; }
31719 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31720 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31721 $as_echo_n "(cached) " >&6
31722 else
31723
31724
31725 ac_ext=cpp
31726 ac_cpp='$CXXCPP $CPPFLAGS'
31727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730
31731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 /* end confdefs.h. */
31733 #include <math.h>
31734 int
31735 main ()
31736 {
31737 atan2l(0, 0);
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func_atan2l_use=yes
31744 else
31745 glibcxx_cv_func_atan2l_use=no
31746 fi
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753
31754
31755 fi
31756
31757 fi
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31759 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31760
31761 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31762 for ac_func in atan2l
31763 do :
31764 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31765 if test "x$ac_cv_func_atan2l" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE_ATAN2L 1
31768 _ACEOF
31769
31770 fi
31771 done
31772
31773 else
31774
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31776 $as_echo_n "checking for _atan2l declaration... " >&6; }
31777 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31778 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31779 $as_echo_n "(cached) " >&6
31780 else
31781
31782
31783 ac_ext=cpp
31784 ac_cpp='$CXXCPP $CPPFLAGS'
31785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788
31789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790 /* end confdefs.h. */
31791 #include <math.h>
31792 int
31793 main ()
31794 {
31795 _atan2l(0, 0);
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 if ac_fn_cxx_try_compile "$LINENO"; then :
31801 glibcxx_cv_func__atan2l_use=yes
31802 else
31803 glibcxx_cv_func__atan2l_use=no
31804 fi
31805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31806 ac_ext=c
31807 ac_cpp='$CPP $CPPFLAGS'
31808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31811
31812
31813 fi
31814
31815 fi
31816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31817 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31818
31819 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31820 for ac_func in _atan2l
31821 do :
31822 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31823 if test "x$ac_cv_func__atan2l" = x""yes; then :
31824 cat >>confdefs.h <<_ACEOF
31825 #define HAVE__ATAN2L 1
31826 _ACEOF
31827
31828 fi
31829 done
31830
31831 fi
31832 fi
31833
31834
31835
31836
31837
31838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31839 $as_echo_n "checking for expl declaration... " >&6; }
31840 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31841 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31842 $as_echo_n "(cached) " >&6
31843 else
31844
31845
31846 ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851
31852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h. */
31854 #include <math.h>
31855 #ifdef HAVE_IEEEFP_H
31856 #include <ieeefp.h>
31857 #endif
31858
31859 int
31860 main ()
31861 {
31862 expl(0);
31863 ;
31864 return 0;
31865 }
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func_expl_use=yes
31869 else
31870 glibcxx_cv_func_expl_use=no
31871 fi
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878
31879
31880 fi
31881
31882 fi
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31884 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31885
31886 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31887 for ac_func in expl
31888 do :
31889 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31890 if test "x$ac_cv_func_expl" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE_EXPL 1
31893 _ACEOF
31894
31895 fi
31896 done
31897
31898 else
31899
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31901 $as_echo_n "checking for _expl declaration... " >&6; }
31902 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31903 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31904 $as_echo_n "(cached) " >&6
31905 else
31906
31907
31908 ac_ext=cpp
31909 ac_cpp='$CXXCPP $CPPFLAGS'
31910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31913
31914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31915 /* end confdefs.h. */
31916 #include <math.h>
31917 #ifdef HAVE_IEEEFP_H
31918 #include <ieeefp.h>
31919 #endif
31920
31921 int
31922 main ()
31923 {
31924 _expl(0);
31925 ;
31926 return 0;
31927 }
31928 _ACEOF
31929 if ac_fn_cxx_try_compile "$LINENO"; then :
31930 glibcxx_cv_func__expl_use=yes
31931 else
31932 glibcxx_cv_func__expl_use=no
31933 fi
31934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 ac_ext=c
31936 ac_cpp='$CPP $CPPFLAGS'
31937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31940
31941
31942 fi
31943
31944 fi
31945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31946 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31947
31948 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31949 for ac_func in _expl
31950 do :
31951 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31952 if test "x$ac_cv_func__expl" = x""yes; then :
31953 cat >>confdefs.h <<_ACEOF
31954 #define HAVE__EXPL 1
31955 _ACEOF
31956
31957 fi
31958 done
31959
31960 fi
31961 fi
31962
31963
31964
31965
31966
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31968 $as_echo_n "checking for fabsl declaration... " >&6; }
31969 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31970 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31973
31974
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31984 #ifdef HAVE_IEEEFP_H
31985 #include <ieeefp.h>
31986 #endif
31987
31988 int
31989 main ()
31990 {
31991 fabsl(0);
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 if ac_fn_cxx_try_compile "$LINENO"; then :
31997 glibcxx_cv_func_fabsl_use=yes
31998 else
31999 glibcxx_cv_func_fabsl_use=no
32000 fi
32001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002 ac_ext=c
32003 ac_cpp='$CPP $CPPFLAGS'
32004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32007
32008
32009 fi
32010
32011 fi
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32013 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32014
32015 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32016 for ac_func in fabsl
32017 do :
32018 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32019 if test "x$ac_cv_func_fabsl" = x""yes; then :
32020 cat >>confdefs.h <<_ACEOF
32021 #define HAVE_FABSL 1
32022 _ACEOF
32023
32024 fi
32025 done
32026
32027 else
32028
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32030 $as_echo_n "checking for _fabsl declaration... " >&6; }
32031 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32032 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32035
32036
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32046 #ifdef HAVE_IEEEFP_H
32047 #include <ieeefp.h>
32048 #endif
32049
32050 int
32051 main ()
32052 {
32053 _fabsl(0);
32054 ;
32055 return 0;
32056 }
32057 _ACEOF
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059 glibcxx_cv_func__fabsl_use=yes
32060 else
32061 glibcxx_cv_func__fabsl_use=no
32062 fi
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064 ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069
32070
32071 fi
32072
32073 fi
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32075 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32076
32077 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32078 for ac_func in _fabsl
32079 do :
32080 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32081 if test "x$ac_cv_func__fabsl" = x""yes; then :
32082 cat >>confdefs.h <<_ACEOF
32083 #define HAVE__FABSL 1
32084 _ACEOF
32085
32086 fi
32087 done
32088
32089 fi
32090 fi
32091
32092
32093
32094
32095
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32097 $as_echo_n "checking for fmodl declaration... " >&6; }
32098 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32099 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32100 $as_echo_n "(cached) " >&6
32101 else
32102
32103
32104 ac_ext=cpp
32105 ac_cpp='$CXXCPP $CPPFLAGS'
32106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109
32110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32111 /* end confdefs.h. */
32112 #include <math.h>
32113 int
32114 main ()
32115 {
32116 fmodl(0, 0);
32117 ;
32118 return 0;
32119 }
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_fmodl_use=yes
32123 else
32124 glibcxx_cv_func_fmodl_use=no
32125 fi
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132
32133
32134 fi
32135
32136 fi
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32138 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32139
32140 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32141 for ac_func in fmodl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32144 if test "x$ac_cv_func_fmodl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_FMODL 1
32147 _ACEOF
32148
32149 fi
32150 done
32151
32152 else
32153
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32155 $as_echo_n "checking for _fmodl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32160
32161
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32167
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32171 int
32172 main ()
32173 {
32174 _fmodl(0, 0);
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180 glibcxx_cv_func__fmodl_use=yes
32181 else
32182 glibcxx_cv_func__fmodl_use=no
32183 fi
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185 ac_ext=c
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32190
32191
32192 fi
32193
32194 fi
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32196 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32197
32198 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32199 for ac_func in _fmodl
32200 do :
32201 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32202 if test "x$ac_cv_func__fmodl" = x""yes; then :
32203 cat >>confdefs.h <<_ACEOF
32204 #define HAVE__FMODL 1
32205 _ACEOF
32206
32207 fi
32208 done
32209
32210 fi
32211 fi
32212
32213
32214
32215
32216
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32218 $as_echo_n "checking for frexpl declaration... " >&6; }
32219 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32220 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32221 $as_echo_n "(cached) " >&6
32222 else
32223
32224
32225 ac_ext=cpp
32226 ac_cpp='$CXXCPP $CPPFLAGS'
32227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32230
32231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32232 /* end confdefs.h. */
32233 #include <math.h>
32234 int
32235 main ()
32236 {
32237 frexpl(0, 0);
32238 ;
32239 return 0;
32240 }
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243 glibcxx_cv_func_frexpl_use=yes
32244 else
32245 glibcxx_cv_func_frexpl_use=no
32246 fi
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32253
32254
32255 fi
32256
32257 fi
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32259 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32260
32261 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32262 for ac_func in frexpl
32263 do :
32264 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32265 if test "x$ac_cv_func_frexpl" = x""yes; then :
32266 cat >>confdefs.h <<_ACEOF
32267 #define HAVE_FREXPL 1
32268 _ACEOF
32269
32270 fi
32271 done
32272
32273 else
32274
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32276 $as_echo_n "checking for _frexpl declaration... " >&6; }
32277 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32278 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32279 $as_echo_n "(cached) " >&6
32280 else
32281
32282
32283 ac_ext=cpp
32284 ac_cpp='$CXXCPP $CPPFLAGS'
32285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32288
32289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32290 /* end confdefs.h. */
32291 #include <math.h>
32292 int
32293 main ()
32294 {
32295 _frexpl(0, 0);
32296 ;
32297 return 0;
32298 }
32299 _ACEOF
32300 if ac_fn_cxx_try_compile "$LINENO"; then :
32301 glibcxx_cv_func__frexpl_use=yes
32302 else
32303 glibcxx_cv_func__frexpl_use=no
32304 fi
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32306 ac_ext=c
32307 ac_cpp='$CPP $CPPFLAGS'
32308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32311
32312
32313 fi
32314
32315 fi
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32317 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32318
32319 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32320 for ac_func in _frexpl
32321 do :
32322 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32323 if test "x$ac_cv_func__frexpl" = x""yes; then :
32324 cat >>confdefs.h <<_ACEOF
32325 #define HAVE__FREXPL 1
32326 _ACEOF
32327
32328 fi
32329 done
32330
32331 fi
32332 fi
32333
32334
32335
32336
32337
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32339 $as_echo_n "checking for hypotl declaration... " >&6; }
32340 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32341 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32344
32345
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32351
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32355 int
32356 main ()
32357 {
32358 hypotl(0, 0);
32359 ;
32360 return 0;
32361 }
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func_hypotl_use=yes
32365 else
32366 glibcxx_cv_func_hypotl_use=no
32367 fi
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32374
32375
32376 fi
32377
32378 fi
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32380 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32381
32382 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32383 for ac_func in hypotl
32384 do :
32385 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32386 if test "x$ac_cv_func_hypotl" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE_HYPOTL 1
32389 _ACEOF
32390
32391 fi
32392 done
32393
32394 else
32395
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32397 $as_echo_n "checking for _hypotl declaration... " >&6; }
32398 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32399 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32400 $as_echo_n "(cached) " >&6
32401 else
32402
32403
32404 ac_ext=cpp
32405 ac_cpp='$CXXCPP $CPPFLAGS'
32406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32409
32410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32411 /* end confdefs.h. */
32412 #include <math.h>
32413 int
32414 main ()
32415 {
32416 _hypotl(0, 0);
32417 ;
32418 return 0;
32419 }
32420 _ACEOF
32421 if ac_fn_cxx_try_compile "$LINENO"; then :
32422 glibcxx_cv_func__hypotl_use=yes
32423 else
32424 glibcxx_cv_func__hypotl_use=no
32425 fi
32426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32427 ac_ext=c
32428 ac_cpp='$CPP $CPPFLAGS'
32429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32432
32433
32434 fi
32435
32436 fi
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32438 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32439
32440 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32441 for ac_func in _hypotl
32442 do :
32443 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32444 if test "x$ac_cv_func__hypotl" = x""yes; then :
32445 cat >>confdefs.h <<_ACEOF
32446 #define HAVE__HYPOTL 1
32447 _ACEOF
32448
32449 fi
32450 done
32451
32452 fi
32453 fi
32454
32455
32456
32457
32458
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32460 $as_echo_n "checking for ldexpl declaration... " >&6; }
32461 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32462 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32465
32466
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32476 int
32477 main ()
32478 {
32479 ldexpl(0, 0);
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 if ac_fn_cxx_try_compile "$LINENO"; then :
32485 glibcxx_cv_func_ldexpl_use=yes
32486 else
32487 glibcxx_cv_func_ldexpl_use=no
32488 fi
32489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32495
32496
32497 fi
32498
32499 fi
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32501 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32502
32503 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32504 for ac_func in ldexpl
32505 do :
32506 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32507 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32508 cat >>confdefs.h <<_ACEOF
32509 #define HAVE_LDEXPL 1
32510 _ACEOF
32511
32512 fi
32513 done
32514
32515 else
32516
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32518 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32519 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32520 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32521 $as_echo_n "(cached) " >&6
32522 else
32523
32524
32525 ac_ext=cpp
32526 ac_cpp='$CXXCPP $CPPFLAGS'
32527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32530
32531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32532 /* end confdefs.h. */
32533 #include <math.h>
32534 int
32535 main ()
32536 {
32537 _ldexpl(0, 0);
32538 ;
32539 return 0;
32540 }
32541 _ACEOF
32542 if ac_fn_cxx_try_compile "$LINENO"; then :
32543 glibcxx_cv_func__ldexpl_use=yes
32544 else
32545 glibcxx_cv_func__ldexpl_use=no
32546 fi
32547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32548 ac_ext=c
32549 ac_cpp='$CPP $CPPFLAGS'
32550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32553
32554
32555 fi
32556
32557 fi
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32559 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32560
32561 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32562 for ac_func in _ldexpl
32563 do :
32564 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32565 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32566 cat >>confdefs.h <<_ACEOF
32567 #define HAVE__LDEXPL 1
32568 _ACEOF
32569
32570 fi
32571 done
32572
32573 fi
32574 fi
32575
32576
32577
32578
32579
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32581 $as_echo_n "checking for logl declaration... " >&6; }
32582 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32583 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32584 $as_echo_n "(cached) " >&6
32585 else
32586
32587
32588 ac_ext=cpp
32589 ac_cpp='$CXXCPP $CPPFLAGS'
32590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593
32594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32595 /* end confdefs.h. */
32596 #include <math.h>
32597 #ifdef HAVE_IEEEFP_H
32598 #include <ieeefp.h>
32599 #endif
32600
32601 int
32602 main ()
32603 {
32604 logl(0);
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func_logl_use=yes
32611 else
32612 glibcxx_cv_func_logl_use=no
32613 fi
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620
32621
32622 fi
32623
32624 fi
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32626 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32627
32628 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32629 for ac_func in logl
32630 do :
32631 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32632 if test "x$ac_cv_func_logl" = x""yes; then :
32633 cat >>confdefs.h <<_ACEOF
32634 #define HAVE_LOGL 1
32635 _ACEOF
32636
32637 fi
32638 done
32639
32640 else
32641
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32643 $as_echo_n "checking for _logl declaration... " >&6; }
32644 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32645 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32646 $as_echo_n "(cached) " >&6
32647 else
32648
32649
32650 ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655
32656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h. */
32658 #include <math.h>
32659 #ifdef HAVE_IEEEFP_H
32660 #include <ieeefp.h>
32661 #endif
32662
32663 int
32664 main ()
32665 {
32666 _logl(0);
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672 glibcxx_cv_func__logl_use=yes
32673 else
32674 glibcxx_cv_func__logl_use=no
32675 fi
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682
32683
32684 fi
32685
32686 fi
32687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32688 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32689
32690 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32691 for ac_func in _logl
32692 do :
32693 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32694 if test "x$ac_cv_func__logl" = x""yes; then :
32695 cat >>confdefs.h <<_ACEOF
32696 #define HAVE__LOGL 1
32697 _ACEOF
32698
32699 fi
32700 done
32701
32702 fi
32703 fi
32704
32705
32706
32707
32708
32709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32710 $as_echo_n "checking for log10l declaration... " >&6; }
32711 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32712 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32713 $as_echo_n "(cached) " >&6
32714 else
32715
32716
32717 ac_ext=cpp
32718 ac_cpp='$CXXCPP $CPPFLAGS'
32719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32722
32723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32724 /* end confdefs.h. */
32725 #include <math.h>
32726 #ifdef HAVE_IEEEFP_H
32727 #include <ieeefp.h>
32728 #endif
32729
32730 int
32731 main ()
32732 {
32733 log10l(0);
32734 ;
32735 return 0;
32736 }
32737 _ACEOF
32738 if ac_fn_cxx_try_compile "$LINENO"; then :
32739 glibcxx_cv_func_log10l_use=yes
32740 else
32741 glibcxx_cv_func_log10l_use=no
32742 fi
32743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32744 ac_ext=c
32745 ac_cpp='$CPP $CPPFLAGS'
32746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32749
32750
32751 fi
32752
32753 fi
32754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32755 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32756
32757 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32758 for ac_func in log10l
32759 do :
32760 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32761 if test "x$ac_cv_func_log10l" = x""yes; then :
32762 cat >>confdefs.h <<_ACEOF
32763 #define HAVE_LOG10L 1
32764 _ACEOF
32765
32766 fi
32767 done
32768
32769 else
32770
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32772 $as_echo_n "checking for _log10l declaration... " >&6; }
32773 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32774 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32775 $as_echo_n "(cached) " >&6
32776 else
32777
32778
32779 ac_ext=cpp
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784
32785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32786 /* end confdefs.h. */
32787 #include <math.h>
32788 #ifdef HAVE_IEEEFP_H
32789 #include <ieeefp.h>
32790 #endif
32791
32792 int
32793 main ()
32794 {
32795 _log10l(0);
32796 ;
32797 return 0;
32798 }
32799 _ACEOF
32800 if ac_fn_cxx_try_compile "$LINENO"; then :
32801 glibcxx_cv_func__log10l_use=yes
32802 else
32803 glibcxx_cv_func__log10l_use=no
32804 fi
32805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32806 ac_ext=c
32807 ac_cpp='$CPP $CPPFLAGS'
32808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811
32812
32813 fi
32814
32815 fi
32816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32817 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32818
32819 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32820 for ac_func in _log10l
32821 do :
32822 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32823 if test "x$ac_cv_func__log10l" = x""yes; then :
32824 cat >>confdefs.h <<_ACEOF
32825 #define HAVE__LOG10L 1
32826 _ACEOF
32827
32828 fi
32829 done
32830
32831 fi
32832 fi
32833
32834
32835
32836
32837
32838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32839 $as_echo_n "checking for modfl declaration... " >&6; }
32840 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32841 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32842 $as_echo_n "(cached) " >&6
32843 else
32844
32845
32846 ac_ext=cpp
32847 ac_cpp='$CXXCPP $CPPFLAGS'
32848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32851
32852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32853 /* end confdefs.h. */
32854 #include <math.h>
32855 int
32856 main ()
32857 {
32858 modfl(0, 0);
32859 ;
32860 return 0;
32861 }
32862 _ACEOF
32863 if ac_fn_cxx_try_compile "$LINENO"; then :
32864 glibcxx_cv_func_modfl_use=yes
32865 else
32866 glibcxx_cv_func_modfl_use=no
32867 fi
32868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32869 ac_ext=c
32870 ac_cpp='$CPP $CPPFLAGS'
32871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874
32875
32876 fi
32877
32878 fi
32879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32880 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32881
32882 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32883 for ac_func in modfl
32884 do :
32885 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32886 if test "x$ac_cv_func_modfl" = x""yes; then :
32887 cat >>confdefs.h <<_ACEOF
32888 #define HAVE_MODFL 1
32889 _ACEOF
32890
32891 fi
32892 done
32893
32894 else
32895
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32897 $as_echo_n "checking for _modfl declaration... " >&6; }
32898 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32899 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32902
32903
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32909
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32913 int
32914 main ()
32915 {
32916 _modfl(0, 0);
32917 ;
32918 return 0;
32919 }
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func__modfl_use=yes
32923 else
32924 glibcxx_cv_func__modfl_use=no
32925 fi
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932
32933
32934 fi
32935
32936 fi
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32938 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32939
32940 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32941 for ac_func in _modfl
32942 do :
32943 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32944 if test "x$ac_cv_func__modfl" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE__MODFL 1
32947 _ACEOF
32948
32949 fi
32950 done
32951
32952 fi
32953 fi
32954
32955
32956
32957
32958
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32960 $as_echo_n "checking for powl declaration... " >&6; }
32961 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32962 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32963 $as_echo_n "(cached) " >&6
32964 else
32965
32966
32967 ac_ext=cpp
32968 ac_cpp='$CXXCPP $CPPFLAGS'
32969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32972
32973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32974 /* end confdefs.h. */
32975 #include <math.h>
32976 int
32977 main ()
32978 {
32979 powl(0, 0);
32980 ;
32981 return 0;
32982 }
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985 glibcxx_cv_func_powl_use=yes
32986 else
32987 glibcxx_cv_func_powl_use=no
32988 fi
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995
32996
32997 fi
32998
32999 fi
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33001 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33002
33003 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33004 for ac_func in powl
33005 do :
33006 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33007 if test "x$ac_cv_func_powl" = x""yes; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define HAVE_POWL 1
33010 _ACEOF
33011
33012 fi
33013 done
33014
33015 else
33016
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33018 $as_echo_n "checking for _powl declaration... " >&6; }
33019 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33020 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33023
33024
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33030
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33034 int
33035 main ()
33036 {
33037 _powl(0, 0);
33038 ;
33039 return 0;
33040 }
33041 _ACEOF
33042 if ac_fn_cxx_try_compile "$LINENO"; then :
33043 glibcxx_cv_func__powl_use=yes
33044 else
33045 glibcxx_cv_func__powl_use=no
33046 fi
33047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053
33054
33055 fi
33056
33057 fi
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33059 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33060
33061 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33062 for ac_func in _powl
33063 do :
33064 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33065 if test "x$ac_cv_func__powl" = x""yes; then :
33066 cat >>confdefs.h <<_ACEOF
33067 #define HAVE__POWL 1
33068 _ACEOF
33069
33070 fi
33071 done
33072
33073 fi
33074 fi
33075
33076
33077
33078
33079
33080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33081 $as_echo_n "checking for sqrtl declaration... " >&6; }
33082 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33083 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33084 $as_echo_n "(cached) " >&6
33085 else
33086
33087
33088 ac_ext=cpp
33089 ac_cpp='$CXXCPP $CPPFLAGS'
33090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093
33094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33095 /* end confdefs.h. */
33096 #include <math.h>
33097 #ifdef HAVE_IEEEFP_H
33098 #include <ieeefp.h>
33099 #endif
33100
33101 int
33102 main ()
33103 {
33104 sqrtl(0);
33105 ;
33106 return 0;
33107 }
33108 _ACEOF
33109 if ac_fn_cxx_try_compile "$LINENO"; then :
33110 glibcxx_cv_func_sqrtl_use=yes
33111 else
33112 glibcxx_cv_func_sqrtl_use=no
33113 fi
33114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 ac_ext=c
33116 ac_cpp='$CPP $CPPFLAGS'
33117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33120
33121
33122 fi
33123
33124 fi
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33126 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33127
33128 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33129 for ac_func in sqrtl
33130 do :
33131 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33132 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33133 cat >>confdefs.h <<_ACEOF
33134 #define HAVE_SQRTL 1
33135 _ACEOF
33136
33137 fi
33138 done
33139
33140 else
33141
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33143 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33144 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33145 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33148
33149
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 #ifdef HAVE_IEEEFP_H
33160 #include <ieeefp.h>
33161 #endif
33162
33163 int
33164 main ()
33165 {
33166 _sqrtl(0);
33167 ;
33168 return 0;
33169 }
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172 glibcxx_cv_func__sqrtl_use=yes
33173 else
33174 glibcxx_cv_func__sqrtl_use=no
33175 fi
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33182
33183
33184 fi
33185
33186 fi
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33188 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33189
33190 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33191 for ac_func in _sqrtl
33192 do :
33193 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33194 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33195 cat >>confdefs.h <<_ACEOF
33196 #define HAVE__SQRTL 1
33197 _ACEOF
33198
33199 fi
33200 done
33201
33202 fi
33203 fi
33204
33205
33206
33207
33208
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33210 $as_echo_n "checking for sincosl declaration... " >&6; }
33211 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33212 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33213 $as_echo_n "(cached) " >&6
33214 else
33215
33216
33217 ac_ext=cpp
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33222
33223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33224 /* end confdefs.h. */
33225 #include <math.h>
33226 int
33227 main ()
33228 {
33229 sincosl(0, 0, 0);
33230 ;
33231 return 0;
33232 }
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func_sincosl_use=yes
33236 else
33237 glibcxx_cv_func_sincosl_use=no
33238 fi
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249 fi
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33251 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33252
33253 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33254 for ac_func in sincosl
33255 do :
33256 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33257 if test "x$ac_cv_func_sincosl" = x""yes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE_SINCOSL 1
33260 _ACEOF
33261
33262 fi
33263 done
33264
33265 else
33266
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33268 $as_echo_n "checking for _sincosl declaration... " >&6; }
33269 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33270 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33273
33274
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 int
33285 main ()
33286 {
33287 _sincosl(0, 0, 0);
33288 ;
33289 return 0;
33290 }
33291 _ACEOF
33292 if ac_fn_cxx_try_compile "$LINENO"; then :
33293 glibcxx_cv_func__sincosl_use=yes
33294 else
33295 glibcxx_cv_func__sincosl_use=no
33296 fi
33297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33298 ac_ext=c
33299 ac_cpp='$CPP $CPPFLAGS'
33300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33303
33304
33305 fi
33306
33307 fi
33308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33309 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33310
33311 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33312 for ac_func in _sincosl
33313 do :
33314 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33315 if test "x$ac_cv_func__sincosl" = x""yes; then :
33316 cat >>confdefs.h <<_ACEOF
33317 #define HAVE__SINCOSL 1
33318 _ACEOF
33319
33320 fi
33321 done
33322
33323 fi
33324 fi
33325
33326
33327
33328
33329
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33331 $as_echo_n "checking for finitel declaration... " >&6; }
33332 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33333 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33334 $as_echo_n "(cached) " >&6
33335 else
33336
33337
33338 ac_ext=cpp
33339 ac_cpp='$CXXCPP $CPPFLAGS'
33340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33343
33344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33345 /* end confdefs.h. */
33346 #include <math.h>
33347 #ifdef HAVE_IEEEFP_H
33348 #include <ieeefp.h>
33349 #endif
33350
33351 int
33352 main ()
33353 {
33354 finitel(0);
33355 ;
33356 return 0;
33357 }
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_finitel_use=yes
33361 else
33362 glibcxx_cv_func_finitel_use=no
33363 fi
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33370
33371
33372 fi
33373
33374 fi
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33376 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33377
33378 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33379 for ac_func in finitel
33380 do :
33381 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33382 if test "x$ac_cv_func_finitel" = x""yes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_FINITEL 1
33385 _ACEOF
33386
33387 fi
33388 done
33389
33390 else
33391
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33393 $as_echo_n "checking for _finitel declaration... " >&6; }
33394 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33395 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33398
33399
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33405
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33409 #ifdef HAVE_IEEEFP_H
33410 #include <ieeefp.h>
33411 #endif
33412
33413 int
33414 main ()
33415 {
33416 _finitel(0);
33417 ;
33418 return 0;
33419 }
33420 _ACEOF
33421 if ac_fn_cxx_try_compile "$LINENO"; then :
33422 glibcxx_cv_func__finitel_use=yes
33423 else
33424 glibcxx_cv_func__finitel_use=no
33425 fi
33426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_ext=c
33428 ac_cpp='$CPP $CPPFLAGS'
33429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33432
33433
33434 fi
33435
33436 fi
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33438 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33439
33440 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33441 for ac_func in _finitel
33442 do :
33443 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33444 if test "x$ac_cv_func__finitel" = x""yes; then :
33445 cat >>confdefs.h <<_ACEOF
33446 #define HAVE__FINITEL 1
33447 _ACEOF
33448
33449 fi
33450 done
33451
33452 fi
33453 fi
33454
33455
33456
33457
33458 LIBS="$ac_save_LIBS"
33459 CXXFLAGS="$ac_save_CXXFLAGS"
33460
33461
33462 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33463 ac_save_CXXFLAGS="$CXXFLAGS"
33464 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33465
33466
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33468 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33469 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33470 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33471 $as_echo_n "(cached) " >&6
33472 else
33473
33474
33475 ac_ext=cpp
33476 ac_cpp='$CXXCPP $CPPFLAGS'
33477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33480
33481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33482 /* end confdefs.h. */
33483 #include <stdlib.h>
33484 int
33485 main ()
33486 {
33487 at_quick_exit(0);
33488 ;
33489 return 0;
33490 }
33491 _ACEOF
33492 if ac_fn_cxx_try_compile "$LINENO"; then :
33493 glibcxx_cv_func_at_quick_exit_use=yes
33494 else
33495 glibcxx_cv_func_at_quick_exit_use=no
33496 fi
33497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33503
33504
33505 fi
33506
33507 fi
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33509 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33510 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33511 for ac_func in at_quick_exit
33512 do :
33513 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33514 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE_AT_QUICK_EXIT 1
33517 _ACEOF
33518
33519 fi
33520 done
33521
33522 fi
33523
33524
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33526 $as_echo_n "checking for quick_exit declaration... " >&6; }
33527 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33528 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33529 $as_echo_n "(cached) " >&6
33530 else
33531
33532
33533 ac_ext=cpp
33534 ac_cpp='$CXXCPP $CPPFLAGS'
33535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33538
33539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33540 /* end confdefs.h. */
33541 #include <stdlib.h>
33542 int
33543 main ()
33544 {
33545 quick_exit(0);
33546 ;
33547 return 0;
33548 }
33549 _ACEOF
33550 if ac_fn_cxx_try_compile "$LINENO"; then :
33551 glibcxx_cv_func_quick_exit_use=yes
33552 else
33553 glibcxx_cv_func_quick_exit_use=no
33554 fi
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33556 ac_ext=c
33557 ac_cpp='$CPP $CPPFLAGS'
33558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33561
33562
33563 fi
33564
33565 fi
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33567 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33568 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33569 for ac_func in quick_exit
33570 do :
33571 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33572 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33573 cat >>confdefs.h <<_ACEOF
33574 #define HAVE_QUICK_EXIT 1
33575 _ACEOF
33576
33577 fi
33578 done
33579
33580 fi
33581
33582
33583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33584 $as_echo_n "checking for strtold declaration... " >&6; }
33585 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33586 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33587 $as_echo_n "(cached) " >&6
33588 else
33589
33590
33591 ac_ext=cpp
33592 ac_cpp='$CXXCPP $CPPFLAGS'
33593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33596
33597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33598 /* end confdefs.h. */
33599 #include <stdlib.h>
33600 int
33601 main ()
33602 {
33603 strtold(0, 0);
33604 ;
33605 return 0;
33606 }
33607 _ACEOF
33608 if ac_fn_cxx_try_compile "$LINENO"; then :
33609 glibcxx_cv_func_strtold_use=yes
33610 else
33611 glibcxx_cv_func_strtold_use=no
33612 fi
33613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33614 ac_ext=c
33615 ac_cpp='$CPP $CPPFLAGS'
33616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33619
33620
33621 fi
33622
33623 fi
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33625 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33626 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33627 for ac_func in strtold
33628 do :
33629 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33630 if test "x$ac_cv_func_strtold" = x""yes; then :
33631 cat >>confdefs.h <<_ACEOF
33632 #define HAVE_STRTOLD 1
33633 _ACEOF
33634
33635 fi
33636 done
33637
33638 fi
33639
33640
33641
33642
33643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33644 $as_echo_n "checking for strtof declaration... " >&6; }
33645 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33646 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33647 $as_echo_n "(cached) " >&6
33648 else
33649
33650
33651 ac_ext=cpp
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656
33657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33658 /* end confdefs.h. */
33659 #include <stdlib.h>
33660 int
33661 main ()
33662 {
33663 strtof(0, 0);
33664 ;
33665 return 0;
33666 }
33667 _ACEOF
33668 if ac_fn_cxx_try_compile "$LINENO"; then :
33669 glibcxx_cv_func_strtof_use=yes
33670 else
33671 glibcxx_cv_func_strtof_use=no
33672 fi
33673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33674 ac_ext=c
33675 ac_cpp='$CPP $CPPFLAGS'
33676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33679
33680
33681 fi
33682
33683 fi
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33685 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33686 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33687 for ac_func in strtof
33688 do :
33689 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33690 if test "x$ac_cv_func_strtof" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_STRTOF 1
33693 _ACEOF
33694
33695 fi
33696 done
33697
33698 fi
33699
33700
33701
33702
33703 CXXFLAGS="$ac_save_CXXFLAGS"
33704
33705
33706 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33707
33708 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33709
33710 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33711
33712 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33713
33714
33715 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33716
33717 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33718
33719 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33720
33721 ;;
33722
33723 *-aix*)
33724
33725 # If we're not using GNU ld, then there's no point in even trying these
33726 # tests. Check for that first. We should have already tested for gld
33727 # by now (in libtool), but require it now just to be safe...
33728 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33729 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33730
33731
33732
33733 # The name set by libtool depends on the version of libtool. Shame on us
33734 # for depending on an impl detail, but c'est la vie. Older versions used
33735 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33736 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33737 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33738 # set (hence we're using an older libtool), then set it.
33739 if test x${with_gnu_ld+set} != xset; then
33740 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33741 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33742 with_gnu_ld=no
33743 else
33744 with_gnu_ld=$ac_cv_prog_gnu_ld
33745 fi
33746 fi
33747
33748 # Start by getting the version number. I think the libtool test already
33749 # does some of this, but throws away the result.
33750 glibcxx_ld_is_gold=no
33751 if test x"$with_gnu_ld" = x"yes"; then
33752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33753 $as_echo_n "checking for ld version... " >&6; }
33754
33755 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33756 glibcxx_ld_is_gold=yes
33757 fi
33758 ldver=`$LD --version 2>/dev/null |
33759 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'`
33760
33761 glibcxx_gnu_ld_version=`echo $ldver | \
33762 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33764 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33765 fi
33766
33767 # Set --gc-sections.
33768 glibcxx_have_gc_sections=no
33769 if test "$glibcxx_ld_is_gold" = "yes"; then
33770 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33771 glibcxx_have_gc_sections=yes
33772 fi
33773 else
33774 glibcxx_gcsections_min_ld=21602
33775 if test x"$with_gnu_ld" = x"yes" &&
33776 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33777 glibcxx_have_gc_sections=yes
33778 fi
33779 fi
33780 if test "$glibcxx_have_gc_sections" = "yes"; then
33781 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33782 # NB: This flag only works reliably after 2.16.1. Configure tests
33783 # for this are difficult, so hard wire a value that should work.
33784
33785 ac_test_CFLAGS="${CFLAGS+set}"
33786 ac_save_CFLAGS="$CFLAGS"
33787 CFLAGS='-Wl,--gc-sections'
33788
33789 # Check for -Wl,--gc-sections
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33791 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33792 if test x$gcc_no_link = xyes; then
33793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33794 fi
33795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33796 /* end confdefs.h. */
33797 int one(void) { return 1; }
33798 int two(void) { return 2; }
33799
33800 int
33801 main ()
33802 {
33803 two();
33804 ;
33805 return 0;
33806 }
33807 _ACEOF
33808 if ac_fn_c_try_link "$LINENO"; then :
33809 ac_gcsections=yes
33810 else
33811 ac_gcsections=no
33812 fi
33813 rm -f core conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33815 if test "$ac_gcsections" = "yes"; then
33816 rm -f conftest.c
33817 touch conftest.c
33818 if $CC -c conftest.c; then
33819 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33820 grep "Warning: gc-sections option ignored" > /dev/null; then
33821 ac_gcsections=no
33822 fi
33823 fi
33824 rm -f conftest.c conftest.o conftest
33825 fi
33826 if test "$ac_gcsections" = "yes"; then
33827 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33828 fi
33829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33830 $as_echo "$ac_gcsections" >&6; }
33831
33832 if test "$ac_test_CFLAGS" = set; then
33833 CFLAGS="$ac_save_CFLAGS"
33834 else
33835 # this is the suspicious part
33836 CFLAGS=''
33837 fi
33838 fi
33839
33840 # Set -z,relro.
33841 # Note this is only for shared objects.
33842 ac_ld_relro=no
33843 if test x"$with_gnu_ld" = x"yes"; then
33844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33845 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33846 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33847 if test -n "$cxx_z_relo"; then
33848 OPT_LDFLAGS="-Wl,-z,relro"
33849 ac_ld_relro=yes
33850 fi
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33852 $as_echo "$ac_ld_relro" >&6; }
33853 fi
33854
33855 # Set linker optimization flags.
33856 if test x"$with_gnu_ld" = x"yes"; then
33857 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33858 fi
33859
33860
33861
33862
33863
33864 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33865 ac_save_CXXFLAGS="$CXXFLAGS"
33866 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33867
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33869 $as_echo_n "checking for sin in -lm... " >&6; }
33870 if test "${ac_cv_lib_m_sin+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33873 ac_check_lib_save_LIBS=$LIBS
33874 LIBS="-lm $LIBS"
33875 if test x$gcc_no_link = xyes; then
33876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33877 fi
33878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33879 /* end confdefs.h. */
33880
33881 /* Override any GCC internal prototype to avoid an error.
33882 Use char because int might match the return type of a GCC
33883 builtin and then its argument prototype would still apply. */
33884 #ifdef __cplusplus
33885 extern "C"
33886 #endif
33887 char sin ();
33888 int
33889 main ()
33890 {
33891 return sin ();
33892 ;
33893 return 0;
33894 }
33895 _ACEOF
33896 if ac_fn_c_try_link "$LINENO"; then :
33897 ac_cv_lib_m_sin=yes
33898 else
33899 ac_cv_lib_m_sin=no
33900 fi
33901 rm -f core conftest.err conftest.$ac_objext \
33902 conftest$ac_exeext conftest.$ac_ext
33903 LIBS=$ac_check_lib_save_LIBS
33904 fi
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33906 $as_echo "$ac_cv_lib_m_sin" >&6; }
33907 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33908 libm="-lm"
33909 fi
33910
33911 ac_save_LIBS="$LIBS"
33912 LIBS="$LIBS $libm"
33913
33914
33915
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33917 $as_echo_n "checking for isinf declaration... " >&6; }
33918 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33919 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33920 $as_echo_n "(cached) " >&6
33921 else
33922
33923
33924 ac_ext=cpp
33925 ac_cpp='$CXXCPP $CPPFLAGS'
33926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33929
33930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33931 /* end confdefs.h. */
33932 #include <math.h>
33933 #ifdef HAVE_IEEEFP_H
33934 #include <ieeefp.h>
33935 #endif
33936
33937 int
33938 main ()
33939 {
33940 isinf(0);
33941 ;
33942 return 0;
33943 }
33944 _ACEOF
33945 if ac_fn_cxx_try_compile "$LINENO"; then :
33946 glibcxx_cv_func_isinf_use=yes
33947 else
33948 glibcxx_cv_func_isinf_use=no
33949 fi
33950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33951 ac_ext=c
33952 ac_cpp='$CPP $CPPFLAGS'
33953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33956
33957
33958 fi
33959
33960 fi
33961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33962 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33963
33964 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33965 for ac_func in isinf
33966 do :
33967 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33968 if test "x$ac_cv_func_isinf" = x""yes; then :
33969 cat >>confdefs.h <<_ACEOF
33970 #define HAVE_ISINF 1
33971 _ACEOF
33972
33973 fi
33974 done
33975
33976 else
33977
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33979 $as_echo_n "checking for _isinf declaration... " >&6; }
33980 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33981 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33982 $as_echo_n "(cached) " >&6
33983 else
33984
33985
33986 ac_ext=cpp
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33991
33992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33993 /* end confdefs.h. */
33994 #include <math.h>
33995 #ifdef HAVE_IEEEFP_H
33996 #include <ieeefp.h>
33997 #endif
33998
33999 int
34000 main ()
34001 {
34002 _isinf(0);
34003 ;
34004 return 0;
34005 }
34006 _ACEOF
34007 if ac_fn_cxx_try_compile "$LINENO"; then :
34008 glibcxx_cv_func__isinf_use=yes
34009 else
34010 glibcxx_cv_func__isinf_use=no
34011 fi
34012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34013 ac_ext=c
34014 ac_cpp='$CPP $CPPFLAGS'
34015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34018
34019
34020 fi
34021
34022 fi
34023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34024 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34025
34026 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34027 for ac_func in _isinf
34028 do :
34029 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34030 if test "x$ac_cv_func__isinf" = x""yes; then :
34031 cat >>confdefs.h <<_ACEOF
34032 #define HAVE__ISINF 1
34033 _ACEOF
34034
34035 fi
34036 done
34037
34038 fi
34039 fi
34040
34041
34042
34043
34044
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34046 $as_echo_n "checking for isnan declaration... " >&6; }
34047 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34048 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34049 $as_echo_n "(cached) " >&6
34050 else
34051
34052
34053 ac_ext=cpp
34054 ac_cpp='$CXXCPP $CPPFLAGS'
34055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34058
34059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34060 /* end confdefs.h. */
34061 #include <math.h>
34062 #ifdef HAVE_IEEEFP_H
34063 #include <ieeefp.h>
34064 #endif
34065
34066 int
34067 main ()
34068 {
34069 isnan(0);
34070 ;
34071 return 0;
34072 }
34073 _ACEOF
34074 if ac_fn_cxx_try_compile "$LINENO"; then :
34075 glibcxx_cv_func_isnan_use=yes
34076 else
34077 glibcxx_cv_func_isnan_use=no
34078 fi
34079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34080 ac_ext=c
34081 ac_cpp='$CPP $CPPFLAGS'
34082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34085
34086
34087 fi
34088
34089 fi
34090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34091 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34092
34093 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34094 for ac_func in isnan
34095 do :
34096 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34097 if test "x$ac_cv_func_isnan" = x""yes; then :
34098 cat >>confdefs.h <<_ACEOF
34099 #define HAVE_ISNAN 1
34100 _ACEOF
34101
34102 fi
34103 done
34104
34105 else
34106
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34108 $as_echo_n "checking for _isnan declaration... " >&6; }
34109 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34110 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34111 $as_echo_n "(cached) " >&6
34112 else
34113
34114
34115 ac_ext=cpp
34116 ac_cpp='$CXXCPP $CPPFLAGS'
34117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34120
34121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34122 /* end confdefs.h. */
34123 #include <math.h>
34124 #ifdef HAVE_IEEEFP_H
34125 #include <ieeefp.h>
34126 #endif
34127
34128 int
34129 main ()
34130 {
34131 _isnan(0);
34132 ;
34133 return 0;
34134 }
34135 _ACEOF
34136 if ac_fn_cxx_try_compile "$LINENO"; then :
34137 glibcxx_cv_func__isnan_use=yes
34138 else
34139 glibcxx_cv_func__isnan_use=no
34140 fi
34141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34142 ac_ext=c
34143 ac_cpp='$CPP $CPPFLAGS'
34144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34147
34148
34149 fi
34150
34151 fi
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34153 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34154
34155 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34156 for ac_func in _isnan
34157 do :
34158 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34159 if test "x$ac_cv_func__isnan" = x""yes; then :
34160 cat >>confdefs.h <<_ACEOF
34161 #define HAVE__ISNAN 1
34162 _ACEOF
34163
34164 fi
34165 done
34166
34167 fi
34168 fi
34169
34170
34171
34172
34173
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34175 $as_echo_n "checking for finite declaration... " >&6; }
34176 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34177 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34180
34181
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34187
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34194
34195 int
34196 main ()
34197 {
34198 finite(0);
34199 ;
34200 return 0;
34201 }
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func_finite_use=yes
34205 else
34206 glibcxx_cv_func_finite_use=no
34207 fi
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34214
34215
34216 fi
34217
34218 fi
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34220 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34221
34222 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34223 for ac_func in finite
34224 do :
34225 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34226 if test "x$ac_cv_func_finite" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE_FINITE 1
34229 _ACEOF
34230
34231 fi
34232 done
34233
34234 else
34235
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34237 $as_echo_n "checking for _finite declaration... " >&6; }
34238 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34239 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34242
34243
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34256
34257 int
34258 main ()
34259 {
34260 _finite(0);
34261 ;
34262 return 0;
34263 }
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func__finite_use=yes
34267 else
34268 glibcxx_cv_func__finite_use=no
34269 fi
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276
34277
34278 fi
34279
34280 fi
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34282 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34283
34284 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34285 for ac_func in _finite
34286 do :
34287 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34288 if test "x$ac_cv_func__finite" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE__FINITE 1
34291 _ACEOF
34292
34293 fi
34294 done
34295
34296 fi
34297 fi
34298
34299
34300
34301
34302
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34304 $as_echo_n "checking for sincos declaration... " >&6; }
34305 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34306 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34309
34310
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 int
34321 main ()
34322 {
34323 sincos(0, 0, 0);
34324 ;
34325 return 0;
34326 }
34327 _ACEOF
34328 if ac_fn_cxx_try_compile "$LINENO"; then :
34329 glibcxx_cv_func_sincos_use=yes
34330 else
34331 glibcxx_cv_func_sincos_use=no
34332 fi
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340
34341 fi
34342
34343 fi
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34345 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34346
34347 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34348 for ac_func in sincos
34349 do :
34350 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34351 if test "x$ac_cv_func_sincos" = x""yes; then :
34352 cat >>confdefs.h <<_ACEOF
34353 #define HAVE_SINCOS 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359 else
34360
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34362 $as_echo_n "checking for _sincos declaration... " >&6; }
34363 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34364 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34367
34368
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34374
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34378 int
34379 main ()
34380 {
34381 _sincos(0, 0, 0);
34382 ;
34383 return 0;
34384 }
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func__sincos_use=yes
34388 else
34389 glibcxx_cv_func__sincos_use=no
34390 fi
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34397
34398
34399 fi
34400
34401 fi
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34403 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34404
34405 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34406 for ac_func in _sincos
34407 do :
34408 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34409 if test "x$ac_cv_func__sincos" = x""yes; then :
34410 cat >>confdefs.h <<_ACEOF
34411 #define HAVE__SINCOS 1
34412 _ACEOF
34413
34414 fi
34415 done
34416
34417 fi
34418 fi
34419
34420
34421
34422
34423
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34425 $as_echo_n "checking for fpclass declaration... " >&6; }
34426 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34427 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34430
34431
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34437
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34444
34445 int
34446 main ()
34447 {
34448 fpclass(0);
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func_fpclass_use=yes
34455 else
34456 glibcxx_cv_func_fpclass_use=no
34457 fi
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34464
34465
34466 fi
34467
34468 fi
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34470 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34471
34472 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34473 for ac_func in fpclass
34474 do :
34475 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34476 if test "x$ac_cv_func_fpclass" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE_FPCLASS 1
34479 _ACEOF
34480
34481 fi
34482 done
34483
34484 else
34485
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34487 $as_echo_n "checking for _fpclass declaration... " >&6; }
34488 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34489 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34490 $as_echo_n "(cached) " >&6
34491 else
34492
34493
34494 ac_ext=cpp
34495 ac_cpp='$CXXCPP $CPPFLAGS'
34496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499
34500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34501 /* end confdefs.h. */
34502 #include <math.h>
34503 #ifdef HAVE_IEEEFP_H
34504 #include <ieeefp.h>
34505 #endif
34506
34507 int
34508 main ()
34509 {
34510 _fpclass(0);
34511 ;
34512 return 0;
34513 }
34514 _ACEOF
34515 if ac_fn_cxx_try_compile "$LINENO"; then :
34516 glibcxx_cv_func__fpclass_use=yes
34517 else
34518 glibcxx_cv_func__fpclass_use=no
34519 fi
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526
34527
34528 fi
34529
34530 fi
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34532 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34533
34534 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34535 for ac_func in _fpclass
34536 do :
34537 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34538 if test "x$ac_cv_func__fpclass" = x""yes; then :
34539 cat >>confdefs.h <<_ACEOF
34540 #define HAVE__FPCLASS 1
34541 _ACEOF
34542
34543 fi
34544 done
34545
34546 fi
34547 fi
34548
34549
34550
34551
34552
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34554 $as_echo_n "checking for qfpclass declaration... " >&6; }
34555 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34556 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34557 $as_echo_n "(cached) " >&6
34558 else
34559
34560
34561 ac_ext=cpp
34562 ac_cpp='$CXXCPP $CPPFLAGS'
34563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566
34567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34568 /* end confdefs.h. */
34569 #include <math.h>
34570 #ifdef HAVE_IEEEFP_H
34571 #include <ieeefp.h>
34572 #endif
34573
34574 int
34575 main ()
34576 {
34577 qfpclass(0);
34578 ;
34579 return 0;
34580 }
34581 _ACEOF
34582 if ac_fn_cxx_try_compile "$LINENO"; then :
34583 glibcxx_cv_func_qfpclass_use=yes
34584 else
34585 glibcxx_cv_func_qfpclass_use=no
34586 fi
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 ac_ext=c
34589 ac_cpp='$CPP $CPPFLAGS'
34590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34593
34594
34595 fi
34596
34597 fi
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34599 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34600
34601 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34602 for ac_func in qfpclass
34603 do :
34604 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34605 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE_QFPCLASS 1
34608 _ACEOF
34609
34610 fi
34611 done
34612
34613 else
34614
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34616 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34617 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34618 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34619 $as_echo_n "(cached) " >&6
34620 else
34621
34622
34623 ac_ext=cpp
34624 ac_cpp='$CXXCPP $CPPFLAGS'
34625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34628
34629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630 /* end confdefs.h. */
34631 #include <math.h>
34632 #ifdef HAVE_IEEEFP_H
34633 #include <ieeefp.h>
34634 #endif
34635
34636 int
34637 main ()
34638 {
34639 _qfpclass(0);
34640 ;
34641 return 0;
34642 }
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func__qfpclass_use=yes
34646 else
34647 glibcxx_cv_func__qfpclass_use=no
34648 fi
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657 fi
34658
34659 fi
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34661 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34662
34663 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34664 for ac_func in _qfpclass
34665 do :
34666 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34667 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE__QFPCLASS 1
34670 _ACEOF
34671
34672 fi
34673 done
34674
34675 fi
34676 fi
34677
34678
34679
34680
34681
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34683 $as_echo_n "checking for hypot declaration... " >&6; }
34684 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34685 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34688
34689
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 int
34700 main ()
34701 {
34702 hypot(0, 0);
34703 ;
34704 return 0;
34705 }
34706 _ACEOF
34707 if ac_fn_cxx_try_compile "$LINENO"; then :
34708 glibcxx_cv_func_hypot_use=yes
34709 else
34710 glibcxx_cv_func_hypot_use=no
34711 fi
34712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34713 ac_ext=c
34714 ac_cpp='$CPP $CPPFLAGS'
34715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34718
34719
34720 fi
34721
34722 fi
34723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34724 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34725
34726 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34727 for ac_func in hypot
34728 do :
34729 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34730 if test "x$ac_cv_func_hypot" = x""yes; then :
34731 cat >>confdefs.h <<_ACEOF
34732 #define HAVE_HYPOT 1
34733 _ACEOF
34734
34735 fi
34736 done
34737
34738 else
34739
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34741 $as_echo_n "checking for _hypot declaration... " >&6; }
34742 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34743 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34744 $as_echo_n "(cached) " >&6
34745 else
34746
34747
34748 ac_ext=cpp
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753
34754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755 /* end confdefs.h. */
34756 #include <math.h>
34757 int
34758 main ()
34759 {
34760 _hypot(0, 0);
34761 ;
34762 return 0;
34763 }
34764 _ACEOF
34765 if ac_fn_cxx_try_compile "$LINENO"; then :
34766 glibcxx_cv_func__hypot_use=yes
34767 else
34768 glibcxx_cv_func__hypot_use=no
34769 fi
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771 ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34776
34777
34778 fi
34779
34780 fi
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34782 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34783
34784 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34785 for ac_func in _hypot
34786 do :
34787 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34788 if test "x$ac_cv_func__hypot" = x""yes; then :
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE__HYPOT 1
34791 _ACEOF
34792
34793 fi
34794 done
34795
34796 fi
34797 fi
34798
34799
34800
34801
34802
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34804 $as_echo_n "checking for float trig functions... " >&6; }
34805 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34806 $as_echo_n "(cached) " >&6
34807 else
34808
34809
34810 ac_ext=cpp
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815
34816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817 /* end confdefs.h. */
34818 #include <math.h>
34819 int
34820 main ()
34821 {
34822 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34823 ;
34824 return 0;
34825 }
34826 _ACEOF
34827 if ac_fn_cxx_try_compile "$LINENO"; then :
34828 glibcxx_cv_func_float_trig_use=yes
34829 else
34830 glibcxx_cv_func_float_trig_use=no
34831 fi
34832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34833 ac_ext=c
34834 ac_cpp='$CPP $CPPFLAGS'
34835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34838
34839 fi
34840
34841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34842 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34843 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34844 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34845 do :
34846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34848 eval as_val=\$$as_ac_var
34849 if test "x$as_val" = x""yes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34852 _ACEOF
34853
34854 fi
34855 done
34856
34857 else
34858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34859 $as_echo_n "checking for _float trig functions... " >&6; }
34860 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34861 $as_echo_n "(cached) " >&6
34862 else
34863
34864
34865 ac_ext=cpp
34866 ac_cpp='$CXXCPP $CPPFLAGS'
34867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34870
34871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34872 /* end confdefs.h. */
34873 #include <math.h>
34874 int
34875 main ()
34876 {
34877 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34878 ;
34879 return 0;
34880 }
34881 _ACEOF
34882 if ac_fn_cxx_try_compile "$LINENO"; then :
34883 glibcxx_cv_func__float_trig_use=yes
34884 else
34885 glibcxx_cv_func__float_trig_use=no
34886 fi
34887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34888 ac_ext=c
34889 ac_cpp='$CPP $CPPFLAGS'
34890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34893
34894 fi
34895
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34897 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34898 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34899 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34900 do :
34901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34903 eval as_val=\$$as_ac_var
34904 if test "x$as_val" = x""yes; then :
34905 cat >>confdefs.h <<_ACEOF
34906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34907 _ACEOF
34908
34909 fi
34910 done
34911
34912 fi
34913 fi
34914
34915
34916
34917
34918
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34920 $as_echo_n "checking for float round functions... " >&6; }
34921 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34922 $as_echo_n "(cached) " >&6
34923 else
34924
34925
34926 ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931
34932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h. */
34934 #include <math.h>
34935 int
34936 main ()
34937 {
34938 ceilf (0); floorf (0);
34939 ;
34940 return 0;
34941 }
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944 glibcxx_cv_func_float_round_use=yes
34945 else
34946 glibcxx_cv_func_float_round_use=no
34947 fi
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949 ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34954
34955 fi
34956
34957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34958 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34959 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34960 for ac_func in ceilf floorf
34961 do :
34962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34964 eval as_val=\$$as_ac_var
34965 if test "x$as_val" = x""yes; then :
34966 cat >>confdefs.h <<_ACEOF
34967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34968 _ACEOF
34969
34970 fi
34971 done
34972
34973 else
34974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34975 $as_echo_n "checking for _float round functions... " >&6; }
34976 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34977 $as_echo_n "(cached) " >&6
34978 else
34979
34980
34981 ac_ext=cpp
34982 ac_cpp='$CXXCPP $CPPFLAGS'
34983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34986
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34988 /* end confdefs.h. */
34989 #include <math.h>
34990 int
34991 main ()
34992 {
34993 _ceilf (0); _floorf (0);
34994 ;
34995 return 0;
34996 }
34997 _ACEOF
34998 if ac_fn_cxx_try_compile "$LINENO"; then :
34999 glibcxx_cv_func__float_round_use=yes
35000 else
35001 glibcxx_cv_func__float_round_use=no
35002 fi
35003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35004 ac_ext=c
35005 ac_cpp='$CPP $CPPFLAGS'
35006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35009
35010 fi
35011
35012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35013 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35014 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35015 for ac_func in _ceilf _floorf
35016 do :
35017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35019 eval as_val=\$$as_ac_var
35020 if test "x$as_val" = x""yes; then :
35021 cat >>confdefs.h <<_ACEOF
35022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35023 _ACEOF
35024
35025 fi
35026 done
35027
35028 fi
35029 fi
35030
35031
35032
35033
35034
35035
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35037 $as_echo_n "checking for expf declaration... " >&6; }
35038 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35039 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35040 $as_echo_n "(cached) " >&6
35041 else
35042
35043
35044 ac_ext=cpp
35045 ac_cpp='$CXXCPP $CPPFLAGS'
35046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35049
35050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35051 /* end confdefs.h. */
35052 #include <math.h>
35053 #ifdef HAVE_IEEEFP_H
35054 #include <ieeefp.h>
35055 #endif
35056
35057 int
35058 main ()
35059 {
35060 expf(0);
35061 ;
35062 return 0;
35063 }
35064 _ACEOF
35065 if ac_fn_cxx_try_compile "$LINENO"; then :
35066 glibcxx_cv_func_expf_use=yes
35067 else
35068 glibcxx_cv_func_expf_use=no
35069 fi
35070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35071 ac_ext=c
35072 ac_cpp='$CPP $CPPFLAGS'
35073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35076
35077
35078 fi
35079
35080 fi
35081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35082 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35083
35084 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35085 for ac_func in expf
35086 do :
35087 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35088 if test "x$ac_cv_func_expf" = x""yes; then :
35089 cat >>confdefs.h <<_ACEOF
35090 #define HAVE_EXPF 1
35091 _ACEOF
35092
35093 fi
35094 done
35095
35096 else
35097
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35099 $as_echo_n "checking for _expf declaration... " >&6; }
35100 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35101 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35102 $as_echo_n "(cached) " >&6
35103 else
35104
35105
35106 ac_ext=cpp
35107 ac_cpp='$CXXCPP $CPPFLAGS'
35108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35111
35112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35113 /* end confdefs.h. */
35114 #include <math.h>
35115 #ifdef HAVE_IEEEFP_H
35116 #include <ieeefp.h>
35117 #endif
35118
35119 int
35120 main ()
35121 {
35122 _expf(0);
35123 ;
35124 return 0;
35125 }
35126 _ACEOF
35127 if ac_fn_cxx_try_compile "$LINENO"; then :
35128 glibcxx_cv_func__expf_use=yes
35129 else
35130 glibcxx_cv_func__expf_use=no
35131 fi
35132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35133 ac_ext=c
35134 ac_cpp='$CPP $CPPFLAGS'
35135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35138
35139
35140 fi
35141
35142 fi
35143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35144 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35145
35146 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35147 for ac_func in _expf
35148 do :
35149 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35150 if test "x$ac_cv_func__expf" = x""yes; then :
35151 cat >>confdefs.h <<_ACEOF
35152 #define HAVE__EXPF 1
35153 _ACEOF
35154
35155 fi
35156 done
35157
35158 fi
35159 fi
35160
35161
35162
35163
35164
35165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35166 $as_echo_n "checking for isnanf declaration... " >&6; }
35167 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35168 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35169 $as_echo_n "(cached) " >&6
35170 else
35171
35172
35173 ac_ext=cpp
35174 ac_cpp='$CXXCPP $CPPFLAGS'
35175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35178
35179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35180 /* end confdefs.h. */
35181 #include <math.h>
35182 #ifdef HAVE_IEEEFP_H
35183 #include <ieeefp.h>
35184 #endif
35185
35186 int
35187 main ()
35188 {
35189 isnanf(0);
35190 ;
35191 return 0;
35192 }
35193 _ACEOF
35194 if ac_fn_cxx_try_compile "$LINENO"; then :
35195 glibcxx_cv_func_isnanf_use=yes
35196 else
35197 glibcxx_cv_func_isnanf_use=no
35198 fi
35199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35200 ac_ext=c
35201 ac_cpp='$CPP $CPPFLAGS'
35202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35205
35206
35207 fi
35208
35209 fi
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35211 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35212
35213 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35214 for ac_func in isnanf
35215 do :
35216 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35217 if test "x$ac_cv_func_isnanf" = x""yes; then :
35218 cat >>confdefs.h <<_ACEOF
35219 #define HAVE_ISNANF 1
35220 _ACEOF
35221
35222 fi
35223 done
35224
35225 else
35226
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35228 $as_echo_n "checking for _isnanf declaration... " >&6; }
35229 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35230 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35231 $as_echo_n "(cached) " >&6
35232 else
35233
35234
35235 ac_ext=cpp
35236 ac_cpp='$CXXCPP $CPPFLAGS'
35237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35240
35241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35242 /* end confdefs.h. */
35243 #include <math.h>
35244 #ifdef HAVE_IEEEFP_H
35245 #include <ieeefp.h>
35246 #endif
35247
35248 int
35249 main ()
35250 {
35251 _isnanf(0);
35252 ;
35253 return 0;
35254 }
35255 _ACEOF
35256 if ac_fn_cxx_try_compile "$LINENO"; then :
35257 glibcxx_cv_func__isnanf_use=yes
35258 else
35259 glibcxx_cv_func__isnanf_use=no
35260 fi
35261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35262 ac_ext=c
35263 ac_cpp='$CPP $CPPFLAGS'
35264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35267
35268
35269 fi
35270
35271 fi
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35273 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35274
35275 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35276 for ac_func in _isnanf
35277 do :
35278 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35279 if test "x$ac_cv_func__isnanf" = x""yes; then :
35280 cat >>confdefs.h <<_ACEOF
35281 #define HAVE__ISNANF 1
35282 _ACEOF
35283
35284 fi
35285 done
35286
35287 fi
35288 fi
35289
35290
35291
35292
35293
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35295 $as_echo_n "checking for isinff declaration... " >&6; }
35296 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35297 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35298 $as_echo_n "(cached) " >&6
35299 else
35300
35301
35302 ac_ext=cpp
35303 ac_cpp='$CXXCPP $CPPFLAGS'
35304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307
35308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35310 #include <math.h>
35311 #ifdef HAVE_IEEEFP_H
35312 #include <ieeefp.h>
35313 #endif
35314
35315 int
35316 main ()
35317 {
35318 isinff(0);
35319 ;
35320 return 0;
35321 }
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324 glibcxx_cv_func_isinff_use=yes
35325 else
35326 glibcxx_cv_func_isinff_use=no
35327 fi
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329 ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334
35335
35336 fi
35337
35338 fi
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35340 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35341
35342 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35343 for ac_func in isinff
35344 do :
35345 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35346 if test "x$ac_cv_func_isinff" = x""yes; then :
35347 cat >>confdefs.h <<_ACEOF
35348 #define HAVE_ISINFF 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354 else
35355
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35357 $as_echo_n "checking for _isinff declaration... " >&6; }
35358 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35359 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35360 $as_echo_n "(cached) " >&6
35361 else
35362
35363
35364 ac_ext=cpp
35365 ac_cpp='$CXXCPP $CPPFLAGS'
35366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369
35370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35371 /* end confdefs.h. */
35372 #include <math.h>
35373 #ifdef HAVE_IEEEFP_H
35374 #include <ieeefp.h>
35375 #endif
35376
35377 int
35378 main ()
35379 {
35380 _isinff(0);
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func__isinff_use=yes
35387 else
35388 glibcxx_cv_func__isinff_use=no
35389 fi
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35396
35397
35398 fi
35399
35400 fi
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35402 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35403
35404 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35405 for ac_func in _isinff
35406 do :
35407 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35408 if test "x$ac_cv_func__isinff" = x""yes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE__ISINFF 1
35411 _ACEOF
35412
35413 fi
35414 done
35415
35416 fi
35417 fi
35418
35419
35420
35421
35422
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35424 $as_echo_n "checking for atan2f declaration... " >&6; }
35425 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35426 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35427 $as_echo_n "(cached) " >&6
35428 else
35429
35430
35431 ac_ext=cpp
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436
35437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h. */
35439 #include <math.h>
35440 int
35441 main ()
35442 {
35443 atan2f(0, 0);
35444 ;
35445 return 0;
35446 }
35447 _ACEOF
35448 if ac_fn_cxx_try_compile "$LINENO"; then :
35449 glibcxx_cv_func_atan2f_use=yes
35450 else
35451 glibcxx_cv_func_atan2f_use=no
35452 fi
35453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35454 ac_ext=c
35455 ac_cpp='$CPP $CPPFLAGS'
35456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35459
35460
35461 fi
35462
35463 fi
35464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35465 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35466
35467 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35468 for ac_func in atan2f
35469 do :
35470 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35471 if test "x$ac_cv_func_atan2f" = x""yes; then :
35472 cat >>confdefs.h <<_ACEOF
35473 #define HAVE_ATAN2F 1
35474 _ACEOF
35475
35476 fi
35477 done
35478
35479 else
35480
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35482 $as_echo_n "checking for _atan2f declaration... " >&6; }
35483 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35484 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35485 $as_echo_n "(cached) " >&6
35486 else
35487
35488
35489 ac_ext=cpp
35490 ac_cpp='$CXXCPP $CPPFLAGS'
35491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35494
35495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35496 /* end confdefs.h. */
35497 #include <math.h>
35498 int
35499 main ()
35500 {
35501 _atan2f(0, 0);
35502 ;
35503 return 0;
35504 }
35505 _ACEOF
35506 if ac_fn_cxx_try_compile "$LINENO"; then :
35507 glibcxx_cv_func__atan2f_use=yes
35508 else
35509 glibcxx_cv_func__atan2f_use=no
35510 fi
35511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35512 ac_ext=c
35513 ac_cpp='$CPP $CPPFLAGS'
35514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35517
35518
35519 fi
35520
35521 fi
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35523 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35524
35525 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35526 for ac_func in _atan2f
35527 do :
35528 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35529 if test "x$ac_cv_func__atan2f" = x""yes; then :
35530 cat >>confdefs.h <<_ACEOF
35531 #define HAVE__ATAN2F 1
35532 _ACEOF
35533
35534 fi
35535 done
35536
35537 fi
35538 fi
35539
35540
35541
35542
35543
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35545 $as_echo_n "checking for fabsf declaration... " >&6; }
35546 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35547 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35548 $as_echo_n "(cached) " >&6
35549 else
35550
35551
35552 ac_ext=cpp
35553 ac_cpp='$CXXCPP $CPPFLAGS'
35554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557
35558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35559 /* end confdefs.h. */
35560 #include <math.h>
35561 #ifdef HAVE_IEEEFP_H
35562 #include <ieeefp.h>
35563 #endif
35564
35565 int
35566 main ()
35567 {
35568 fabsf(0);
35569 ;
35570 return 0;
35571 }
35572 _ACEOF
35573 if ac_fn_cxx_try_compile "$LINENO"; then :
35574 glibcxx_cv_func_fabsf_use=yes
35575 else
35576 glibcxx_cv_func_fabsf_use=no
35577 fi
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584
35585
35586 fi
35587
35588 fi
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35590 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35591
35592 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35593 for ac_func in fabsf
35594 do :
35595 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35596 if test "x$ac_cv_func_fabsf" = x""yes; then :
35597 cat >>confdefs.h <<_ACEOF
35598 #define HAVE_FABSF 1
35599 _ACEOF
35600
35601 fi
35602 done
35603
35604 else
35605
35606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35607 $as_echo_n "checking for _fabsf declaration... " >&6; }
35608 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35609 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35610 $as_echo_n "(cached) " >&6
35611 else
35612
35613
35614 ac_ext=cpp
35615 ac_cpp='$CXXCPP $CPPFLAGS'
35616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35619
35620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35621 /* end confdefs.h. */
35622 #include <math.h>
35623 #ifdef HAVE_IEEEFP_H
35624 #include <ieeefp.h>
35625 #endif
35626
35627 int
35628 main ()
35629 {
35630 _fabsf(0);
35631 ;
35632 return 0;
35633 }
35634 _ACEOF
35635 if ac_fn_cxx_try_compile "$LINENO"; then :
35636 glibcxx_cv_func__fabsf_use=yes
35637 else
35638 glibcxx_cv_func__fabsf_use=no
35639 fi
35640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35641 ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646
35647
35648 fi
35649
35650 fi
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35652 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35653
35654 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35655 for ac_func in _fabsf
35656 do :
35657 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35658 if test "x$ac_cv_func__fabsf" = x""yes; then :
35659 cat >>confdefs.h <<_ACEOF
35660 #define HAVE__FABSF 1
35661 _ACEOF
35662
35663 fi
35664 done
35665
35666 fi
35667 fi
35668
35669
35670
35671
35672
35673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35674 $as_echo_n "checking for fmodf declaration... " >&6; }
35675 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35676 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35677 $as_echo_n "(cached) " >&6
35678 else
35679
35680
35681 ac_ext=cpp
35682 ac_cpp='$CXXCPP $CPPFLAGS'
35683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35686
35687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35688 /* end confdefs.h. */
35689 #include <math.h>
35690 int
35691 main ()
35692 {
35693 fmodf(0, 0);
35694 ;
35695 return 0;
35696 }
35697 _ACEOF
35698 if ac_fn_cxx_try_compile "$LINENO"; then :
35699 glibcxx_cv_func_fmodf_use=yes
35700 else
35701 glibcxx_cv_func_fmodf_use=no
35702 fi
35703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35704 ac_ext=c
35705 ac_cpp='$CPP $CPPFLAGS'
35706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709
35710
35711 fi
35712
35713 fi
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35715 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35716
35717 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35718 for ac_func in fmodf
35719 do :
35720 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35721 if test "x$ac_cv_func_fmodf" = x""yes; then :
35722 cat >>confdefs.h <<_ACEOF
35723 #define HAVE_FMODF 1
35724 _ACEOF
35725
35726 fi
35727 done
35728
35729 else
35730
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35732 $as_echo_n "checking for _fmodf declaration... " >&6; }
35733 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35734 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35735 $as_echo_n "(cached) " >&6
35736 else
35737
35738
35739 ac_ext=cpp
35740 ac_cpp='$CXXCPP $CPPFLAGS'
35741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35744
35745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35746 /* end confdefs.h. */
35747 #include <math.h>
35748 int
35749 main ()
35750 {
35751 _fmodf(0, 0);
35752 ;
35753 return 0;
35754 }
35755 _ACEOF
35756 if ac_fn_cxx_try_compile "$LINENO"; then :
35757 glibcxx_cv_func__fmodf_use=yes
35758 else
35759 glibcxx_cv_func__fmodf_use=no
35760 fi
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35762 ac_ext=c
35763 ac_cpp='$CPP $CPPFLAGS'
35764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35767
35768
35769 fi
35770
35771 fi
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35773 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35774
35775 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35776 for ac_func in _fmodf
35777 do :
35778 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35779 if test "x$ac_cv_func__fmodf" = x""yes; then :
35780 cat >>confdefs.h <<_ACEOF
35781 #define HAVE__FMODF 1
35782 _ACEOF
35783
35784 fi
35785 done
35786
35787 fi
35788 fi
35789
35790
35791
35792
35793
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35795 $as_echo_n "checking for frexpf declaration... " >&6; }
35796 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35797 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35798 $as_echo_n "(cached) " >&6
35799 else
35800
35801
35802 ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35807
35808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <math.h>
35811 int
35812 main ()
35813 {
35814 frexpf(0, 0);
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func_frexpf_use=yes
35821 else
35822 glibcxx_cv_func_frexpf_use=no
35823 fi
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830
35831
35832 fi
35833
35834 fi
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35836 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35837
35838 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35839 for ac_func in frexpf
35840 do :
35841 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35842 if test "x$ac_cv_func_frexpf" = x""yes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE_FREXPF 1
35845 _ACEOF
35846
35847 fi
35848 done
35849
35850 else
35851
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35853 $as_echo_n "checking for _frexpf declaration... " >&6; }
35854 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35855 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35856 $as_echo_n "(cached) " >&6
35857 else
35858
35859
35860 ac_ext=cpp
35861 ac_cpp='$CXXCPP $CPPFLAGS'
35862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35865
35866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35867 /* end confdefs.h. */
35868 #include <math.h>
35869 int
35870 main ()
35871 {
35872 _frexpf(0, 0);
35873 ;
35874 return 0;
35875 }
35876 _ACEOF
35877 if ac_fn_cxx_try_compile "$LINENO"; then :
35878 glibcxx_cv_func__frexpf_use=yes
35879 else
35880 glibcxx_cv_func__frexpf_use=no
35881 fi
35882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883 ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35888
35889
35890 fi
35891
35892 fi
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35894 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35895
35896 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35897 for ac_func in _frexpf
35898 do :
35899 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35900 if test "x$ac_cv_func__frexpf" = x""yes; then :
35901 cat >>confdefs.h <<_ACEOF
35902 #define HAVE__FREXPF 1
35903 _ACEOF
35904
35905 fi
35906 done
35907
35908 fi
35909 fi
35910
35911
35912
35913
35914
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35916 $as_echo_n "checking for hypotf declaration... " >&6; }
35917 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35918 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35919 $as_echo_n "(cached) " >&6
35920 else
35921
35922
35923 ac_ext=cpp
35924 ac_cpp='$CXXCPP $CPPFLAGS'
35925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35928
35929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 /* end confdefs.h. */
35931 #include <math.h>
35932 int
35933 main ()
35934 {
35935 hypotf(0, 0);
35936 ;
35937 return 0;
35938 }
35939 _ACEOF
35940 if ac_fn_cxx_try_compile "$LINENO"; then :
35941 glibcxx_cv_func_hypotf_use=yes
35942 else
35943 glibcxx_cv_func_hypotf_use=no
35944 fi
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35946 ac_ext=c
35947 ac_cpp='$CPP $CPPFLAGS'
35948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35951
35952
35953 fi
35954
35955 fi
35956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35957 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35958
35959 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35960 for ac_func in hypotf
35961 do :
35962 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35963 if test "x$ac_cv_func_hypotf" = x""yes; then :
35964 cat >>confdefs.h <<_ACEOF
35965 #define HAVE_HYPOTF 1
35966 _ACEOF
35967
35968 fi
35969 done
35970
35971 else
35972
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35974 $as_echo_n "checking for _hypotf declaration... " >&6; }
35975 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35976 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35977 $as_echo_n "(cached) " >&6
35978 else
35979
35980
35981 ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35986
35987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h. */
35989 #include <math.h>
35990 int
35991 main ()
35992 {
35993 _hypotf(0, 0);
35994 ;
35995 return 0;
35996 }
35997 _ACEOF
35998 if ac_fn_cxx_try_compile "$LINENO"; then :
35999 glibcxx_cv_func__hypotf_use=yes
36000 else
36001 glibcxx_cv_func__hypotf_use=no
36002 fi
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010
36011 fi
36012
36013 fi
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36015 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36016
36017 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36018 for ac_func in _hypotf
36019 do :
36020 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36021 if test "x$ac_cv_func__hypotf" = x""yes; then :
36022 cat >>confdefs.h <<_ACEOF
36023 #define HAVE__HYPOTF 1
36024 _ACEOF
36025
36026 fi
36027 done
36028
36029 fi
36030 fi
36031
36032
36033
36034
36035
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36037 $as_echo_n "checking for ldexpf declaration... " >&6; }
36038 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36039 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36040 $as_echo_n "(cached) " >&6
36041 else
36042
36043
36044 ac_ext=cpp
36045 ac_cpp='$CXXCPP $CPPFLAGS'
36046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36049
36050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36051 /* end confdefs.h. */
36052 #include <math.h>
36053 int
36054 main ()
36055 {
36056 ldexpf(0, 0);
36057 ;
36058 return 0;
36059 }
36060 _ACEOF
36061 if ac_fn_cxx_try_compile "$LINENO"; then :
36062 glibcxx_cv_func_ldexpf_use=yes
36063 else
36064 glibcxx_cv_func_ldexpf_use=no
36065 fi
36066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36067 ac_ext=c
36068 ac_cpp='$CPP $CPPFLAGS'
36069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36072
36073
36074 fi
36075
36076 fi
36077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36078 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36079
36080 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36081 for ac_func in ldexpf
36082 do :
36083 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36084 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36085 cat >>confdefs.h <<_ACEOF
36086 #define HAVE_LDEXPF 1
36087 _ACEOF
36088
36089 fi
36090 done
36091
36092 else
36093
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36095 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36096 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36097 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36098 $as_echo_n "(cached) " >&6
36099 else
36100
36101
36102 ac_ext=cpp
36103 ac_cpp='$CXXCPP $CPPFLAGS'
36104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36107
36108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36109 /* end confdefs.h. */
36110 #include <math.h>
36111 int
36112 main ()
36113 {
36114 _ldexpf(0, 0);
36115 ;
36116 return 0;
36117 }
36118 _ACEOF
36119 if ac_fn_cxx_try_compile "$LINENO"; then :
36120 glibcxx_cv_func__ldexpf_use=yes
36121 else
36122 glibcxx_cv_func__ldexpf_use=no
36123 fi
36124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36125 ac_ext=c
36126 ac_cpp='$CPP $CPPFLAGS'
36127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36130
36131
36132 fi
36133
36134 fi
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36136 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36137
36138 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36139 for ac_func in _ldexpf
36140 do :
36141 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36142 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36143 cat >>confdefs.h <<_ACEOF
36144 #define HAVE__LDEXPF 1
36145 _ACEOF
36146
36147 fi
36148 done
36149
36150 fi
36151 fi
36152
36153
36154
36155
36156
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36158 $as_echo_n "checking for logf declaration... " >&6; }
36159 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36160 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36161 $as_echo_n "(cached) " >&6
36162 else
36163
36164
36165 ac_ext=cpp
36166 ac_cpp='$CXXCPP $CPPFLAGS'
36167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36170
36171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36172 /* end confdefs.h. */
36173 #include <math.h>
36174 #ifdef HAVE_IEEEFP_H
36175 #include <ieeefp.h>
36176 #endif
36177
36178 int
36179 main ()
36180 {
36181 logf(0);
36182 ;
36183 return 0;
36184 }
36185 _ACEOF
36186 if ac_fn_cxx_try_compile "$LINENO"; then :
36187 glibcxx_cv_func_logf_use=yes
36188 else
36189 glibcxx_cv_func_logf_use=no
36190 fi
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36197
36198
36199 fi
36200
36201 fi
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36203 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36204
36205 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36206 for ac_func in logf
36207 do :
36208 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36209 if test "x$ac_cv_func_logf" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define HAVE_LOGF 1
36212 _ACEOF
36213
36214 fi
36215 done
36216
36217 else
36218
36219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36220 $as_echo_n "checking for _logf declaration... " >&6; }
36221 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36222 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36223 $as_echo_n "(cached) " >&6
36224 else
36225
36226
36227 ac_ext=cpp
36228 ac_cpp='$CXXCPP $CPPFLAGS'
36229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36232
36233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36234 /* end confdefs.h. */
36235 #include <math.h>
36236 #ifdef HAVE_IEEEFP_H
36237 #include <ieeefp.h>
36238 #endif
36239
36240 int
36241 main ()
36242 {
36243 _logf(0);
36244 ;
36245 return 0;
36246 }
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__logf_use=yes
36250 else
36251 glibcxx_cv_func__logf_use=no
36252 fi
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36259
36260
36261 fi
36262
36263 fi
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36265 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36266
36267 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36268 for ac_func in _logf
36269 do :
36270 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36271 if test "x$ac_cv_func__logf" = x""yes; then :
36272 cat >>confdefs.h <<_ACEOF
36273 #define HAVE__LOGF 1
36274 _ACEOF
36275
36276 fi
36277 done
36278
36279 fi
36280 fi
36281
36282
36283
36284
36285
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36287 $as_echo_n "checking for log10f declaration... " >&6; }
36288 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36289 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36290 $as_echo_n "(cached) " >&6
36291 else
36292
36293
36294 ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299
36300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h. */
36302 #include <math.h>
36303 #ifdef HAVE_IEEEFP_H
36304 #include <ieeefp.h>
36305 #endif
36306
36307 int
36308 main ()
36309 {
36310 log10f(0);
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func_log10f_use=yes
36317 else
36318 glibcxx_cv_func_log10f_use=no
36319 fi
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36326
36327
36328 fi
36329
36330 fi
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36332 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36333
36334 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36335 for ac_func in log10f
36336 do :
36337 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36338 if test "x$ac_cv_func_log10f" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE_LOG10F 1
36341 _ACEOF
36342
36343 fi
36344 done
36345
36346 else
36347
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36349 $as_echo_n "checking for _log10f declaration... " >&6; }
36350 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36351 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36352 $as_echo_n "(cached) " >&6
36353 else
36354
36355
36356 ac_ext=cpp
36357 ac_cpp='$CXXCPP $CPPFLAGS'
36358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361
36362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36363 /* end confdefs.h. */
36364 #include <math.h>
36365 #ifdef HAVE_IEEEFP_H
36366 #include <ieeefp.h>
36367 #endif
36368
36369 int
36370 main ()
36371 {
36372 _log10f(0);
36373 ;
36374 return 0;
36375 }
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__log10f_use=yes
36379 else
36380 glibcxx_cv_func__log10f_use=no
36381 fi
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36388
36389
36390 fi
36391
36392 fi
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36394 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36395
36396 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36397 for ac_func in _log10f
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36400 if test "x$ac_cv_func__log10f" = x""yes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__LOG10F 1
36403 _ACEOF
36404
36405 fi
36406 done
36407
36408 fi
36409 fi
36410
36411
36412
36413
36414
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36416 $as_echo_n "checking for modff declaration... " >&6; }
36417 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36418 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36421
36422
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36432 int
36433 main ()
36434 {
36435 modff(0, 0);
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 if ac_fn_cxx_try_compile "$LINENO"; then :
36441 glibcxx_cv_func_modff_use=yes
36442 else
36443 glibcxx_cv_func_modff_use=no
36444 fi
36445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36446 ac_ext=c
36447 ac_cpp='$CPP $CPPFLAGS'
36448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451
36452
36453 fi
36454
36455 fi
36456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36457 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36458
36459 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36460 for ac_func in modff
36461 do :
36462 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36463 if test "x$ac_cv_func_modff" = x""yes; then :
36464 cat >>confdefs.h <<_ACEOF
36465 #define HAVE_MODFF 1
36466 _ACEOF
36467
36468 fi
36469 done
36470
36471 else
36472
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36474 $as_echo_n "checking for _modff declaration... " >&6; }
36475 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36476 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36477 $as_echo_n "(cached) " >&6
36478 else
36479
36480
36481 ac_ext=cpp
36482 ac_cpp='$CXXCPP $CPPFLAGS'
36483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36486
36487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36488 /* end confdefs.h. */
36489 #include <math.h>
36490 int
36491 main ()
36492 {
36493 _modff(0, 0);
36494 ;
36495 return 0;
36496 }
36497 _ACEOF
36498 if ac_fn_cxx_try_compile "$LINENO"; then :
36499 glibcxx_cv_func__modff_use=yes
36500 else
36501 glibcxx_cv_func__modff_use=no
36502 fi
36503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36504 ac_ext=c
36505 ac_cpp='$CPP $CPPFLAGS'
36506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36509
36510
36511 fi
36512
36513 fi
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36515 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36516
36517 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36518 for ac_func in _modff
36519 do :
36520 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36521 if test "x$ac_cv_func__modff" = x""yes; then :
36522 cat >>confdefs.h <<_ACEOF
36523 #define HAVE__MODFF 1
36524 _ACEOF
36525
36526 fi
36527 done
36528
36529 fi
36530 fi
36531
36532
36533
36534
36535
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36537 $as_echo_n "checking for modf declaration... " >&6; }
36538 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36539 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36542
36543
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 int
36554 main ()
36555 {
36556 modf(0, 0);
36557 ;
36558 return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_modf_use=yes
36563 else
36564 glibcxx_cv_func_modf_use=no
36565 fi
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573
36574 fi
36575
36576 fi
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36578 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36579
36580 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36581 for ac_func in modf
36582 do :
36583 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36584 if test "x$ac_cv_func_modf" = x""yes; then :
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_MODF 1
36587 _ACEOF
36588
36589 fi
36590 done
36591
36592 else
36593
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36595 $as_echo_n "checking for _modf declaration... " >&6; }
36596 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36597 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36598 $as_echo_n "(cached) " >&6
36599 else
36600
36601
36602 ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607
36608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h. */
36610 #include <math.h>
36611 int
36612 main ()
36613 {
36614 _modf(0, 0);
36615 ;
36616 return 0;
36617 }
36618 _ACEOF
36619 if ac_fn_cxx_try_compile "$LINENO"; then :
36620 glibcxx_cv_func__modf_use=yes
36621 else
36622 glibcxx_cv_func__modf_use=no
36623 fi
36624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36625 ac_ext=c
36626 ac_cpp='$CPP $CPPFLAGS'
36627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36630
36631
36632 fi
36633
36634 fi
36635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36636 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36637
36638 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36639 for ac_func in _modf
36640 do :
36641 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36642 if test "x$ac_cv_func__modf" = x""yes; then :
36643 cat >>confdefs.h <<_ACEOF
36644 #define HAVE__MODF 1
36645 _ACEOF
36646
36647 fi
36648 done
36649
36650 fi
36651 fi
36652
36653
36654
36655
36656
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36658 $as_echo_n "checking for powf declaration... " >&6; }
36659 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36660 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36661 $as_echo_n "(cached) " >&6
36662 else
36663
36664
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670
36671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36672 /* end confdefs.h. */
36673 #include <math.h>
36674 int
36675 main ()
36676 {
36677 powf(0, 0);
36678 ;
36679 return 0;
36680 }
36681 _ACEOF
36682 if ac_fn_cxx_try_compile "$LINENO"; then :
36683 glibcxx_cv_func_powf_use=yes
36684 else
36685 glibcxx_cv_func_powf_use=no
36686 fi
36687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36688 ac_ext=c
36689 ac_cpp='$CPP $CPPFLAGS'
36690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36693
36694
36695 fi
36696
36697 fi
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36699 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36700
36701 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36702 for ac_func in powf
36703 do :
36704 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36705 if test "x$ac_cv_func_powf" = x""yes; then :
36706 cat >>confdefs.h <<_ACEOF
36707 #define HAVE_POWF 1
36708 _ACEOF
36709
36710 fi
36711 done
36712
36713 else
36714
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36716 $as_echo_n "checking for _powf declaration... " >&6; }
36717 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36718 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36721
36722
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36728
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36732 int
36733 main ()
36734 {
36735 _powf(0, 0);
36736 ;
36737 return 0;
36738 }
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func__powf_use=yes
36742 else
36743 glibcxx_cv_func__powf_use=no
36744 fi
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36751
36752
36753 fi
36754
36755 fi
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36757 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36758
36759 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36760 for ac_func in _powf
36761 do :
36762 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36763 if test "x$ac_cv_func__powf" = x""yes; then :
36764 cat >>confdefs.h <<_ACEOF
36765 #define HAVE__POWF 1
36766 _ACEOF
36767
36768 fi
36769 done
36770
36771 fi
36772 fi
36773
36774
36775
36776
36777
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36779 $as_echo_n "checking for sqrtf declaration... " >&6; }
36780 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36781 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36782 $as_echo_n "(cached) " >&6
36783 else
36784
36785
36786 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36791
36792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36793 /* end confdefs.h. */
36794 #include <math.h>
36795 #ifdef HAVE_IEEEFP_H
36796 #include <ieeefp.h>
36797 #endif
36798
36799 int
36800 main ()
36801 {
36802 sqrtf(0);
36803 ;
36804 return 0;
36805 }
36806 _ACEOF
36807 if ac_fn_cxx_try_compile "$LINENO"; then :
36808 glibcxx_cv_func_sqrtf_use=yes
36809 else
36810 glibcxx_cv_func_sqrtf_use=no
36811 fi
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 ac_ext=c
36814 ac_cpp='$CPP $CPPFLAGS'
36815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818
36819
36820 fi
36821
36822 fi
36823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36824 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36825
36826 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36827 for ac_func in sqrtf
36828 do :
36829 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36830 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE_SQRTF 1
36833 _ACEOF
36834
36835 fi
36836 done
36837
36838 else
36839
36840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36841 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36842 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36843 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36844 $as_echo_n "(cached) " >&6
36845 else
36846
36847
36848 ac_ext=cpp
36849 ac_cpp='$CXXCPP $CPPFLAGS'
36850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36853
36854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36855 /* end confdefs.h. */
36856 #include <math.h>
36857 #ifdef HAVE_IEEEFP_H
36858 #include <ieeefp.h>
36859 #endif
36860
36861 int
36862 main ()
36863 {
36864 _sqrtf(0);
36865 ;
36866 return 0;
36867 }
36868 _ACEOF
36869 if ac_fn_cxx_try_compile "$LINENO"; then :
36870 glibcxx_cv_func__sqrtf_use=yes
36871 else
36872 glibcxx_cv_func__sqrtf_use=no
36873 fi
36874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36875 ac_ext=c
36876 ac_cpp='$CPP $CPPFLAGS'
36877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880
36881
36882 fi
36883
36884 fi
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36886 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36887
36888 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36889 for ac_func in _sqrtf
36890 do :
36891 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36892 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36893 cat >>confdefs.h <<_ACEOF
36894 #define HAVE__SQRTF 1
36895 _ACEOF
36896
36897 fi
36898 done
36899
36900 fi
36901 fi
36902
36903
36904
36905
36906
36907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36908 $as_echo_n "checking for sincosf declaration... " >&6; }
36909 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36910 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36911 $as_echo_n "(cached) " >&6
36912 else
36913
36914
36915 ac_ext=cpp
36916 ac_cpp='$CXXCPP $CPPFLAGS'
36917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36920
36921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36922 /* end confdefs.h. */
36923 #include <math.h>
36924 int
36925 main ()
36926 {
36927 sincosf(0, 0, 0);
36928 ;
36929 return 0;
36930 }
36931 _ACEOF
36932 if ac_fn_cxx_try_compile "$LINENO"; then :
36933 glibcxx_cv_func_sincosf_use=yes
36934 else
36935 glibcxx_cv_func_sincosf_use=no
36936 fi
36937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36938 ac_ext=c
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36943
36944
36945 fi
36946
36947 fi
36948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36949 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36950
36951 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36952 for ac_func in sincosf
36953 do :
36954 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36955 if test "x$ac_cv_func_sincosf" = x""yes; then :
36956 cat >>confdefs.h <<_ACEOF
36957 #define HAVE_SINCOSF 1
36958 _ACEOF
36959
36960 fi
36961 done
36962
36963 else
36964
36965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36966 $as_echo_n "checking for _sincosf declaration... " >&6; }
36967 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36968 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36969 $as_echo_n "(cached) " >&6
36970 else
36971
36972
36973 ac_ext=cpp
36974 ac_cpp='$CXXCPP $CPPFLAGS'
36975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978
36979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36980 /* end confdefs.h. */
36981 #include <math.h>
36982 int
36983 main ()
36984 {
36985 _sincosf(0, 0, 0);
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__sincosf_use=yes
36992 else
36993 glibcxx_cv_func__sincosf_use=no
36994 fi
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37001
37002
37003 fi
37004
37005 fi
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37007 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37008
37009 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37010 for ac_func in _sincosf
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37013 if test "x$ac_cv_func__sincosf" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__SINCOSF 1
37016 _ACEOF
37017
37018 fi
37019 done
37020
37021 fi
37022 fi
37023
37024
37025
37026
37027
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37029 $as_echo_n "checking for finitef declaration... " >&6; }
37030 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37031 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 #ifdef HAVE_IEEEFP_H
37046 #include <ieeefp.h>
37047 #endif
37048
37049 int
37050 main ()
37051 {
37052 finitef(0);
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func_finitef_use=yes
37059 else
37060 glibcxx_cv_func_finitef_use=no
37061 fi
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37068
37069
37070 fi
37071
37072 fi
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37074 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37075
37076 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37077 for ac_func in finitef
37078 do :
37079 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37080 if test "x$ac_cv_func_finitef" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE_FINITEF 1
37083 _ACEOF
37084
37085 fi
37086 done
37087
37088 else
37089
37090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37091 $as_echo_n "checking for _finitef declaration... " >&6; }
37092 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37093 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37094 $as_echo_n "(cached) " >&6
37095 else
37096
37097
37098 ac_ext=cpp
37099 ac_cpp='$CXXCPP $CPPFLAGS'
37100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103
37104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37105 /* end confdefs.h. */
37106 #include <math.h>
37107 #ifdef HAVE_IEEEFP_H
37108 #include <ieeefp.h>
37109 #endif
37110
37111 int
37112 main ()
37113 {
37114 _finitef(0);
37115 ;
37116 return 0;
37117 }
37118 _ACEOF
37119 if ac_fn_cxx_try_compile "$LINENO"; then :
37120 glibcxx_cv_func__finitef_use=yes
37121 else
37122 glibcxx_cv_func__finitef_use=no
37123 fi
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 ac_ext=c
37126 ac_cpp='$CPP $CPPFLAGS'
37127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130
37131
37132 fi
37133
37134 fi
37135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37136 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37137
37138 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37139 for ac_func in _finitef
37140 do :
37141 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37142 if test "x$ac_cv_func__finitef" = x""yes; then :
37143 cat >>confdefs.h <<_ACEOF
37144 #define HAVE__FINITEF 1
37145 _ACEOF
37146
37147 fi
37148 done
37149
37150 fi
37151 fi
37152
37153
37154
37155
37156
37157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37158 $as_echo_n "checking for long double trig functions... " >&6; }
37159 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37160 $as_echo_n "(cached) " >&6
37161 else
37162
37163
37164 ac_ext=cpp
37165 ac_cpp='$CXXCPP $CPPFLAGS'
37166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169
37170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37171 /* end confdefs.h. */
37172 #include <math.h>
37173 int
37174 main ()
37175 {
37176 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37177 ;
37178 return 0;
37179 }
37180 _ACEOF
37181 if ac_fn_cxx_try_compile "$LINENO"; then :
37182 glibcxx_cv_func_long_double_trig_use=yes
37183 else
37184 glibcxx_cv_func_long_double_trig_use=no
37185 fi
37186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37187 ac_ext=c
37188 ac_cpp='$CPP $CPPFLAGS'
37189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37192
37193 fi
37194
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37196 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37197 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37198 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37199 do :
37200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37202 eval as_val=\$$as_ac_var
37203 if test "x$as_val" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37207
37208 fi
37209 done
37210
37211 else
37212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37213 $as_echo_n "checking for _long double trig functions... " >&6; }
37214 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37215 $as_echo_n "(cached) " >&6
37216 else
37217
37218
37219 ac_ext=cpp
37220 ac_cpp='$CXXCPP $CPPFLAGS'
37221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224
37225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226 /* end confdefs.h. */
37227 #include <math.h>
37228 int
37229 main ()
37230 {
37231 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37232 ;
37233 return 0;
37234 }
37235 _ACEOF
37236 if ac_fn_cxx_try_compile "$LINENO"; then :
37237 glibcxx_cv_func__long_double_trig_use=yes
37238 else
37239 glibcxx_cv_func__long_double_trig_use=no
37240 fi
37241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37242 ac_ext=c
37243 ac_cpp='$CPP $CPPFLAGS'
37244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37247
37248 fi
37249
37250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37251 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37252 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37253 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37254 do :
37255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37257 eval as_val=\$$as_ac_var
37258 if test "x$as_val" = x""yes; then :
37259 cat >>confdefs.h <<_ACEOF
37260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37261 _ACEOF
37262
37263 fi
37264 done
37265
37266 fi
37267 fi
37268
37269
37270
37271
37272
37273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37274 $as_echo_n "checking for long double round functions... " >&6; }
37275 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37278
37279
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37289 int
37290 main ()
37291 {
37292 ceill (0); floorl (0);
37293 ;
37294 return 0;
37295 }
37296 _ACEOF
37297 if ac_fn_cxx_try_compile "$LINENO"; then :
37298 glibcxx_cv_func_long_double_round_use=yes
37299 else
37300 glibcxx_cv_func_long_double_round_use=no
37301 fi
37302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37303 ac_ext=c
37304 ac_cpp='$CPP $CPPFLAGS'
37305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308
37309 fi
37310
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37312 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37313 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37314 for ac_func in ceill floorl
37315 do :
37316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37318 eval as_val=\$$as_ac_var
37319 if test "x$as_val" = x""yes; then :
37320 cat >>confdefs.h <<_ACEOF
37321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37322 _ACEOF
37323
37324 fi
37325 done
37326
37327 else
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37329 $as_echo_n "checking for _long double round functions... " >&6; }
37330 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37331 $as_echo_n "(cached) " >&6
37332 else
37333
37334
37335 ac_ext=cpp
37336 ac_cpp='$CXXCPP $CPPFLAGS'
37337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37340
37341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37342 /* end confdefs.h. */
37343 #include <math.h>
37344 int
37345 main ()
37346 {
37347 _ceill (0); _floorl (0);
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 if ac_fn_cxx_try_compile "$LINENO"; then :
37353 glibcxx_cv_func__long_double_round_use=yes
37354 else
37355 glibcxx_cv_func__long_double_round_use=no
37356 fi
37357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37358 ac_ext=c
37359 ac_cpp='$CPP $CPPFLAGS'
37360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37363
37364 fi
37365
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37367 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37368 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37369 for ac_func in _ceill _floorl
37370 do :
37371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37373 eval as_val=\$$as_ac_var
37374 if test "x$as_val" = x""yes; then :
37375 cat >>confdefs.h <<_ACEOF
37376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37377 _ACEOF
37378
37379 fi
37380 done
37381
37382 fi
37383 fi
37384
37385
37386
37387
37388
37389
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37391 $as_echo_n "checking for isnanl declaration... " >&6; }
37392 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37393 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37394 $as_echo_n "(cached) " >&6
37395 else
37396
37397
37398 ac_ext=cpp
37399 ac_cpp='$CXXCPP $CPPFLAGS'
37400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37403
37404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37405 /* end confdefs.h. */
37406 #include <math.h>
37407 #ifdef HAVE_IEEEFP_H
37408 #include <ieeefp.h>
37409 #endif
37410
37411 int
37412 main ()
37413 {
37414 isnanl(0);
37415 ;
37416 return 0;
37417 }
37418 _ACEOF
37419 if ac_fn_cxx_try_compile "$LINENO"; then :
37420 glibcxx_cv_func_isnanl_use=yes
37421 else
37422 glibcxx_cv_func_isnanl_use=no
37423 fi
37424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37425 ac_ext=c
37426 ac_cpp='$CPP $CPPFLAGS'
37427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37430
37431
37432 fi
37433
37434 fi
37435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37436 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37437
37438 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37439 for ac_func in isnanl
37440 do :
37441 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37442 if test "x$ac_cv_func_isnanl" = x""yes; then :
37443 cat >>confdefs.h <<_ACEOF
37444 #define HAVE_ISNANL 1
37445 _ACEOF
37446
37447 fi
37448 done
37449
37450 else
37451
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37453 $as_echo_n "checking for _isnanl declaration... " >&6; }
37454 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37455 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37456 $as_echo_n "(cached) " >&6
37457 else
37458
37459
37460 ac_ext=cpp
37461 ac_cpp='$CXXCPP $CPPFLAGS'
37462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37465
37466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37467 /* end confdefs.h. */
37468 #include <math.h>
37469 #ifdef HAVE_IEEEFP_H
37470 #include <ieeefp.h>
37471 #endif
37472
37473 int
37474 main ()
37475 {
37476 _isnanl(0);
37477 ;
37478 return 0;
37479 }
37480 _ACEOF
37481 if ac_fn_cxx_try_compile "$LINENO"; then :
37482 glibcxx_cv_func__isnanl_use=yes
37483 else
37484 glibcxx_cv_func__isnanl_use=no
37485 fi
37486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37487 ac_ext=c
37488 ac_cpp='$CPP $CPPFLAGS'
37489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37492
37493
37494 fi
37495
37496 fi
37497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37498 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37499
37500 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37501 for ac_func in _isnanl
37502 do :
37503 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37504 if test "x$ac_cv_func__isnanl" = x""yes; then :
37505 cat >>confdefs.h <<_ACEOF
37506 #define HAVE__ISNANL 1
37507 _ACEOF
37508
37509 fi
37510 done
37511
37512 fi
37513 fi
37514
37515
37516
37517
37518
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37520 $as_echo_n "checking for isinfl declaration... " >&6; }
37521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37523 $as_echo_n "(cached) " >&6
37524 else
37525
37526
37527 ac_ext=cpp
37528 ac_cpp='$CXXCPP $CPPFLAGS'
37529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37532
37533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37534 /* end confdefs.h. */
37535 #include <math.h>
37536 #ifdef HAVE_IEEEFP_H
37537 #include <ieeefp.h>
37538 #endif
37539
37540 int
37541 main ()
37542 {
37543 isinfl(0);
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func_isinfl_use=yes
37550 else
37551 glibcxx_cv_func_isinfl_use=no
37552 fi
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559
37560
37561 fi
37562
37563 fi
37564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37565 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37566
37567 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37568 for ac_func in isinfl
37569 do :
37570 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37571 if test "x$ac_cv_func_isinfl" = x""yes; then :
37572 cat >>confdefs.h <<_ACEOF
37573 #define HAVE_ISINFL 1
37574 _ACEOF
37575
37576 fi
37577 done
37578
37579 else
37580
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37582 $as_echo_n "checking for _isinfl declaration... " >&6; }
37583 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37584 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37587
37588
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37598 #ifdef HAVE_IEEEFP_H
37599 #include <ieeefp.h>
37600 #endif
37601
37602 int
37603 main ()
37604 {
37605 _isinfl(0);
37606 ;
37607 return 0;
37608 }
37609 _ACEOF
37610 if ac_fn_cxx_try_compile "$LINENO"; then :
37611 glibcxx_cv_func__isinfl_use=yes
37612 else
37613 glibcxx_cv_func__isinfl_use=no
37614 fi
37615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37616 ac_ext=c
37617 ac_cpp='$CPP $CPPFLAGS'
37618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37621
37622
37623 fi
37624
37625 fi
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37627 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37628
37629 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37630 for ac_func in _isinfl
37631 do :
37632 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37633 if test "x$ac_cv_func__isinfl" = x""yes; then :
37634 cat >>confdefs.h <<_ACEOF
37635 #define HAVE__ISINFL 1
37636 _ACEOF
37637
37638 fi
37639 done
37640
37641 fi
37642 fi
37643
37644
37645
37646
37647
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37649 $as_echo_n "checking for atan2l declaration... " >&6; }
37650 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37651 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37652 $as_echo_n "(cached) " >&6
37653 else
37654
37655
37656 ac_ext=cpp
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661
37662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37663 /* end confdefs.h. */
37664 #include <math.h>
37665 int
37666 main ()
37667 {
37668 atan2l(0, 0);
37669 ;
37670 return 0;
37671 }
37672 _ACEOF
37673 if ac_fn_cxx_try_compile "$LINENO"; then :
37674 glibcxx_cv_func_atan2l_use=yes
37675 else
37676 glibcxx_cv_func_atan2l_use=no
37677 fi
37678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37679 ac_ext=c
37680 ac_cpp='$CPP $CPPFLAGS'
37681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37684
37685
37686 fi
37687
37688 fi
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37690 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37691
37692 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37693 for ac_func in atan2l
37694 do :
37695 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37696 if test "x$ac_cv_func_atan2l" = x""yes; then :
37697 cat >>confdefs.h <<_ACEOF
37698 #define HAVE_ATAN2L 1
37699 _ACEOF
37700
37701 fi
37702 done
37703
37704 else
37705
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37707 $as_echo_n "checking for _atan2l declaration... " >&6; }
37708 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37709 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37710 $as_echo_n "(cached) " >&6
37711 else
37712
37713
37714 ac_ext=cpp
37715 ac_cpp='$CXXCPP $CPPFLAGS'
37716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37719
37720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37721 /* end confdefs.h. */
37722 #include <math.h>
37723 int
37724 main ()
37725 {
37726 _atan2l(0, 0);
37727 ;
37728 return 0;
37729 }
37730 _ACEOF
37731 if ac_fn_cxx_try_compile "$LINENO"; then :
37732 glibcxx_cv_func__atan2l_use=yes
37733 else
37734 glibcxx_cv_func__atan2l_use=no
37735 fi
37736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37737 ac_ext=c
37738 ac_cpp='$CPP $CPPFLAGS'
37739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37742
37743
37744 fi
37745
37746 fi
37747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37748 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37749
37750 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37751 for ac_func in _atan2l
37752 do :
37753 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37754 if test "x$ac_cv_func__atan2l" = x""yes; then :
37755 cat >>confdefs.h <<_ACEOF
37756 #define HAVE__ATAN2L 1
37757 _ACEOF
37758
37759 fi
37760 done
37761
37762 fi
37763 fi
37764
37765
37766
37767
37768
37769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37770 $as_echo_n "checking for expl declaration... " >&6; }
37771 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37772 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37773 $as_echo_n "(cached) " >&6
37774 else
37775
37776
37777 ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37782
37783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37784 /* end confdefs.h. */
37785 #include <math.h>
37786 #ifdef HAVE_IEEEFP_H
37787 #include <ieeefp.h>
37788 #endif
37789
37790 int
37791 main ()
37792 {
37793 expl(0);
37794 ;
37795 return 0;
37796 }
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func_expl_use=yes
37800 else
37801 glibcxx_cv_func_expl_use=no
37802 fi
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804 ac_ext=c
37805 ac_cpp='$CPP $CPPFLAGS'
37806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809
37810
37811 fi
37812
37813 fi
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37815 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37816
37817 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37818 for ac_func in expl
37819 do :
37820 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37821 if test "x$ac_cv_func_expl" = x""yes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE_EXPL 1
37824 _ACEOF
37825
37826 fi
37827 done
37828
37829 else
37830
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37832 $as_echo_n "checking for _expl declaration... " >&6; }
37833 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37834 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37835 $as_echo_n "(cached) " >&6
37836 else
37837
37838
37839 ac_ext=cpp
37840 ac_cpp='$CXXCPP $CPPFLAGS'
37841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37844
37845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37846 /* end confdefs.h. */
37847 #include <math.h>
37848 #ifdef HAVE_IEEEFP_H
37849 #include <ieeefp.h>
37850 #endif
37851
37852 int
37853 main ()
37854 {
37855 _expl(0);
37856 ;
37857 return 0;
37858 }
37859 _ACEOF
37860 if ac_fn_cxx_try_compile "$LINENO"; then :
37861 glibcxx_cv_func__expl_use=yes
37862 else
37863 glibcxx_cv_func__expl_use=no
37864 fi
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866 ac_ext=c
37867 ac_cpp='$CPP $CPPFLAGS'
37868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37871
37872
37873 fi
37874
37875 fi
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37877 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37878
37879 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37880 for ac_func in _expl
37881 do :
37882 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37883 if test "x$ac_cv_func__expl" = x""yes; then :
37884 cat >>confdefs.h <<_ACEOF
37885 #define HAVE__EXPL 1
37886 _ACEOF
37887
37888 fi
37889 done
37890
37891 fi
37892 fi
37893
37894
37895
37896
37897
37898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37899 $as_echo_n "checking for fabsl declaration... " >&6; }
37900 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37901 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37902 $as_echo_n "(cached) " >&6
37903 else
37904
37905
37906 ac_ext=cpp
37907 ac_cpp='$CXXCPP $CPPFLAGS'
37908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37911
37912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37913 /* end confdefs.h. */
37914 #include <math.h>
37915 #ifdef HAVE_IEEEFP_H
37916 #include <ieeefp.h>
37917 #endif
37918
37919 int
37920 main ()
37921 {
37922 fabsl(0);
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func_fabsl_use=yes
37929 else
37930 glibcxx_cv_func_fabsl_use=no
37931 fi
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37938
37939
37940 fi
37941
37942 fi
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37944 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37945
37946 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37947 for ac_func in fabsl
37948 do :
37949 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37950 if test "x$ac_cv_func_fabsl" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE_FABSL 1
37953 _ACEOF
37954
37955 fi
37956 done
37957
37958 else
37959
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37961 $as_echo_n "checking for _fabsl declaration... " >&6; }
37962 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37963 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37964 $as_echo_n "(cached) " >&6
37965 else
37966
37967
37968 ac_ext=cpp
37969 ac_cpp='$CXXCPP $CPPFLAGS'
37970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973
37974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37975 /* end confdefs.h. */
37976 #include <math.h>
37977 #ifdef HAVE_IEEEFP_H
37978 #include <ieeefp.h>
37979 #endif
37980
37981 int
37982 main ()
37983 {
37984 _fabsl(0);
37985 ;
37986 return 0;
37987 }
37988 _ACEOF
37989 if ac_fn_cxx_try_compile "$LINENO"; then :
37990 glibcxx_cv_func__fabsl_use=yes
37991 else
37992 glibcxx_cv_func__fabsl_use=no
37993 fi
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37995 ac_ext=c
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38000
38001
38002 fi
38003
38004 fi
38005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38006 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38007
38008 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38009 for ac_func in _fabsl
38010 do :
38011 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38012 if test "x$ac_cv_func__fabsl" = x""yes; then :
38013 cat >>confdefs.h <<_ACEOF
38014 #define HAVE__FABSL 1
38015 _ACEOF
38016
38017 fi
38018 done
38019
38020 fi
38021 fi
38022
38023
38024
38025
38026
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38028 $as_echo_n "checking for fmodl declaration... " >&6; }
38029 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38030 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38033
38034
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38044 int
38045 main ()
38046 {
38047 fmodl(0, 0);
38048 ;
38049 return 0;
38050 }
38051 _ACEOF
38052 if ac_fn_cxx_try_compile "$LINENO"; then :
38053 glibcxx_cv_func_fmodl_use=yes
38054 else
38055 glibcxx_cv_func_fmodl_use=no
38056 fi
38057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38058 ac_ext=c
38059 ac_cpp='$CPP $CPPFLAGS'
38060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063
38064
38065 fi
38066
38067 fi
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38069 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38070
38071 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38072 for ac_func in fmodl
38073 do :
38074 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38075 if test "x$ac_cv_func_fmodl" = x""yes; then :
38076 cat >>confdefs.h <<_ACEOF
38077 #define HAVE_FMODL 1
38078 _ACEOF
38079
38080 fi
38081 done
38082
38083 else
38084
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38086 $as_echo_n "checking for _fmodl declaration... " >&6; }
38087 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38088 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38089 $as_echo_n "(cached) " >&6
38090 else
38091
38092
38093 ac_ext=cpp
38094 ac_cpp='$CXXCPP $CPPFLAGS'
38095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38098
38099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38100 /* end confdefs.h. */
38101 #include <math.h>
38102 int
38103 main ()
38104 {
38105 _fmodl(0, 0);
38106 ;
38107 return 0;
38108 }
38109 _ACEOF
38110 if ac_fn_cxx_try_compile "$LINENO"; then :
38111 glibcxx_cv_func__fmodl_use=yes
38112 else
38113 glibcxx_cv_func__fmodl_use=no
38114 fi
38115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38116 ac_ext=c
38117 ac_cpp='$CPP $CPPFLAGS'
38118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38121
38122
38123 fi
38124
38125 fi
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38127 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38128
38129 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38130 for ac_func in _fmodl
38131 do :
38132 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38133 if test "x$ac_cv_func__fmodl" = x""yes; then :
38134 cat >>confdefs.h <<_ACEOF
38135 #define HAVE__FMODL 1
38136 _ACEOF
38137
38138 fi
38139 done
38140
38141 fi
38142 fi
38143
38144
38145
38146
38147
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38149 $as_echo_n "checking for frexpl declaration... " >&6; }
38150 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38151 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38152 $as_echo_n "(cached) " >&6
38153 else
38154
38155
38156 ac_ext=cpp
38157 ac_cpp='$CXXCPP $CPPFLAGS'
38158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38161
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h. */
38164 #include <math.h>
38165 int
38166 main ()
38167 {
38168 frexpl(0, 0);
38169 ;
38170 return 0;
38171 }
38172 _ACEOF
38173 if ac_fn_cxx_try_compile "$LINENO"; then :
38174 glibcxx_cv_func_frexpl_use=yes
38175 else
38176 glibcxx_cv_func_frexpl_use=no
38177 fi
38178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 ac_ext=c
38180 ac_cpp='$CPP $CPPFLAGS'
38181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38184
38185
38186 fi
38187
38188 fi
38189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38190 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38191
38192 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38193 for ac_func in frexpl
38194 do :
38195 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38196 if test "x$ac_cv_func_frexpl" = x""yes; then :
38197 cat >>confdefs.h <<_ACEOF
38198 #define HAVE_FREXPL 1
38199 _ACEOF
38200
38201 fi
38202 done
38203
38204 else
38205
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38207 $as_echo_n "checking for _frexpl declaration... " >&6; }
38208 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38209 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38211 else
38212
38213
38214 ac_ext=cpp
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38219
38220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38221 /* end confdefs.h. */
38222 #include <math.h>
38223 int
38224 main ()
38225 {
38226 _frexpl(0, 0);
38227 ;
38228 return 0;
38229 }
38230 _ACEOF
38231 if ac_fn_cxx_try_compile "$LINENO"; then :
38232 glibcxx_cv_func__frexpl_use=yes
38233 else
38234 glibcxx_cv_func__frexpl_use=no
38235 fi
38236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38237 ac_ext=c
38238 ac_cpp='$CPP $CPPFLAGS'
38239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38242
38243
38244 fi
38245
38246 fi
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38248 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38249
38250 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38251 for ac_func in _frexpl
38252 do :
38253 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38254 if test "x$ac_cv_func__frexpl" = x""yes; then :
38255 cat >>confdefs.h <<_ACEOF
38256 #define HAVE__FREXPL 1
38257 _ACEOF
38258
38259 fi
38260 done
38261
38262 fi
38263 fi
38264
38265
38266
38267
38268
38269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38270 $as_echo_n "checking for hypotl declaration... " >&6; }
38271 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38272 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38273 $as_echo_n "(cached) " >&6
38274 else
38275
38276
38277 ac_ext=cpp
38278 ac_cpp='$CXXCPP $CPPFLAGS'
38279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38282
38283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38284 /* end confdefs.h. */
38285 #include <math.h>
38286 int
38287 main ()
38288 {
38289 hypotl(0, 0);
38290 ;
38291 return 0;
38292 }
38293 _ACEOF
38294 if ac_fn_cxx_try_compile "$LINENO"; then :
38295 glibcxx_cv_func_hypotl_use=yes
38296 else
38297 glibcxx_cv_func_hypotl_use=no
38298 fi
38299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38300 ac_ext=c
38301 ac_cpp='$CPP $CPPFLAGS'
38302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38305
38306
38307 fi
38308
38309 fi
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38311 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38312
38313 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38314 for ac_func in hypotl
38315 do :
38316 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38317 if test "x$ac_cv_func_hypotl" = x""yes; then :
38318 cat >>confdefs.h <<_ACEOF
38319 #define HAVE_HYPOTL 1
38320 _ACEOF
38321
38322 fi
38323 done
38324
38325 else
38326
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38328 $as_echo_n "checking for _hypotl declaration... " >&6; }
38329 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38330 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38331 $as_echo_n "(cached) " >&6
38332 else
38333
38334
38335 ac_ext=cpp
38336 ac_cpp='$CXXCPP $CPPFLAGS'
38337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38340
38341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38342 /* end confdefs.h. */
38343 #include <math.h>
38344 int
38345 main ()
38346 {
38347 _hypotl(0, 0);
38348 ;
38349 return 0;
38350 }
38351 _ACEOF
38352 if ac_fn_cxx_try_compile "$LINENO"; then :
38353 glibcxx_cv_func__hypotl_use=yes
38354 else
38355 glibcxx_cv_func__hypotl_use=no
38356 fi
38357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 ac_ext=c
38359 ac_cpp='$CPP $CPPFLAGS'
38360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38363
38364
38365 fi
38366
38367 fi
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38369 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38370
38371 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38372 for ac_func in _hypotl
38373 do :
38374 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38375 if test "x$ac_cv_func__hypotl" = x""yes; then :
38376 cat >>confdefs.h <<_ACEOF
38377 #define HAVE__HYPOTL 1
38378 _ACEOF
38379
38380 fi
38381 done
38382
38383 fi
38384 fi
38385
38386
38387
38388
38389
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38391 $as_echo_n "checking for ldexpl declaration... " >&6; }
38392 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38393 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38394 $as_echo_n "(cached) " >&6
38395 else
38396
38397
38398 ac_ext=cpp
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38403
38404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 /* end confdefs.h. */
38406 #include <math.h>
38407 int
38408 main ()
38409 {
38410 ldexpl(0, 0);
38411 ;
38412 return 0;
38413 }
38414 _ACEOF
38415 if ac_fn_cxx_try_compile "$LINENO"; then :
38416 glibcxx_cv_func_ldexpl_use=yes
38417 else
38418 glibcxx_cv_func_ldexpl_use=no
38419 fi
38420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38426
38427
38428 fi
38429
38430 fi
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38432 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38433
38434 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38435 for ac_func in ldexpl
38436 do :
38437 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38438 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_LDEXPL 1
38441 _ACEOF
38442
38443 fi
38444 done
38445
38446 else
38447
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38449 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38450 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38451 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38452 $as_echo_n "(cached) " >&6
38453 else
38454
38455
38456 ac_ext=cpp
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38461
38462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38463 /* end confdefs.h. */
38464 #include <math.h>
38465 int
38466 main ()
38467 {
38468 _ldexpl(0, 0);
38469 ;
38470 return 0;
38471 }
38472 _ACEOF
38473 if ac_fn_cxx_try_compile "$LINENO"; then :
38474 glibcxx_cv_func__ldexpl_use=yes
38475 else
38476 glibcxx_cv_func__ldexpl_use=no
38477 fi
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38479 ac_ext=c
38480 ac_cpp='$CPP $CPPFLAGS'
38481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38484
38485
38486 fi
38487
38488 fi
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38490 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38491
38492 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38493 for ac_func in _ldexpl
38494 do :
38495 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38496 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38497 cat >>confdefs.h <<_ACEOF
38498 #define HAVE__LDEXPL 1
38499 _ACEOF
38500
38501 fi
38502 done
38503
38504 fi
38505 fi
38506
38507
38508
38509
38510
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38512 $as_echo_n "checking for logl declaration... " >&6; }
38513 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38514 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38517
38518
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38524
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38528 #ifdef HAVE_IEEEFP_H
38529 #include <ieeefp.h>
38530 #endif
38531
38532 int
38533 main ()
38534 {
38535 logl(0);
38536 ;
38537 return 0;
38538 }
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_logl_use=yes
38542 else
38543 glibcxx_cv_func_logl_use=no
38544 fi
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38551
38552
38553 fi
38554
38555 fi
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38557 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38558
38559 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38560 for ac_func in logl
38561 do :
38562 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38563 if test "x$ac_cv_func_logl" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_LOGL 1
38566 _ACEOF
38567
38568 fi
38569 done
38570
38571 else
38572
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38574 $as_echo_n "checking for _logl declaration... " >&6; }
38575 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38576 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38579
38580
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38586
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 #ifdef HAVE_IEEEFP_H
38591 #include <ieeefp.h>
38592 #endif
38593
38594 int
38595 main ()
38596 {
38597 _logl(0);
38598 ;
38599 return 0;
38600 }
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__logl_use=yes
38604 else
38605 glibcxx_cv_func__logl_use=no
38606 fi
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38613
38614
38615 fi
38616
38617 fi
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38619 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38620
38621 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38622 for ac_func in _logl
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38625 if test "x$ac_cv_func__logl" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__LOGL 1
38628 _ACEOF
38629
38630 fi
38631 done
38632
38633 fi
38634 fi
38635
38636
38637
38638
38639
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38641 $as_echo_n "checking for log10l declaration... " >&6; }
38642 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38643 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38644 $as_echo_n "(cached) " >&6
38645 else
38646
38647
38648 ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653
38654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38660
38661 int
38662 main ()
38663 {
38664 log10l(0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func_log10l_use=yes
38671 else
38672 glibcxx_cv_func_log10l_use=no
38673 fi
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684 fi
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38686 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38687
38688 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38689 for ac_func in log10l
38690 do :
38691 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38692 if test "x$ac_cv_func_log10l" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE_LOG10L 1
38695 _ACEOF
38696
38697 fi
38698 done
38699
38700 else
38701
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38703 $as_echo_n "checking for _log10l declaration... " >&6; }
38704 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38705 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38706 $as_echo_n "(cached) " >&6
38707 else
38708
38709
38710 ac_ext=cpp
38711 ac_cpp='$CXXCPP $CPPFLAGS'
38712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38715
38716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38717 /* end confdefs.h. */
38718 #include <math.h>
38719 #ifdef HAVE_IEEEFP_H
38720 #include <ieeefp.h>
38721 #endif
38722
38723 int
38724 main ()
38725 {
38726 _log10l(0);
38727 ;
38728 return 0;
38729 }
38730 _ACEOF
38731 if ac_fn_cxx_try_compile "$LINENO"; then :
38732 glibcxx_cv_func__log10l_use=yes
38733 else
38734 glibcxx_cv_func__log10l_use=no
38735 fi
38736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38742
38743
38744 fi
38745
38746 fi
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38748 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38749
38750 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38751 for ac_func in _log10l
38752 do :
38753 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38754 if test "x$ac_cv_func__log10l" = x""yes; then :
38755 cat >>confdefs.h <<_ACEOF
38756 #define HAVE__LOG10L 1
38757 _ACEOF
38758
38759 fi
38760 done
38761
38762 fi
38763 fi
38764
38765
38766
38767
38768
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38770 $as_echo_n "checking for modfl declaration... " >&6; }
38771 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38772 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38775
38776
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 int
38787 main ()
38788 {
38789 modfl(0, 0);
38790 ;
38791 return 0;
38792 }
38793 _ACEOF
38794 if ac_fn_cxx_try_compile "$LINENO"; then :
38795 glibcxx_cv_func_modfl_use=yes
38796 else
38797 glibcxx_cv_func_modfl_use=no
38798 fi
38799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38800 ac_ext=c
38801 ac_cpp='$CPP $CPPFLAGS'
38802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38805
38806
38807 fi
38808
38809 fi
38810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38811 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38812
38813 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38814 for ac_func in modfl
38815 do :
38816 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38817 if test "x$ac_cv_func_modfl" = x""yes; then :
38818 cat >>confdefs.h <<_ACEOF
38819 #define HAVE_MODFL 1
38820 _ACEOF
38821
38822 fi
38823 done
38824
38825 else
38826
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38828 $as_echo_n "checking for _modfl declaration... " >&6; }
38829 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38830 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38831 $as_echo_n "(cached) " >&6
38832 else
38833
38834
38835 ac_ext=cpp
38836 ac_cpp='$CXXCPP $CPPFLAGS'
38837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38840
38841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38842 /* end confdefs.h. */
38843 #include <math.h>
38844 int
38845 main ()
38846 {
38847 _modfl(0, 0);
38848 ;
38849 return 0;
38850 }
38851 _ACEOF
38852 if ac_fn_cxx_try_compile "$LINENO"; then :
38853 glibcxx_cv_func__modfl_use=yes
38854 else
38855 glibcxx_cv_func__modfl_use=no
38856 fi
38857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38858 ac_ext=c
38859 ac_cpp='$CPP $CPPFLAGS'
38860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863
38864
38865 fi
38866
38867 fi
38868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38869 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38870
38871 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38872 for ac_func in _modfl
38873 do :
38874 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38875 if test "x$ac_cv_func__modfl" = x""yes; then :
38876 cat >>confdefs.h <<_ACEOF
38877 #define HAVE__MODFL 1
38878 _ACEOF
38879
38880 fi
38881 done
38882
38883 fi
38884 fi
38885
38886
38887
38888
38889
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38891 $as_echo_n "checking for powl declaration... " >&6; }
38892 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38893 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38896
38897
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38903
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38907 int
38908 main ()
38909 {
38910 powl(0, 0);
38911 ;
38912 return 0;
38913 }
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_powl_use=yes
38917 else
38918 glibcxx_cv_func_powl_use=no
38919 fi
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38926
38927
38928 fi
38929
38930 fi
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38932 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38933
38934 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38935 for ac_func in powl
38936 do :
38937 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38938 if test "x$ac_cv_func_powl" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_POWL 1
38941 _ACEOF
38942
38943 fi
38944 done
38945
38946 else
38947
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38949 $as_echo_n "checking for _powl declaration... " >&6; }
38950 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38951 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38954
38955
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38965 int
38966 main ()
38967 {
38968 _powl(0, 0);
38969 ;
38970 return 0;
38971 }
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func__powl_use=yes
38975 else
38976 glibcxx_cv_func__powl_use=no
38977 fi
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984
38985
38986 fi
38987
38988 fi
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38990 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38991
38992 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38993 for ac_func in _powl
38994 do :
38995 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38996 if test "x$ac_cv_func__powl" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE__POWL 1
38999 _ACEOF
39000
39001 fi
39002 done
39003
39004 fi
39005 fi
39006
39007
39008
39009
39010
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39012 $as_echo_n "checking for sqrtl declaration... " >&6; }
39013 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39014 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39017
39018
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39024
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035 sqrtl(0);
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_sqrtl_use=yes
39042 else
39043 glibcxx_cv_func_sqrtl_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055 fi
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39057 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39058
39059 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39060 for ac_func in sqrtl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39063 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_SQRTL 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071 else
39072
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39074 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39075 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39076 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39079
39080
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 #ifdef HAVE_IEEEFP_H
39091 #include <ieeefp.h>
39092 #endif
39093
39094 int
39095 main ()
39096 {
39097 _sqrtl(0);
39098 ;
39099 return 0;
39100 }
39101 _ACEOF
39102 if ac_fn_cxx_try_compile "$LINENO"; then :
39103 glibcxx_cv_func__sqrtl_use=yes
39104 else
39105 glibcxx_cv_func__sqrtl_use=no
39106 fi
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 ac_ext=c
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113
39114
39115 fi
39116
39117 fi
39118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39119 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39120
39121 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39122 for ac_func in _sqrtl
39123 do :
39124 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39125 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39126 cat >>confdefs.h <<_ACEOF
39127 #define HAVE__SQRTL 1
39128 _ACEOF
39129
39130 fi
39131 done
39132
39133 fi
39134 fi
39135
39136
39137
39138
39139
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39141 $as_echo_n "checking for sincosl declaration... " >&6; }
39142 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39143 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39146
39147
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39153
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 int
39158 main ()
39159 {
39160 sincosl(0, 0, 0);
39161 ;
39162 return 0;
39163 }
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166 glibcxx_cv_func_sincosl_use=yes
39167 else
39168 glibcxx_cv_func_sincosl_use=no
39169 fi
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171 ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39176
39177
39178 fi
39179
39180 fi
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39182 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39183
39184 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39185 for ac_func in sincosl
39186 do :
39187 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39188 if test "x$ac_cv_func_sincosl" = x""yes; then :
39189 cat >>confdefs.h <<_ACEOF
39190 #define HAVE_SINCOSL 1
39191 _ACEOF
39192
39193 fi
39194 done
39195
39196 else
39197
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39199 $as_echo_n "checking for _sincosl declaration... " >&6; }
39200 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39201 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39202 $as_echo_n "(cached) " >&6
39203 else
39204
39205
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211
39212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39214 #include <math.h>
39215 int
39216 main ()
39217 {
39218 _sincosl(0, 0, 0);
39219 ;
39220 return 0;
39221 }
39222 _ACEOF
39223 if ac_fn_cxx_try_compile "$LINENO"; then :
39224 glibcxx_cv_func__sincosl_use=yes
39225 else
39226 glibcxx_cv_func__sincosl_use=no
39227 fi
39228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39229 ac_ext=c
39230 ac_cpp='$CPP $CPPFLAGS'
39231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39234
39235
39236 fi
39237
39238 fi
39239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39240 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39241
39242 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39243 for ac_func in _sincosl
39244 do :
39245 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39246 if test "x$ac_cv_func__sincosl" = x""yes; then :
39247 cat >>confdefs.h <<_ACEOF
39248 #define HAVE__SINCOSL 1
39249 _ACEOF
39250
39251 fi
39252 done
39253
39254 fi
39255 fi
39256
39257
39258
39259
39260
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39262 $as_echo_n "checking for finitel declaration... " >&6; }
39263 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39264 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39265 $as_echo_n "(cached) " >&6
39266 else
39267
39268
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39274
39275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 /* end confdefs.h. */
39277 #include <math.h>
39278 #ifdef HAVE_IEEEFP_H
39279 #include <ieeefp.h>
39280 #endif
39281
39282 int
39283 main ()
39284 {
39285 finitel(0);
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func_finitel_use=yes
39292 else
39293 glibcxx_cv_func_finitel_use=no
39294 fi
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304
39305 fi
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39307 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39308
39309 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39310 for ac_func in finitel
39311 do :
39312 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39313 if test "x$ac_cv_func_finitel" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE_FINITEL 1
39316 _ACEOF
39317
39318 fi
39319 done
39320
39321 else
39322
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39324 $as_echo_n "checking for _finitel declaration... " >&6; }
39325 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39326 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39329
39330
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39340 #ifdef HAVE_IEEEFP_H
39341 #include <ieeefp.h>
39342 #endif
39343
39344 int
39345 main ()
39346 {
39347 _finitel(0);
39348 ;
39349 return 0;
39350 }
39351 _ACEOF
39352 if ac_fn_cxx_try_compile "$LINENO"; then :
39353 glibcxx_cv_func__finitel_use=yes
39354 else
39355 glibcxx_cv_func__finitel_use=no
39356 fi
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 ac_ext=c
39359 ac_cpp='$CPP $CPPFLAGS'
39360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363
39364
39365 fi
39366
39367 fi
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39369 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39370
39371 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39372 for ac_func in _finitel
39373 do :
39374 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39375 if test "x$ac_cv_func__finitel" = x""yes; then :
39376 cat >>confdefs.h <<_ACEOF
39377 #define HAVE__FINITEL 1
39378 _ACEOF
39379
39380 fi
39381 done
39382
39383 fi
39384 fi
39385
39386
39387
39388
39389 LIBS="$ac_save_LIBS"
39390 CXXFLAGS="$ac_save_CXXFLAGS"
39391
39392
39393 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39394 ac_save_CXXFLAGS="$CXXFLAGS"
39395 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39396
39397
39398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39399 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39400 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39401 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39402 $as_echo_n "(cached) " >&6
39403 else
39404
39405
39406 ac_ext=cpp
39407 ac_cpp='$CXXCPP $CPPFLAGS'
39408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39411
39412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39413 /* end confdefs.h. */
39414 #include <stdlib.h>
39415 int
39416 main ()
39417 {
39418 at_quick_exit(0);
39419 ;
39420 return 0;
39421 }
39422 _ACEOF
39423 if ac_fn_cxx_try_compile "$LINENO"; then :
39424 glibcxx_cv_func_at_quick_exit_use=yes
39425 else
39426 glibcxx_cv_func_at_quick_exit_use=no
39427 fi
39428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39429 ac_ext=c
39430 ac_cpp='$CPP $CPPFLAGS'
39431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39434
39435
39436 fi
39437
39438 fi
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39440 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39441 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39442 for ac_func in at_quick_exit
39443 do :
39444 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39445 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE_AT_QUICK_EXIT 1
39448 _ACEOF
39449
39450 fi
39451 done
39452
39453 fi
39454
39455
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39457 $as_echo_n "checking for quick_exit declaration... " >&6; }
39458 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39459 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39460 $as_echo_n "(cached) " >&6
39461 else
39462
39463
39464 ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469
39470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h. */
39472 #include <stdlib.h>
39473 int
39474 main ()
39475 {
39476 quick_exit(0);
39477 ;
39478 return 0;
39479 }
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func_quick_exit_use=yes
39483 else
39484 glibcxx_cv_func_quick_exit_use=no
39485 fi
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492
39493
39494 fi
39495
39496 fi
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39498 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39499 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39500 for ac_func in quick_exit
39501 do :
39502 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39503 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE_QUICK_EXIT 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511 fi
39512
39513
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39515 $as_echo_n "checking for strtold declaration... " >&6; }
39516 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39517 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39519 else
39520
39521
39522 ac_ext=cpp
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39527
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39530 #include <stdlib.h>
39531 int
39532 main ()
39533 {
39534 strtold(0, 0);
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_strtold_use=yes
39541 else
39542 glibcxx_cv_func_strtold_use=no
39543 fi
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39550
39551
39552 fi
39553
39554 fi
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39556 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39557 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39558 for ac_func in strtold
39559 do :
39560 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39561 if test "x$ac_cv_func_strtold" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE_STRTOLD 1
39564 _ACEOF
39565
39566 fi
39567 done
39568
39569 fi
39570
39571
39572
39573
39574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39575 $as_echo_n "checking for strtof declaration... " >&6; }
39576 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39577 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39578 $as_echo_n "(cached) " >&6
39579 else
39580
39581
39582 ac_ext=cpp
39583 ac_cpp='$CXXCPP $CPPFLAGS'
39584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39587
39588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39589 /* end confdefs.h. */
39590 #include <stdlib.h>
39591 int
39592 main ()
39593 {
39594 strtof(0, 0);
39595 ;
39596 return 0;
39597 }
39598 _ACEOF
39599 if ac_fn_cxx_try_compile "$LINENO"; then :
39600 glibcxx_cv_func_strtof_use=yes
39601 else
39602 glibcxx_cv_func_strtof_use=no
39603 fi
39604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39605 ac_ext=c
39606 ac_cpp='$CPP $CPPFLAGS'
39607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39610
39611
39612 fi
39613
39614 fi
39615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39616 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39617 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39618 for ac_func in strtof
39619 do :
39620 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39621 if test "x$ac_cv_func_strtof" = x""yes; then :
39622 cat >>confdefs.h <<_ACEOF
39623 #define HAVE_STRTOF 1
39624 _ACEOF
39625
39626 fi
39627 done
39628
39629 fi
39630
39631
39632
39633
39634 CXXFLAGS="$ac_save_CXXFLAGS"
39635
39636 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39637
39638 # We don't yet support AIX's TLS ABI.
39639 #GCC_CHECK_TLS
39640
39641
39642
39643
39644
39645 am_save_CPPFLAGS="$CPPFLAGS"
39646
39647 for element in $INCICONV; do
39648 haveit=
39649 for x in $CPPFLAGS; do
39650
39651 acl_save_prefix="$prefix"
39652 prefix="$acl_final_prefix"
39653 acl_save_exec_prefix="$exec_prefix"
39654 exec_prefix="$acl_final_exec_prefix"
39655 eval x=\"$x\"
39656 exec_prefix="$acl_save_exec_prefix"
39657 prefix="$acl_save_prefix"
39658
39659 if test "X$x" = "X$element"; then
39660 haveit=yes
39661 break
39662 fi
39663 done
39664 if test -z "$haveit"; then
39665 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39666 fi
39667 done
39668
39669
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39671 $as_echo_n "checking for iconv... " >&6; }
39672 if test "${am_cv_func_iconv+set}" = set; then :
39673 $as_echo_n "(cached) " >&6
39674 else
39675
39676 am_cv_func_iconv="no, consider installing GNU libiconv"
39677 am_cv_lib_iconv=no
39678 if test x$gcc_no_link = xyes; then
39679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39680 fi
39681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39682 /* end confdefs.h. */
39683 #include <stdlib.h>
39684 #include <iconv.h>
39685 int
39686 main ()
39687 {
39688 iconv_t cd = iconv_open("","");
39689 iconv(cd,NULL,NULL,NULL,NULL);
39690 iconv_close(cd);
39691 ;
39692 return 0;
39693 }
39694 _ACEOF
39695 if ac_fn_c_try_link "$LINENO"; then :
39696 am_cv_func_iconv=yes
39697 fi
39698 rm -f core conftest.err conftest.$ac_objext \
39699 conftest$ac_exeext conftest.$ac_ext
39700 if test "$am_cv_func_iconv" != yes; then
39701 am_save_LIBS="$LIBS"
39702 LIBS="$LIBS $LIBICONV"
39703 if test x$gcc_no_link = xyes; then
39704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39705 fi
39706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39707 /* end confdefs.h. */
39708 #include <stdlib.h>
39709 #include <iconv.h>
39710 int
39711 main ()
39712 {
39713 iconv_t cd = iconv_open("","");
39714 iconv(cd,NULL,NULL,NULL,NULL);
39715 iconv_close(cd);
39716 ;
39717 return 0;
39718 }
39719 _ACEOF
39720 if ac_fn_c_try_link "$LINENO"; then :
39721 am_cv_lib_iconv=yes
39722 am_cv_func_iconv=yes
39723 fi
39724 rm -f core conftest.err conftest.$ac_objext \
39725 conftest$ac_exeext conftest.$ac_ext
39726 LIBS="$am_save_LIBS"
39727 fi
39728
39729 fi
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39731 $as_echo "$am_cv_func_iconv" >&6; }
39732 if test "$am_cv_func_iconv" = yes; then
39733
39734 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39735
39736 fi
39737 if test "$am_cv_lib_iconv" = yes; then
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39739 $as_echo_n "checking how to link with libiconv... " >&6; }
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39741 $as_echo "$LIBICONV" >&6; }
39742 else
39743 CPPFLAGS="$am_save_CPPFLAGS"
39744 LIBICONV=
39745 LTLIBICONV=
39746 fi
39747
39748
39749
39750 if test "$am_cv_func_iconv" = yes; then
39751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39752 $as_echo_n "checking for iconv declaration... " >&6; }
39753 if test "${am_cv_proto_iconv+set}" = set; then :
39754 $as_echo_n "(cached) " >&6
39755 else
39756
39757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39758 /* end confdefs.h. */
39759
39760 #include <stdlib.h>
39761 #include <iconv.h>
39762 extern
39763 #ifdef __cplusplus
39764 "C"
39765 #endif
39766 #if defined(__STDC__) || defined(__cplusplus)
39767 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39768 #else
39769 size_t iconv();
39770 #endif
39771
39772 int
39773 main ()
39774 {
39775
39776 ;
39777 return 0;
39778 }
39779 _ACEOF
39780 if ac_fn_c_try_compile "$LINENO"; then :
39781 am_cv_proto_iconv_arg1=""
39782 else
39783 am_cv_proto_iconv_arg1="const"
39784 fi
39785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39786 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);"
39787 fi
39788
39789 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39791 }$am_cv_proto_iconv" >&5
39792 $as_echo "${ac_t:-
39793 }$am_cv_proto_iconv" >&6; }
39794
39795 cat >>confdefs.h <<_ACEOF
39796 #define ICONV_CONST $am_cv_proto_iconv_arg1
39797 _ACEOF
39798
39799 fi
39800
39801 ;;
39802
39803 *-darwin*)
39804 # Darwin versions vary, but the linker should work in a cross environment,
39805 # so we just check for all the features here.
39806 # Check for available headers.
39807
39808 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39809
39810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39811 ac_save_CXXFLAGS="$CXXFLAGS"
39812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39813
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39815 $as_echo_n "checking for sin in -lm... " >&6; }
39816 if test "${ac_cv_lib_m_sin+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39819 ac_check_lib_save_LIBS=$LIBS
39820 LIBS="-lm $LIBS"
39821 if test x$gcc_no_link = xyes; then
39822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39823 fi
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39826
39827 /* Override any GCC internal prototype to avoid an error.
39828 Use char because int might match the return type of a GCC
39829 builtin and then its argument prototype would still apply. */
39830 #ifdef __cplusplus
39831 extern "C"
39832 #endif
39833 char sin ();
39834 int
39835 main ()
39836 {
39837 return sin ();
39838 ;
39839 return 0;
39840 }
39841 _ACEOF
39842 if ac_fn_c_try_link "$LINENO"; then :
39843 ac_cv_lib_m_sin=yes
39844 else
39845 ac_cv_lib_m_sin=no
39846 fi
39847 rm -f core conftest.err conftest.$ac_objext \
39848 conftest$ac_exeext conftest.$ac_ext
39849 LIBS=$ac_check_lib_save_LIBS
39850 fi
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39852 $as_echo "$ac_cv_lib_m_sin" >&6; }
39853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39854 libm="-lm"
39855 fi
39856
39857 ac_save_LIBS="$LIBS"
39858 LIBS="$LIBS $libm"
39859
39860
39861
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39863 $as_echo_n "checking for isinf declaration... " >&6; }
39864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39866 $as_echo_n "(cached) " >&6
39867 else
39868
39869
39870 ac_ext=cpp
39871 ac_cpp='$CXXCPP $CPPFLAGS'
39872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39875
39876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39877 /* end confdefs.h. */
39878 #include <math.h>
39879 #ifdef HAVE_IEEEFP_H
39880 #include <ieeefp.h>
39881 #endif
39882
39883 int
39884 main ()
39885 {
39886 isinf(0);
39887 ;
39888 return 0;
39889 }
39890 _ACEOF
39891 if ac_fn_cxx_try_compile "$LINENO"; then :
39892 glibcxx_cv_func_isinf_use=yes
39893 else
39894 glibcxx_cv_func_isinf_use=no
39895 fi
39896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39897 ac_ext=c
39898 ac_cpp='$CPP $CPPFLAGS'
39899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39902
39903
39904 fi
39905
39906 fi
39907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39909
39910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39911 for ac_func in isinf
39912 do :
39913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39914 if test "x$ac_cv_func_isinf" = x""yes; then :
39915 cat >>confdefs.h <<_ACEOF
39916 #define HAVE_ISINF 1
39917 _ACEOF
39918
39919 fi
39920 done
39921
39922 else
39923
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39925 $as_echo_n "checking for _isinf declaration... " >&6; }
39926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39928 $as_echo_n "(cached) " >&6
39929 else
39930
39931
39932 ac_ext=cpp
39933 ac_cpp='$CXXCPP $CPPFLAGS'
39934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39937
39938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39939 /* end confdefs.h. */
39940 #include <math.h>
39941 #ifdef HAVE_IEEEFP_H
39942 #include <ieeefp.h>
39943 #endif
39944
39945 int
39946 main ()
39947 {
39948 _isinf(0);
39949 ;
39950 return 0;
39951 }
39952 _ACEOF
39953 if ac_fn_cxx_try_compile "$LINENO"; then :
39954 glibcxx_cv_func__isinf_use=yes
39955 else
39956 glibcxx_cv_func__isinf_use=no
39957 fi
39958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39959 ac_ext=c
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39964
39965
39966 fi
39967
39968 fi
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39971
39972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39973 for ac_func in _isinf
39974 do :
39975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39976 if test "x$ac_cv_func__isinf" = x""yes; then :
39977 cat >>confdefs.h <<_ACEOF
39978 #define HAVE__ISINF 1
39979 _ACEOF
39980
39981 fi
39982 done
39983
39984 fi
39985 fi
39986
39987
39988
39989
39990
39991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39992 $as_echo_n "checking for isnan declaration... " >&6; }
39993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39995 $as_echo_n "(cached) " >&6
39996 else
39997
39998
39999 ac_ext=cpp
40000 ac_cpp='$CXXCPP $CPPFLAGS'
40001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40004
40005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40006 /* end confdefs.h. */
40007 #include <math.h>
40008 #ifdef HAVE_IEEEFP_H
40009 #include <ieeefp.h>
40010 #endif
40011
40012 int
40013 main ()
40014 {
40015 isnan(0);
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 if ac_fn_cxx_try_compile "$LINENO"; then :
40021 glibcxx_cv_func_isnan_use=yes
40022 else
40023 glibcxx_cv_func_isnan_use=no
40024 fi
40025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40026 ac_ext=c
40027 ac_cpp='$CPP $CPPFLAGS'
40028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40031
40032
40033 fi
40034
40035 fi
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40038
40039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40040 for ac_func in isnan
40041 do :
40042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40043 if test "x$ac_cv_func_isnan" = x""yes; then :
40044 cat >>confdefs.h <<_ACEOF
40045 #define HAVE_ISNAN 1
40046 _ACEOF
40047
40048 fi
40049 done
40050
40051 else
40052
40053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40054 $as_echo_n "checking for _isnan declaration... " >&6; }
40055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40057 $as_echo_n "(cached) " >&6
40058 else
40059
40060
40061 ac_ext=cpp
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40066
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 #include <math.h>
40070 #ifdef HAVE_IEEEFP_H
40071 #include <ieeefp.h>
40072 #endif
40073
40074 int
40075 main ()
40076 {
40077 _isnan(0);
40078 ;
40079 return 0;
40080 }
40081 _ACEOF
40082 if ac_fn_cxx_try_compile "$LINENO"; then :
40083 glibcxx_cv_func__isnan_use=yes
40084 else
40085 glibcxx_cv_func__isnan_use=no
40086 fi
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088 ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40093
40094
40095 fi
40096
40097 fi
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40100
40101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40102 for ac_func in _isnan
40103 do :
40104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40105 if test "x$ac_cv_func__isnan" = x""yes; then :
40106 cat >>confdefs.h <<_ACEOF
40107 #define HAVE__ISNAN 1
40108 _ACEOF
40109
40110 fi
40111 done
40112
40113 fi
40114 fi
40115
40116
40117
40118
40119
40120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40121 $as_echo_n "checking for finite declaration... " >&6; }
40122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40124 $as_echo_n "(cached) " >&6
40125 else
40126
40127
40128 ac_ext=cpp
40129 ac_cpp='$CXXCPP $CPPFLAGS'
40130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40133
40134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40135 /* end confdefs.h. */
40136 #include <math.h>
40137 #ifdef HAVE_IEEEFP_H
40138 #include <ieeefp.h>
40139 #endif
40140
40141 int
40142 main ()
40143 {
40144 finite(0);
40145 ;
40146 return 0;
40147 }
40148 _ACEOF
40149 if ac_fn_cxx_try_compile "$LINENO"; then :
40150 glibcxx_cv_func_finite_use=yes
40151 else
40152 glibcxx_cv_func_finite_use=no
40153 fi
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155 ac_ext=c
40156 ac_cpp='$CPP $CPPFLAGS'
40157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160
40161
40162 fi
40163
40164 fi
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40167
40168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40169 for ac_func in finite
40170 do :
40171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40172 if test "x$ac_cv_func_finite" = x""yes; then :
40173 cat >>confdefs.h <<_ACEOF
40174 #define HAVE_FINITE 1
40175 _ACEOF
40176
40177 fi
40178 done
40179
40180 else
40181
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40183 $as_echo_n "checking for _finite declaration... " >&6; }
40184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40188
40189
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40195
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 #ifdef HAVE_IEEEFP_H
40200 #include <ieeefp.h>
40201 #endif
40202
40203 int
40204 main ()
40205 {
40206 _finite(0);
40207 ;
40208 return 0;
40209 }
40210 _ACEOF
40211 if ac_fn_cxx_try_compile "$LINENO"; then :
40212 glibcxx_cv_func__finite_use=yes
40213 else
40214 glibcxx_cv_func__finite_use=no
40215 fi
40216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ac_ext=c
40218 ac_cpp='$CPP $CPPFLAGS'
40219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40222
40223
40224 fi
40225
40226 fi
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40229
40230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40231 for ac_func in _finite
40232 do :
40233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40234 if test "x$ac_cv_func__finite" = x""yes; then :
40235 cat >>confdefs.h <<_ACEOF
40236 #define HAVE__FINITE 1
40237 _ACEOF
40238
40239 fi
40240 done
40241
40242 fi
40243 fi
40244
40245
40246
40247
40248
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40250 $as_echo_n "checking for sincos declaration... " >&6; }
40251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40253 $as_echo_n "(cached) " >&6
40254 else
40255
40256
40257 ac_ext=cpp
40258 ac_cpp='$CXXCPP $CPPFLAGS'
40259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40262
40263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40264 /* end confdefs.h. */
40265 #include <math.h>
40266 int
40267 main ()
40268 {
40269 sincos(0, 0, 0);
40270 ;
40271 return 0;
40272 }
40273 _ACEOF
40274 if ac_fn_cxx_try_compile "$LINENO"; then :
40275 glibcxx_cv_func_sincos_use=yes
40276 else
40277 glibcxx_cv_func_sincos_use=no
40278 fi
40279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280 ac_ext=c
40281 ac_cpp='$CPP $CPPFLAGS'
40282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40285
40286
40287 fi
40288
40289 fi
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40292
40293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40294 for ac_func in sincos
40295 do :
40296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40297 if test "x$ac_cv_func_sincos" = x""yes; then :
40298 cat >>confdefs.h <<_ACEOF
40299 #define HAVE_SINCOS 1
40300 _ACEOF
40301
40302 fi
40303 done
40304
40305 else
40306
40307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40308 $as_echo_n "checking for _sincos declaration... " >&6; }
40309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40311 $as_echo_n "(cached) " >&6
40312 else
40313
40314
40315 ac_ext=cpp
40316 ac_cpp='$CXXCPP $CPPFLAGS'
40317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40320
40321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40322 /* end confdefs.h. */
40323 #include <math.h>
40324 int
40325 main ()
40326 {
40327 _sincos(0, 0, 0);
40328 ;
40329 return 0;
40330 }
40331 _ACEOF
40332 if ac_fn_cxx_try_compile "$LINENO"; then :
40333 glibcxx_cv_func__sincos_use=yes
40334 else
40335 glibcxx_cv_func__sincos_use=no
40336 fi
40337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40338 ac_ext=c
40339 ac_cpp='$CPP $CPPFLAGS'
40340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40343
40344
40345 fi
40346
40347 fi
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40350
40351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40352 for ac_func in _sincos
40353 do :
40354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40355 if test "x$ac_cv_func__sincos" = x""yes; then :
40356 cat >>confdefs.h <<_ACEOF
40357 #define HAVE__SINCOS 1
40358 _ACEOF
40359
40360 fi
40361 done
40362
40363 fi
40364 fi
40365
40366
40367
40368
40369
40370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40371 $as_echo_n "checking for fpclass declaration... " >&6; }
40372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40374 $as_echo_n "(cached) " >&6
40375 else
40376
40377
40378 ac_ext=cpp
40379 ac_cpp='$CXXCPP $CPPFLAGS'
40380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40383
40384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40385 /* end confdefs.h. */
40386 #include <math.h>
40387 #ifdef HAVE_IEEEFP_H
40388 #include <ieeefp.h>
40389 #endif
40390
40391 int
40392 main ()
40393 {
40394 fpclass(0);
40395 ;
40396 return 0;
40397 }
40398 _ACEOF
40399 if ac_fn_cxx_try_compile "$LINENO"; then :
40400 glibcxx_cv_func_fpclass_use=yes
40401 else
40402 glibcxx_cv_func_fpclass_use=no
40403 fi
40404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40405 ac_ext=c
40406 ac_cpp='$CPP $CPPFLAGS'
40407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40410
40411
40412 fi
40413
40414 fi
40415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40417
40418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40419 for ac_func in fpclass
40420 do :
40421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40422 if test "x$ac_cv_func_fpclass" = x""yes; then :
40423 cat >>confdefs.h <<_ACEOF
40424 #define HAVE_FPCLASS 1
40425 _ACEOF
40426
40427 fi
40428 done
40429
40430 else
40431
40432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40433 $as_echo_n "checking for _fpclass declaration... " >&6; }
40434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40436 $as_echo_n "(cached) " >&6
40437 else
40438
40439
40440 ac_ext=cpp
40441 ac_cpp='$CXXCPP $CPPFLAGS'
40442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40445
40446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40447 /* end confdefs.h. */
40448 #include <math.h>
40449 #ifdef HAVE_IEEEFP_H
40450 #include <ieeefp.h>
40451 #endif
40452
40453 int
40454 main ()
40455 {
40456 _fpclass(0);
40457 ;
40458 return 0;
40459 }
40460 _ACEOF
40461 if ac_fn_cxx_try_compile "$LINENO"; then :
40462 glibcxx_cv_func__fpclass_use=yes
40463 else
40464 glibcxx_cv_func__fpclass_use=no
40465 fi
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467 ac_ext=c
40468 ac_cpp='$CPP $CPPFLAGS'
40469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40472
40473
40474 fi
40475
40476 fi
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40479
40480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40481 for ac_func in _fpclass
40482 do :
40483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40484 if test "x$ac_cv_func__fpclass" = x""yes; then :
40485 cat >>confdefs.h <<_ACEOF
40486 #define HAVE__FPCLASS 1
40487 _ACEOF
40488
40489 fi
40490 done
40491
40492 fi
40493 fi
40494
40495
40496
40497
40498
40499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40500 $as_echo_n "checking for qfpclass declaration... " >&6; }
40501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40503 $as_echo_n "(cached) " >&6
40504 else
40505
40506
40507 ac_ext=cpp
40508 ac_cpp='$CXXCPP $CPPFLAGS'
40509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40512
40513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40514 /* end confdefs.h. */
40515 #include <math.h>
40516 #ifdef HAVE_IEEEFP_H
40517 #include <ieeefp.h>
40518 #endif
40519
40520 int
40521 main ()
40522 {
40523 qfpclass(0);
40524 ;
40525 return 0;
40526 }
40527 _ACEOF
40528 if ac_fn_cxx_try_compile "$LINENO"; then :
40529 glibcxx_cv_func_qfpclass_use=yes
40530 else
40531 glibcxx_cv_func_qfpclass_use=no
40532 fi
40533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40534 ac_ext=c
40535 ac_cpp='$CPP $CPPFLAGS'
40536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40539
40540
40541 fi
40542
40543 fi
40544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40546
40547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40548 for ac_func in qfpclass
40549 do :
40550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40552 cat >>confdefs.h <<_ACEOF
40553 #define HAVE_QFPCLASS 1
40554 _ACEOF
40555
40556 fi
40557 done
40558
40559 else
40560
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40565 $as_echo_n "(cached) " >&6
40566 else
40567
40568
40569 ac_ext=cpp
40570 ac_cpp='$CXXCPP $CPPFLAGS'
40571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40574
40575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40576 /* end confdefs.h. */
40577 #include <math.h>
40578 #ifdef HAVE_IEEEFP_H
40579 #include <ieeefp.h>
40580 #endif
40581
40582 int
40583 main ()
40584 {
40585 _qfpclass(0);
40586 ;
40587 return 0;
40588 }
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func__qfpclass_use=yes
40592 else
40593 glibcxx_cv_func__qfpclass_use=no
40594 fi
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601
40602
40603 fi
40604
40605 fi
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40608
40609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40610 for ac_func in _qfpclass
40611 do :
40612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE__QFPCLASS 1
40616 _ACEOF
40617
40618 fi
40619 done
40620
40621 fi
40622 fi
40623
40624
40625
40626
40627
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40629 $as_echo_n "checking for hypot declaration... " >&6; }
40630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40632 $as_echo_n "(cached) " >&6
40633 else
40634
40635
40636 ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h. */
40644 #include <math.h>
40645 int
40646 main ()
40647 {
40648 hypot(0, 0);
40649 ;
40650 return 0;
40651 }
40652 _ACEOF
40653 if ac_fn_cxx_try_compile "$LINENO"; then :
40654 glibcxx_cv_func_hypot_use=yes
40655 else
40656 glibcxx_cv_func_hypot_use=no
40657 fi
40658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40659 ac_ext=c
40660 ac_cpp='$CPP $CPPFLAGS'
40661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40664
40665
40666 fi
40667
40668 fi
40669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40671
40672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40673 for ac_func in hypot
40674 do :
40675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40676 if test "x$ac_cv_func_hypot" = x""yes; then :
40677 cat >>confdefs.h <<_ACEOF
40678 #define HAVE_HYPOT 1
40679 _ACEOF
40680
40681 fi
40682 done
40683
40684 else
40685
40686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40687 $as_echo_n "checking for _hypot declaration... " >&6; }
40688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40690 $as_echo_n "(cached) " >&6
40691 else
40692
40693
40694 ac_ext=cpp
40695 ac_cpp='$CXXCPP $CPPFLAGS'
40696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40699
40700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40701 /* end confdefs.h. */
40702 #include <math.h>
40703 int
40704 main ()
40705 {
40706 _hypot(0, 0);
40707 ;
40708 return 0;
40709 }
40710 _ACEOF
40711 if ac_fn_cxx_try_compile "$LINENO"; then :
40712 glibcxx_cv_func__hypot_use=yes
40713 else
40714 glibcxx_cv_func__hypot_use=no
40715 fi
40716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40717 ac_ext=c
40718 ac_cpp='$CPP $CPPFLAGS'
40719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40722
40723
40724 fi
40725
40726 fi
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40729
40730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40731 for ac_func in _hypot
40732 do :
40733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40734 if test "x$ac_cv_func__hypot" = x""yes; then :
40735 cat >>confdefs.h <<_ACEOF
40736 #define HAVE__HYPOT 1
40737 _ACEOF
40738
40739 fi
40740 done
40741
40742 fi
40743 fi
40744
40745
40746
40747
40748
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40750 $as_echo_n "checking for float trig functions... " >&6; }
40751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40754
40755
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <math.h>
40765 int
40766 main ()
40767 {
40768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40769 ;
40770 return 0;
40771 }
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774 glibcxx_cv_func_float_trig_use=yes
40775 else
40776 glibcxx_cv_func_float_trig_use=no
40777 fi
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784
40785 fi
40786
40787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40791 do :
40792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40794 eval as_val=\$$as_ac_var
40795 if test "x$as_val" = x""yes; then :
40796 cat >>confdefs.h <<_ACEOF
40797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40798 _ACEOF
40799
40800 fi
40801 done
40802
40803 else
40804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40805 $as_echo_n "checking for _float trig functions... " >&6; }
40806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40807 $as_echo_n "(cached) " >&6
40808 else
40809
40810
40811 ac_ext=cpp
40812 ac_cpp='$CXXCPP $CPPFLAGS'
40813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40816
40817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40818 /* end confdefs.h. */
40819 #include <math.h>
40820 int
40821 main ()
40822 {
40823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40824 ;
40825 return 0;
40826 }
40827 _ACEOF
40828 if ac_fn_cxx_try_compile "$LINENO"; then :
40829 glibcxx_cv_func__float_trig_use=yes
40830 else
40831 glibcxx_cv_func__float_trig_use=no
40832 fi
40833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40834 ac_ext=c
40835 ac_cpp='$CPP $CPPFLAGS'
40836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40839
40840 fi
40841
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40846 do :
40847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40849 eval as_val=\$$as_ac_var
40850 if test "x$as_val" = x""yes; then :
40851 cat >>confdefs.h <<_ACEOF
40852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40853 _ACEOF
40854
40855 fi
40856 done
40857
40858 fi
40859 fi
40860
40861
40862
40863
40864
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40866 $as_echo_n "checking for float round functions... " >&6; }
40867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40870
40871
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40877
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40881 int
40882 main ()
40883 {
40884 ceilf (0); floorf (0);
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func_float_round_use=yes
40891 else
40892 glibcxx_cv_func_float_round_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 fi
40902
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40906 for ac_func in ceilf floorf
40907 do :
40908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40910 eval as_val=\$$as_ac_var
40911 if test "x$as_val" = x""yes; then :
40912 cat >>confdefs.h <<_ACEOF
40913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40914 _ACEOF
40915
40916 fi
40917 done
40918
40919 else
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40921 $as_echo_n "checking for _float round functions... " >&6; }
40922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40923 $as_echo_n "(cached) " >&6
40924 else
40925
40926
40927 ac_ext=cpp
40928 ac_cpp='$CXXCPP $CPPFLAGS'
40929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40932
40933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40934 /* end confdefs.h. */
40935 #include <math.h>
40936 int
40937 main ()
40938 {
40939 _ceilf (0); _floorf (0);
40940 ;
40941 return 0;
40942 }
40943 _ACEOF
40944 if ac_fn_cxx_try_compile "$LINENO"; then :
40945 glibcxx_cv_func__float_round_use=yes
40946 else
40947 glibcxx_cv_func__float_round_use=no
40948 fi
40949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40950 ac_ext=c
40951 ac_cpp='$CPP $CPPFLAGS'
40952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40955
40956 fi
40957
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40961 for ac_func in _ceilf _floorf
40962 do :
40963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40965 eval as_val=\$$as_ac_var
40966 if test "x$as_val" = x""yes; then :
40967 cat >>confdefs.h <<_ACEOF
40968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40969 _ACEOF
40970
40971 fi
40972 done
40973
40974 fi
40975 fi
40976
40977
40978
40979
40980
40981
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40983 $as_echo_n "checking for expf declaration... " >&6; }
40984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40988
40989
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40995
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
40999 #ifdef HAVE_IEEEFP_H
41000 #include <ieeefp.h>
41001 #endif
41002
41003 int
41004 main ()
41005 {
41006 expf(0);
41007 ;
41008 return 0;
41009 }
41010 _ACEOF
41011 if ac_fn_cxx_try_compile "$LINENO"; then :
41012 glibcxx_cv_func_expf_use=yes
41013 else
41014 glibcxx_cv_func_expf_use=no
41015 fi
41016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41017 ac_ext=c
41018 ac_cpp='$CPP $CPPFLAGS'
41019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41022
41023
41024 fi
41025
41026 fi
41027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41029
41030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41031 for ac_func in expf
41032 do :
41033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41034 if test "x$ac_cv_func_expf" = x""yes; then :
41035 cat >>confdefs.h <<_ACEOF
41036 #define HAVE_EXPF 1
41037 _ACEOF
41038
41039 fi
41040 done
41041
41042 else
41043
41044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41045 $as_echo_n "checking for _expf declaration... " >&6; }
41046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41048 $as_echo_n "(cached) " >&6
41049 else
41050
41051
41052 ac_ext=cpp
41053 ac_cpp='$CXXCPP $CPPFLAGS'
41054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41057
41058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41059 /* end confdefs.h. */
41060 #include <math.h>
41061 #ifdef HAVE_IEEEFP_H
41062 #include <ieeefp.h>
41063 #endif
41064
41065 int
41066 main ()
41067 {
41068 _expf(0);
41069 ;
41070 return 0;
41071 }
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074 glibcxx_cv_func__expf_use=yes
41075 else
41076 glibcxx_cv_func__expf_use=no
41077 fi
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079 ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084
41085
41086 fi
41087
41088 fi
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41091
41092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41093 for ac_func in _expf
41094 do :
41095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41096 if test "x$ac_cv_func__expf" = x""yes; then :
41097 cat >>confdefs.h <<_ACEOF
41098 #define HAVE__EXPF 1
41099 _ACEOF
41100
41101 fi
41102 done
41103
41104 fi
41105 fi
41106
41107
41108
41109
41110
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41112 $as_echo_n "checking for isnanf declaration... " >&6; }
41113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41115 $as_echo_n "(cached) " >&6
41116 else
41117
41118
41119 ac_ext=cpp
41120 ac_cpp='$CXXCPP $CPPFLAGS'
41121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41124
41125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41126 /* end confdefs.h. */
41127 #include <math.h>
41128 #ifdef HAVE_IEEEFP_H
41129 #include <ieeefp.h>
41130 #endif
41131
41132 int
41133 main ()
41134 {
41135 isnanf(0);
41136 ;
41137 return 0;
41138 }
41139 _ACEOF
41140 if ac_fn_cxx_try_compile "$LINENO"; then :
41141 glibcxx_cv_func_isnanf_use=yes
41142 else
41143 glibcxx_cv_func_isnanf_use=no
41144 fi
41145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41146 ac_ext=c
41147 ac_cpp='$CPP $CPPFLAGS'
41148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41151
41152
41153 fi
41154
41155 fi
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41158
41159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41160 for ac_func in isnanf
41161 do :
41162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41163 if test "x$ac_cv_func_isnanf" = x""yes; then :
41164 cat >>confdefs.h <<_ACEOF
41165 #define HAVE_ISNANF 1
41166 _ACEOF
41167
41168 fi
41169 done
41170
41171 else
41172
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41174 $as_echo_n "checking for _isnanf declaration... " >&6; }
41175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41177 $as_echo_n "(cached) " >&6
41178 else
41179
41180
41181 ac_ext=cpp
41182 ac_cpp='$CXXCPP $CPPFLAGS'
41183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41186
41187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41188 /* end confdefs.h. */
41189 #include <math.h>
41190 #ifdef HAVE_IEEEFP_H
41191 #include <ieeefp.h>
41192 #endif
41193
41194 int
41195 main ()
41196 {
41197 _isnanf(0);
41198 ;
41199 return 0;
41200 }
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203 glibcxx_cv_func__isnanf_use=yes
41204 else
41205 glibcxx_cv_func__isnanf_use=no
41206 fi
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208 ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213
41214
41215 fi
41216
41217 fi
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41220
41221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41222 for ac_func in _isnanf
41223 do :
41224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41225 if test "x$ac_cv_func__isnanf" = x""yes; then :
41226 cat >>confdefs.h <<_ACEOF
41227 #define HAVE__ISNANF 1
41228 _ACEOF
41229
41230 fi
41231 done
41232
41233 fi
41234 fi
41235
41236
41237
41238
41239
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41241 $as_echo_n "checking for isinff declaration... " >&6; }
41242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41244 $as_echo_n "(cached) " >&6
41245 else
41246
41247
41248 ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253
41254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h. */
41256 #include <math.h>
41257 #ifdef HAVE_IEEEFP_H
41258 #include <ieeefp.h>
41259 #endif
41260
41261 int
41262 main ()
41263 {
41264 isinff(0);
41265 ;
41266 return 0;
41267 }
41268 _ACEOF
41269 if ac_fn_cxx_try_compile "$LINENO"; then :
41270 glibcxx_cv_func_isinff_use=yes
41271 else
41272 glibcxx_cv_func_isinff_use=no
41273 fi
41274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41275 ac_ext=c
41276 ac_cpp='$CPP $CPPFLAGS'
41277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41280
41281
41282 fi
41283
41284 fi
41285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41287
41288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41289 for ac_func in isinff
41290 do :
41291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41292 if test "x$ac_cv_func_isinff" = x""yes; then :
41293 cat >>confdefs.h <<_ACEOF
41294 #define HAVE_ISINFF 1
41295 _ACEOF
41296
41297 fi
41298 done
41299
41300 else
41301
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41303 $as_echo_n "checking for _isinff declaration... " >&6; }
41304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41308
41309
41310 ac_ext=cpp
41311 ac_cpp='$CXXCPP $CPPFLAGS'
41312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41315
41316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317 /* end confdefs.h. */
41318 #include <math.h>
41319 #ifdef HAVE_IEEEFP_H
41320 #include <ieeefp.h>
41321 #endif
41322
41323 int
41324 main ()
41325 {
41326 _isinff(0);
41327 ;
41328 return 0;
41329 }
41330 _ACEOF
41331 if ac_fn_cxx_try_compile "$LINENO"; then :
41332 glibcxx_cv_func__isinff_use=yes
41333 else
41334 glibcxx_cv_func__isinff_use=no
41335 fi
41336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41337 ac_ext=c
41338 ac_cpp='$CPP $CPPFLAGS'
41339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41342
41343
41344 fi
41345
41346 fi
41347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41349
41350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41351 for ac_func in _isinff
41352 do :
41353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41354 if test "x$ac_cv_func__isinff" = x""yes; then :
41355 cat >>confdefs.h <<_ACEOF
41356 #define HAVE__ISINFF 1
41357 _ACEOF
41358
41359 fi
41360 done
41361
41362 fi
41363 fi
41364
41365
41366
41367
41368
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41370 $as_echo_n "checking for atan2f declaration... " >&6; }
41371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41373 $as_echo_n "(cached) " >&6
41374 else
41375
41376
41377 ac_ext=cpp
41378 ac_cpp='$CXXCPP $CPPFLAGS'
41379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41382
41383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41384 /* end confdefs.h. */
41385 #include <math.h>
41386 int
41387 main ()
41388 {
41389 atan2f(0, 0);
41390 ;
41391 return 0;
41392 }
41393 _ACEOF
41394 if ac_fn_cxx_try_compile "$LINENO"; then :
41395 glibcxx_cv_func_atan2f_use=yes
41396 else
41397 glibcxx_cv_func_atan2f_use=no
41398 fi
41399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41400 ac_ext=c
41401 ac_cpp='$CPP $CPPFLAGS'
41402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41405
41406
41407 fi
41408
41409 fi
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41412
41413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41414 for ac_func in atan2f
41415 do :
41416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41417 if test "x$ac_cv_func_atan2f" = x""yes; then :
41418 cat >>confdefs.h <<_ACEOF
41419 #define HAVE_ATAN2F 1
41420 _ACEOF
41421
41422 fi
41423 done
41424
41425 else
41426
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41428 $as_echo_n "checking for _atan2f declaration... " >&6; }
41429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41431 $as_echo_n "(cached) " >&6
41432 else
41433
41434
41435 ac_ext=cpp
41436 ac_cpp='$CXXCPP $CPPFLAGS'
41437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41440
41441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h. */
41443 #include <math.h>
41444 int
41445 main ()
41446 {
41447 _atan2f(0, 0);
41448 ;
41449 return 0;
41450 }
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__atan2f_use=yes
41454 else
41455 glibcxx_cv_func__atan2f_use=no
41456 fi
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463
41464
41465 fi
41466
41467 fi
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41470
41471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41472 for ac_func in _atan2f
41473 do :
41474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41475 if test "x$ac_cv_func__atan2f" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE__ATAN2F 1
41478 _ACEOF
41479
41480 fi
41481 done
41482
41483 fi
41484 fi
41485
41486
41487
41488
41489
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41491 $as_echo_n "checking for fabsf declaration... " >&6; }
41492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41494 $as_echo_n "(cached) " >&6
41495 else
41496
41497
41498 ac_ext=cpp
41499 ac_cpp='$CXXCPP $CPPFLAGS'
41500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41503
41504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41505 /* end confdefs.h. */
41506 #include <math.h>
41507 #ifdef HAVE_IEEEFP_H
41508 #include <ieeefp.h>
41509 #endif
41510
41511 int
41512 main ()
41513 {
41514 fabsf(0);
41515 ;
41516 return 0;
41517 }
41518 _ACEOF
41519 if ac_fn_cxx_try_compile "$LINENO"; then :
41520 glibcxx_cv_func_fabsf_use=yes
41521 else
41522 glibcxx_cv_func_fabsf_use=no
41523 fi
41524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41525 ac_ext=c
41526 ac_cpp='$CPP $CPPFLAGS'
41527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41530
41531
41532 fi
41533
41534 fi
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41537
41538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41539 for ac_func in fabsf
41540 do :
41541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41542 if test "x$ac_cv_func_fabsf" = x""yes; then :
41543 cat >>confdefs.h <<_ACEOF
41544 #define HAVE_FABSF 1
41545 _ACEOF
41546
41547 fi
41548 done
41549
41550 else
41551
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41553 $as_echo_n "checking for _fabsf declaration... " >&6; }
41554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41556 $as_echo_n "(cached) " >&6
41557 else
41558
41559
41560 ac_ext=cpp
41561 ac_cpp='$CXXCPP $CPPFLAGS'
41562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41565
41566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41567 /* end confdefs.h. */
41568 #include <math.h>
41569 #ifdef HAVE_IEEEFP_H
41570 #include <ieeefp.h>
41571 #endif
41572
41573 int
41574 main ()
41575 {
41576 _fabsf(0);
41577 ;
41578 return 0;
41579 }
41580 _ACEOF
41581 if ac_fn_cxx_try_compile "$LINENO"; then :
41582 glibcxx_cv_func__fabsf_use=yes
41583 else
41584 glibcxx_cv_func__fabsf_use=no
41585 fi
41586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41587 ac_ext=c
41588 ac_cpp='$CPP $CPPFLAGS'
41589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41592
41593
41594 fi
41595
41596 fi
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41599
41600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41601 for ac_func in _fabsf
41602 do :
41603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41604 if test "x$ac_cv_func__fabsf" = x""yes; then :
41605 cat >>confdefs.h <<_ACEOF
41606 #define HAVE__FABSF 1
41607 _ACEOF
41608
41609 fi
41610 done
41611
41612 fi
41613 fi
41614
41615
41616
41617
41618
41619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41620 $as_echo_n "checking for fmodf declaration... " >&6; }
41621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41623 $as_echo_n "(cached) " >&6
41624 else
41625
41626
41627 ac_ext=cpp
41628 ac_cpp='$CXXCPP $CPPFLAGS'
41629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41632
41633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634 /* end confdefs.h. */
41635 #include <math.h>
41636 int
41637 main ()
41638 {
41639 fmodf(0, 0);
41640 ;
41641 return 0;
41642 }
41643 _ACEOF
41644 if ac_fn_cxx_try_compile "$LINENO"; then :
41645 glibcxx_cv_func_fmodf_use=yes
41646 else
41647 glibcxx_cv_func_fmodf_use=no
41648 fi
41649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41650 ac_ext=c
41651 ac_cpp='$CPP $CPPFLAGS'
41652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41655
41656
41657 fi
41658
41659 fi
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41662
41663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41664 for ac_func in fmodf
41665 do :
41666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41667 if test "x$ac_cv_func_fmodf" = x""yes; then :
41668 cat >>confdefs.h <<_ACEOF
41669 #define HAVE_FMODF 1
41670 _ACEOF
41671
41672 fi
41673 done
41674
41675 else
41676
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41678 $as_echo_n "checking for _fmodf declaration... " >&6; }
41679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41681 $as_echo_n "(cached) " >&6
41682 else
41683
41684
41685 ac_ext=cpp
41686 ac_cpp='$CXXCPP $CPPFLAGS'
41687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41690
41691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41692 /* end confdefs.h. */
41693 #include <math.h>
41694 int
41695 main ()
41696 {
41697 _fmodf(0, 0);
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__fmodf_use=yes
41704 else
41705 glibcxx_cv_func__fmodf_use=no
41706 fi
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713
41714
41715 fi
41716
41717 fi
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41720
41721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41722 for ac_func in _fmodf
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41725 if test "x$ac_cv_func__fmodf" = x""yes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__FMODF 1
41728 _ACEOF
41729
41730 fi
41731 done
41732
41733 fi
41734 fi
41735
41736
41737
41738
41739
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41741 $as_echo_n "checking for frexpf declaration... " >&6; }
41742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41746
41747
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 int
41758 main ()
41759 {
41760 frexpf(0, 0);
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 if ac_fn_cxx_try_compile "$LINENO"; then :
41766 glibcxx_cv_func_frexpf_use=yes
41767 else
41768 glibcxx_cv_func_frexpf_use=no
41769 fi
41770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41771 ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41776
41777
41778 fi
41779
41780 fi
41781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41783
41784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41785 for ac_func in frexpf
41786 do :
41787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41788 if test "x$ac_cv_func_frexpf" = x""yes; then :
41789 cat >>confdefs.h <<_ACEOF
41790 #define HAVE_FREXPF 1
41791 _ACEOF
41792
41793 fi
41794 done
41795
41796 else
41797
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41799 $as_echo_n "checking for _frexpf declaration... " >&6; }
41800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41802 $as_echo_n "(cached) " >&6
41803 else
41804
41805
41806 ac_ext=cpp
41807 ac_cpp='$CXXCPP $CPPFLAGS'
41808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41811
41812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h. */
41814 #include <math.h>
41815 int
41816 main ()
41817 {
41818 _frexpf(0, 0);
41819 ;
41820 return 0;
41821 }
41822 _ACEOF
41823 if ac_fn_cxx_try_compile "$LINENO"; then :
41824 glibcxx_cv_func__frexpf_use=yes
41825 else
41826 glibcxx_cv_func__frexpf_use=no
41827 fi
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829 ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41834
41835
41836 fi
41837
41838 fi
41839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41841
41842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41843 for ac_func in _frexpf
41844 do :
41845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41846 if test "x$ac_cv_func__frexpf" = x""yes; then :
41847 cat >>confdefs.h <<_ACEOF
41848 #define HAVE__FREXPF 1
41849 _ACEOF
41850
41851 fi
41852 done
41853
41854 fi
41855 fi
41856
41857
41858
41859
41860
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41862 $as_echo_n "checking for hypotf declaration... " >&6; }
41863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41865 $as_echo_n "(cached) " >&6
41866 else
41867
41868
41869 ac_ext=cpp
41870 ac_cpp='$CXXCPP $CPPFLAGS'
41871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41874
41875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41876 /* end confdefs.h. */
41877 #include <math.h>
41878 int
41879 main ()
41880 {
41881 hypotf(0, 0);
41882 ;
41883 return 0;
41884 }
41885 _ACEOF
41886 if ac_fn_cxx_try_compile "$LINENO"; then :
41887 glibcxx_cv_func_hypotf_use=yes
41888 else
41889 glibcxx_cv_func_hypotf_use=no
41890 fi
41891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41892 ac_ext=c
41893 ac_cpp='$CPP $CPPFLAGS'
41894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897
41898
41899 fi
41900
41901 fi
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41904
41905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41906 for ac_func in hypotf
41907 do :
41908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41909 if test "x$ac_cv_func_hypotf" = x""yes; then :
41910 cat >>confdefs.h <<_ACEOF
41911 #define HAVE_HYPOTF 1
41912 _ACEOF
41913
41914 fi
41915 done
41916
41917 else
41918
41919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41920 $as_echo_n "checking for _hypotf declaration... " >&6; }
41921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41923 $as_echo_n "(cached) " >&6
41924 else
41925
41926
41927 ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932
41933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h. */
41935 #include <math.h>
41936 int
41937 main ()
41938 {
41939 _hypotf(0, 0);
41940 ;
41941 return 0;
41942 }
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__hypotf_use=yes
41946 else
41947 glibcxx_cv_func__hypotf_use=no
41948 fi
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955
41956
41957 fi
41958
41959 fi
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41962
41963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41964 for ac_func in _hypotf
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41967 if test "x$ac_cv_func__hypotf" = x""yes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__HYPOTF 1
41970 _ACEOF
41971
41972 fi
41973 done
41974
41975 fi
41976 fi
41977
41978
41979
41980
41981
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41983 $as_echo_n "checking for ldexpf declaration... " >&6; }
41984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41988
41989
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
41999 int
42000 main ()
42001 {
42002 ldexpf(0, 0);
42003 ;
42004 return 0;
42005 }
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008 glibcxx_cv_func_ldexpf_use=yes
42009 else
42010 glibcxx_cv_func_ldexpf_use=no
42011 fi
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013 ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018
42019
42020 fi
42021
42022 fi
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42025
42026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42027 for ac_func in ldexpf
42028 do :
42029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42031 cat >>confdefs.h <<_ACEOF
42032 #define HAVE_LDEXPF 1
42033 _ACEOF
42034
42035 fi
42036 done
42037
42038 else
42039
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 int
42058 main ()
42059 {
42060 _ldexpf(0, 0);
42061 ;
42062 return 0;
42063 }
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__ldexpf_use=yes
42067 else
42068 glibcxx_cv_func__ldexpf_use=no
42069 fi
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42076
42077
42078 fi
42079
42080 fi
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42083
42084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42085 for ac_func in _ldexpf
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__LDEXPF 1
42091 _ACEOF
42092
42093 fi
42094 done
42095
42096 fi
42097 fi
42098
42099
42100
42101
42102
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42104 $as_echo_n "checking for logf declaration... " >&6; }
42105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42107 $as_echo_n "(cached) " >&6
42108 else
42109
42110
42111 ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116
42117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h. */
42119 #include <math.h>
42120 #ifdef HAVE_IEEEFP_H
42121 #include <ieeefp.h>
42122 #endif
42123
42124 int
42125 main ()
42126 {
42127 logf(0);
42128 ;
42129 return 0;
42130 }
42131 _ACEOF
42132 if ac_fn_cxx_try_compile "$LINENO"; then :
42133 glibcxx_cv_func_logf_use=yes
42134 else
42135 glibcxx_cv_func_logf_use=no
42136 fi
42137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143
42144
42145 fi
42146
42147 fi
42148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42150
42151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42152 for ac_func in logf
42153 do :
42154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42155 if test "x$ac_cv_func_logf" = x""yes; then :
42156 cat >>confdefs.h <<_ACEOF
42157 #define HAVE_LOGF 1
42158 _ACEOF
42159
42160 fi
42161 done
42162
42163 else
42164
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42166 $as_echo_n "checking for _logf declaration... " >&6; }
42167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42169 $as_echo_n "(cached) " >&6
42170 else
42171
42172
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178
42179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42180 /* end confdefs.h. */
42181 #include <math.h>
42182 #ifdef HAVE_IEEEFP_H
42183 #include <ieeefp.h>
42184 #endif
42185
42186 int
42187 main ()
42188 {
42189 _logf(0);
42190 ;
42191 return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func__logf_use=yes
42196 else
42197 glibcxx_cv_func__logf_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209 fi
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42212
42213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42214 for ac_func in _logf
42215 do :
42216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42217 if test "x$ac_cv_func__logf" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE__LOGF 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225 fi
42226 fi
42227
42228
42229
42230
42231
42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42233 $as_echo_n "checking for log10f declaration... " >&6; }
42234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42236 $as_echo_n "(cached) " >&6
42237 else
42238
42239
42240 ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245
42246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h. */
42248 #include <math.h>
42249 #ifdef HAVE_IEEEFP_H
42250 #include <ieeefp.h>
42251 #endif
42252
42253 int
42254 main ()
42255 {
42256 log10f(0);
42257 ;
42258 return 0;
42259 }
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_log10f_use=yes
42263 else
42264 glibcxx_cv_func_log10f_use=no
42265 fi
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42272
42273
42274 fi
42275
42276 fi
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42279
42280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42281 for ac_func in log10f
42282 do :
42283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42284 if test "x$ac_cv_func_log10f" = x""yes; then :
42285 cat >>confdefs.h <<_ACEOF
42286 #define HAVE_LOG10F 1
42287 _ACEOF
42288
42289 fi
42290 done
42291
42292 else
42293
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42295 $as_echo_n "checking for _log10f declaration... " >&6; }
42296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42300
42301
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42311 #ifdef HAVE_IEEEFP_H
42312 #include <ieeefp.h>
42313 #endif
42314
42315 int
42316 main ()
42317 {
42318 _log10f(0);
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func__log10f_use=yes
42325 else
42326 glibcxx_cv_func__log10f_use=no
42327 fi
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42334
42335
42336 fi
42337
42338 fi
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42341
42342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42343 for ac_func in _log10f
42344 do :
42345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42346 if test "x$ac_cv_func__log10f" = x""yes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE__LOG10F 1
42349 _ACEOF
42350
42351 fi
42352 done
42353
42354 fi
42355 fi
42356
42357
42358
42359
42360
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42362 $as_echo_n "checking for modff declaration... " >&6; }
42363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42365 $as_echo_n "(cached) " >&6
42366 else
42367
42368
42369 ac_ext=cpp
42370 ac_cpp='$CXXCPP $CPPFLAGS'
42371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374
42375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42376 /* end confdefs.h. */
42377 #include <math.h>
42378 int
42379 main ()
42380 {
42381 modff(0, 0);
42382 ;
42383 return 0;
42384 }
42385 _ACEOF
42386 if ac_fn_cxx_try_compile "$LINENO"; then :
42387 glibcxx_cv_func_modff_use=yes
42388 else
42389 glibcxx_cv_func_modff_use=no
42390 fi
42391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392 ac_ext=c
42393 ac_cpp='$CPP $CPPFLAGS'
42394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42397
42398
42399 fi
42400
42401 fi
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42404
42405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42406 for ac_func in modff
42407 do :
42408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42409 if test "x$ac_cv_func_modff" = x""yes; then :
42410 cat >>confdefs.h <<_ACEOF
42411 #define HAVE_MODFF 1
42412 _ACEOF
42413
42414 fi
42415 done
42416
42417 else
42418
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42420 $as_echo_n "checking for _modff declaration... " >&6; }
42421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42423 $as_echo_n "(cached) " >&6
42424 else
42425
42426
42427 ac_ext=cpp
42428 ac_cpp='$CXXCPP $CPPFLAGS'
42429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42432
42433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42434 /* end confdefs.h. */
42435 #include <math.h>
42436 int
42437 main ()
42438 {
42439 _modff(0, 0);
42440 ;
42441 return 0;
42442 }
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func__modff_use=yes
42446 else
42447 glibcxx_cv_func__modff_use=no
42448 fi
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42455
42456
42457 fi
42458
42459 fi
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42462
42463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42464 for ac_func in _modff
42465 do :
42466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42467 if test "x$ac_cv_func__modff" = x""yes; then :
42468 cat >>confdefs.h <<_ACEOF
42469 #define HAVE__MODFF 1
42470 _ACEOF
42471
42472 fi
42473 done
42474
42475 fi
42476 fi
42477
42478
42479
42480
42481
42482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42483 $as_echo_n "checking for modf declaration... " >&6; }
42484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42488
42489
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42499 int
42500 main ()
42501 {
42502 modf(0, 0);
42503 ;
42504 return 0;
42505 }
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_modf_use=yes
42509 else
42510 glibcxx_cv_func_modf_use=no
42511 fi
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42518
42519
42520 fi
42521
42522 fi
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42525
42526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42527 for ac_func in modf
42528 do :
42529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42530 if test "x$ac_cv_func_modf" = x""yes; then :
42531 cat >>confdefs.h <<_ACEOF
42532 #define HAVE_MODF 1
42533 _ACEOF
42534
42535 fi
42536 done
42537
42538 else
42539
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42541 $as_echo_n "checking for _modf declaration... " >&6; }
42542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42544 $as_echo_n "(cached) " >&6
42545 else
42546
42547
42548 ac_ext=cpp
42549 ac_cpp='$CXXCPP $CPPFLAGS'
42550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553
42554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42555 /* end confdefs.h. */
42556 #include <math.h>
42557 int
42558 main ()
42559 {
42560 _modf(0, 0);
42561 ;
42562 return 0;
42563 }
42564 _ACEOF
42565 if ac_fn_cxx_try_compile "$LINENO"; then :
42566 glibcxx_cv_func__modf_use=yes
42567 else
42568 glibcxx_cv_func__modf_use=no
42569 fi
42570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42571 ac_ext=c
42572 ac_cpp='$CPP $CPPFLAGS'
42573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42576
42577
42578 fi
42579
42580 fi
42581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42583
42584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42585 for ac_func in _modf
42586 do :
42587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42588 if test "x$ac_cv_func__modf" = x""yes; then :
42589 cat >>confdefs.h <<_ACEOF
42590 #define HAVE__MODF 1
42591 _ACEOF
42592
42593 fi
42594 done
42595
42596 fi
42597 fi
42598
42599
42600
42601
42602
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42604 $as_echo_n "checking for powf declaration... " >&6; }
42605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42607 $as_echo_n "(cached) " >&6
42608 else
42609
42610
42611 ac_ext=cpp
42612 ac_cpp='$CXXCPP $CPPFLAGS'
42613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42616
42617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42618 /* end confdefs.h. */
42619 #include <math.h>
42620 int
42621 main ()
42622 {
42623 powf(0, 0);
42624 ;
42625 return 0;
42626 }
42627 _ACEOF
42628 if ac_fn_cxx_try_compile "$LINENO"; then :
42629 glibcxx_cv_func_powf_use=yes
42630 else
42631 glibcxx_cv_func_powf_use=no
42632 fi
42633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42634 ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639
42640
42641 fi
42642
42643 fi
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42646
42647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42648 for ac_func in powf
42649 do :
42650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42651 if test "x$ac_cv_func_powf" = x""yes; then :
42652 cat >>confdefs.h <<_ACEOF
42653 #define HAVE_POWF 1
42654 _ACEOF
42655
42656 fi
42657 done
42658
42659 else
42660
42661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42662 $as_echo_n "checking for _powf declaration... " >&6; }
42663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42665 $as_echo_n "(cached) " >&6
42666 else
42667
42668
42669 ac_ext=cpp
42670 ac_cpp='$CXXCPP $CPPFLAGS'
42671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42674
42675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42676 /* end confdefs.h. */
42677 #include <math.h>
42678 int
42679 main ()
42680 {
42681 _powf(0, 0);
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 if ac_fn_cxx_try_compile "$LINENO"; then :
42687 glibcxx_cv_func__powf_use=yes
42688 else
42689 glibcxx_cv_func__powf_use=no
42690 fi
42691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42692 ac_ext=c
42693 ac_cpp='$CPP $CPPFLAGS'
42694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42697
42698
42699 fi
42700
42701 fi
42702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42704
42705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42706 for ac_func in _powf
42707 do :
42708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42709 if test "x$ac_cv_func__powf" = x""yes; then :
42710 cat >>confdefs.h <<_ACEOF
42711 #define HAVE__POWF 1
42712 _ACEOF
42713
42714 fi
42715 done
42716
42717 fi
42718 fi
42719
42720
42721
42722
42723
42724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42725 $as_echo_n "checking for sqrtf declaration... " >&6; }
42726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42728 $as_echo_n "(cached) " >&6
42729 else
42730
42731
42732 ac_ext=cpp
42733 ac_cpp='$CXXCPP $CPPFLAGS'
42734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42737
42738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42739 /* end confdefs.h. */
42740 #include <math.h>
42741 #ifdef HAVE_IEEEFP_H
42742 #include <ieeefp.h>
42743 #endif
42744
42745 int
42746 main ()
42747 {
42748 sqrtf(0);
42749 ;
42750 return 0;
42751 }
42752 _ACEOF
42753 if ac_fn_cxx_try_compile "$LINENO"; then :
42754 glibcxx_cv_func_sqrtf_use=yes
42755 else
42756 glibcxx_cv_func_sqrtf_use=no
42757 fi
42758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42759 ac_ext=c
42760 ac_cpp='$CPP $CPPFLAGS'
42761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764
42765
42766 fi
42767
42768 fi
42769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42771
42772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42773 for ac_func in sqrtf
42774 do :
42775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42777 cat >>confdefs.h <<_ACEOF
42778 #define HAVE_SQRTF 1
42779 _ACEOF
42780
42781 fi
42782 done
42783
42784 else
42785
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42790 $as_echo_n "(cached) " >&6
42791 else
42792
42793
42794 ac_ext=cpp
42795 ac_cpp='$CXXCPP $CPPFLAGS'
42796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42799
42800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42801 /* end confdefs.h. */
42802 #include <math.h>
42803 #ifdef HAVE_IEEEFP_H
42804 #include <ieeefp.h>
42805 #endif
42806
42807 int
42808 main ()
42809 {
42810 _sqrtf(0);
42811 ;
42812 return 0;
42813 }
42814 _ACEOF
42815 if ac_fn_cxx_try_compile "$LINENO"; then :
42816 glibcxx_cv_func__sqrtf_use=yes
42817 else
42818 glibcxx_cv_func__sqrtf_use=no
42819 fi
42820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42821 ac_ext=c
42822 ac_cpp='$CPP $CPPFLAGS'
42823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42826
42827
42828 fi
42829
42830 fi
42831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42833
42834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42835 for ac_func in _sqrtf
42836 do :
42837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42839 cat >>confdefs.h <<_ACEOF
42840 #define HAVE__SQRTF 1
42841 _ACEOF
42842
42843 fi
42844 done
42845
42846 fi
42847 fi
42848
42849
42850
42851
42852
42853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42854 $as_echo_n "checking for sincosf declaration... " >&6; }
42855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42857 $as_echo_n "(cached) " >&6
42858 else
42859
42860
42861 ac_ext=cpp
42862 ac_cpp='$CXXCPP $CPPFLAGS'
42863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42866
42867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42868 /* end confdefs.h. */
42869 #include <math.h>
42870 int
42871 main ()
42872 {
42873 sincosf(0, 0, 0);
42874 ;
42875 return 0;
42876 }
42877 _ACEOF
42878 if ac_fn_cxx_try_compile "$LINENO"; then :
42879 glibcxx_cv_func_sincosf_use=yes
42880 else
42881 glibcxx_cv_func_sincosf_use=no
42882 fi
42883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42884 ac_ext=c
42885 ac_cpp='$CPP $CPPFLAGS'
42886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42889
42890
42891 fi
42892
42893 fi
42894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42896
42897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42898 for ac_func in sincosf
42899 do :
42900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42901 if test "x$ac_cv_func_sincosf" = x""yes; then :
42902 cat >>confdefs.h <<_ACEOF
42903 #define HAVE_SINCOSF 1
42904 _ACEOF
42905
42906 fi
42907 done
42908
42909 else
42910
42911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42912 $as_echo_n "checking for _sincosf declaration... " >&6; }
42913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42915 $as_echo_n "(cached) " >&6
42916 else
42917
42918
42919 ac_ext=cpp
42920 ac_cpp='$CXXCPP $CPPFLAGS'
42921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42924
42925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42926 /* end confdefs.h. */
42927 #include <math.h>
42928 int
42929 main ()
42930 {
42931 _sincosf(0, 0, 0);
42932 ;
42933 return 0;
42934 }
42935 _ACEOF
42936 if ac_fn_cxx_try_compile "$LINENO"; then :
42937 glibcxx_cv_func__sincosf_use=yes
42938 else
42939 glibcxx_cv_func__sincosf_use=no
42940 fi
42941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42942 ac_ext=c
42943 ac_cpp='$CPP $CPPFLAGS'
42944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42947
42948
42949 fi
42950
42951 fi
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42954
42955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42956 for ac_func in _sincosf
42957 do :
42958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42959 if test "x$ac_cv_func__sincosf" = x""yes; then :
42960 cat >>confdefs.h <<_ACEOF
42961 #define HAVE__SINCOSF 1
42962 _ACEOF
42963
42964 fi
42965 done
42966
42967 fi
42968 fi
42969
42970
42971
42972
42973
42974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42975 $as_echo_n "checking for finitef declaration... " >&6; }
42976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42978 $as_echo_n "(cached) " >&6
42979 else
42980
42981
42982 ac_ext=cpp
42983 ac_cpp='$CXXCPP $CPPFLAGS'
42984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987
42988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42989 /* end confdefs.h. */
42990 #include <math.h>
42991 #ifdef HAVE_IEEEFP_H
42992 #include <ieeefp.h>
42993 #endif
42994
42995 int
42996 main ()
42997 {
42998 finitef(0);
42999 ;
43000 return 0;
43001 }
43002 _ACEOF
43003 if ac_fn_cxx_try_compile "$LINENO"; then :
43004 glibcxx_cv_func_finitef_use=yes
43005 else
43006 glibcxx_cv_func_finitef_use=no
43007 fi
43008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43009 ac_ext=c
43010 ac_cpp='$CPP $CPPFLAGS'
43011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43014
43015
43016 fi
43017
43018 fi
43019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43021
43022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43023 for ac_func in finitef
43024 do :
43025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43026 if test "x$ac_cv_func_finitef" = x""yes; then :
43027 cat >>confdefs.h <<_ACEOF
43028 #define HAVE_FINITEF 1
43029 _ACEOF
43030
43031 fi
43032 done
43033
43034 else
43035
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43037 $as_echo_n "checking for _finitef declaration... " >&6; }
43038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43040 $as_echo_n "(cached) " >&6
43041 else
43042
43043
43044 ac_ext=cpp
43045 ac_cpp='$CXXCPP $CPPFLAGS'
43046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049
43050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43051 /* end confdefs.h. */
43052 #include <math.h>
43053 #ifdef HAVE_IEEEFP_H
43054 #include <ieeefp.h>
43055 #endif
43056
43057 int
43058 main ()
43059 {
43060 _finitef(0);
43061 ;
43062 return 0;
43063 }
43064 _ACEOF
43065 if ac_fn_cxx_try_compile "$LINENO"; then :
43066 glibcxx_cv_func__finitef_use=yes
43067 else
43068 glibcxx_cv_func__finitef_use=no
43069 fi
43070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43071 ac_ext=c
43072 ac_cpp='$CPP $CPPFLAGS'
43073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076
43077
43078 fi
43079
43080 fi
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43083
43084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43085 for ac_func in _finitef
43086 do :
43087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43088 if test "x$ac_cv_func__finitef" = x""yes; then :
43089 cat >>confdefs.h <<_ACEOF
43090 #define HAVE__FINITEF 1
43091 _ACEOF
43092
43093 fi
43094 done
43095
43096 fi
43097 fi
43098
43099
43100
43101
43102
43103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43104 $as_echo_n "checking for long double trig functions... " >&6; }
43105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43106 $as_echo_n "(cached) " >&6
43107 else
43108
43109
43110 ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43115
43116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h. */
43118 #include <math.h>
43119 int
43120 main ()
43121 {
43122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43123 ;
43124 return 0;
43125 }
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128 glibcxx_cv_func_long_double_trig_use=yes
43129 else
43130 glibcxx_cv_func_long_double_trig_use=no
43131 fi
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138
43139 fi
43140
43141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43145 do :
43146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43148 eval as_val=\$$as_ac_var
43149 if test "x$as_val" = x""yes; then :
43150 cat >>confdefs.h <<_ACEOF
43151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43152 _ACEOF
43153
43154 fi
43155 done
43156
43157 else
43158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43159 $as_echo_n "checking for _long double trig functions... " >&6; }
43160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43161 $as_echo_n "(cached) " >&6
43162 else
43163
43164
43165 ac_ext=cpp
43166 ac_cpp='$CXXCPP $CPPFLAGS'
43167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170
43171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43172 /* end confdefs.h. */
43173 #include <math.h>
43174 int
43175 main ()
43176 {
43177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43178 ;
43179 return 0;
43180 }
43181 _ACEOF
43182 if ac_fn_cxx_try_compile "$LINENO"; then :
43183 glibcxx_cv_func__long_double_trig_use=yes
43184 else
43185 glibcxx_cv_func__long_double_trig_use=no
43186 fi
43187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43188 ac_ext=c
43189 ac_cpp='$CPP $CPPFLAGS'
43190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43193
43194 fi
43195
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43200 do :
43201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43203 eval as_val=\$$as_ac_var
43204 if test "x$as_val" = x""yes; then :
43205 cat >>confdefs.h <<_ACEOF
43206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43207 _ACEOF
43208
43209 fi
43210 done
43211
43212 fi
43213 fi
43214
43215
43216
43217
43218
43219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43220 $as_echo_n "checking for long double round functions... " >&6; }
43221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238 ceill (0); floorl (0);
43239 ;
43240 return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func_long_double_round_use=yes
43245 else
43246 glibcxx_cv_func_long_double_round_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 fi
43256
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43260 for ac_func in ceill floorl
43261 do :
43262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43264 eval as_val=\$$as_ac_var
43265 if test "x$as_val" = x""yes; then :
43266 cat >>confdefs.h <<_ACEOF
43267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43268 _ACEOF
43269
43270 fi
43271 done
43272
43273 else
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43275 $as_echo_n "checking for _long double round functions... " >&6; }
43276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43279
43280
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43286
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43290 int
43291 main ()
43292 {
43293 _ceill (0); _floorl (0);
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func__long_double_round_use=yes
43300 else
43301 glibcxx_cv_func__long_double_round_use=no
43302 fi
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43309
43310 fi
43311
43312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43315 for ac_func in _ceill _floorl
43316 do :
43317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43319 eval as_val=\$$as_ac_var
43320 if test "x$as_val" = x""yes; then :
43321 cat >>confdefs.h <<_ACEOF
43322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43323 _ACEOF
43324
43325 fi
43326 done
43327
43328 fi
43329 fi
43330
43331
43332
43333
43334
43335
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43337 $as_echo_n "checking for isnanl declaration... " >&6; }
43338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43340 $as_echo_n "(cached) " >&6
43341 else
43342
43343
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349
43350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43351 /* end confdefs.h. */
43352 #include <math.h>
43353 #ifdef HAVE_IEEEFP_H
43354 #include <ieeefp.h>
43355 #endif
43356
43357 int
43358 main ()
43359 {
43360 isnanl(0);
43361 ;
43362 return 0;
43363 }
43364 _ACEOF
43365 if ac_fn_cxx_try_compile "$LINENO"; then :
43366 glibcxx_cv_func_isnanl_use=yes
43367 else
43368 glibcxx_cv_func_isnanl_use=no
43369 fi
43370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43371 ac_ext=c
43372 ac_cpp='$CPP $CPPFLAGS'
43373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43376
43377
43378 fi
43379
43380 fi
43381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43383
43384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43385 for ac_func in isnanl
43386 do :
43387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43388 if test "x$ac_cv_func_isnanl" = x""yes; then :
43389 cat >>confdefs.h <<_ACEOF
43390 #define HAVE_ISNANL 1
43391 _ACEOF
43392
43393 fi
43394 done
43395
43396 else
43397
43398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43399 $as_echo_n "checking for _isnanl declaration... " >&6; }
43400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43402 $as_echo_n "(cached) " >&6
43403 else
43404
43405
43406 ac_ext=cpp
43407 ac_cpp='$CXXCPP $CPPFLAGS'
43408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43411
43412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43413 /* end confdefs.h. */
43414 #include <math.h>
43415 #ifdef HAVE_IEEEFP_H
43416 #include <ieeefp.h>
43417 #endif
43418
43419 int
43420 main ()
43421 {
43422 _isnanl(0);
43423 ;
43424 return 0;
43425 }
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func__isnanl_use=yes
43429 else
43430 glibcxx_cv_func__isnanl_use=no
43431 fi
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438
43439
43440 fi
43441
43442 fi
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43445
43446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43447 for ac_func in _isnanl
43448 do :
43449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43450 if test "x$ac_cv_func__isnanl" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE__ISNANL 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458 fi
43459 fi
43460
43461
43462
43463
43464
43465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43466 $as_echo_n "checking for isinfl declaration... " >&6; }
43467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43469 $as_echo_n "(cached) " >&6
43470 else
43471
43472
43473 ac_ext=cpp
43474 ac_cpp='$CXXCPP $CPPFLAGS'
43475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43478
43479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43480 /* end confdefs.h. */
43481 #include <math.h>
43482 #ifdef HAVE_IEEEFP_H
43483 #include <ieeefp.h>
43484 #endif
43485
43486 int
43487 main ()
43488 {
43489 isinfl(0);
43490 ;
43491 return 0;
43492 }
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func_isinfl_use=yes
43496 else
43497 glibcxx_cv_func_isinfl_use=no
43498 fi
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43505
43506
43507 fi
43508
43509 fi
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43512
43513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43514 for ac_func in isinfl
43515 do :
43516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43517 if test "x$ac_cv_func_isinfl" = x""yes; then :
43518 cat >>confdefs.h <<_ACEOF
43519 #define HAVE_ISINFL 1
43520 _ACEOF
43521
43522 fi
43523 done
43524
43525 else
43526
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43528 $as_echo_n "checking for _isinfl declaration... " >&6; }
43529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43533
43534
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43540
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43544 #ifdef HAVE_IEEEFP_H
43545 #include <ieeefp.h>
43546 #endif
43547
43548 int
43549 main ()
43550 {
43551 _isinfl(0);
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557 glibcxx_cv_func__isinfl_use=yes
43558 else
43559 glibcxx_cv_func__isinfl_use=no
43560 fi
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567
43568
43569 fi
43570
43571 fi
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43574
43575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43576 for ac_func in _isinfl
43577 do :
43578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43579 if test "x$ac_cv_func__isinfl" = x""yes; then :
43580 cat >>confdefs.h <<_ACEOF
43581 #define HAVE__ISINFL 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587 fi
43588 fi
43589
43590
43591
43592
43593
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43595 $as_echo_n "checking for atan2l declaration... " >&6; }
43596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43598 $as_echo_n "(cached) " >&6
43599 else
43600
43601
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607
43608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h. */
43610 #include <math.h>
43611 int
43612 main ()
43613 {
43614 atan2l(0, 0);
43615 ;
43616 return 0;
43617 }
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620 glibcxx_cv_func_atan2l_use=yes
43621 else
43622 glibcxx_cv_func_atan2l_use=no
43623 fi
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625 ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43630
43631
43632 fi
43633
43634 fi
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43637
43638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43639 for ac_func in atan2l
43640 do :
43641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43642 if test "x$ac_cv_func_atan2l" = x""yes; then :
43643 cat >>confdefs.h <<_ACEOF
43644 #define HAVE_ATAN2L 1
43645 _ACEOF
43646
43647 fi
43648 done
43649
43650 else
43651
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43653 $as_echo_n "checking for _atan2l declaration... " >&6; }
43654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43656 $as_echo_n "(cached) " >&6
43657 else
43658
43659
43660 ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665
43666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h. */
43668 #include <math.h>
43669 int
43670 main ()
43671 {
43672 _atan2l(0, 0);
43673 ;
43674 return 0;
43675 }
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func__atan2l_use=yes
43679 else
43680 glibcxx_cv_func__atan2l_use=no
43681 fi
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688
43689
43690 fi
43691
43692 fi
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43695
43696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43697 for ac_func in _atan2l
43698 do :
43699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43700 if test "x$ac_cv_func__atan2l" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE__ATAN2L 1
43703 _ACEOF
43704
43705 fi
43706 done
43707
43708 fi
43709 fi
43710
43711
43712
43713
43714
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43716 $as_echo_n "checking for expl declaration... " >&6; }
43717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43718 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43719 $as_echo_n "(cached) " >&6
43720 else
43721
43722
43723 ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43728
43729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h. */
43731 #include <math.h>
43732 #ifdef HAVE_IEEEFP_H
43733 #include <ieeefp.h>
43734 #endif
43735
43736 int
43737 main ()
43738 {
43739 expl(0);
43740 ;
43741 return 0;
43742 }
43743 _ACEOF
43744 if ac_fn_cxx_try_compile "$LINENO"; then :
43745 glibcxx_cv_func_expl_use=yes
43746 else
43747 glibcxx_cv_func_expl_use=no
43748 fi
43749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43750 ac_ext=c
43751 ac_cpp='$CPP $CPPFLAGS'
43752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43755
43756
43757 fi
43758
43759 fi
43760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43762
43763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43764 for ac_func in expl
43765 do :
43766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43767 if test "x$ac_cv_func_expl" = x""yes; then :
43768 cat >>confdefs.h <<_ACEOF
43769 #define HAVE_EXPL 1
43770 _ACEOF
43771
43772 fi
43773 done
43774
43775 else
43776
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43778 $as_echo_n "checking for _expl declaration... " >&6; }
43779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43783
43784
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43790
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43794 #ifdef HAVE_IEEEFP_H
43795 #include <ieeefp.h>
43796 #endif
43797
43798 int
43799 main ()
43800 {
43801 _expl(0);
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func__expl_use=yes
43808 else
43809 glibcxx_cv_func__expl_use=no
43810 fi
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43817
43818
43819 fi
43820
43821 fi
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43824
43825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43826 for ac_func in _expl
43827 do :
43828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43829 if test "x$ac_cv_func__expl" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE__EXPL 1
43832 _ACEOF
43833
43834 fi
43835 done
43836
43837 fi
43838 fi
43839
43840
43841
43842
43843
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43845 $as_echo_n "checking for fabsl declaration... " >&6; }
43846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43850
43851
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <math.h>
43861 #ifdef HAVE_IEEEFP_H
43862 #include <ieeefp.h>
43863 #endif
43864
43865 int
43866 main ()
43867 {
43868 fabsl(0);
43869 ;
43870 return 0;
43871 }
43872 _ACEOF
43873 if ac_fn_cxx_try_compile "$LINENO"; then :
43874 glibcxx_cv_func_fabsl_use=yes
43875 else
43876 glibcxx_cv_func_fabsl_use=no
43877 fi
43878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43879 ac_ext=c
43880 ac_cpp='$CPP $CPPFLAGS'
43881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43884
43885
43886 fi
43887
43888 fi
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43891
43892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43893 for ac_func in fabsl
43894 do :
43895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43896 if test "x$ac_cv_func_fabsl" = x""yes; then :
43897 cat >>confdefs.h <<_ACEOF
43898 #define HAVE_FABSL 1
43899 _ACEOF
43900
43901 fi
43902 done
43903
43904 else
43905
43906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43907 $as_echo_n "checking for _fabsl declaration... " >&6; }
43908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43910 $as_echo_n "(cached) " >&6
43911 else
43912
43913
43914 ac_ext=cpp
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43919
43920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43921 /* end confdefs.h. */
43922 #include <math.h>
43923 #ifdef HAVE_IEEEFP_H
43924 #include <ieeefp.h>
43925 #endif
43926
43927 int
43928 main ()
43929 {
43930 _fabsl(0);
43931 ;
43932 return 0;
43933 }
43934 _ACEOF
43935 if ac_fn_cxx_try_compile "$LINENO"; then :
43936 glibcxx_cv_func__fabsl_use=yes
43937 else
43938 glibcxx_cv_func__fabsl_use=no
43939 fi
43940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43941 ac_ext=c
43942 ac_cpp='$CPP $CPPFLAGS'
43943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43946
43947
43948 fi
43949
43950 fi
43951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43953
43954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43955 for ac_func in _fabsl
43956 do :
43957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43958 if test "x$ac_cv_func__fabsl" = x""yes; then :
43959 cat >>confdefs.h <<_ACEOF
43960 #define HAVE__FABSL 1
43961 _ACEOF
43962
43963 fi
43964 done
43965
43966 fi
43967 fi
43968
43969
43970
43971
43972
43973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43974 $as_echo_n "checking for fmodl declaration... " >&6; }
43975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43977 $as_echo_n "(cached) " >&6
43978 else
43979
43980
43981 ac_ext=cpp
43982 ac_cpp='$CXXCPP $CPPFLAGS'
43983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43986
43987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43988 /* end confdefs.h. */
43989 #include <math.h>
43990 int
43991 main ()
43992 {
43993 fmodl(0, 0);
43994 ;
43995 return 0;
43996 }
43997 _ACEOF
43998 if ac_fn_cxx_try_compile "$LINENO"; then :
43999 glibcxx_cv_func_fmodl_use=yes
44000 else
44001 glibcxx_cv_func_fmodl_use=no
44002 fi
44003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 ac_ext=c
44005 ac_cpp='$CPP $CPPFLAGS'
44006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44009
44010
44011 fi
44012
44013 fi
44014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44016
44017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44018 for ac_func in fmodl
44019 do :
44020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44021 if test "x$ac_cv_func_fmodl" = x""yes; then :
44022 cat >>confdefs.h <<_ACEOF
44023 #define HAVE_FMODL 1
44024 _ACEOF
44025
44026 fi
44027 done
44028
44029 else
44030
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44032 $as_echo_n "checking for _fmodl declaration... " >&6; }
44033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44035 $as_echo_n "(cached) " >&6
44036 else
44037
44038
44039 ac_ext=cpp
44040 ac_cpp='$CXXCPP $CPPFLAGS'
44041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44044
44045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44046 /* end confdefs.h. */
44047 #include <math.h>
44048 int
44049 main ()
44050 {
44051 _fmodl(0, 0);
44052 ;
44053 return 0;
44054 }
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057 glibcxx_cv_func__fmodl_use=yes
44058 else
44059 glibcxx_cv_func__fmodl_use=no
44060 fi
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44067
44068
44069 fi
44070
44071 fi
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44074
44075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44076 for ac_func in _fmodl
44077 do :
44078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44079 if test "x$ac_cv_func__fmodl" = x""yes; then :
44080 cat >>confdefs.h <<_ACEOF
44081 #define HAVE__FMODL 1
44082 _ACEOF
44083
44084 fi
44085 done
44086
44087 fi
44088 fi
44089
44090
44091
44092
44093
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44095 $as_echo_n "checking for frexpl declaration... " >&6; }
44096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44098 $as_echo_n "(cached) " >&6
44099 else
44100
44101
44102 ac_ext=cpp
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107
44108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h. */
44110 #include <math.h>
44111 int
44112 main ()
44113 {
44114 frexpl(0, 0);
44115 ;
44116 return 0;
44117 }
44118 _ACEOF
44119 if ac_fn_cxx_try_compile "$LINENO"; then :
44120 glibcxx_cv_func_frexpl_use=yes
44121 else
44122 glibcxx_cv_func_frexpl_use=no
44123 fi
44124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44125 ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44130
44131
44132 fi
44133
44134 fi
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44137
44138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44139 for ac_func in frexpl
44140 do :
44141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44142 if test "x$ac_cv_func_frexpl" = x""yes; then :
44143 cat >>confdefs.h <<_ACEOF
44144 #define HAVE_FREXPL 1
44145 _ACEOF
44146
44147 fi
44148 done
44149
44150 else
44151
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44153 $as_echo_n "checking for _frexpl declaration... " >&6; }
44154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44156 $as_echo_n "(cached) " >&6
44157 else
44158
44159
44160 ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44165
44166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h. */
44168 #include <math.h>
44169 int
44170 main ()
44171 {
44172 _frexpl(0, 0);
44173 ;
44174 return 0;
44175 }
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178 glibcxx_cv_func__frexpl_use=yes
44179 else
44180 glibcxx_cv_func__frexpl_use=no
44181 fi
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188
44189
44190 fi
44191
44192 fi
44193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44195
44196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44197 for ac_func in _frexpl
44198 do :
44199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44200 if test "x$ac_cv_func__frexpl" = x""yes; then :
44201 cat >>confdefs.h <<_ACEOF
44202 #define HAVE__FREXPL 1
44203 _ACEOF
44204
44205 fi
44206 done
44207
44208 fi
44209 fi
44210
44211
44212
44213
44214
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44216 $as_echo_n "checking for hypotl declaration... " >&6; }
44217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44219 $as_echo_n "(cached) " >&6
44220 else
44221
44222
44223 ac_ext=cpp
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44228
44229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44230 /* end confdefs.h. */
44231 #include <math.h>
44232 int
44233 main ()
44234 {
44235 hypotl(0, 0);
44236 ;
44237 return 0;
44238 }
44239 _ACEOF
44240 if ac_fn_cxx_try_compile "$LINENO"; then :
44241 glibcxx_cv_func_hypotl_use=yes
44242 else
44243 glibcxx_cv_func_hypotl_use=no
44244 fi
44245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44246 ac_ext=c
44247 ac_cpp='$CPP $CPPFLAGS'
44248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44251
44252
44253 fi
44254
44255 fi
44256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44258
44259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44260 for ac_func in hypotl
44261 do :
44262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44263 if test "x$ac_cv_func_hypotl" = x""yes; then :
44264 cat >>confdefs.h <<_ACEOF
44265 #define HAVE_HYPOTL 1
44266 _ACEOF
44267
44268 fi
44269 done
44270
44271 else
44272
44273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44274 $as_echo_n "checking for _hypotl declaration... " >&6; }
44275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44277 $as_echo_n "(cached) " >&6
44278 else
44279
44280
44281 ac_ext=cpp
44282 ac_cpp='$CXXCPP $CPPFLAGS'
44283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44286
44287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44288 /* end confdefs.h. */
44289 #include <math.h>
44290 int
44291 main ()
44292 {
44293 _hypotl(0, 0);
44294 ;
44295 return 0;
44296 }
44297 _ACEOF
44298 if ac_fn_cxx_try_compile "$LINENO"; then :
44299 glibcxx_cv_func__hypotl_use=yes
44300 else
44301 glibcxx_cv_func__hypotl_use=no
44302 fi
44303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44304 ac_ext=c
44305 ac_cpp='$CPP $CPPFLAGS'
44306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44309
44310
44311 fi
44312
44313 fi
44314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44316
44317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44318 for ac_func in _hypotl
44319 do :
44320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44321 if test "x$ac_cv_func__hypotl" = x""yes; then :
44322 cat >>confdefs.h <<_ACEOF
44323 #define HAVE__HYPOTL 1
44324 _ACEOF
44325
44326 fi
44327 done
44328
44329 fi
44330 fi
44331
44332
44333
44334
44335
44336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44337 $as_echo_n "checking for ldexpl declaration... " >&6; }
44338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44340 $as_echo_n "(cached) " >&6
44341 else
44342
44343
44344 ac_ext=cpp
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44349
44350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44351 /* end confdefs.h. */
44352 #include <math.h>
44353 int
44354 main ()
44355 {
44356 ldexpl(0, 0);
44357 ;
44358 return 0;
44359 }
44360 _ACEOF
44361 if ac_fn_cxx_try_compile "$LINENO"; then :
44362 glibcxx_cv_func_ldexpl_use=yes
44363 else
44364 glibcxx_cv_func_ldexpl_use=no
44365 fi
44366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44367 ac_ext=c
44368 ac_cpp='$CPP $CPPFLAGS'
44369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372
44373
44374 fi
44375
44376 fi
44377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44379
44380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44381 for ac_func in ldexpl
44382 do :
44383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44385 cat >>confdefs.h <<_ACEOF
44386 #define HAVE_LDEXPL 1
44387 _ACEOF
44388
44389 fi
44390 done
44391
44392 else
44393
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44398 $as_echo_n "(cached) " >&6
44399 else
44400
44401
44402 ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44407
44408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h. */
44410 #include <math.h>
44411 int
44412 main ()
44413 {
44414 _ldexpl(0, 0);
44415 ;
44416 return 0;
44417 }
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func__ldexpl_use=yes
44421 else
44422 glibcxx_cv_func__ldexpl_use=no
44423 fi
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430
44431
44432 fi
44433
44434 fi
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44437
44438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44439 for ac_func in _ldexpl
44440 do :
44441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE__LDEXPL 1
44445 _ACEOF
44446
44447 fi
44448 done
44449
44450 fi
44451 fi
44452
44453
44454
44455
44456
44457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44458 $as_echo_n "checking for logl declaration... " >&6; }
44459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44461 $as_echo_n "(cached) " >&6
44462 else
44463
44464
44465 ac_ext=cpp
44466 ac_cpp='$CXXCPP $CPPFLAGS'
44467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44470
44471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44472 /* end confdefs.h. */
44473 #include <math.h>
44474 #ifdef HAVE_IEEEFP_H
44475 #include <ieeefp.h>
44476 #endif
44477
44478 int
44479 main ()
44480 {
44481 logl(0);
44482 ;
44483 return 0;
44484 }
44485 _ACEOF
44486 if ac_fn_cxx_try_compile "$LINENO"; then :
44487 glibcxx_cv_func_logl_use=yes
44488 else
44489 glibcxx_cv_func_logl_use=no
44490 fi
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492 ac_ext=c
44493 ac_cpp='$CPP $CPPFLAGS'
44494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44497
44498
44499 fi
44500
44501 fi
44502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44504
44505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44506 for ac_func in logl
44507 do :
44508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44509 if test "x$ac_cv_func_logl" = x""yes; then :
44510 cat >>confdefs.h <<_ACEOF
44511 #define HAVE_LOGL 1
44512 _ACEOF
44513
44514 fi
44515 done
44516
44517 else
44518
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44520 $as_echo_n "checking for _logl declaration... " >&6; }
44521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44523 $as_echo_n "(cached) " >&6
44524 else
44525
44526
44527 ac_ext=cpp
44528 ac_cpp='$CXXCPP $CPPFLAGS'
44529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44532
44533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44534 /* end confdefs.h. */
44535 #include <math.h>
44536 #ifdef HAVE_IEEEFP_H
44537 #include <ieeefp.h>
44538 #endif
44539
44540 int
44541 main ()
44542 {
44543 _logl(0);
44544 ;
44545 return 0;
44546 }
44547 _ACEOF
44548 if ac_fn_cxx_try_compile "$LINENO"; then :
44549 glibcxx_cv_func__logl_use=yes
44550 else
44551 glibcxx_cv_func__logl_use=no
44552 fi
44553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44554 ac_ext=c
44555 ac_cpp='$CPP $CPPFLAGS'
44556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44559
44560
44561 fi
44562
44563 fi
44564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44566
44567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44568 for ac_func in _logl
44569 do :
44570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44571 if test "x$ac_cv_func__logl" = x""yes; then :
44572 cat >>confdefs.h <<_ACEOF
44573 #define HAVE__LOGL 1
44574 _ACEOF
44575
44576 fi
44577 done
44578
44579 fi
44580 fi
44581
44582
44583
44584
44585
44586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44587 $as_echo_n "checking for log10l declaration... " >&6; }
44588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44590 $as_echo_n "(cached) " >&6
44591 else
44592
44593
44594 ac_ext=cpp
44595 ac_cpp='$CXXCPP $CPPFLAGS'
44596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599
44600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44601 /* end confdefs.h. */
44602 #include <math.h>
44603 #ifdef HAVE_IEEEFP_H
44604 #include <ieeefp.h>
44605 #endif
44606
44607 int
44608 main ()
44609 {
44610 log10l(0);
44611 ;
44612 return 0;
44613 }
44614 _ACEOF
44615 if ac_fn_cxx_try_compile "$LINENO"; then :
44616 glibcxx_cv_func_log10l_use=yes
44617 else
44618 glibcxx_cv_func_log10l_use=no
44619 fi
44620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44621 ac_ext=c
44622 ac_cpp='$CPP $CPPFLAGS'
44623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44626
44627
44628 fi
44629
44630 fi
44631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44633
44634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44635 for ac_func in log10l
44636 do :
44637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44638 if test "x$ac_cv_func_log10l" = x""yes; then :
44639 cat >>confdefs.h <<_ACEOF
44640 #define HAVE_LOG10L 1
44641 _ACEOF
44642
44643 fi
44644 done
44645
44646 else
44647
44648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44649 $as_echo_n "checking for _log10l declaration... " >&6; }
44650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44652 $as_echo_n "(cached) " >&6
44653 else
44654
44655
44656 ac_ext=cpp
44657 ac_cpp='$CXXCPP $CPPFLAGS'
44658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44661
44662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44663 /* end confdefs.h. */
44664 #include <math.h>
44665 #ifdef HAVE_IEEEFP_H
44666 #include <ieeefp.h>
44667 #endif
44668
44669 int
44670 main ()
44671 {
44672 _log10l(0);
44673 ;
44674 return 0;
44675 }
44676 _ACEOF
44677 if ac_fn_cxx_try_compile "$LINENO"; then :
44678 glibcxx_cv_func__log10l_use=yes
44679 else
44680 glibcxx_cv_func__log10l_use=no
44681 fi
44682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44683 ac_ext=c
44684 ac_cpp='$CPP $CPPFLAGS'
44685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44688
44689
44690 fi
44691
44692 fi
44693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44695
44696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44697 for ac_func in _log10l
44698 do :
44699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44700 if test "x$ac_cv_func__log10l" = x""yes; then :
44701 cat >>confdefs.h <<_ACEOF
44702 #define HAVE__LOG10L 1
44703 _ACEOF
44704
44705 fi
44706 done
44707
44708 fi
44709 fi
44710
44711
44712
44713
44714
44715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44716 $as_echo_n "checking for modfl declaration... " >&6; }
44717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44719 $as_echo_n "(cached) " >&6
44720 else
44721
44722
44723 ac_ext=cpp
44724 ac_cpp='$CXXCPP $CPPFLAGS'
44725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44728
44729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44730 /* end confdefs.h. */
44731 #include <math.h>
44732 int
44733 main ()
44734 {
44735 modfl(0, 0);
44736 ;
44737 return 0;
44738 }
44739 _ACEOF
44740 if ac_fn_cxx_try_compile "$LINENO"; then :
44741 glibcxx_cv_func_modfl_use=yes
44742 else
44743 glibcxx_cv_func_modfl_use=no
44744 fi
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44746 ac_ext=c
44747 ac_cpp='$CPP $CPPFLAGS'
44748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44751
44752
44753 fi
44754
44755 fi
44756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44758
44759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44760 for ac_func in modfl
44761 do :
44762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44763 if test "x$ac_cv_func_modfl" = x""yes; then :
44764 cat >>confdefs.h <<_ACEOF
44765 #define HAVE_MODFL 1
44766 _ACEOF
44767
44768 fi
44769 done
44770
44771 else
44772
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44774 $as_echo_n "checking for _modfl declaration... " >&6; }
44775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44777 $as_echo_n "(cached) " >&6
44778 else
44779
44780
44781 ac_ext=cpp
44782 ac_cpp='$CXXCPP $CPPFLAGS'
44783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44786
44787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44788 /* end confdefs.h. */
44789 #include <math.h>
44790 int
44791 main ()
44792 {
44793 _modfl(0, 0);
44794 ;
44795 return 0;
44796 }
44797 _ACEOF
44798 if ac_fn_cxx_try_compile "$LINENO"; then :
44799 glibcxx_cv_func__modfl_use=yes
44800 else
44801 glibcxx_cv_func__modfl_use=no
44802 fi
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44809
44810
44811 fi
44812
44813 fi
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44816
44817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44818 for ac_func in _modfl
44819 do :
44820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44821 if test "x$ac_cv_func__modfl" = x""yes; then :
44822 cat >>confdefs.h <<_ACEOF
44823 #define HAVE__MODFL 1
44824 _ACEOF
44825
44826 fi
44827 done
44828
44829 fi
44830 fi
44831
44832
44833
44834
44835
44836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44837 $as_echo_n "checking for powl declaration... " >&6; }
44838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44840 $as_echo_n "(cached) " >&6
44841 else
44842
44843
44844 ac_ext=cpp
44845 ac_cpp='$CXXCPP $CPPFLAGS'
44846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44849
44850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44851 /* end confdefs.h. */
44852 #include <math.h>
44853 int
44854 main ()
44855 {
44856 powl(0, 0);
44857 ;
44858 return 0;
44859 }
44860 _ACEOF
44861 if ac_fn_cxx_try_compile "$LINENO"; then :
44862 glibcxx_cv_func_powl_use=yes
44863 else
44864 glibcxx_cv_func_powl_use=no
44865 fi
44866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44867 ac_ext=c
44868 ac_cpp='$CPP $CPPFLAGS'
44869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44872
44873
44874 fi
44875
44876 fi
44877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44879
44880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44881 for ac_func in powl
44882 do :
44883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44884 if test "x$ac_cv_func_powl" = x""yes; then :
44885 cat >>confdefs.h <<_ACEOF
44886 #define HAVE_POWL 1
44887 _ACEOF
44888
44889 fi
44890 done
44891
44892 else
44893
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44895 $as_echo_n "checking for _powl declaration... " >&6; }
44896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44898 $as_echo_n "(cached) " >&6
44899 else
44900
44901
44902 ac_ext=cpp
44903 ac_cpp='$CXXCPP $CPPFLAGS'
44904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44907
44908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44909 /* end confdefs.h. */
44910 #include <math.h>
44911 int
44912 main ()
44913 {
44914 _powl(0, 0);
44915 ;
44916 return 0;
44917 }
44918 _ACEOF
44919 if ac_fn_cxx_try_compile "$LINENO"; then :
44920 glibcxx_cv_func__powl_use=yes
44921 else
44922 glibcxx_cv_func__powl_use=no
44923 fi
44924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44925 ac_ext=c
44926 ac_cpp='$CPP $CPPFLAGS'
44927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44930
44931
44932 fi
44933
44934 fi
44935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44937
44938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44939 for ac_func in _powl
44940 do :
44941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44942 if test "x$ac_cv_func__powl" = x""yes; then :
44943 cat >>confdefs.h <<_ACEOF
44944 #define HAVE__POWL 1
44945 _ACEOF
44946
44947 fi
44948 done
44949
44950 fi
44951 fi
44952
44953
44954
44955
44956
44957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44958 $as_echo_n "checking for sqrtl declaration... " >&6; }
44959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44961 $as_echo_n "(cached) " >&6
44962 else
44963
44964
44965 ac_ext=cpp
44966 ac_cpp='$CXXCPP $CPPFLAGS'
44967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44970
44971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44972 /* end confdefs.h. */
44973 #include <math.h>
44974 #ifdef HAVE_IEEEFP_H
44975 #include <ieeefp.h>
44976 #endif
44977
44978 int
44979 main ()
44980 {
44981 sqrtl(0);
44982 ;
44983 return 0;
44984 }
44985 _ACEOF
44986 if ac_fn_cxx_try_compile "$LINENO"; then :
44987 glibcxx_cv_func_sqrtl_use=yes
44988 else
44989 glibcxx_cv_func_sqrtl_use=no
44990 fi
44991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44992 ac_ext=c
44993 ac_cpp='$CPP $CPPFLAGS'
44994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44997
44998
44999 fi
45000
45001 fi
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45004
45005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45006 for ac_func in sqrtl
45007 do :
45008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45010 cat >>confdefs.h <<_ACEOF
45011 #define HAVE_SQRTL 1
45012 _ACEOF
45013
45014 fi
45015 done
45016
45017 else
45018
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45023 $as_echo_n "(cached) " >&6
45024 else
45025
45026
45027 ac_ext=cpp
45028 ac_cpp='$CXXCPP $CPPFLAGS'
45029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45032
45033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45034 /* end confdefs.h. */
45035 #include <math.h>
45036 #ifdef HAVE_IEEEFP_H
45037 #include <ieeefp.h>
45038 #endif
45039
45040 int
45041 main ()
45042 {
45043 _sqrtl(0);
45044 ;
45045 return 0;
45046 }
45047 _ACEOF
45048 if ac_fn_cxx_try_compile "$LINENO"; then :
45049 glibcxx_cv_func__sqrtl_use=yes
45050 else
45051 glibcxx_cv_func__sqrtl_use=no
45052 fi
45053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45054 ac_ext=c
45055 ac_cpp='$CPP $CPPFLAGS'
45056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45059
45060
45061 fi
45062
45063 fi
45064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45066
45067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45068 for ac_func in _sqrtl
45069 do :
45070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45072 cat >>confdefs.h <<_ACEOF
45073 #define HAVE__SQRTL 1
45074 _ACEOF
45075
45076 fi
45077 done
45078
45079 fi
45080 fi
45081
45082
45083
45084
45085
45086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45087 $as_echo_n "checking for sincosl declaration... " >&6; }
45088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45090 $as_echo_n "(cached) " >&6
45091 else
45092
45093
45094 ac_ext=cpp
45095 ac_cpp='$CXXCPP $CPPFLAGS'
45096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45099
45100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45101 /* end confdefs.h. */
45102 #include <math.h>
45103 int
45104 main ()
45105 {
45106 sincosl(0, 0, 0);
45107 ;
45108 return 0;
45109 }
45110 _ACEOF
45111 if ac_fn_cxx_try_compile "$LINENO"; then :
45112 glibcxx_cv_func_sincosl_use=yes
45113 else
45114 glibcxx_cv_func_sincosl_use=no
45115 fi
45116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45117 ac_ext=c
45118 ac_cpp='$CPP $CPPFLAGS'
45119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45122
45123
45124 fi
45125
45126 fi
45127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45129
45130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45131 for ac_func in sincosl
45132 do :
45133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45134 if test "x$ac_cv_func_sincosl" = x""yes; then :
45135 cat >>confdefs.h <<_ACEOF
45136 #define HAVE_SINCOSL 1
45137 _ACEOF
45138
45139 fi
45140 done
45141
45142 else
45143
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45145 $as_echo_n "checking for _sincosl declaration... " >&6; }
45146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45148 $as_echo_n "(cached) " >&6
45149 else
45150
45151
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45157
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <math.h>
45161 int
45162 main ()
45163 {
45164 _sincosl(0, 0, 0);
45165 ;
45166 return 0;
45167 }
45168 _ACEOF
45169 if ac_fn_cxx_try_compile "$LINENO"; then :
45170 glibcxx_cv_func__sincosl_use=yes
45171 else
45172 glibcxx_cv_func__sincosl_use=no
45173 fi
45174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45175 ac_ext=c
45176 ac_cpp='$CPP $CPPFLAGS'
45177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45180
45181
45182 fi
45183
45184 fi
45185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45187
45188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45189 for ac_func in _sincosl
45190 do :
45191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45192 if test "x$ac_cv_func__sincosl" = x""yes; then :
45193 cat >>confdefs.h <<_ACEOF
45194 #define HAVE__SINCOSL 1
45195 _ACEOF
45196
45197 fi
45198 done
45199
45200 fi
45201 fi
45202
45203
45204
45205
45206
45207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45208 $as_echo_n "checking for finitel declaration... " >&6; }
45209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45211 $as_echo_n "(cached) " >&6
45212 else
45213
45214
45215 ac_ext=cpp
45216 ac_cpp='$CXXCPP $CPPFLAGS'
45217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220
45221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45222 /* end confdefs.h. */
45223 #include <math.h>
45224 #ifdef HAVE_IEEEFP_H
45225 #include <ieeefp.h>
45226 #endif
45227
45228 int
45229 main ()
45230 {
45231 finitel(0);
45232 ;
45233 return 0;
45234 }
45235 _ACEOF
45236 if ac_fn_cxx_try_compile "$LINENO"; then :
45237 glibcxx_cv_func_finitel_use=yes
45238 else
45239 glibcxx_cv_func_finitel_use=no
45240 fi
45241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45242 ac_ext=c
45243 ac_cpp='$CPP $CPPFLAGS'
45244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45247
45248
45249 fi
45250
45251 fi
45252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45254
45255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45256 for ac_func in finitel
45257 do :
45258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45259 if test "x$ac_cv_func_finitel" = x""yes; then :
45260 cat >>confdefs.h <<_ACEOF
45261 #define HAVE_FINITEL 1
45262 _ACEOF
45263
45264 fi
45265 done
45266
45267 else
45268
45269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45270 $as_echo_n "checking for _finitel declaration... " >&6; }
45271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45273 $as_echo_n "(cached) " >&6
45274 else
45275
45276
45277 ac_ext=cpp
45278 ac_cpp='$CXXCPP $CPPFLAGS'
45279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45282
45283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45284 /* end confdefs.h. */
45285 #include <math.h>
45286 #ifdef HAVE_IEEEFP_H
45287 #include <ieeefp.h>
45288 #endif
45289
45290 int
45291 main ()
45292 {
45293 _finitel(0);
45294 ;
45295 return 0;
45296 }
45297 _ACEOF
45298 if ac_fn_cxx_try_compile "$LINENO"; then :
45299 glibcxx_cv_func__finitel_use=yes
45300 else
45301 glibcxx_cv_func__finitel_use=no
45302 fi
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45304 ac_ext=c
45305 ac_cpp='$CPP $CPPFLAGS'
45306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45309
45310
45311 fi
45312
45313 fi
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45316
45317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45318 for ac_func in _finitel
45319 do :
45320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45321 if test "x$ac_cv_func__finitel" = x""yes; then :
45322 cat >>confdefs.h <<_ACEOF
45323 #define HAVE__FINITEL 1
45324 _ACEOF
45325
45326 fi
45327 done
45328
45329 fi
45330 fi
45331
45332
45333
45334
45335 LIBS="$ac_save_LIBS"
45336 CXXFLAGS="$ac_save_CXXFLAGS"
45337
45338
45339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45340 ac_save_CXXFLAGS="$CXXFLAGS"
45341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45342
45343
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45345 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45346 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45347 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45348 $as_echo_n "(cached) " >&6
45349 else
45350
45351
45352 ac_ext=cpp
45353 ac_cpp='$CXXCPP $CPPFLAGS'
45354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45357
45358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45359 /* end confdefs.h. */
45360 #include <stdlib.h>
45361 int
45362 main ()
45363 {
45364 at_quick_exit(0);
45365 ;
45366 return 0;
45367 }
45368 _ACEOF
45369 if ac_fn_cxx_try_compile "$LINENO"; then :
45370 glibcxx_cv_func_at_quick_exit_use=yes
45371 else
45372 glibcxx_cv_func_at_quick_exit_use=no
45373 fi
45374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45375 ac_ext=c
45376 ac_cpp='$CPP $CPPFLAGS'
45377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45380
45381
45382 fi
45383
45384 fi
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45386 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45387 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45388 for ac_func in at_quick_exit
45389 do :
45390 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45391 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45392 cat >>confdefs.h <<_ACEOF
45393 #define HAVE_AT_QUICK_EXIT 1
45394 _ACEOF
45395
45396 fi
45397 done
45398
45399 fi
45400
45401
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45403 $as_echo_n "checking for quick_exit declaration... " >&6; }
45404 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45405 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45408
45409
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45415
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <stdlib.h>
45419 int
45420 main ()
45421 {
45422 quick_exit(0);
45423 ;
45424 return 0;
45425 }
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func_quick_exit_use=yes
45429 else
45430 glibcxx_cv_func_quick_exit_use=no
45431 fi
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45438
45439
45440 fi
45441
45442 fi
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45444 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45445 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45446 for ac_func in quick_exit
45447 do :
45448 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45449 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45450 cat >>confdefs.h <<_ACEOF
45451 #define HAVE_QUICK_EXIT 1
45452 _ACEOF
45453
45454 fi
45455 done
45456
45457 fi
45458
45459
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45461 $as_echo_n "checking for strtold declaration... " >&6; }
45462 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45463 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45464 $as_echo_n "(cached) " >&6
45465 else
45466
45467
45468 ac_ext=cpp
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45473
45474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45475 /* end confdefs.h. */
45476 #include <stdlib.h>
45477 int
45478 main ()
45479 {
45480 strtold(0, 0);
45481 ;
45482 return 0;
45483 }
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func_strtold_use=yes
45487 else
45488 glibcxx_cv_func_strtold_use=no
45489 fi
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496
45497
45498 fi
45499
45500 fi
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45502 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45503 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45504 for ac_func in strtold
45505 do :
45506 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45507 if test "x$ac_cv_func_strtold" = x""yes; then :
45508 cat >>confdefs.h <<_ACEOF
45509 #define HAVE_STRTOLD 1
45510 _ACEOF
45511
45512 fi
45513 done
45514
45515 fi
45516
45517
45518
45519
45520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45521 $as_echo_n "checking for strtof declaration... " >&6; }
45522 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45523 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45524 $as_echo_n "(cached) " >&6
45525 else
45526
45527
45528 ac_ext=cpp
45529 ac_cpp='$CXXCPP $CPPFLAGS'
45530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45533
45534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45535 /* end confdefs.h. */
45536 #include <stdlib.h>
45537 int
45538 main ()
45539 {
45540 strtof(0, 0);
45541 ;
45542 return 0;
45543 }
45544 _ACEOF
45545 if ac_fn_cxx_try_compile "$LINENO"; then :
45546 glibcxx_cv_func_strtof_use=yes
45547 else
45548 glibcxx_cv_func_strtof_use=no
45549 fi
45550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 ac_ext=c
45552 ac_cpp='$CPP $CPPFLAGS'
45553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45556
45557
45558 fi
45559
45560 fi
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45562 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45563 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45564 for ac_func in strtof
45565 do :
45566 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45567 if test "x$ac_cv_func_strtof" = x""yes; then :
45568 cat >>confdefs.h <<_ACEOF
45569 #define HAVE_STRTOF 1
45570 _ACEOF
45571
45572 fi
45573 done
45574
45575 fi
45576
45577
45578
45579
45580 CXXFLAGS="$ac_save_CXXFLAGS"
45581
45582 ;;
45583
45584 *djgpp)
45585 # GLIBCXX_CHECK_MATH_SUPPORT
45586 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45587
45588 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45589
45590 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45591
45592 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45593
45594 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45595
45596 ;;
45597
45598 *-freebsd*)
45599 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45600
45601
45602 # If we're not using GNU ld, then there's no point in even trying these
45603 # tests. Check for that first. We should have already tested for gld
45604 # by now (in libtool), but require it now just to be safe...
45605 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45606 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45607
45608
45609
45610 # The name set by libtool depends on the version of libtool. Shame on us
45611 # for depending on an impl detail, but c'est la vie. Older versions used
45612 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45613 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45614 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45615 # set (hence we're using an older libtool), then set it.
45616 if test x${with_gnu_ld+set} != xset; then
45617 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45618 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45619 with_gnu_ld=no
45620 else
45621 with_gnu_ld=$ac_cv_prog_gnu_ld
45622 fi
45623 fi
45624
45625 # Start by getting the version number. I think the libtool test already
45626 # does some of this, but throws away the result.
45627 glibcxx_ld_is_gold=no
45628 if test x"$with_gnu_ld" = x"yes"; then
45629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45630 $as_echo_n "checking for ld version... " >&6; }
45631
45632 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45633 glibcxx_ld_is_gold=yes
45634 fi
45635 ldver=`$LD --version 2>/dev/null |
45636 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'`
45637
45638 glibcxx_gnu_ld_version=`echo $ldver | \
45639 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45641 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45642 fi
45643
45644 # Set --gc-sections.
45645 glibcxx_have_gc_sections=no
45646 if test "$glibcxx_ld_is_gold" = "yes"; then
45647 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45648 glibcxx_have_gc_sections=yes
45649 fi
45650 else
45651 glibcxx_gcsections_min_ld=21602
45652 if test x"$with_gnu_ld" = x"yes" &&
45653 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45654 glibcxx_have_gc_sections=yes
45655 fi
45656 fi
45657 if test "$glibcxx_have_gc_sections" = "yes"; then
45658 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45659 # NB: This flag only works reliably after 2.16.1. Configure tests
45660 # for this are difficult, so hard wire a value that should work.
45661
45662 ac_test_CFLAGS="${CFLAGS+set}"
45663 ac_save_CFLAGS="$CFLAGS"
45664 CFLAGS='-Wl,--gc-sections'
45665
45666 # Check for -Wl,--gc-sections
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45668 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45669 if test x$gcc_no_link = xyes; then
45670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45671 fi
45672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45673 /* end confdefs.h. */
45674 int one(void) { return 1; }
45675 int two(void) { return 2; }
45676
45677 int
45678 main ()
45679 {
45680 two();
45681 ;
45682 return 0;
45683 }
45684 _ACEOF
45685 if ac_fn_c_try_link "$LINENO"; then :
45686 ac_gcsections=yes
45687 else
45688 ac_gcsections=no
45689 fi
45690 rm -f core conftest.err conftest.$ac_objext \
45691 conftest$ac_exeext conftest.$ac_ext
45692 if test "$ac_gcsections" = "yes"; then
45693 rm -f conftest.c
45694 touch conftest.c
45695 if $CC -c conftest.c; then
45696 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45697 grep "Warning: gc-sections option ignored" > /dev/null; then
45698 ac_gcsections=no
45699 fi
45700 fi
45701 rm -f conftest.c conftest.o conftest
45702 fi
45703 if test "$ac_gcsections" = "yes"; then
45704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45705 fi
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45707 $as_echo "$ac_gcsections" >&6; }
45708
45709 if test "$ac_test_CFLAGS" = set; then
45710 CFLAGS="$ac_save_CFLAGS"
45711 else
45712 # this is the suspicious part
45713 CFLAGS=''
45714 fi
45715 fi
45716
45717 # Set -z,relro.
45718 # Note this is only for shared objects.
45719 ac_ld_relro=no
45720 if test x"$with_gnu_ld" = x"yes"; then
45721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45722 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45723 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45724 if test -n "$cxx_z_relo"; then
45725 OPT_LDFLAGS="-Wl,-z,relro"
45726 ac_ld_relro=yes
45727 fi
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45729 $as_echo "$ac_ld_relro" >&6; }
45730 fi
45731
45732 # Set linker optimization flags.
45733 if test x"$with_gnu_ld" = x"yes"; then
45734 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45735 fi
45736
45737
45738
45739
45740 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45741
45742 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45743
45744 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45745
45746 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45747
45748 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45749
45750 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45751
45752 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45753
45754 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45755
45756 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45757
45758
45759 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45760
45761 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45762
45763 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45764
45765 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45766
45767 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45768
45769 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45770
45771 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45772
45773 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45774
45775 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45776
45777 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45778
45779 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45780
45781 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45782
45783 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45784
45785 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45786
45787 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45788
45789 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45790
45791 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45792
45793 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45794
45795 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45796
45797 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45798
45799 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45800
45801 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45802
45803 if test x"long_double_math_on_this_cpu" = x"yes"; then
45804 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45805
45806 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45807
45808 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45809
45810 fi
45811 ;;
45812 *-hpux*)
45813 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45814
45815
45816 # If we're not using GNU ld, then there's no point in even trying these
45817 # tests. Check for that first. We should have already tested for gld
45818 # by now (in libtool), but require it now just to be safe...
45819 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45820 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45821
45822
45823
45824 # The name set by libtool depends on the version of libtool. Shame on us
45825 # for depending on an impl detail, but c'est la vie. Older versions used
45826 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45827 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45828 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45829 # set (hence we're using an older libtool), then set it.
45830 if test x${with_gnu_ld+set} != xset; then
45831 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45832 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45833 with_gnu_ld=no
45834 else
45835 with_gnu_ld=$ac_cv_prog_gnu_ld
45836 fi
45837 fi
45838
45839 # Start by getting the version number. I think the libtool test already
45840 # does some of this, but throws away the result.
45841 glibcxx_ld_is_gold=no
45842 if test x"$with_gnu_ld" = x"yes"; then
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45844 $as_echo_n "checking for ld version... " >&6; }
45845
45846 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45847 glibcxx_ld_is_gold=yes
45848 fi
45849 ldver=`$LD --version 2>/dev/null |
45850 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'`
45851
45852 glibcxx_gnu_ld_version=`echo $ldver | \
45853 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45855 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45856 fi
45857
45858 # Set --gc-sections.
45859 glibcxx_have_gc_sections=no
45860 if test "$glibcxx_ld_is_gold" = "yes"; then
45861 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45862 glibcxx_have_gc_sections=yes
45863 fi
45864 else
45865 glibcxx_gcsections_min_ld=21602
45866 if test x"$with_gnu_ld" = x"yes" &&
45867 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45868 glibcxx_have_gc_sections=yes
45869 fi
45870 fi
45871 if test "$glibcxx_have_gc_sections" = "yes"; then
45872 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45873 # NB: This flag only works reliably after 2.16.1. Configure tests
45874 # for this are difficult, so hard wire a value that should work.
45875
45876 ac_test_CFLAGS="${CFLAGS+set}"
45877 ac_save_CFLAGS="$CFLAGS"
45878 CFLAGS='-Wl,--gc-sections'
45879
45880 # Check for -Wl,--gc-sections
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45882 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45883 if test x$gcc_no_link = xyes; then
45884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45885 fi
45886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45887 /* end confdefs.h. */
45888 int one(void) { return 1; }
45889 int two(void) { return 2; }
45890
45891 int
45892 main ()
45893 {
45894 two();
45895 ;
45896 return 0;
45897 }
45898 _ACEOF
45899 if ac_fn_c_try_link "$LINENO"; then :
45900 ac_gcsections=yes
45901 else
45902 ac_gcsections=no
45903 fi
45904 rm -f core conftest.err conftest.$ac_objext \
45905 conftest$ac_exeext conftest.$ac_ext
45906 if test "$ac_gcsections" = "yes"; then
45907 rm -f conftest.c
45908 touch conftest.c
45909 if $CC -c conftest.c; then
45910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45911 grep "Warning: gc-sections option ignored" > /dev/null; then
45912 ac_gcsections=no
45913 fi
45914 fi
45915 rm -f conftest.c conftest.o conftest
45916 fi
45917 if test "$ac_gcsections" = "yes"; then
45918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45919 fi
45920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45921 $as_echo "$ac_gcsections" >&6; }
45922
45923 if test "$ac_test_CFLAGS" = set; then
45924 CFLAGS="$ac_save_CFLAGS"
45925 else
45926 # this is the suspicious part
45927 CFLAGS=''
45928 fi
45929 fi
45930
45931 # Set -z,relro.
45932 # Note this is only for shared objects.
45933 ac_ld_relro=no
45934 if test x"$with_gnu_ld" = x"yes"; then
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45936 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45938 if test -n "$cxx_z_relo"; then
45939 OPT_LDFLAGS="-Wl,-z,relro"
45940 ac_ld_relro=yes
45941 fi
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45943 $as_echo "$ac_ld_relro" >&6; }
45944 fi
45945
45946 # Set linker optimization flags.
45947 if test x"$with_gnu_ld" = x"yes"; then
45948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45949 fi
45950
45951
45952
45953
45954
45955 # GLIBCXX_CHECK_MATH_SUPPORT
45956 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45957
45958 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45959
45960 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45961
45962 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45963
45964 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45965
45966 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45967
45968 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45969
45970 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45971
45972 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45973
45974 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45975
45976 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45977
45978 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45979
45980 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45981
45982 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45983
45984 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45985
45986 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45987
45988 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45989
45990 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45991
45992 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45993
45994 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45995
45996 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45997
45998
45999 # GLIBCXX_CHECK_STDLIB_SUPPORT
46000 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46001
46002
46003
46004
46005 # Check whether --enable-tls was given.
46006 if test "${enable_tls+set}" = set; then :
46007 enableval=$enable_tls;
46008 case "$enableval" in
46009 yes|no) ;;
46010 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46011 esac
46012
46013 else
46014 enable_tls=yes
46015 fi
46016
46017
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46019 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46020 if test "${gcc_cv_have_tls+set}" = set; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46023
46024 if test "$cross_compiling" = yes; then :
46025 if test x$gcc_no_link = xyes; then
46026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46027 fi
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 __thread int a; int b; int main() { return a = b; }
46031 _ACEOF
46032 if ac_fn_c_try_link "$LINENO"; then :
46033 chktls_save_LDFLAGS="$LDFLAGS"
46034 case $host in
46035 *-*-linux*)
46036 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46037 ;;
46038 esac
46039 chktls_save_CFLAGS="$CFLAGS"
46040 CFLAGS="-fPIC $CFLAGS"
46041 if test x$gcc_no_link = xyes; then
46042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46043 fi
46044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46045 /* end confdefs.h. */
46046 int f() { return 0; }
46047 _ACEOF
46048 if ac_fn_c_try_link "$LINENO"; then :
46049 if test x$gcc_no_link = xyes; then
46050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46051 fi
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 __thread int a; int b; int f() { return a = b; }
46055 _ACEOF
46056 if ac_fn_c_try_link "$LINENO"; then :
46057 gcc_cv_have_tls=yes
46058 else
46059 gcc_cv_have_tls=no
46060 fi
46061 rm -f core conftest.err conftest.$ac_objext \
46062 conftest$ac_exeext conftest.$ac_ext
46063 else
46064 gcc_cv_have_tls=yes
46065 fi
46066 rm -f core conftest.err conftest.$ac_objext \
46067 conftest$ac_exeext conftest.$ac_ext
46068 CFLAGS="$chktls_save_CFLAGS"
46069 LDFLAGS="$chktls_save_LDFLAGS"
46070 else
46071 gcc_cv_have_tls=no
46072 fi
46073 rm -f core conftest.err conftest.$ac_objext \
46074 conftest$ac_exeext conftest.$ac_ext
46075
46076
46077 else
46078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h. */
46080 __thread int a; int b; int main() { return a = b; }
46081 _ACEOF
46082 if ac_fn_c_try_run "$LINENO"; then :
46083 chktls_save_LDFLAGS="$LDFLAGS"
46084 LDFLAGS="-static $LDFLAGS"
46085 if test x$gcc_no_link = xyes; then
46086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46087 fi
46088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46089 /* end confdefs.h. */
46090 int main() { return 0; }
46091 _ACEOF
46092 if ac_fn_c_try_link "$LINENO"; then :
46093 if test "$cross_compiling" = yes; then :
46094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46096 as_fn_error "cannot run test program while cross compiling
46097 See \`config.log' for more details." "$LINENO" 5; }
46098 else
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46101 __thread int a; int b; int main() { return a = b; }
46102 _ACEOF
46103 if ac_fn_c_try_run "$LINENO"; then :
46104 gcc_cv_have_tls=yes
46105 else
46106 gcc_cv_have_tls=no
46107 fi
46108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46109 conftest.$ac_objext conftest.beam conftest.$ac_ext
46110 fi
46111
46112 else
46113 gcc_cv_have_tls=yes
46114 fi
46115 rm -f core conftest.err conftest.$ac_objext \
46116 conftest$ac_exeext conftest.$ac_ext
46117 LDFLAGS="$chktls_save_LDFLAGS"
46118 if test $gcc_cv_have_tls = yes; then
46119 chktls_save_CFLAGS="$CFLAGS"
46120 thread_CFLAGS=failed
46121 for flag in '' '-pthread' '-lpthread'; do
46122 CFLAGS="$flag $chktls_save_CFLAGS"
46123 if test x$gcc_no_link = xyes; then
46124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46125 fi
46126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46127 /* end confdefs.h. */
46128 #include <pthread.h>
46129 void *g(void *d) { return NULL; }
46130 int
46131 main ()
46132 {
46133 pthread_t t; pthread_create(&t,NULL,g,NULL);
46134 ;
46135 return 0;
46136 }
46137 _ACEOF
46138 if ac_fn_c_try_link "$LINENO"; then :
46139 thread_CFLAGS="$flag"
46140 fi
46141 rm -f core conftest.err conftest.$ac_objext \
46142 conftest$ac_exeext conftest.$ac_ext
46143 if test "X$thread_CFLAGS" != Xfailed; then
46144 break
46145 fi
46146 done
46147 CFLAGS="$chktls_save_CFLAGS"
46148 if test "X$thread_CFLAGS" != Xfailed; then
46149 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46150 if test "$cross_compiling" = yes; then :
46151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46153 as_fn_error "cannot run test program while cross compiling
46154 See \`config.log' for more details." "$LINENO" 5; }
46155 else
46156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h. */
46158 #include <pthread.h>
46159 __thread int a;
46160 static int *volatile a_in_other_thread;
46161 static void *
46162 thread_func (void *arg)
46163 {
46164 a_in_other_thread = &a;
46165 return (void *)0;
46166 }
46167 int
46168 main ()
46169 {
46170 pthread_t thread;
46171 void *thread_retval;
46172 int *volatile a_in_main_thread;
46173 a_in_main_thread = &a;
46174 if (pthread_create (&thread, (pthread_attr_t *)0,
46175 thread_func, (void *)0))
46176 return 0;
46177 if (pthread_join (thread, &thread_retval))
46178 return 0;
46179 return (a_in_other_thread == a_in_main_thread);
46180 ;
46181 return 0;
46182 }
46183 _ACEOF
46184 if ac_fn_c_try_run "$LINENO"; then :
46185 gcc_cv_have_tls=yes
46186 else
46187 gcc_cv_have_tls=no
46188 fi
46189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46190 conftest.$ac_objext conftest.beam conftest.$ac_ext
46191 fi
46192
46193 CFLAGS="$chktls_save_CFLAGS"
46194 fi
46195 fi
46196 else
46197 gcc_cv_have_tls=no
46198 fi
46199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46200 conftest.$ac_objext conftest.beam conftest.$ac_ext
46201 fi
46202
46203 fi
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46205 $as_echo "$gcc_cv_have_tls" >&6; }
46206 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46207
46208 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46209
46210 fi
46211 case "$target" in
46212 *-hpux10*)
46213 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46214
46215 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46216
46217 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46218
46219 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46220
46221 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46222
46223 ;;
46224 esac
46225 ;;
46226 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46227
46228 # All these tests are for C++; save the language and the compiler flags.
46229 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46230 # found in GLIBCXX_CONFIGURE.
46231
46232 ac_ext=cpp
46233 ac_cpp='$CXXCPP $CPPFLAGS'
46234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46237
46238 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46239 ac_save_CXXFLAGS="$CXXFLAGS"
46240
46241 # Check for maintainer-mode bits.
46242 if test x"$USE_MAINTAINER_MODE" = xno; then
46243 WERROR=''
46244 else
46245 WERROR='-Werror'
46246 fi
46247
46248 # Check for -ffunction-sections -fdata-sections
46249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46250 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46251 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46253 /* end confdefs.h. */
46254 int foo; void bar() { };
46255 int
46256 main ()
46257 {
46258
46259 ;
46260 return 0;
46261 }
46262 _ACEOF
46263 if ac_fn_cxx_try_compile "$LINENO"; then :
46264 ac_fdsections=yes
46265 else
46266 ac_fdsections=no
46267 fi
46268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46269 if test "$ac_test_CXXFLAGS" = set; then
46270 CXXFLAGS="$ac_save_CXXFLAGS"
46271 else
46272 # this is the suspicious part
46273 CXXFLAGS=''
46274 fi
46275 if test x"$ac_fdsections" = x"yes"; then
46276 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46277 fi
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46279 $as_echo "$ac_fdsections" >&6; }
46280
46281 ac_ext=c
46282 ac_cpp='$CPP $CPPFLAGS'
46283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46286
46287
46288
46289
46290
46291 # If we're not using GNU ld, then there's no point in even trying these
46292 # tests. Check for that first. We should have already tested for gld
46293 # by now (in libtool), but require it now just to be safe...
46294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46296
46297
46298
46299 # The name set by libtool depends on the version of libtool. Shame on us
46300 # for depending on an impl detail, but c'est la vie. Older versions used
46301 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46302 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46303 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46304 # set (hence we're using an older libtool), then set it.
46305 if test x${with_gnu_ld+set} != xset; then
46306 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46307 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46308 with_gnu_ld=no
46309 else
46310 with_gnu_ld=$ac_cv_prog_gnu_ld
46311 fi
46312 fi
46313
46314 # Start by getting the version number. I think the libtool test already
46315 # does some of this, but throws away the result.
46316 glibcxx_ld_is_gold=no
46317 if test x"$with_gnu_ld" = x"yes"; then
46318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46319 $as_echo_n "checking for ld version... " >&6; }
46320
46321 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46322 glibcxx_ld_is_gold=yes
46323 fi
46324 ldver=`$LD --version 2>/dev/null |
46325 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'`
46326
46327 glibcxx_gnu_ld_version=`echo $ldver | \
46328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46330 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46331 fi
46332
46333 # Set --gc-sections.
46334 glibcxx_have_gc_sections=no
46335 if test "$glibcxx_ld_is_gold" = "yes"; then
46336 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46337 glibcxx_have_gc_sections=yes
46338 fi
46339 else
46340 glibcxx_gcsections_min_ld=21602
46341 if test x"$with_gnu_ld" = x"yes" &&
46342 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46343 glibcxx_have_gc_sections=yes
46344 fi
46345 fi
46346 if test "$glibcxx_have_gc_sections" = "yes"; then
46347 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46348 # NB: This flag only works reliably after 2.16.1. Configure tests
46349 # for this are difficult, so hard wire a value that should work.
46350
46351 ac_test_CFLAGS="${CFLAGS+set}"
46352 ac_save_CFLAGS="$CFLAGS"
46353 CFLAGS='-Wl,--gc-sections'
46354
46355 # Check for -Wl,--gc-sections
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46357 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46358 if test x$gcc_no_link = xyes; then
46359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46360 fi
46361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h. */
46363 int one(void) { return 1; }
46364 int two(void) { return 2; }
46365
46366 int
46367 main ()
46368 {
46369 two();
46370 ;
46371 return 0;
46372 }
46373 _ACEOF
46374 if ac_fn_c_try_link "$LINENO"; then :
46375 ac_gcsections=yes
46376 else
46377 ac_gcsections=no
46378 fi
46379 rm -f core conftest.err conftest.$ac_objext \
46380 conftest$ac_exeext conftest.$ac_ext
46381 if test "$ac_gcsections" = "yes"; then
46382 rm -f conftest.c
46383 touch conftest.c
46384 if $CC -c conftest.c; then
46385 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46386 grep "Warning: gc-sections option ignored" > /dev/null; then
46387 ac_gcsections=no
46388 fi
46389 fi
46390 rm -f conftest.c conftest.o conftest
46391 fi
46392 if test "$ac_gcsections" = "yes"; then
46393 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46394 fi
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46396 $as_echo "$ac_gcsections" >&6; }
46397
46398 if test "$ac_test_CFLAGS" = set; then
46399 CFLAGS="$ac_save_CFLAGS"
46400 else
46401 # this is the suspicious part
46402 CFLAGS=''
46403 fi
46404 fi
46405
46406 # Set -z,relro.
46407 # Note this is only for shared objects.
46408 ac_ld_relro=no
46409 if test x"$with_gnu_ld" = x"yes"; then
46410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46411 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46412 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46413 if test -n "$cxx_z_relo"; then
46414 OPT_LDFLAGS="-Wl,-z,relro"
46415 ac_ld_relro=yes
46416 fi
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46418 $as_echo "$ac_ld_relro" >&6; }
46419 fi
46420
46421 # Set linker optimization flags.
46422 if test x"$with_gnu_ld" = x"yes"; then
46423 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46424 fi
46425
46426
46427
46428
46429
46430 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46431 ac_save_CXXFLAGS="$CXXFLAGS"
46432 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46433
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46435 $as_echo_n "checking for sin in -lm... " >&6; }
46436 if test "${ac_cv_lib_m_sin+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46439 ac_check_lib_save_LIBS=$LIBS
46440 LIBS="-lm $LIBS"
46441 if test x$gcc_no_link = xyes; then
46442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46443 fi
46444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46445 /* end confdefs.h. */
46446
46447 /* Override any GCC internal prototype to avoid an error.
46448 Use char because int might match the return type of a GCC
46449 builtin and then its argument prototype would still apply. */
46450 #ifdef __cplusplus
46451 extern "C"
46452 #endif
46453 char sin ();
46454 int
46455 main ()
46456 {
46457 return sin ();
46458 ;
46459 return 0;
46460 }
46461 _ACEOF
46462 if ac_fn_c_try_link "$LINENO"; then :
46463 ac_cv_lib_m_sin=yes
46464 else
46465 ac_cv_lib_m_sin=no
46466 fi
46467 rm -f core conftest.err conftest.$ac_objext \
46468 conftest$ac_exeext conftest.$ac_ext
46469 LIBS=$ac_check_lib_save_LIBS
46470 fi
46471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46472 $as_echo "$ac_cv_lib_m_sin" >&6; }
46473 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46474 libm="-lm"
46475 fi
46476
46477 ac_save_LIBS="$LIBS"
46478 LIBS="$LIBS $libm"
46479
46480
46481
46482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46483 $as_echo_n "checking for isinf declaration... " >&6; }
46484 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46485 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46486 $as_echo_n "(cached) " >&6
46487 else
46488
46489
46490 ac_ext=cpp
46491 ac_cpp='$CXXCPP $CPPFLAGS'
46492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495
46496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46497 /* end confdefs.h. */
46498 #include <math.h>
46499 #ifdef HAVE_IEEEFP_H
46500 #include <ieeefp.h>
46501 #endif
46502
46503 int
46504 main ()
46505 {
46506 isinf(0);
46507 ;
46508 return 0;
46509 }
46510 _ACEOF
46511 if ac_fn_cxx_try_compile "$LINENO"; then :
46512 glibcxx_cv_func_isinf_use=yes
46513 else
46514 glibcxx_cv_func_isinf_use=no
46515 fi
46516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46517 ac_ext=c
46518 ac_cpp='$CPP $CPPFLAGS'
46519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46522
46523
46524 fi
46525
46526 fi
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46528 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46529
46530 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46531 for ac_func in isinf
46532 do :
46533 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46534 if test "x$ac_cv_func_isinf" = x""yes; then :
46535 cat >>confdefs.h <<_ACEOF
46536 #define HAVE_ISINF 1
46537 _ACEOF
46538
46539 fi
46540 done
46541
46542 else
46543
46544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46545 $as_echo_n "checking for _isinf declaration... " >&6; }
46546 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46547 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46548 $as_echo_n "(cached) " >&6
46549 else
46550
46551
46552 ac_ext=cpp
46553 ac_cpp='$CXXCPP $CPPFLAGS'
46554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46557
46558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46559 /* end confdefs.h. */
46560 #include <math.h>
46561 #ifdef HAVE_IEEEFP_H
46562 #include <ieeefp.h>
46563 #endif
46564
46565 int
46566 main ()
46567 {
46568 _isinf(0);
46569 ;
46570 return 0;
46571 }
46572 _ACEOF
46573 if ac_fn_cxx_try_compile "$LINENO"; then :
46574 glibcxx_cv_func__isinf_use=yes
46575 else
46576 glibcxx_cv_func__isinf_use=no
46577 fi
46578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46579 ac_ext=c
46580 ac_cpp='$CPP $CPPFLAGS'
46581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46584
46585
46586 fi
46587
46588 fi
46589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46590 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46591
46592 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46593 for ac_func in _isinf
46594 do :
46595 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46596 if test "x$ac_cv_func__isinf" = x""yes; then :
46597 cat >>confdefs.h <<_ACEOF
46598 #define HAVE__ISINF 1
46599 _ACEOF
46600
46601 fi
46602 done
46603
46604 fi
46605 fi
46606
46607
46608
46609
46610
46611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46612 $as_echo_n "checking for isnan declaration... " >&6; }
46613 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46614 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46615 $as_echo_n "(cached) " >&6
46616 else
46617
46618
46619 ac_ext=cpp
46620 ac_cpp='$CXXCPP $CPPFLAGS'
46621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46624
46625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46626 /* end confdefs.h. */
46627 #include <math.h>
46628 #ifdef HAVE_IEEEFP_H
46629 #include <ieeefp.h>
46630 #endif
46631
46632 int
46633 main ()
46634 {
46635 isnan(0);
46636 ;
46637 return 0;
46638 }
46639 _ACEOF
46640 if ac_fn_cxx_try_compile "$LINENO"; then :
46641 glibcxx_cv_func_isnan_use=yes
46642 else
46643 glibcxx_cv_func_isnan_use=no
46644 fi
46645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46646 ac_ext=c
46647 ac_cpp='$CPP $CPPFLAGS'
46648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46651
46652
46653 fi
46654
46655 fi
46656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46657 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46658
46659 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46660 for ac_func in isnan
46661 do :
46662 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46663 if test "x$ac_cv_func_isnan" = x""yes; then :
46664 cat >>confdefs.h <<_ACEOF
46665 #define HAVE_ISNAN 1
46666 _ACEOF
46667
46668 fi
46669 done
46670
46671 else
46672
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46674 $as_echo_n "checking for _isnan declaration... " >&6; }
46675 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46676 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46677 $as_echo_n "(cached) " >&6
46678 else
46679
46680
46681 ac_ext=cpp
46682 ac_cpp='$CXXCPP $CPPFLAGS'
46683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46686
46687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46688 /* end confdefs.h. */
46689 #include <math.h>
46690 #ifdef HAVE_IEEEFP_H
46691 #include <ieeefp.h>
46692 #endif
46693
46694 int
46695 main ()
46696 {
46697 _isnan(0);
46698 ;
46699 return 0;
46700 }
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func__isnan_use=yes
46704 else
46705 glibcxx_cv_func__isnan_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
46715 fi
46716
46717 fi
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46719 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46720
46721 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46722 for ac_func in _isnan
46723 do :
46724 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46725 if test "x$ac_cv_func__isnan" = x""yes; then :
46726 cat >>confdefs.h <<_ACEOF
46727 #define HAVE__ISNAN 1
46728 _ACEOF
46729
46730 fi
46731 done
46732
46733 fi
46734 fi
46735
46736
46737
46738
46739
46740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46741 $as_echo_n "checking for finite declaration... " >&6; }
46742 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46743 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46744 $as_echo_n "(cached) " >&6
46745 else
46746
46747
46748 ac_ext=cpp
46749 ac_cpp='$CXXCPP $CPPFLAGS'
46750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46753
46754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46755 /* end confdefs.h. */
46756 #include <math.h>
46757 #ifdef HAVE_IEEEFP_H
46758 #include <ieeefp.h>
46759 #endif
46760
46761 int
46762 main ()
46763 {
46764 finite(0);
46765 ;
46766 return 0;
46767 }
46768 _ACEOF
46769 if ac_fn_cxx_try_compile "$LINENO"; then :
46770 glibcxx_cv_func_finite_use=yes
46771 else
46772 glibcxx_cv_func_finite_use=no
46773 fi
46774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46775 ac_ext=c
46776 ac_cpp='$CPP $CPPFLAGS'
46777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46780
46781
46782 fi
46783
46784 fi
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46786 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46787
46788 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46789 for ac_func in finite
46790 do :
46791 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46792 if test "x$ac_cv_func_finite" = x""yes; then :
46793 cat >>confdefs.h <<_ACEOF
46794 #define HAVE_FINITE 1
46795 _ACEOF
46796
46797 fi
46798 done
46799
46800 else
46801
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46803 $as_echo_n "checking for _finite declaration... " >&6; }
46804 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46805 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46806 $as_echo_n "(cached) " >&6
46807 else
46808
46809
46810 ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46815
46816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46818 #include <math.h>
46819 #ifdef HAVE_IEEEFP_H
46820 #include <ieeefp.h>
46821 #endif
46822
46823 int
46824 main ()
46825 {
46826 _finite(0);
46827 ;
46828 return 0;
46829 }
46830 _ACEOF
46831 if ac_fn_cxx_try_compile "$LINENO"; then :
46832 glibcxx_cv_func__finite_use=yes
46833 else
46834 glibcxx_cv_func__finite_use=no
46835 fi
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837 ac_ext=c
46838 ac_cpp='$CPP $CPPFLAGS'
46839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46842
46843
46844 fi
46845
46846 fi
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46848 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46849
46850 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46851 for ac_func in _finite
46852 do :
46853 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46854 if test "x$ac_cv_func__finite" = x""yes; then :
46855 cat >>confdefs.h <<_ACEOF
46856 #define HAVE__FINITE 1
46857 _ACEOF
46858
46859 fi
46860 done
46861
46862 fi
46863 fi
46864
46865
46866
46867
46868
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46870 $as_echo_n "checking for sincos declaration... " >&6; }
46871 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46872 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46875
46876
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46886 int
46887 main ()
46888 {
46889 sincos(0, 0, 0);
46890 ;
46891 return 0;
46892 }
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func_sincos_use=yes
46896 else
46897 glibcxx_cv_func_sincos_use=no
46898 fi
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46905
46906
46907 fi
46908
46909 fi
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46911 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46912
46913 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46914 for ac_func in sincos
46915 do :
46916 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46917 if test "x$ac_cv_func_sincos" = x""yes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE_SINCOS 1
46920 _ACEOF
46921
46922 fi
46923 done
46924
46925 else
46926
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46928 $as_echo_n "checking for _sincos declaration... " >&6; }
46929 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46930 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46931 $as_echo_n "(cached) " >&6
46932 else
46933
46934
46935 ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46940
46941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h. */
46943 #include <math.h>
46944 int
46945 main ()
46946 {
46947 _sincos(0, 0, 0);
46948 ;
46949 return 0;
46950 }
46951 _ACEOF
46952 if ac_fn_cxx_try_compile "$LINENO"; then :
46953 glibcxx_cv_func__sincos_use=yes
46954 else
46955 glibcxx_cv_func__sincos_use=no
46956 fi
46957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46958 ac_ext=c
46959 ac_cpp='$CPP $CPPFLAGS'
46960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46963
46964
46965 fi
46966
46967 fi
46968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46969 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46970
46971 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46972 for ac_func in _sincos
46973 do :
46974 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46975 if test "x$ac_cv_func__sincos" = x""yes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE__SINCOS 1
46978 _ACEOF
46979
46980 fi
46981 done
46982
46983 fi
46984 fi
46985
46986
46987
46988
46989
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46991 $as_echo_n "checking for fpclass declaration... " >&6; }
46992 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46993 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46994 $as_echo_n "(cached) " >&6
46995 else
46996
46997
46998 ac_ext=cpp
46999 ac_cpp='$CXXCPP $CPPFLAGS'
47000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47003
47004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47005 /* end confdefs.h. */
47006 #include <math.h>
47007 #ifdef HAVE_IEEEFP_H
47008 #include <ieeefp.h>
47009 #endif
47010
47011 int
47012 main ()
47013 {
47014 fpclass(0);
47015 ;
47016 return 0;
47017 }
47018 _ACEOF
47019 if ac_fn_cxx_try_compile "$LINENO"; then :
47020 glibcxx_cv_func_fpclass_use=yes
47021 else
47022 glibcxx_cv_func_fpclass_use=no
47023 fi
47024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47025 ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030
47031
47032 fi
47033
47034 fi
47035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47036 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47037
47038 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47039 for ac_func in fpclass
47040 do :
47041 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47042 if test "x$ac_cv_func_fpclass" = x""yes; then :
47043 cat >>confdefs.h <<_ACEOF
47044 #define HAVE_FPCLASS 1
47045 _ACEOF
47046
47047 fi
47048 done
47049
47050 else
47051
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47053 $as_echo_n "checking for _fpclass declaration... " >&6; }
47054 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47055 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47056 $as_echo_n "(cached) " >&6
47057 else
47058
47059
47060 ac_ext=cpp
47061 ac_cpp='$CXXCPP $CPPFLAGS'
47062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47065
47066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47067 /* end confdefs.h. */
47068 #include <math.h>
47069 #ifdef HAVE_IEEEFP_H
47070 #include <ieeefp.h>
47071 #endif
47072
47073 int
47074 main ()
47075 {
47076 _fpclass(0);
47077 ;
47078 return 0;
47079 }
47080 _ACEOF
47081 if ac_fn_cxx_try_compile "$LINENO"; then :
47082 glibcxx_cv_func__fpclass_use=yes
47083 else
47084 glibcxx_cv_func__fpclass_use=no
47085 fi
47086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47087 ac_ext=c
47088 ac_cpp='$CPP $CPPFLAGS'
47089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47092
47093
47094 fi
47095
47096 fi
47097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47098 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47099
47100 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47101 for ac_func in _fpclass
47102 do :
47103 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47104 if test "x$ac_cv_func__fpclass" = x""yes; then :
47105 cat >>confdefs.h <<_ACEOF
47106 #define HAVE__FPCLASS 1
47107 _ACEOF
47108
47109 fi
47110 done
47111
47112 fi
47113 fi
47114
47115
47116
47117
47118
47119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47120 $as_echo_n "checking for qfpclass declaration... " >&6; }
47121 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47122 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47123 $as_echo_n "(cached) " >&6
47124 else
47125
47126
47127 ac_ext=cpp
47128 ac_cpp='$CXXCPP $CPPFLAGS'
47129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47132
47133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47134 /* end confdefs.h. */
47135 #include <math.h>
47136 #ifdef HAVE_IEEEFP_H
47137 #include <ieeefp.h>
47138 #endif
47139
47140 int
47141 main ()
47142 {
47143 qfpclass(0);
47144 ;
47145 return 0;
47146 }
47147 _ACEOF
47148 if ac_fn_cxx_try_compile "$LINENO"; then :
47149 glibcxx_cv_func_qfpclass_use=yes
47150 else
47151 glibcxx_cv_func_qfpclass_use=no
47152 fi
47153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47154 ac_ext=c
47155 ac_cpp='$CPP $CPPFLAGS'
47156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47159
47160
47161 fi
47162
47163 fi
47164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47165 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47166
47167 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47168 for ac_func in qfpclass
47169 do :
47170 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47171 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47172 cat >>confdefs.h <<_ACEOF
47173 #define HAVE_QFPCLASS 1
47174 _ACEOF
47175
47176 fi
47177 done
47178
47179 else
47180
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47182 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47183 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47184 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47185 $as_echo_n "(cached) " >&6
47186 else
47187
47188
47189 ac_ext=cpp
47190 ac_cpp='$CXXCPP $CPPFLAGS'
47191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47194
47195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196 /* end confdefs.h. */
47197 #include <math.h>
47198 #ifdef HAVE_IEEEFP_H
47199 #include <ieeefp.h>
47200 #endif
47201
47202 int
47203 main ()
47204 {
47205 _qfpclass(0);
47206 ;
47207 return 0;
47208 }
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func__qfpclass_use=yes
47212 else
47213 glibcxx_cv_func__qfpclass_use=no
47214 fi
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222
47223 fi
47224
47225 fi
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47227 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47228
47229 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47230 for ac_func in _qfpclass
47231 do :
47232 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47233 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47234 cat >>confdefs.h <<_ACEOF
47235 #define HAVE__QFPCLASS 1
47236 _ACEOF
47237
47238 fi
47239 done
47240
47241 fi
47242 fi
47243
47244
47245
47246
47247
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47249 $as_echo_n "checking for hypot declaration... " >&6; }
47250 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47251 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47252 $as_echo_n "(cached) " >&6
47253 else
47254
47255
47256 ac_ext=cpp
47257 ac_cpp='$CXXCPP $CPPFLAGS'
47258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47261
47262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47263 /* end confdefs.h. */
47264 #include <math.h>
47265 int
47266 main ()
47267 {
47268 hypot(0, 0);
47269 ;
47270 return 0;
47271 }
47272 _ACEOF
47273 if ac_fn_cxx_try_compile "$LINENO"; then :
47274 glibcxx_cv_func_hypot_use=yes
47275 else
47276 glibcxx_cv_func_hypot_use=no
47277 fi
47278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 ac_ext=c
47280 ac_cpp='$CPP $CPPFLAGS'
47281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47284
47285
47286 fi
47287
47288 fi
47289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47290 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47291
47292 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47293 for ac_func in hypot
47294 do :
47295 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47296 if test "x$ac_cv_func_hypot" = x""yes; then :
47297 cat >>confdefs.h <<_ACEOF
47298 #define HAVE_HYPOT 1
47299 _ACEOF
47300
47301 fi
47302 done
47303
47304 else
47305
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47307 $as_echo_n "checking for _hypot declaration... " >&6; }
47308 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47309 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47310 $as_echo_n "(cached) " >&6
47311 else
47312
47313
47314 ac_ext=cpp
47315 ac_cpp='$CXXCPP $CPPFLAGS'
47316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47319
47320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47321 /* end confdefs.h. */
47322 #include <math.h>
47323 int
47324 main ()
47325 {
47326 _hypot(0, 0);
47327 ;
47328 return 0;
47329 }
47330 _ACEOF
47331 if ac_fn_cxx_try_compile "$LINENO"; then :
47332 glibcxx_cv_func__hypot_use=yes
47333 else
47334 glibcxx_cv_func__hypot_use=no
47335 fi
47336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47342
47343
47344 fi
47345
47346 fi
47347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47348 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47349
47350 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47351 for ac_func in _hypot
47352 do :
47353 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47354 if test "x$ac_cv_func__hypot" = x""yes; then :
47355 cat >>confdefs.h <<_ACEOF
47356 #define HAVE__HYPOT 1
47357 _ACEOF
47358
47359 fi
47360 done
47361
47362 fi
47363 fi
47364
47365
47366
47367
47368
47369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47370 $as_echo_n "checking for float trig functions... " >&6; }
47371 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47372 $as_echo_n "(cached) " >&6
47373 else
47374
47375
47376 ac_ext=cpp
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47381
47382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h. */
47384 #include <math.h>
47385 int
47386 main ()
47387 {
47388 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47389 ;
47390 return 0;
47391 }
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func_float_trig_use=yes
47395 else
47396 glibcxx_cv_func_float_trig_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 fi
47406
47407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47408 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47409 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47410 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47411 do :
47412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47414 eval as_val=\$$as_ac_var
47415 if test "x$as_val" = x""yes; then :
47416 cat >>confdefs.h <<_ACEOF
47417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47418 _ACEOF
47419
47420 fi
47421 done
47422
47423 else
47424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47425 $as_echo_n "checking for _float trig functions... " >&6; }
47426 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47427 $as_echo_n "(cached) " >&6
47428 else
47429
47430
47431 ac_ext=cpp
47432 ac_cpp='$CXXCPP $CPPFLAGS'
47433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47436
47437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47438 /* end confdefs.h. */
47439 #include <math.h>
47440 int
47441 main ()
47442 {
47443 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47444 ;
47445 return 0;
47446 }
47447 _ACEOF
47448 if ac_fn_cxx_try_compile "$LINENO"; then :
47449 glibcxx_cv_func__float_trig_use=yes
47450 else
47451 glibcxx_cv_func__float_trig_use=no
47452 fi
47453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47454 ac_ext=c
47455 ac_cpp='$CPP $CPPFLAGS'
47456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47459
47460 fi
47461
47462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47463 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47465 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47466 do :
47467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47469 eval as_val=\$$as_ac_var
47470 if test "x$as_val" = x""yes; then :
47471 cat >>confdefs.h <<_ACEOF
47472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47473 _ACEOF
47474
47475 fi
47476 done
47477
47478 fi
47479 fi
47480
47481
47482
47483
47484
47485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47486 $as_echo_n "checking for float round functions... " >&6; }
47487 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47488 $as_echo_n "(cached) " >&6
47489 else
47490
47491
47492 ac_ext=cpp
47493 ac_cpp='$CXXCPP $CPPFLAGS'
47494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47497
47498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47499 /* end confdefs.h. */
47500 #include <math.h>
47501 int
47502 main ()
47503 {
47504 ceilf (0); floorf (0);
47505 ;
47506 return 0;
47507 }
47508 _ACEOF
47509 if ac_fn_cxx_try_compile "$LINENO"; then :
47510 glibcxx_cv_func_float_round_use=yes
47511 else
47512 glibcxx_cv_func_float_round_use=no
47513 fi
47514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47515 ac_ext=c
47516 ac_cpp='$CPP $CPPFLAGS'
47517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47520
47521 fi
47522
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47524 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47525 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47526 for ac_func in ceilf floorf
47527 do :
47528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47530 eval as_val=\$$as_ac_var
47531 if test "x$as_val" = x""yes; then :
47532 cat >>confdefs.h <<_ACEOF
47533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47534 _ACEOF
47535
47536 fi
47537 done
47538
47539 else
47540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47541 $as_echo_n "checking for _float round functions... " >&6; }
47542 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47543 $as_echo_n "(cached) " >&6
47544 else
47545
47546
47547 ac_ext=cpp
47548 ac_cpp='$CXXCPP $CPPFLAGS'
47549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47552
47553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47554 /* end confdefs.h. */
47555 #include <math.h>
47556 int
47557 main ()
47558 {
47559 _ceilf (0); _floorf (0);
47560 ;
47561 return 0;
47562 }
47563 _ACEOF
47564 if ac_fn_cxx_try_compile "$LINENO"; then :
47565 glibcxx_cv_func__float_round_use=yes
47566 else
47567 glibcxx_cv_func__float_round_use=no
47568 fi
47569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47570 ac_ext=c
47571 ac_cpp='$CPP $CPPFLAGS'
47572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47575
47576 fi
47577
47578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47579 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47580 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47581 for ac_func in _ceilf _floorf
47582 do :
47583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47585 eval as_val=\$$as_ac_var
47586 if test "x$as_val" = x""yes; then :
47587 cat >>confdefs.h <<_ACEOF
47588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47589 _ACEOF
47590
47591 fi
47592 done
47593
47594 fi
47595 fi
47596
47597
47598
47599
47600
47601
47602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47603 $as_echo_n "checking for expf declaration... " >&6; }
47604 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47605 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47606 $as_echo_n "(cached) " >&6
47607 else
47608
47609
47610 ac_ext=cpp
47611 ac_cpp='$CXXCPP $CPPFLAGS'
47612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47615
47616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47617 /* end confdefs.h. */
47618 #include <math.h>
47619 #ifdef HAVE_IEEEFP_H
47620 #include <ieeefp.h>
47621 #endif
47622
47623 int
47624 main ()
47625 {
47626 expf(0);
47627 ;
47628 return 0;
47629 }
47630 _ACEOF
47631 if ac_fn_cxx_try_compile "$LINENO"; then :
47632 glibcxx_cv_func_expf_use=yes
47633 else
47634 glibcxx_cv_func_expf_use=no
47635 fi
47636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47637 ac_ext=c
47638 ac_cpp='$CPP $CPPFLAGS'
47639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47642
47643
47644 fi
47645
47646 fi
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47648 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47649
47650 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47651 for ac_func in expf
47652 do :
47653 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47654 if test "x$ac_cv_func_expf" = x""yes; then :
47655 cat >>confdefs.h <<_ACEOF
47656 #define HAVE_EXPF 1
47657 _ACEOF
47658
47659 fi
47660 done
47661
47662 else
47663
47664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47665 $as_echo_n "checking for _expf declaration... " >&6; }
47666 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47667 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47668 $as_echo_n "(cached) " >&6
47669 else
47670
47671
47672 ac_ext=cpp
47673 ac_cpp='$CXXCPP $CPPFLAGS'
47674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47677
47678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47679 /* end confdefs.h. */
47680 #include <math.h>
47681 #ifdef HAVE_IEEEFP_H
47682 #include <ieeefp.h>
47683 #endif
47684
47685 int
47686 main ()
47687 {
47688 _expf(0);
47689 ;
47690 return 0;
47691 }
47692 _ACEOF
47693 if ac_fn_cxx_try_compile "$LINENO"; then :
47694 glibcxx_cv_func__expf_use=yes
47695 else
47696 glibcxx_cv_func__expf_use=no
47697 fi
47698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47699 ac_ext=c
47700 ac_cpp='$CPP $CPPFLAGS'
47701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47704
47705
47706 fi
47707
47708 fi
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47710 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47711
47712 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47713 for ac_func in _expf
47714 do :
47715 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47716 if test "x$ac_cv_func__expf" = x""yes; then :
47717 cat >>confdefs.h <<_ACEOF
47718 #define HAVE__EXPF 1
47719 _ACEOF
47720
47721 fi
47722 done
47723
47724 fi
47725 fi
47726
47727
47728
47729
47730
47731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47732 $as_echo_n "checking for isnanf declaration... " >&6; }
47733 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47734 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47735 $as_echo_n "(cached) " >&6
47736 else
47737
47738
47739 ac_ext=cpp
47740 ac_cpp='$CXXCPP $CPPFLAGS'
47741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47744
47745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47746 /* end confdefs.h. */
47747 #include <math.h>
47748 #ifdef HAVE_IEEEFP_H
47749 #include <ieeefp.h>
47750 #endif
47751
47752 int
47753 main ()
47754 {
47755 isnanf(0);
47756 ;
47757 return 0;
47758 }
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func_isnanf_use=yes
47762 else
47763 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
47777 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47778
47779 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47780 for ac_func in isnanf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47783 if test "x$ac_cv_func_isnanf" = x""yes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE_ISNANF 1
47786 _ACEOF
47787
47788 fi
47789 done
47790
47791 else
47792
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47794 $as_echo_n "checking for _isnanf declaration... " >&6; }
47795 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47796 if test "${glibcxx_cv_func__isnanf_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 #ifdef HAVE_IEEEFP_H
47811 #include <ieeefp.h>
47812 #endif
47813
47814 int
47815 main ()
47816 {
47817 _isnanf(0);
47818 ;
47819 return 0;
47820 }
47821 _ACEOF
47822 if ac_fn_cxx_try_compile "$LINENO"; then :
47823 glibcxx_cv_func__isnanf_use=yes
47824 else
47825 glibcxx_cv_func__isnanf_use=no
47826 fi
47827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47828 ac_ext=c
47829 ac_cpp='$CPP $CPPFLAGS'
47830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47833
47834
47835 fi
47836
47837 fi
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47839 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47840
47841 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47842 for ac_func in _isnanf
47843 do :
47844 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47845 if test "x$ac_cv_func__isnanf" = x""yes; then :
47846 cat >>confdefs.h <<_ACEOF
47847 #define HAVE__ISNANF 1
47848 _ACEOF
47849
47850 fi
47851 done
47852
47853 fi
47854 fi
47855
47856
47857
47858
47859
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47861 $as_echo_n "checking for isinff declaration... " >&6; }
47862 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47863 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47864 $as_echo_n "(cached) " >&6
47865 else
47866
47867
47868 ac_ext=cpp
47869 ac_cpp='$CXXCPP $CPPFLAGS'
47870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47873
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 #include <math.h>
47877 #ifdef HAVE_IEEEFP_H
47878 #include <ieeefp.h>
47879 #endif
47880
47881 int
47882 main ()
47883 {
47884 isinff(0);
47885 ;
47886 return 0;
47887 }
47888 _ACEOF
47889 if ac_fn_cxx_try_compile "$LINENO"; then :
47890 glibcxx_cv_func_isinff_use=yes
47891 else
47892 glibcxx_cv_func_isinff_use=no
47893 fi
47894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47895 ac_ext=c
47896 ac_cpp='$CPP $CPPFLAGS'
47897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47900
47901
47902 fi
47903
47904 fi
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47906 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47907
47908 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47909 for ac_func in isinff
47910 do :
47911 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47912 if test "x$ac_cv_func_isinff" = x""yes; then :
47913 cat >>confdefs.h <<_ACEOF
47914 #define HAVE_ISINFF 1
47915 _ACEOF
47916
47917 fi
47918 done
47919
47920 else
47921
47922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47923 $as_echo_n "checking for _isinff declaration... " >&6; }
47924 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47925 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47926 $as_echo_n "(cached) " >&6
47927 else
47928
47929
47930 ac_ext=cpp
47931 ac_cpp='$CXXCPP $CPPFLAGS'
47932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47935
47936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47937 /* end confdefs.h. */
47938 #include <math.h>
47939 #ifdef HAVE_IEEEFP_H
47940 #include <ieeefp.h>
47941 #endif
47942
47943 int
47944 main ()
47945 {
47946 _isinff(0);
47947 ;
47948 return 0;
47949 }
47950 _ACEOF
47951 if ac_fn_cxx_try_compile "$LINENO"; then :
47952 glibcxx_cv_func__isinff_use=yes
47953 else
47954 glibcxx_cv_func__isinff_use=no
47955 fi
47956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47957 ac_ext=c
47958 ac_cpp='$CPP $CPPFLAGS'
47959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47962
47963
47964 fi
47965
47966 fi
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47968 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47969
47970 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47971 for ac_func in _isinff
47972 do :
47973 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47974 if test "x$ac_cv_func__isinff" = x""yes; then :
47975 cat >>confdefs.h <<_ACEOF
47976 #define HAVE__ISINFF 1
47977 _ACEOF
47978
47979 fi
47980 done
47981
47982 fi
47983 fi
47984
47985
47986
47987
47988
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47990 $as_echo_n "checking for atan2f declaration... " >&6; }
47991 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47992 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47993 $as_echo_n "(cached) " >&6
47994 else
47995
47996
47997 ac_ext=cpp
47998 ac_cpp='$CXXCPP $CPPFLAGS'
47999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48002
48003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48004 /* end confdefs.h. */
48005 #include <math.h>
48006 int
48007 main ()
48008 {
48009 atan2f(0, 0);
48010 ;
48011 return 0;
48012 }
48013 _ACEOF
48014 if ac_fn_cxx_try_compile "$LINENO"; then :
48015 glibcxx_cv_func_atan2f_use=yes
48016 else
48017 glibcxx_cv_func_atan2f_use=no
48018 fi
48019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48020 ac_ext=c
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48025
48026
48027 fi
48028
48029 fi
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48031 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48032
48033 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48034 for ac_func in atan2f
48035 do :
48036 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48037 if test "x$ac_cv_func_atan2f" = x""yes; then :
48038 cat >>confdefs.h <<_ACEOF
48039 #define HAVE_ATAN2F 1
48040 _ACEOF
48041
48042 fi
48043 done
48044
48045 else
48046
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48048 $as_echo_n "checking for _atan2f declaration... " >&6; }
48049 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48050 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48051 $as_echo_n "(cached) " >&6
48052 else
48053
48054
48055 ac_ext=cpp
48056 ac_cpp='$CXXCPP $CPPFLAGS'
48057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48060
48061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48062 /* end confdefs.h. */
48063 #include <math.h>
48064 int
48065 main ()
48066 {
48067 _atan2f(0, 0);
48068 ;
48069 return 0;
48070 }
48071 _ACEOF
48072 if ac_fn_cxx_try_compile "$LINENO"; then :
48073 glibcxx_cv_func__atan2f_use=yes
48074 else
48075 glibcxx_cv_func__atan2f_use=no
48076 fi
48077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48078 ac_ext=c
48079 ac_cpp='$CPP $CPPFLAGS'
48080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48083
48084
48085 fi
48086
48087 fi
48088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48089 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48090
48091 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48092 for ac_func in _atan2f
48093 do :
48094 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48095 if test "x$ac_cv_func__atan2f" = x""yes; then :
48096 cat >>confdefs.h <<_ACEOF
48097 #define HAVE__ATAN2F 1
48098 _ACEOF
48099
48100 fi
48101 done
48102
48103 fi
48104 fi
48105
48106
48107
48108
48109
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48111 $as_echo_n "checking for fabsf declaration... " >&6; }
48112 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48113 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48114 $as_echo_n "(cached) " >&6
48115 else
48116
48117
48118 ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123
48124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h. */
48126 #include <math.h>
48127 #ifdef HAVE_IEEEFP_H
48128 #include <ieeefp.h>
48129 #endif
48130
48131 int
48132 main ()
48133 {
48134 fabsf(0);
48135 ;
48136 return 0;
48137 }
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func_fabsf_use=yes
48141 else
48142 glibcxx_cv_func_fabsf_use=no
48143 fi
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48150
48151
48152 fi
48153
48154 fi
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48156 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48157
48158 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48159 for ac_func in fabsf
48160 do :
48161 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48162 if test "x$ac_cv_func_fabsf" = x""yes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE_FABSF 1
48165 _ACEOF
48166
48167 fi
48168 done
48169
48170 else
48171
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48173 $as_echo_n "checking for _fabsf declaration... " >&6; }
48174 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48175 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48176 $as_echo_n "(cached) " >&6
48177 else
48178
48179
48180 ac_ext=cpp
48181 ac_cpp='$CXXCPP $CPPFLAGS'
48182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48185
48186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48187 /* end confdefs.h. */
48188 #include <math.h>
48189 #ifdef HAVE_IEEEFP_H
48190 #include <ieeefp.h>
48191 #endif
48192
48193 int
48194 main ()
48195 {
48196 _fabsf(0);
48197 ;
48198 return 0;
48199 }
48200 _ACEOF
48201 if ac_fn_cxx_try_compile "$LINENO"; then :
48202 glibcxx_cv_func__fabsf_use=yes
48203 else
48204 glibcxx_cv_func__fabsf_use=no
48205 fi
48206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48207 ac_ext=c
48208 ac_cpp='$CPP $CPPFLAGS'
48209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48212
48213
48214 fi
48215
48216 fi
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48218 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48219
48220 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48221 for ac_func in _fabsf
48222 do :
48223 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48224 if test "x$ac_cv_func__fabsf" = x""yes; then :
48225 cat >>confdefs.h <<_ACEOF
48226 #define HAVE__FABSF 1
48227 _ACEOF
48228
48229 fi
48230 done
48231
48232 fi
48233 fi
48234
48235
48236
48237
48238
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48240 $as_echo_n "checking for fmodf declaration... " >&6; }
48241 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48242 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48245
48246
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48256 int
48257 main ()
48258 {
48259 fmodf(0, 0);
48260 ;
48261 return 0;
48262 }
48263 _ACEOF
48264 if ac_fn_cxx_try_compile "$LINENO"; then :
48265 glibcxx_cv_func_fmodf_use=yes
48266 else
48267 glibcxx_cv_func_fmodf_use=no
48268 fi
48269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48270 ac_ext=c
48271 ac_cpp='$CPP $CPPFLAGS'
48272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48275
48276
48277 fi
48278
48279 fi
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48281 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48282
48283 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48284 for ac_func in fmodf
48285 do :
48286 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48287 if test "x$ac_cv_func_fmodf" = x""yes; then :
48288 cat >>confdefs.h <<_ACEOF
48289 #define HAVE_FMODF 1
48290 _ACEOF
48291
48292 fi
48293 done
48294
48295 else
48296
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48298 $as_echo_n "checking for _fmodf declaration... " >&6; }
48299 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48300 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48301 $as_echo_n "(cached) " >&6
48302 else
48303
48304
48305 ac_ext=cpp
48306 ac_cpp='$CXXCPP $CPPFLAGS'
48307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48310
48311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48312 /* end confdefs.h. */
48313 #include <math.h>
48314 int
48315 main ()
48316 {
48317 _fmodf(0, 0);
48318 ;
48319 return 0;
48320 }
48321 _ACEOF
48322 if ac_fn_cxx_try_compile "$LINENO"; then :
48323 glibcxx_cv_func__fmodf_use=yes
48324 else
48325 glibcxx_cv_func__fmodf_use=no
48326 fi
48327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48328 ac_ext=c
48329 ac_cpp='$CPP $CPPFLAGS'
48330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48333
48334
48335 fi
48336
48337 fi
48338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48339 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48340
48341 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48342 for ac_func in _fmodf
48343 do :
48344 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48345 if test "x$ac_cv_func__fmodf" = x""yes; then :
48346 cat >>confdefs.h <<_ACEOF
48347 #define HAVE__FMODF 1
48348 _ACEOF
48349
48350 fi
48351 done
48352
48353 fi
48354 fi
48355
48356
48357
48358
48359
48360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48361 $as_echo_n "checking for frexpf declaration... " >&6; }
48362 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48363 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48364 $as_echo_n "(cached) " >&6
48365 else
48366
48367
48368 ac_ext=cpp
48369 ac_cpp='$CXXCPP $CPPFLAGS'
48370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48373
48374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48375 /* end confdefs.h. */
48376 #include <math.h>
48377 int
48378 main ()
48379 {
48380 frexpf(0, 0);
48381 ;
48382 return 0;
48383 }
48384 _ACEOF
48385 if ac_fn_cxx_try_compile "$LINENO"; then :
48386 glibcxx_cv_func_frexpf_use=yes
48387 else
48388 glibcxx_cv_func_frexpf_use=no
48389 fi
48390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48391 ac_ext=c
48392 ac_cpp='$CPP $CPPFLAGS'
48393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48396
48397
48398 fi
48399
48400 fi
48401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48402 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48403
48404 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48405 for ac_func in frexpf
48406 do :
48407 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48408 if test "x$ac_cv_func_frexpf" = x""yes; then :
48409 cat >>confdefs.h <<_ACEOF
48410 #define HAVE_FREXPF 1
48411 _ACEOF
48412
48413 fi
48414 done
48415
48416 else
48417
48418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48419 $as_echo_n "checking for _frexpf declaration... " >&6; }
48420 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48421 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48422 $as_echo_n "(cached) " >&6
48423 else
48424
48425
48426 ac_ext=cpp
48427 ac_cpp='$CXXCPP $CPPFLAGS'
48428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48431
48432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48433 /* end confdefs.h. */
48434 #include <math.h>
48435 int
48436 main ()
48437 {
48438 _frexpf(0, 0);
48439 ;
48440 return 0;
48441 }
48442 _ACEOF
48443 if ac_fn_cxx_try_compile "$LINENO"; then :
48444 glibcxx_cv_func__frexpf_use=yes
48445 else
48446 glibcxx_cv_func__frexpf_use=no
48447 fi
48448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48449 ac_ext=c
48450 ac_cpp='$CPP $CPPFLAGS'
48451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48454
48455
48456 fi
48457
48458 fi
48459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48460 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48461
48462 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48463 for ac_func in _frexpf
48464 do :
48465 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48466 if test "x$ac_cv_func__frexpf" = x""yes; then :
48467 cat >>confdefs.h <<_ACEOF
48468 #define HAVE__FREXPF 1
48469 _ACEOF
48470
48471 fi
48472 done
48473
48474 fi
48475 fi
48476
48477
48478
48479
48480
48481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48482 $as_echo_n "checking for hypotf declaration... " >&6; }
48483 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48484 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48485 $as_echo_n "(cached) " >&6
48486 else
48487
48488
48489 ac_ext=cpp
48490 ac_cpp='$CXXCPP $CPPFLAGS'
48491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48494
48495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48496 /* end confdefs.h. */
48497 #include <math.h>
48498 int
48499 main ()
48500 {
48501 hypotf(0, 0);
48502 ;
48503 return 0;
48504 }
48505 _ACEOF
48506 if ac_fn_cxx_try_compile "$LINENO"; then :
48507 glibcxx_cv_func_hypotf_use=yes
48508 else
48509 glibcxx_cv_func_hypotf_use=no
48510 fi
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 ac_ext=c
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48517
48518
48519 fi
48520
48521 fi
48522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48523 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48524
48525 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48526 for ac_func in hypotf
48527 do :
48528 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48529 if test "x$ac_cv_func_hypotf" = x""yes; then :
48530 cat >>confdefs.h <<_ACEOF
48531 #define HAVE_HYPOTF 1
48532 _ACEOF
48533
48534 fi
48535 done
48536
48537 else
48538
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48540 $as_echo_n "checking for _hypotf declaration... " >&6; }
48541 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48542 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48543 $as_echo_n "(cached) " >&6
48544 else
48545
48546
48547 ac_ext=cpp
48548 ac_cpp='$CXXCPP $CPPFLAGS'
48549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48552
48553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48554 /* end confdefs.h. */
48555 #include <math.h>
48556 int
48557 main ()
48558 {
48559 _hypotf(0, 0);
48560 ;
48561 return 0;
48562 }
48563 _ACEOF
48564 if ac_fn_cxx_try_compile "$LINENO"; then :
48565 glibcxx_cv_func__hypotf_use=yes
48566 else
48567 glibcxx_cv_func__hypotf_use=no
48568 fi
48569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48570 ac_ext=c
48571 ac_cpp='$CPP $CPPFLAGS'
48572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48575
48576
48577 fi
48578
48579 fi
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48581 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48582
48583 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48584 for ac_func in _hypotf
48585 do :
48586 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48587 if test "x$ac_cv_func__hypotf" = x""yes; then :
48588 cat >>confdefs.h <<_ACEOF
48589 #define HAVE__HYPOTF 1
48590 _ACEOF
48591
48592 fi
48593 done
48594
48595 fi
48596 fi
48597
48598
48599
48600
48601
48602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48603 $as_echo_n "checking for ldexpf declaration... " >&6; }
48604 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48605 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48606 $as_echo_n "(cached) " >&6
48607 else
48608
48609
48610 ac_ext=cpp
48611 ac_cpp='$CXXCPP $CPPFLAGS'
48612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48615
48616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48617 /* end confdefs.h. */
48618 #include <math.h>
48619 int
48620 main ()
48621 {
48622 ldexpf(0, 0);
48623 ;
48624 return 0;
48625 }
48626 _ACEOF
48627 if ac_fn_cxx_try_compile "$LINENO"; then :
48628 glibcxx_cv_func_ldexpf_use=yes
48629 else
48630 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
48644 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48645
48646 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48647 for ac_func in ldexpf
48648 do :
48649 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48650 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48651 cat >>confdefs.h <<_ACEOF
48652 #define HAVE_LDEXPF 1
48653 _ACEOF
48654
48655 fi
48656 done
48657
48658 else
48659
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48661 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48662 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48663 if test "${glibcxx_cv_func__ldexpf_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 int
48678 main ()
48679 {
48680 _ldexpf(0, 0);
48681 ;
48682 return 0;
48683 }
48684 _ACEOF
48685 if ac_fn_cxx_try_compile "$LINENO"; then :
48686 glibcxx_cv_func__ldexpf_use=yes
48687 else
48688 glibcxx_cv_func__ldexpf_use=no
48689 fi
48690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48691 ac_ext=c
48692 ac_cpp='$CPP $CPPFLAGS'
48693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48696
48697
48698 fi
48699
48700 fi
48701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48702 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48703
48704 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48705 for ac_func in _ldexpf
48706 do :
48707 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48708 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48709 cat >>confdefs.h <<_ACEOF
48710 #define HAVE__LDEXPF 1
48711 _ACEOF
48712
48713 fi
48714 done
48715
48716 fi
48717 fi
48718
48719
48720
48721
48722
48723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48724 $as_echo_n "checking for logf declaration... " >&6; }
48725 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48726 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48727 $as_echo_n "(cached) " >&6
48728 else
48729
48730
48731 ac_ext=cpp
48732 ac_cpp='$CXXCPP $CPPFLAGS'
48733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48736
48737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48738 /* end confdefs.h. */
48739 #include <math.h>
48740 #ifdef HAVE_IEEEFP_H
48741 #include <ieeefp.h>
48742 #endif
48743
48744 int
48745 main ()
48746 {
48747 logf(0);
48748 ;
48749 return 0;
48750 }
48751 _ACEOF
48752 if ac_fn_cxx_try_compile "$LINENO"; then :
48753 glibcxx_cv_func_logf_use=yes
48754 else
48755 glibcxx_cv_func_logf_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_logf_use" >&5
48769 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48770
48771 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48772 for ac_func in logf
48773 do :
48774 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48775 if test "x$ac_cv_func_logf" = x""yes; then :
48776 cat >>confdefs.h <<_ACEOF
48777 #define HAVE_LOGF 1
48778 _ACEOF
48779
48780 fi
48781 done
48782
48783 else
48784
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48786 $as_echo_n "checking for _logf declaration... " >&6; }
48787 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48788 if test "${glibcxx_cv_func__logf_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 #ifdef HAVE_IEEEFP_H
48803 #include <ieeefp.h>
48804 #endif
48805
48806 int
48807 main ()
48808 {
48809 _logf(0);
48810 ;
48811 return 0;
48812 }
48813 _ACEOF
48814 if ac_fn_cxx_try_compile "$LINENO"; then :
48815 glibcxx_cv_func__logf_use=yes
48816 else
48817 glibcxx_cv_func__logf_use=no
48818 fi
48819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48820 ac_ext=c
48821 ac_cpp='$CPP $CPPFLAGS'
48822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48825
48826
48827 fi
48828
48829 fi
48830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48831 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48832
48833 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48834 for ac_func in _logf
48835 do :
48836 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48837 if test "x$ac_cv_func__logf" = x""yes; then :
48838 cat >>confdefs.h <<_ACEOF
48839 #define HAVE__LOGF 1
48840 _ACEOF
48841
48842 fi
48843 done
48844
48845 fi
48846 fi
48847
48848
48849
48850
48851
48852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48853 $as_echo_n "checking for log10f declaration... " >&6; }
48854 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48855 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48856 $as_echo_n "(cached) " >&6
48857 else
48858
48859
48860 ac_ext=cpp
48861 ac_cpp='$CXXCPP $CPPFLAGS'
48862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48865
48866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48867 /* end confdefs.h. */
48868 #include <math.h>
48869 #ifdef HAVE_IEEEFP_H
48870 #include <ieeefp.h>
48871 #endif
48872
48873 int
48874 main ()
48875 {
48876 log10f(0);
48877 ;
48878 return 0;
48879 }
48880 _ACEOF
48881 if ac_fn_cxx_try_compile "$LINENO"; then :
48882 glibcxx_cv_func_log10f_use=yes
48883 else
48884 glibcxx_cv_func_log10f_use=no
48885 fi
48886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48887 ac_ext=c
48888 ac_cpp='$CPP $CPPFLAGS'
48889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48892
48893
48894 fi
48895
48896 fi
48897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48898 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48899
48900 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48901 for ac_func in log10f
48902 do :
48903 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48904 if test "x$ac_cv_func_log10f" = x""yes; then :
48905 cat >>confdefs.h <<_ACEOF
48906 #define HAVE_LOG10F 1
48907 _ACEOF
48908
48909 fi
48910 done
48911
48912 else
48913
48914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48915 $as_echo_n "checking for _log10f declaration... " >&6; }
48916 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48917 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48918 $as_echo_n "(cached) " >&6
48919 else
48920
48921
48922 ac_ext=cpp
48923 ac_cpp='$CXXCPP $CPPFLAGS'
48924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48927
48928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48929 /* end confdefs.h. */
48930 #include <math.h>
48931 #ifdef HAVE_IEEEFP_H
48932 #include <ieeefp.h>
48933 #endif
48934
48935 int
48936 main ()
48937 {
48938 _log10f(0);
48939 ;
48940 return 0;
48941 }
48942 _ACEOF
48943 if ac_fn_cxx_try_compile "$LINENO"; then :
48944 glibcxx_cv_func__log10f_use=yes
48945 else
48946 glibcxx_cv_func__log10f_use=no
48947 fi
48948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48949 ac_ext=c
48950 ac_cpp='$CPP $CPPFLAGS'
48951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48954
48955
48956 fi
48957
48958 fi
48959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48960 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48961
48962 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48963 for ac_func in _log10f
48964 do :
48965 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48966 if test "x$ac_cv_func__log10f" = x""yes; then :
48967 cat >>confdefs.h <<_ACEOF
48968 #define HAVE__LOG10F 1
48969 _ACEOF
48970
48971 fi
48972 done
48973
48974 fi
48975 fi
48976
48977
48978
48979
48980
48981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48982 $as_echo_n "checking for modff declaration... " >&6; }
48983 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48984 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48985 $as_echo_n "(cached) " >&6
48986 else
48987
48988
48989 ac_ext=cpp
48990 ac_cpp='$CXXCPP $CPPFLAGS'
48991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48994
48995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48996 /* end confdefs.h. */
48997 #include <math.h>
48998 int
48999 main ()
49000 {
49001 modff(0, 0);
49002 ;
49003 return 0;
49004 }
49005 _ACEOF
49006 if ac_fn_cxx_try_compile "$LINENO"; then :
49007 glibcxx_cv_func_modff_use=yes
49008 else
49009 glibcxx_cv_func_modff_use=no
49010 fi
49011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49012 ac_ext=c
49013 ac_cpp='$CPP $CPPFLAGS'
49014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49017
49018
49019 fi
49020
49021 fi
49022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49023 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49024
49025 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49026 for ac_func in modff
49027 do :
49028 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49029 if test "x$ac_cv_func_modff" = x""yes; then :
49030 cat >>confdefs.h <<_ACEOF
49031 #define HAVE_MODFF 1
49032 _ACEOF
49033
49034 fi
49035 done
49036
49037 else
49038
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49040 $as_echo_n "checking for _modff declaration... " >&6; }
49041 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49042 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49043 $as_echo_n "(cached) " >&6
49044 else
49045
49046
49047 ac_ext=cpp
49048 ac_cpp='$CXXCPP $CPPFLAGS'
49049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49052
49053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49054 /* end confdefs.h. */
49055 #include <math.h>
49056 int
49057 main ()
49058 {
49059 _modff(0, 0);
49060 ;
49061 return 0;
49062 }
49063 _ACEOF
49064 if ac_fn_cxx_try_compile "$LINENO"; then :
49065 glibcxx_cv_func__modff_use=yes
49066 else
49067 glibcxx_cv_func__modff_use=no
49068 fi
49069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070 ac_ext=c
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075
49076
49077 fi
49078
49079 fi
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49081 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49082
49083 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49084 for ac_func in _modff
49085 do :
49086 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49087 if test "x$ac_cv_func__modff" = x""yes; then :
49088 cat >>confdefs.h <<_ACEOF
49089 #define HAVE__MODFF 1
49090 _ACEOF
49091
49092 fi
49093 done
49094
49095 fi
49096 fi
49097
49098
49099
49100
49101
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49103 $as_echo_n "checking for modf declaration... " >&6; }
49104 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49105 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49106 $as_echo_n "(cached) " >&6
49107 else
49108
49109
49110 ac_ext=cpp
49111 ac_cpp='$CXXCPP $CPPFLAGS'
49112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49115
49116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49117 /* end confdefs.h. */
49118 #include <math.h>
49119 int
49120 main ()
49121 {
49122 modf(0, 0);
49123 ;
49124 return 0;
49125 }
49126 _ACEOF
49127 if ac_fn_cxx_try_compile "$LINENO"; then :
49128 glibcxx_cv_func_modf_use=yes
49129 else
49130 glibcxx_cv_func_modf_use=no
49131 fi
49132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49133 ac_ext=c
49134 ac_cpp='$CPP $CPPFLAGS'
49135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49138
49139
49140 fi
49141
49142 fi
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49144 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49145
49146 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49147 for ac_func in modf
49148 do :
49149 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49150 if test "x$ac_cv_func_modf" = x""yes; then :
49151 cat >>confdefs.h <<_ACEOF
49152 #define HAVE_MODF 1
49153 _ACEOF
49154
49155 fi
49156 done
49157
49158 else
49159
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49161 $as_echo_n "checking for _modf declaration... " >&6; }
49162 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49163 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49164 $as_echo_n "(cached) " >&6
49165 else
49166
49167
49168 ac_ext=cpp
49169 ac_cpp='$CXXCPP $CPPFLAGS'
49170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49173
49174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49175 /* end confdefs.h. */
49176 #include <math.h>
49177 int
49178 main ()
49179 {
49180 _modf(0, 0);
49181 ;
49182 return 0;
49183 }
49184 _ACEOF
49185 if ac_fn_cxx_try_compile "$LINENO"; then :
49186 glibcxx_cv_func__modf_use=yes
49187 else
49188 glibcxx_cv_func__modf_use=no
49189 fi
49190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49191 ac_ext=c
49192 ac_cpp='$CPP $CPPFLAGS'
49193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49196
49197
49198 fi
49199
49200 fi
49201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49202 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49203
49204 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49205 for ac_func in _modf
49206 do :
49207 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49208 if test "x$ac_cv_func__modf" = x""yes; then :
49209 cat >>confdefs.h <<_ACEOF
49210 #define HAVE__MODF 1
49211 _ACEOF
49212
49213 fi
49214 done
49215
49216 fi
49217 fi
49218
49219
49220
49221
49222
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49224 $as_echo_n "checking for powf declaration... " >&6; }
49225 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49226 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49227 $as_echo_n "(cached) " >&6
49228 else
49229
49230
49231 ac_ext=cpp
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49236
49237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49238 /* end confdefs.h. */
49239 #include <math.h>
49240 int
49241 main ()
49242 {
49243 powf(0, 0);
49244 ;
49245 return 0;
49246 }
49247 _ACEOF
49248 if ac_fn_cxx_try_compile "$LINENO"; then :
49249 glibcxx_cv_func_powf_use=yes
49250 else
49251 glibcxx_cv_func_powf_use=no
49252 fi
49253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49254 ac_ext=c
49255 ac_cpp='$CPP $CPPFLAGS'
49256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49259
49260
49261 fi
49262
49263 fi
49264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49265 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49266
49267 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49268 for ac_func in powf
49269 do :
49270 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49271 if test "x$ac_cv_func_powf" = x""yes; then :
49272 cat >>confdefs.h <<_ACEOF
49273 #define HAVE_POWF 1
49274 _ACEOF
49275
49276 fi
49277 done
49278
49279 else
49280
49281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49282 $as_echo_n "checking for _powf declaration... " >&6; }
49283 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49284 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49285 $as_echo_n "(cached) " >&6
49286 else
49287
49288
49289 ac_ext=cpp
49290 ac_cpp='$CXXCPP $CPPFLAGS'
49291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49294
49295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49296 /* end confdefs.h. */
49297 #include <math.h>
49298 int
49299 main ()
49300 {
49301 _powf(0, 0);
49302 ;
49303 return 0;
49304 }
49305 _ACEOF
49306 if ac_fn_cxx_try_compile "$LINENO"; then :
49307 glibcxx_cv_func__powf_use=yes
49308 else
49309 glibcxx_cv_func__powf_use=no
49310 fi
49311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49312 ac_ext=c
49313 ac_cpp='$CPP $CPPFLAGS'
49314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49317
49318
49319 fi
49320
49321 fi
49322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49323 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49324
49325 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49326 for ac_func in _powf
49327 do :
49328 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49329 if test "x$ac_cv_func__powf" = x""yes; then :
49330 cat >>confdefs.h <<_ACEOF
49331 #define HAVE__POWF 1
49332 _ACEOF
49333
49334 fi
49335 done
49336
49337 fi
49338 fi
49339
49340
49341
49342
49343
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49345 $as_echo_n "checking for sqrtf declaration... " >&6; }
49346 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49347 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49348 $as_echo_n "(cached) " >&6
49349 else
49350
49351
49352 ac_ext=cpp
49353 ac_cpp='$CXXCPP $CPPFLAGS'
49354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49357
49358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49359 /* end confdefs.h. */
49360 #include <math.h>
49361 #ifdef HAVE_IEEEFP_H
49362 #include <ieeefp.h>
49363 #endif
49364
49365 int
49366 main ()
49367 {
49368 sqrtf(0);
49369 ;
49370 return 0;
49371 }
49372 _ACEOF
49373 if ac_fn_cxx_try_compile "$LINENO"; then :
49374 glibcxx_cv_func_sqrtf_use=yes
49375 else
49376 glibcxx_cv_func_sqrtf_use=no
49377 fi
49378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49379 ac_ext=c
49380 ac_cpp='$CPP $CPPFLAGS'
49381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384
49385
49386 fi
49387
49388 fi
49389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49390 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49391
49392 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49393 for ac_func in sqrtf
49394 do :
49395 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49396 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49397 cat >>confdefs.h <<_ACEOF
49398 #define HAVE_SQRTF 1
49399 _ACEOF
49400
49401 fi
49402 done
49403
49404 else
49405
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49407 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49408 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49409 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49410 $as_echo_n "(cached) " >&6
49411 else
49412
49413
49414 ac_ext=cpp
49415 ac_cpp='$CXXCPP $CPPFLAGS'
49416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49419
49420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49421 /* end confdefs.h. */
49422 #include <math.h>
49423 #ifdef HAVE_IEEEFP_H
49424 #include <ieeefp.h>
49425 #endif
49426
49427 int
49428 main ()
49429 {
49430 _sqrtf(0);
49431 ;
49432 return 0;
49433 }
49434 _ACEOF
49435 if ac_fn_cxx_try_compile "$LINENO"; then :
49436 glibcxx_cv_func__sqrtf_use=yes
49437 else
49438 glibcxx_cv_func__sqrtf_use=no
49439 fi
49440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49441 ac_ext=c
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49446
49447
49448 fi
49449
49450 fi
49451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49452 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49453
49454 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49455 for ac_func in _sqrtf
49456 do :
49457 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49458 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49459 cat >>confdefs.h <<_ACEOF
49460 #define HAVE__SQRTF 1
49461 _ACEOF
49462
49463 fi
49464 done
49465
49466 fi
49467 fi
49468
49469
49470
49471
49472
49473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49474 $as_echo_n "checking for sincosf declaration... " >&6; }
49475 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49476 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49477 $as_echo_n "(cached) " >&6
49478 else
49479
49480
49481 ac_ext=cpp
49482 ac_cpp='$CXXCPP $CPPFLAGS'
49483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49486
49487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49488 /* end confdefs.h. */
49489 #include <math.h>
49490 int
49491 main ()
49492 {
49493 sincosf(0, 0, 0);
49494 ;
49495 return 0;
49496 }
49497 _ACEOF
49498 if ac_fn_cxx_try_compile "$LINENO"; then :
49499 glibcxx_cv_func_sincosf_use=yes
49500 else
49501 glibcxx_cv_func_sincosf_use=no
49502 fi
49503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49504 ac_ext=c
49505 ac_cpp='$CPP $CPPFLAGS'
49506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49509
49510
49511 fi
49512
49513 fi
49514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49515 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49516
49517 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49518 for ac_func in sincosf
49519 do :
49520 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49521 if test "x$ac_cv_func_sincosf" = x""yes; then :
49522 cat >>confdefs.h <<_ACEOF
49523 #define HAVE_SINCOSF 1
49524 _ACEOF
49525
49526 fi
49527 done
49528
49529 else
49530
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49532 $as_echo_n "checking for _sincosf declaration... " >&6; }
49533 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49534 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49535 $as_echo_n "(cached) " >&6
49536 else
49537
49538
49539 ac_ext=cpp
49540 ac_cpp='$CXXCPP $CPPFLAGS'
49541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49544
49545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49546 /* end confdefs.h. */
49547 #include <math.h>
49548 int
49549 main ()
49550 {
49551 _sincosf(0, 0, 0);
49552 ;
49553 return 0;
49554 }
49555 _ACEOF
49556 if ac_fn_cxx_try_compile "$LINENO"; then :
49557 glibcxx_cv_func__sincosf_use=yes
49558 else
49559 glibcxx_cv_func__sincosf_use=no
49560 fi
49561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 ac_ext=c
49563 ac_cpp='$CPP $CPPFLAGS'
49564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49567
49568
49569 fi
49570
49571 fi
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49573 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49574
49575 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49576 for ac_func in _sincosf
49577 do :
49578 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49579 if test "x$ac_cv_func__sincosf" = x""yes; then :
49580 cat >>confdefs.h <<_ACEOF
49581 #define HAVE__SINCOSF 1
49582 _ACEOF
49583
49584 fi
49585 done
49586
49587 fi
49588 fi
49589
49590
49591
49592
49593
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49595 $as_echo_n "checking for finitef declaration... " >&6; }
49596 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49597 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49600
49601
49602 ac_ext=cpp
49603 ac_cpp='$CXXCPP $CPPFLAGS'
49604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49607
49608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 #ifdef HAVE_IEEEFP_H
49612 #include <ieeefp.h>
49613 #endif
49614
49615 int
49616 main ()
49617 {
49618 finitef(0);
49619 ;
49620 return 0;
49621 }
49622 _ACEOF
49623 if ac_fn_cxx_try_compile "$LINENO"; then :
49624 glibcxx_cv_func_finitef_use=yes
49625 else
49626 glibcxx_cv_func_finitef_use=no
49627 fi
49628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49629 ac_ext=c
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49634
49635
49636 fi
49637
49638 fi
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49640 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49641
49642 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49643 for ac_func in finitef
49644 do :
49645 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49646 if test "x$ac_cv_func_finitef" = x""yes; then :
49647 cat >>confdefs.h <<_ACEOF
49648 #define HAVE_FINITEF 1
49649 _ACEOF
49650
49651 fi
49652 done
49653
49654 else
49655
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49657 $as_echo_n "checking for _finitef declaration... " >&6; }
49658 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49659 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49662
49663
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49669
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49673 #ifdef HAVE_IEEEFP_H
49674 #include <ieeefp.h>
49675 #endif
49676
49677 int
49678 main ()
49679 {
49680 _finitef(0);
49681 ;
49682 return 0;
49683 }
49684 _ACEOF
49685 if ac_fn_cxx_try_compile "$LINENO"; then :
49686 glibcxx_cv_func__finitef_use=yes
49687 else
49688 glibcxx_cv_func__finitef_use=no
49689 fi
49690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49696
49697
49698 fi
49699
49700 fi
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49702 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49703
49704 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49705 for ac_func in _finitef
49706 do :
49707 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49708 if test "x$ac_cv_func__finitef" = x""yes; then :
49709 cat >>confdefs.h <<_ACEOF
49710 #define HAVE__FINITEF 1
49711 _ACEOF
49712
49713 fi
49714 done
49715
49716 fi
49717 fi
49718
49719
49720
49721
49722
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49724 $as_echo_n "checking for long double trig functions... " >&6; }
49725 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49726 $as_echo_n "(cached) " >&6
49727 else
49728
49729
49730 ac_ext=cpp
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735
49736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h. */
49738 #include <math.h>
49739 int
49740 main ()
49741 {
49742 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49743 ;
49744 return 0;
49745 }
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func_long_double_trig_use=yes
49749 else
49750 glibcxx_cv_func_long_double_trig_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 fi
49760
49761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49762 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49763 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49764 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49765 do :
49766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49768 eval as_val=\$$as_ac_var
49769 if test "x$as_val" = x""yes; then :
49770 cat >>confdefs.h <<_ACEOF
49771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49772 _ACEOF
49773
49774 fi
49775 done
49776
49777 else
49778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49779 $as_echo_n "checking for _long double trig functions... " >&6; }
49780 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49781 $as_echo_n "(cached) " >&6
49782 else
49783
49784
49785 ac_ext=cpp
49786 ac_cpp='$CXXCPP $CPPFLAGS'
49787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49790
49791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49792 /* end confdefs.h. */
49793 #include <math.h>
49794 int
49795 main ()
49796 {
49797 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49798 ;
49799 return 0;
49800 }
49801 _ACEOF
49802 if ac_fn_cxx_try_compile "$LINENO"; then :
49803 glibcxx_cv_func__long_double_trig_use=yes
49804 else
49805 glibcxx_cv_func__long_double_trig_use=no
49806 fi
49807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49808 ac_ext=c
49809 ac_cpp='$CPP $CPPFLAGS'
49810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49813
49814 fi
49815
49816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49817 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49818 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49819 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49820 do :
49821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49823 eval as_val=\$$as_ac_var
49824 if test "x$as_val" = x""yes; then :
49825 cat >>confdefs.h <<_ACEOF
49826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49827 _ACEOF
49828
49829 fi
49830 done
49831
49832 fi
49833 fi
49834
49835
49836
49837
49838
49839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49840 $as_echo_n "checking for long double round functions... " >&6; }
49841 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49842 $as_echo_n "(cached) " >&6
49843 else
49844
49845
49846 ac_ext=cpp
49847 ac_cpp='$CXXCPP $CPPFLAGS'
49848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49851
49852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49853 /* end confdefs.h. */
49854 #include <math.h>
49855 int
49856 main ()
49857 {
49858 ceill (0); floorl (0);
49859 ;
49860 return 0;
49861 }
49862 _ACEOF
49863 if ac_fn_cxx_try_compile "$LINENO"; then :
49864 glibcxx_cv_func_long_double_round_use=yes
49865 else
49866 glibcxx_cv_func_long_double_round_use=no
49867 fi
49868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49869 ac_ext=c
49870 ac_cpp='$CPP $CPPFLAGS'
49871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49874
49875 fi
49876
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49878 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49879 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49880 for ac_func in ceill floorl
49881 do :
49882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49884 eval as_val=\$$as_ac_var
49885 if test "x$as_val" = x""yes; then :
49886 cat >>confdefs.h <<_ACEOF
49887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49888 _ACEOF
49889
49890 fi
49891 done
49892
49893 else
49894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49895 $as_echo_n "checking for _long double round functions... " >&6; }
49896 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49897 $as_echo_n "(cached) " >&6
49898 else
49899
49900
49901 ac_ext=cpp
49902 ac_cpp='$CXXCPP $CPPFLAGS'
49903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906
49907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49908 /* end confdefs.h. */
49909 #include <math.h>
49910 int
49911 main ()
49912 {
49913 _ceill (0); _floorl (0);
49914 ;
49915 return 0;
49916 }
49917 _ACEOF
49918 if ac_fn_cxx_try_compile "$LINENO"; then :
49919 glibcxx_cv_func__long_double_round_use=yes
49920 else
49921 glibcxx_cv_func__long_double_round_use=no
49922 fi
49923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49924 ac_ext=c
49925 ac_cpp='$CPP $CPPFLAGS'
49926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49929
49930 fi
49931
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49933 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49934 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49935 for ac_func in _ceill _floorl
49936 do :
49937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49939 eval as_val=\$$as_ac_var
49940 if test "x$as_val" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49943 _ACEOF
49944
49945 fi
49946 done
49947
49948 fi
49949 fi
49950
49951
49952
49953
49954
49955
49956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49957 $as_echo_n "checking for isnanl declaration... " >&6; }
49958 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49959 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49960 $as_echo_n "(cached) " >&6
49961 else
49962
49963
49964 ac_ext=cpp
49965 ac_cpp='$CXXCPP $CPPFLAGS'
49966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49969
49970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49971 /* end confdefs.h. */
49972 #include <math.h>
49973 #ifdef HAVE_IEEEFP_H
49974 #include <ieeefp.h>
49975 #endif
49976
49977 int
49978 main ()
49979 {
49980 isnanl(0);
49981 ;
49982 return 0;
49983 }
49984 _ACEOF
49985 if ac_fn_cxx_try_compile "$LINENO"; then :
49986 glibcxx_cv_func_isnanl_use=yes
49987 else
49988 glibcxx_cv_func_isnanl_use=no
49989 fi
49990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49996
49997
49998 fi
49999
50000 fi
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50002 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50003
50004 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50005 for ac_func in isnanl
50006 do :
50007 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50008 if test "x$ac_cv_func_isnanl" = x""yes; then :
50009 cat >>confdefs.h <<_ACEOF
50010 #define HAVE_ISNANL 1
50011 _ACEOF
50012
50013 fi
50014 done
50015
50016 else
50017
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50019 $as_echo_n "checking for _isnanl declaration... " >&6; }
50020 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50021 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50022 $as_echo_n "(cached) " >&6
50023 else
50024
50025
50026 ac_ext=cpp
50027 ac_cpp='$CXXCPP $CPPFLAGS'
50028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50031
50032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50033 /* end confdefs.h. */
50034 #include <math.h>
50035 #ifdef HAVE_IEEEFP_H
50036 #include <ieeefp.h>
50037 #endif
50038
50039 int
50040 main ()
50041 {
50042 _isnanl(0);
50043 ;
50044 return 0;
50045 }
50046 _ACEOF
50047 if ac_fn_cxx_try_compile "$LINENO"; then :
50048 glibcxx_cv_func__isnanl_use=yes
50049 else
50050 glibcxx_cv_func__isnanl_use=no
50051 fi
50052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50053 ac_ext=c
50054 ac_cpp='$CPP $CPPFLAGS'
50055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058
50059
50060 fi
50061
50062 fi
50063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50064 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50065
50066 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50067 for ac_func in _isnanl
50068 do :
50069 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50070 if test "x$ac_cv_func__isnanl" = x""yes; then :
50071 cat >>confdefs.h <<_ACEOF
50072 #define HAVE__ISNANL 1
50073 _ACEOF
50074
50075 fi
50076 done
50077
50078 fi
50079 fi
50080
50081
50082
50083
50084
50085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50086 $as_echo_n "checking for isinfl declaration... " >&6; }
50087 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50088 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50089 $as_echo_n "(cached) " >&6
50090 else
50091
50092
50093 ac_ext=cpp
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50098
50099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50100 /* end confdefs.h. */
50101 #include <math.h>
50102 #ifdef HAVE_IEEEFP_H
50103 #include <ieeefp.h>
50104 #endif
50105
50106 int
50107 main ()
50108 {
50109 isinfl(0);
50110 ;
50111 return 0;
50112 }
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_isinfl_use=yes
50116 else
50117 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
50131 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50132
50133 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50134 for ac_func in isinfl
50135 do :
50136 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50137 if test "x$ac_cv_func_isinfl" = x""yes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_ISINFL 1
50140 _ACEOF
50141
50142 fi
50143 done
50144
50145 else
50146
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50148 $as_echo_n "checking for _isinfl declaration... " >&6; }
50149 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50150 if test "${glibcxx_cv_func__isinfl_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 #ifdef HAVE_IEEEFP_H
50165 #include <ieeefp.h>
50166 #endif
50167
50168 int
50169 main ()
50170 {
50171 _isinfl(0);
50172 ;
50173 return 0;
50174 }
50175 _ACEOF
50176 if ac_fn_cxx_try_compile "$LINENO"; then :
50177 glibcxx_cv_func__isinfl_use=yes
50178 else
50179 glibcxx_cv_func__isinfl_use=no
50180 fi
50181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50182 ac_ext=c
50183 ac_cpp='$CPP $CPPFLAGS'
50184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50187
50188
50189 fi
50190
50191 fi
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50193 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50194
50195 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50196 for ac_func in _isinfl
50197 do :
50198 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50199 if test "x$ac_cv_func__isinfl" = x""yes; then :
50200 cat >>confdefs.h <<_ACEOF
50201 #define HAVE__ISINFL 1
50202 _ACEOF
50203
50204 fi
50205 done
50206
50207 fi
50208 fi
50209
50210
50211
50212
50213
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50215 $as_echo_n "checking for atan2l declaration... " >&6; }
50216 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50217 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50218 $as_echo_n "(cached) " >&6
50219 else
50220
50221
50222 ac_ext=cpp
50223 ac_cpp='$CXXCPP $CPPFLAGS'
50224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50227
50228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50229 /* end confdefs.h. */
50230 #include <math.h>
50231 int
50232 main ()
50233 {
50234 atan2l(0, 0);
50235 ;
50236 return 0;
50237 }
50238 _ACEOF
50239 if ac_fn_cxx_try_compile "$LINENO"; then :
50240 glibcxx_cv_func_atan2l_use=yes
50241 else
50242 glibcxx_cv_func_atan2l_use=no
50243 fi
50244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50245 ac_ext=c
50246 ac_cpp='$CPP $CPPFLAGS'
50247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50250
50251
50252 fi
50253
50254 fi
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50256 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50257
50258 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50259 for ac_func in atan2l
50260 do :
50261 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50262 if test "x$ac_cv_func_atan2l" = x""yes; then :
50263 cat >>confdefs.h <<_ACEOF
50264 #define HAVE_ATAN2L 1
50265 _ACEOF
50266
50267 fi
50268 done
50269
50270 else
50271
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50273 $as_echo_n "checking for _atan2l declaration... " >&6; }
50274 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50275 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50276 $as_echo_n "(cached) " >&6
50277 else
50278
50279
50280 ac_ext=cpp
50281 ac_cpp='$CXXCPP $CPPFLAGS'
50282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50285
50286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50287 /* end confdefs.h. */
50288 #include <math.h>
50289 int
50290 main ()
50291 {
50292 _atan2l(0, 0);
50293 ;
50294 return 0;
50295 }
50296 _ACEOF
50297 if ac_fn_cxx_try_compile "$LINENO"; then :
50298 glibcxx_cv_func__atan2l_use=yes
50299 else
50300 glibcxx_cv_func__atan2l_use=no
50301 fi
50302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50303 ac_ext=c
50304 ac_cpp='$CPP $CPPFLAGS'
50305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50308
50309
50310 fi
50311
50312 fi
50313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50314 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50315
50316 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50317 for ac_func in _atan2l
50318 do :
50319 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50320 if test "x$ac_cv_func__atan2l" = x""yes; then :
50321 cat >>confdefs.h <<_ACEOF
50322 #define HAVE__ATAN2L 1
50323 _ACEOF
50324
50325 fi
50326 done
50327
50328 fi
50329 fi
50330
50331
50332
50333
50334
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50336 $as_echo_n "checking for expl declaration... " >&6; }
50337 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50338 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50339 $as_echo_n "(cached) " >&6
50340 else
50341
50342
50343 ac_ext=cpp
50344 ac_cpp='$CXXCPP $CPPFLAGS'
50345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50348
50349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50350 /* end confdefs.h. */
50351 #include <math.h>
50352 #ifdef HAVE_IEEEFP_H
50353 #include <ieeefp.h>
50354 #endif
50355
50356 int
50357 main ()
50358 {
50359 expl(0);
50360 ;
50361 return 0;
50362 }
50363 _ACEOF
50364 if ac_fn_cxx_try_compile "$LINENO"; then :
50365 glibcxx_cv_func_expl_use=yes
50366 else
50367 glibcxx_cv_func_expl_use=no
50368 fi
50369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50370 ac_ext=c
50371 ac_cpp='$CPP $CPPFLAGS'
50372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50375
50376
50377 fi
50378
50379 fi
50380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50381 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50382
50383 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50384 for ac_func in expl
50385 do :
50386 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50387 if test "x$ac_cv_func_expl" = x""yes; then :
50388 cat >>confdefs.h <<_ACEOF
50389 #define HAVE_EXPL 1
50390 _ACEOF
50391
50392 fi
50393 done
50394
50395 else
50396
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50398 $as_echo_n "checking for _expl declaration... " >&6; }
50399 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50400 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50401 $as_echo_n "(cached) " >&6
50402 else
50403
50404
50405 ac_ext=cpp
50406 ac_cpp='$CXXCPP $CPPFLAGS'
50407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50410
50411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50412 /* end confdefs.h. */
50413 #include <math.h>
50414 #ifdef HAVE_IEEEFP_H
50415 #include <ieeefp.h>
50416 #endif
50417
50418 int
50419 main ()
50420 {
50421 _expl(0);
50422 ;
50423 return 0;
50424 }
50425 _ACEOF
50426 if ac_fn_cxx_try_compile "$LINENO"; then :
50427 glibcxx_cv_func__expl_use=yes
50428 else
50429 glibcxx_cv_func__expl_use=no
50430 fi
50431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50432 ac_ext=c
50433 ac_cpp='$CPP $CPPFLAGS'
50434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50437
50438
50439 fi
50440
50441 fi
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50443 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50444
50445 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50446 for ac_func in _expl
50447 do :
50448 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50449 if test "x$ac_cv_func__expl" = x""yes; then :
50450 cat >>confdefs.h <<_ACEOF
50451 #define HAVE__EXPL 1
50452 _ACEOF
50453
50454 fi
50455 done
50456
50457 fi
50458 fi
50459
50460
50461
50462
50463
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50465 $as_echo_n "checking for fabsl declaration... " >&6; }
50466 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50467 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50468 $as_echo_n "(cached) " >&6
50469 else
50470
50471
50472 ac_ext=cpp
50473 ac_cpp='$CXXCPP $CPPFLAGS'
50474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50477
50478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h. */
50480 #include <math.h>
50481 #ifdef HAVE_IEEEFP_H
50482 #include <ieeefp.h>
50483 #endif
50484
50485 int
50486 main ()
50487 {
50488 fabsl(0);
50489 ;
50490 return 0;
50491 }
50492 _ACEOF
50493 if ac_fn_cxx_try_compile "$LINENO"; then :
50494 glibcxx_cv_func_fabsl_use=yes
50495 else
50496 glibcxx_cv_func_fabsl_use=no
50497 fi
50498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50499 ac_ext=c
50500 ac_cpp='$CPP $CPPFLAGS'
50501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50504
50505
50506 fi
50507
50508 fi
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50510 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50511
50512 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50513 for ac_func in fabsl
50514 do :
50515 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50516 if test "x$ac_cv_func_fabsl" = x""yes; then :
50517 cat >>confdefs.h <<_ACEOF
50518 #define HAVE_FABSL 1
50519 _ACEOF
50520
50521 fi
50522 done
50523
50524 else
50525
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50527 $as_echo_n "checking for _fabsl declaration... " >&6; }
50528 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50529 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50530 $as_echo_n "(cached) " >&6
50531 else
50532
50533
50534 ac_ext=cpp
50535 ac_cpp='$CXXCPP $CPPFLAGS'
50536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50539
50540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50541 /* end confdefs.h. */
50542 #include <math.h>
50543 #ifdef HAVE_IEEEFP_H
50544 #include <ieeefp.h>
50545 #endif
50546
50547 int
50548 main ()
50549 {
50550 _fabsl(0);
50551 ;
50552 return 0;
50553 }
50554 _ACEOF
50555 if ac_fn_cxx_try_compile "$LINENO"; then :
50556 glibcxx_cv_func__fabsl_use=yes
50557 else
50558 glibcxx_cv_func__fabsl_use=no
50559 fi
50560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50561 ac_ext=c
50562 ac_cpp='$CPP $CPPFLAGS'
50563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50566
50567
50568 fi
50569
50570 fi
50571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50572 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50573
50574 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50575 for ac_func in _fabsl
50576 do :
50577 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50578 if test "x$ac_cv_func__fabsl" = x""yes; then :
50579 cat >>confdefs.h <<_ACEOF
50580 #define HAVE__FABSL 1
50581 _ACEOF
50582
50583 fi
50584 done
50585
50586 fi
50587 fi
50588
50589
50590
50591
50592
50593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50594 $as_echo_n "checking for fmodl declaration... " >&6; }
50595 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50596 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50597 $as_echo_n "(cached) " >&6
50598 else
50599
50600
50601 ac_ext=cpp
50602 ac_cpp='$CXXCPP $CPPFLAGS'
50603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50606
50607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50608 /* end confdefs.h. */
50609 #include <math.h>
50610 int
50611 main ()
50612 {
50613 fmodl(0, 0);
50614 ;
50615 return 0;
50616 }
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619 glibcxx_cv_func_fmodl_use=yes
50620 else
50621 glibcxx_cv_func_fmodl_use=no
50622 fi
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50629
50630
50631 fi
50632
50633 fi
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50635 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50636
50637 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50638 for ac_func in fmodl
50639 do :
50640 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50641 if test "x$ac_cv_func_fmodl" = x""yes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define HAVE_FMODL 1
50644 _ACEOF
50645
50646 fi
50647 done
50648
50649 else
50650
50651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50652 $as_echo_n "checking for _fmodl declaration... " >&6; }
50653 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50654 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50655 $as_echo_n "(cached) " >&6
50656 else
50657
50658
50659 ac_ext=cpp
50660 ac_cpp='$CXXCPP $CPPFLAGS'
50661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50664
50665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50666 /* end confdefs.h. */
50667 #include <math.h>
50668 int
50669 main ()
50670 {
50671 _fmodl(0, 0);
50672 ;
50673 return 0;
50674 }
50675 _ACEOF
50676 if ac_fn_cxx_try_compile "$LINENO"; then :
50677 glibcxx_cv_func__fmodl_use=yes
50678 else
50679 glibcxx_cv_func__fmodl_use=no
50680 fi
50681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50682 ac_ext=c
50683 ac_cpp='$CPP $CPPFLAGS'
50684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50687
50688
50689 fi
50690
50691 fi
50692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50693 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50694
50695 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50696 for ac_func in _fmodl
50697 do :
50698 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50699 if test "x$ac_cv_func__fmodl" = x""yes; then :
50700 cat >>confdefs.h <<_ACEOF
50701 #define HAVE__FMODL 1
50702 _ACEOF
50703
50704 fi
50705 done
50706
50707 fi
50708 fi
50709
50710
50711
50712
50713
50714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50715 $as_echo_n "checking for frexpl declaration... " >&6; }
50716 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50717 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50718 $as_echo_n "(cached) " >&6
50719 else
50720
50721
50722 ac_ext=cpp
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50727
50728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h. */
50730 #include <math.h>
50731 int
50732 main ()
50733 {
50734 frexpl(0, 0);
50735 ;
50736 return 0;
50737 }
50738 _ACEOF
50739 if ac_fn_cxx_try_compile "$LINENO"; then :
50740 glibcxx_cv_func_frexpl_use=yes
50741 else
50742 glibcxx_cv_func_frexpl_use=no
50743 fi
50744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50745 ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50750
50751
50752 fi
50753
50754 fi
50755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50756 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50757
50758 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50759 for ac_func in frexpl
50760 do :
50761 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50762 if test "x$ac_cv_func_frexpl" = x""yes; then :
50763 cat >>confdefs.h <<_ACEOF
50764 #define HAVE_FREXPL 1
50765 _ACEOF
50766
50767 fi
50768 done
50769
50770 else
50771
50772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50773 $as_echo_n "checking for _frexpl declaration... " >&6; }
50774 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50775 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50776 $as_echo_n "(cached) " >&6
50777 else
50778
50779
50780 ac_ext=cpp
50781 ac_cpp='$CXXCPP $CPPFLAGS'
50782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50785
50786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50787 /* end confdefs.h. */
50788 #include <math.h>
50789 int
50790 main ()
50791 {
50792 _frexpl(0, 0);
50793 ;
50794 return 0;
50795 }
50796 _ACEOF
50797 if ac_fn_cxx_try_compile "$LINENO"; then :
50798 glibcxx_cv_func__frexpl_use=yes
50799 else
50800 glibcxx_cv_func__frexpl_use=no
50801 fi
50802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50803 ac_ext=c
50804 ac_cpp='$CPP $CPPFLAGS'
50805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50808
50809
50810 fi
50811
50812 fi
50813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50814 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50815
50816 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50817 for ac_func in _frexpl
50818 do :
50819 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50820 if test "x$ac_cv_func__frexpl" = x""yes; then :
50821 cat >>confdefs.h <<_ACEOF
50822 #define HAVE__FREXPL 1
50823 _ACEOF
50824
50825 fi
50826 done
50827
50828 fi
50829 fi
50830
50831
50832
50833
50834
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50836 $as_echo_n "checking for hypotl declaration... " >&6; }
50837 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50838 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50839 $as_echo_n "(cached) " >&6
50840 else
50841
50842
50843 ac_ext=cpp
50844 ac_cpp='$CXXCPP $CPPFLAGS'
50845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50848
50849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50850 /* end confdefs.h. */
50851 #include <math.h>
50852 int
50853 main ()
50854 {
50855 hypotl(0, 0);
50856 ;
50857 return 0;
50858 }
50859 _ACEOF
50860 if ac_fn_cxx_try_compile "$LINENO"; then :
50861 glibcxx_cv_func_hypotl_use=yes
50862 else
50863 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
50877 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50878
50879 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50880 for ac_func in hypotl
50881 do :
50882 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50883 if test "x$ac_cv_func_hypotl" = x""yes; then :
50884 cat >>confdefs.h <<_ACEOF
50885 #define HAVE_HYPOTL 1
50886 _ACEOF
50887
50888 fi
50889 done
50890
50891 else
50892
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50894 $as_echo_n "checking for _hypotl declaration... " >&6; }
50895 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50896 if test "${glibcxx_cv_func__hypotl_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 int
50911 main ()
50912 {
50913 _hypotl(0, 0);
50914 ;
50915 return 0;
50916 }
50917 _ACEOF
50918 if ac_fn_cxx_try_compile "$LINENO"; then :
50919 glibcxx_cv_func__hypotl_use=yes
50920 else
50921 glibcxx_cv_func__hypotl_use=no
50922 fi
50923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50924 ac_ext=c
50925 ac_cpp='$CPP $CPPFLAGS'
50926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50929
50930
50931 fi
50932
50933 fi
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50935 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50936
50937 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50938 for ac_func in _hypotl
50939 do :
50940 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50941 if test "x$ac_cv_func__hypotl" = x""yes; then :
50942 cat >>confdefs.h <<_ACEOF
50943 #define HAVE__HYPOTL 1
50944 _ACEOF
50945
50946 fi
50947 done
50948
50949 fi
50950 fi
50951
50952
50953
50954
50955
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50957 $as_echo_n "checking for ldexpl declaration... " >&6; }
50958 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50959 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50960 $as_echo_n "(cached) " >&6
50961 else
50962
50963
50964 ac_ext=cpp
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50969
50970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50971 /* end confdefs.h. */
50972 #include <math.h>
50973 int
50974 main ()
50975 {
50976 ldexpl(0, 0);
50977 ;
50978 return 0;
50979 }
50980 _ACEOF
50981 if ac_fn_cxx_try_compile "$LINENO"; then :
50982 glibcxx_cv_func_ldexpl_use=yes
50983 else
50984 glibcxx_cv_func_ldexpl_use=no
50985 fi
50986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50987 ac_ext=c
50988 ac_cpp='$CPP $CPPFLAGS'
50989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50992
50993
50994 fi
50995
50996 fi
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50998 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50999
51000 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51001 for ac_func in ldexpl
51002 do :
51003 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51004 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51005 cat >>confdefs.h <<_ACEOF
51006 #define HAVE_LDEXPL 1
51007 _ACEOF
51008
51009 fi
51010 done
51011
51012 else
51013
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51015 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51016 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51017 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51018 $as_echo_n "(cached) " >&6
51019 else
51020
51021
51022 ac_ext=cpp
51023 ac_cpp='$CXXCPP $CPPFLAGS'
51024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51027
51028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51029 /* end confdefs.h. */
51030 #include <math.h>
51031 int
51032 main ()
51033 {
51034 _ldexpl(0, 0);
51035 ;
51036 return 0;
51037 }
51038 _ACEOF
51039 if ac_fn_cxx_try_compile "$LINENO"; then :
51040 glibcxx_cv_func__ldexpl_use=yes
51041 else
51042 glibcxx_cv_func__ldexpl_use=no
51043 fi
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045 ac_ext=c
51046 ac_cpp='$CPP $CPPFLAGS'
51047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51050
51051
51052 fi
51053
51054 fi
51055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51056 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51057
51058 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51059 for ac_func in _ldexpl
51060 do :
51061 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51062 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51063 cat >>confdefs.h <<_ACEOF
51064 #define HAVE__LDEXPL 1
51065 _ACEOF
51066
51067 fi
51068 done
51069
51070 fi
51071 fi
51072
51073
51074
51075
51076
51077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51078 $as_echo_n "checking for logl declaration... " >&6; }
51079 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51080 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51081 $as_echo_n "(cached) " >&6
51082 else
51083
51084
51085 ac_ext=cpp
51086 ac_cpp='$CXXCPP $CPPFLAGS'
51087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51090
51091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51092 /* end confdefs.h. */
51093 #include <math.h>
51094 #ifdef HAVE_IEEEFP_H
51095 #include <ieeefp.h>
51096 #endif
51097
51098 int
51099 main ()
51100 {
51101 logl(0);
51102 ;
51103 return 0;
51104 }
51105 _ACEOF
51106 if ac_fn_cxx_try_compile "$LINENO"; then :
51107 glibcxx_cv_func_logl_use=yes
51108 else
51109 glibcxx_cv_func_logl_use=no
51110 fi
51111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51112 ac_ext=c
51113 ac_cpp='$CPP $CPPFLAGS'
51114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51117
51118
51119 fi
51120
51121 fi
51122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51123 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51124
51125 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51126 for ac_func in logl
51127 do :
51128 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51129 if test "x$ac_cv_func_logl" = x""yes; then :
51130 cat >>confdefs.h <<_ACEOF
51131 #define HAVE_LOGL 1
51132 _ACEOF
51133
51134 fi
51135 done
51136
51137 else
51138
51139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51140 $as_echo_n "checking for _logl declaration... " >&6; }
51141 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51142 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51143 $as_echo_n "(cached) " >&6
51144 else
51145
51146
51147 ac_ext=cpp
51148 ac_cpp='$CXXCPP $CPPFLAGS'
51149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51152
51153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51154 /* end confdefs.h. */
51155 #include <math.h>
51156 #ifdef HAVE_IEEEFP_H
51157 #include <ieeefp.h>
51158 #endif
51159
51160 int
51161 main ()
51162 {
51163 _logl(0);
51164 ;
51165 return 0;
51166 }
51167 _ACEOF
51168 if ac_fn_cxx_try_compile "$LINENO"; then :
51169 glibcxx_cv_func__logl_use=yes
51170 else
51171 glibcxx_cv_func__logl_use=no
51172 fi
51173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51174 ac_ext=c
51175 ac_cpp='$CPP $CPPFLAGS'
51176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179
51180
51181 fi
51182
51183 fi
51184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51185 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51186
51187 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51188 for ac_func in _logl
51189 do :
51190 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51191 if test "x$ac_cv_func__logl" = x""yes; then :
51192 cat >>confdefs.h <<_ACEOF
51193 #define HAVE__LOGL 1
51194 _ACEOF
51195
51196 fi
51197 done
51198
51199 fi
51200 fi
51201
51202
51203
51204
51205
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51207 $as_echo_n "checking for log10l declaration... " >&6; }
51208 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51209 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51210 $as_echo_n "(cached) " >&6
51211 else
51212
51213
51214 ac_ext=cpp
51215 ac_cpp='$CXXCPP $CPPFLAGS'
51216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51219
51220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51221 /* end confdefs.h. */
51222 #include <math.h>
51223 #ifdef HAVE_IEEEFP_H
51224 #include <ieeefp.h>
51225 #endif
51226
51227 int
51228 main ()
51229 {
51230 log10l(0);
51231 ;
51232 return 0;
51233 }
51234 _ACEOF
51235 if ac_fn_cxx_try_compile "$LINENO"; then :
51236 glibcxx_cv_func_log10l_use=yes
51237 else
51238 glibcxx_cv_func_log10l_use=no
51239 fi
51240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51241 ac_ext=c
51242 ac_cpp='$CPP $CPPFLAGS'
51243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51246
51247
51248 fi
51249
51250 fi
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51252 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51253
51254 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51255 for ac_func in log10l
51256 do :
51257 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51258 if test "x$ac_cv_func_log10l" = x""yes; then :
51259 cat >>confdefs.h <<_ACEOF
51260 #define HAVE_LOG10L 1
51261 _ACEOF
51262
51263 fi
51264 done
51265
51266 else
51267
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51269 $as_echo_n "checking for _log10l declaration... " >&6; }
51270 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51271 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51272 $as_echo_n "(cached) " >&6
51273 else
51274
51275
51276 ac_ext=cpp
51277 ac_cpp='$CXXCPP $CPPFLAGS'
51278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51281
51282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51283 /* end confdefs.h. */
51284 #include <math.h>
51285 #ifdef HAVE_IEEEFP_H
51286 #include <ieeefp.h>
51287 #endif
51288
51289 int
51290 main ()
51291 {
51292 _log10l(0);
51293 ;
51294 return 0;
51295 }
51296 _ACEOF
51297 if ac_fn_cxx_try_compile "$LINENO"; then :
51298 glibcxx_cv_func__log10l_use=yes
51299 else
51300 glibcxx_cv_func__log10l_use=no
51301 fi
51302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51303 ac_ext=c
51304 ac_cpp='$CPP $CPPFLAGS'
51305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308
51309
51310 fi
51311
51312 fi
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51314 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51315
51316 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51317 for ac_func in _log10l
51318 do :
51319 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51320 if test "x$ac_cv_func__log10l" = x""yes; then :
51321 cat >>confdefs.h <<_ACEOF
51322 #define HAVE__LOG10L 1
51323 _ACEOF
51324
51325 fi
51326 done
51327
51328 fi
51329 fi
51330
51331
51332
51333
51334
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51336 $as_echo_n "checking for modfl declaration... " >&6; }
51337 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51338 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51339 $as_echo_n "(cached) " >&6
51340 else
51341
51342
51343 ac_ext=cpp
51344 ac_cpp='$CXXCPP $CPPFLAGS'
51345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51348
51349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51350 /* end confdefs.h. */
51351 #include <math.h>
51352 int
51353 main ()
51354 {
51355 modfl(0, 0);
51356 ;
51357 return 0;
51358 }
51359 _ACEOF
51360 if ac_fn_cxx_try_compile "$LINENO"; then :
51361 glibcxx_cv_func_modfl_use=yes
51362 else
51363 glibcxx_cv_func_modfl_use=no
51364 fi
51365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51366 ac_ext=c
51367 ac_cpp='$CPP $CPPFLAGS'
51368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51371
51372
51373 fi
51374
51375 fi
51376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51377 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51378
51379 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51380 for ac_func in modfl
51381 do :
51382 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51383 if test "x$ac_cv_func_modfl" = x""yes; then :
51384 cat >>confdefs.h <<_ACEOF
51385 #define HAVE_MODFL 1
51386 _ACEOF
51387
51388 fi
51389 done
51390
51391 else
51392
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51394 $as_echo_n "checking for _modfl declaration... " >&6; }
51395 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51396 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51397 $as_echo_n "(cached) " >&6
51398 else
51399
51400
51401 ac_ext=cpp
51402 ac_cpp='$CXXCPP $CPPFLAGS'
51403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406
51407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51408 /* end confdefs.h. */
51409 #include <math.h>
51410 int
51411 main ()
51412 {
51413 _modfl(0, 0);
51414 ;
51415 return 0;
51416 }
51417 _ACEOF
51418 if ac_fn_cxx_try_compile "$LINENO"; then :
51419 glibcxx_cv_func__modfl_use=yes
51420 else
51421 glibcxx_cv_func__modfl_use=no
51422 fi
51423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_ext=c
51425 ac_cpp='$CPP $CPPFLAGS'
51426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51429
51430
51431 fi
51432
51433 fi
51434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51435 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51436
51437 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51438 for ac_func in _modfl
51439 do :
51440 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51441 if test "x$ac_cv_func__modfl" = x""yes; then :
51442 cat >>confdefs.h <<_ACEOF
51443 #define HAVE__MODFL 1
51444 _ACEOF
51445
51446 fi
51447 done
51448
51449 fi
51450 fi
51451
51452
51453
51454
51455
51456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51457 $as_echo_n "checking for powl declaration... " >&6; }
51458 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51459 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51460 $as_echo_n "(cached) " >&6
51461 else
51462
51463
51464 ac_ext=cpp
51465 ac_cpp='$CXXCPP $CPPFLAGS'
51466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51469
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h. */
51472 #include <math.h>
51473 int
51474 main ()
51475 {
51476 powl(0, 0);
51477 ;
51478 return 0;
51479 }
51480 _ACEOF
51481 if ac_fn_cxx_try_compile "$LINENO"; then :
51482 glibcxx_cv_func_powl_use=yes
51483 else
51484 glibcxx_cv_func_powl_use=no
51485 fi
51486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51487 ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51492
51493
51494 fi
51495
51496 fi
51497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51498 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51499
51500 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51501 for ac_func in powl
51502 do :
51503 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51504 if test "x$ac_cv_func_powl" = x""yes; then :
51505 cat >>confdefs.h <<_ACEOF
51506 #define HAVE_POWL 1
51507 _ACEOF
51508
51509 fi
51510 done
51511
51512 else
51513
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51515 $as_echo_n "checking for _powl declaration... " >&6; }
51516 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51517 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51518 $as_echo_n "(cached) " >&6
51519 else
51520
51521
51522 ac_ext=cpp
51523 ac_cpp='$CXXCPP $CPPFLAGS'
51524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51527
51528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51530 #include <math.h>
51531 int
51532 main ()
51533 {
51534 _powl(0, 0);
51535 ;
51536 return 0;
51537 }
51538 _ACEOF
51539 if ac_fn_cxx_try_compile "$LINENO"; then :
51540 glibcxx_cv_func__powl_use=yes
51541 else
51542 glibcxx_cv_func__powl_use=no
51543 fi
51544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51545 ac_ext=c
51546 ac_cpp='$CPP $CPPFLAGS'
51547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51550
51551
51552 fi
51553
51554 fi
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51556 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51557
51558 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51559 for ac_func in _powl
51560 do :
51561 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51562 if test "x$ac_cv_func__powl" = x""yes; then :
51563 cat >>confdefs.h <<_ACEOF
51564 #define HAVE__POWL 1
51565 _ACEOF
51566
51567 fi
51568 done
51569
51570 fi
51571 fi
51572
51573
51574
51575
51576
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51578 $as_echo_n "checking for sqrtl declaration... " >&6; }
51579 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51580 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51581 $as_echo_n "(cached) " >&6
51582 else
51583
51584
51585 ac_ext=cpp
51586 ac_cpp='$CXXCPP $CPPFLAGS'
51587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51590
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <math.h>
51594 #ifdef HAVE_IEEEFP_H
51595 #include <ieeefp.h>
51596 #endif
51597
51598 int
51599 main ()
51600 {
51601 sqrtl(0);
51602 ;
51603 return 0;
51604 }
51605 _ACEOF
51606 if ac_fn_cxx_try_compile "$LINENO"; then :
51607 glibcxx_cv_func_sqrtl_use=yes
51608 else
51609 glibcxx_cv_func_sqrtl_use=no
51610 fi
51611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51612 ac_ext=c
51613 ac_cpp='$CPP $CPPFLAGS'
51614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51617
51618
51619 fi
51620
51621 fi
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51623 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51624
51625 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51626 for ac_func in sqrtl
51627 do :
51628 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51629 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51630 cat >>confdefs.h <<_ACEOF
51631 #define HAVE_SQRTL 1
51632 _ACEOF
51633
51634 fi
51635 done
51636
51637 else
51638
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51640 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51641 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51642 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51643 $as_echo_n "(cached) " >&6
51644 else
51645
51646
51647 ac_ext=cpp
51648 ac_cpp='$CXXCPP $CPPFLAGS'
51649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51652
51653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51654 /* end confdefs.h. */
51655 #include <math.h>
51656 #ifdef HAVE_IEEEFP_H
51657 #include <ieeefp.h>
51658 #endif
51659
51660 int
51661 main ()
51662 {
51663 _sqrtl(0);
51664 ;
51665 return 0;
51666 }
51667 _ACEOF
51668 if ac_fn_cxx_try_compile "$LINENO"; then :
51669 glibcxx_cv_func__sqrtl_use=yes
51670 else
51671 glibcxx_cv_func__sqrtl_use=no
51672 fi
51673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51674 ac_ext=c
51675 ac_cpp='$CPP $CPPFLAGS'
51676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51679
51680
51681 fi
51682
51683 fi
51684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51685 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51686
51687 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51688 for ac_func in _sqrtl
51689 do :
51690 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51691 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51692 cat >>confdefs.h <<_ACEOF
51693 #define HAVE__SQRTL 1
51694 _ACEOF
51695
51696 fi
51697 done
51698
51699 fi
51700 fi
51701
51702
51703
51704
51705
51706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51707 $as_echo_n "checking for sincosl declaration... " >&6; }
51708 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51709 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51710 $as_echo_n "(cached) " >&6
51711 else
51712
51713
51714 ac_ext=cpp
51715 ac_cpp='$CXXCPP $CPPFLAGS'
51716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51719
51720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51721 /* end confdefs.h. */
51722 #include <math.h>
51723 int
51724 main ()
51725 {
51726 sincosl(0, 0, 0);
51727 ;
51728 return 0;
51729 }
51730 _ACEOF
51731 if ac_fn_cxx_try_compile "$LINENO"; then :
51732 glibcxx_cv_func_sincosl_use=yes
51733 else
51734 glibcxx_cv_func_sincosl_use=no
51735 fi
51736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51737 ac_ext=c
51738 ac_cpp='$CPP $CPPFLAGS'
51739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51742
51743
51744 fi
51745
51746 fi
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51748 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51749
51750 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51751 for ac_func in sincosl
51752 do :
51753 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51754 if test "x$ac_cv_func_sincosl" = x""yes; then :
51755 cat >>confdefs.h <<_ACEOF
51756 #define HAVE_SINCOSL 1
51757 _ACEOF
51758
51759 fi
51760 done
51761
51762 else
51763
51764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51765 $as_echo_n "checking for _sincosl declaration... " >&6; }
51766 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51767 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51768 $as_echo_n "(cached) " >&6
51769 else
51770
51771
51772 ac_ext=cpp
51773 ac_cpp='$CXXCPP $CPPFLAGS'
51774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51777
51778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51779 /* end confdefs.h. */
51780 #include <math.h>
51781 int
51782 main ()
51783 {
51784 _sincosl(0, 0, 0);
51785 ;
51786 return 0;
51787 }
51788 _ACEOF
51789 if ac_fn_cxx_try_compile "$LINENO"; then :
51790 glibcxx_cv_func__sincosl_use=yes
51791 else
51792 glibcxx_cv_func__sincosl_use=no
51793 fi
51794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51795 ac_ext=c
51796 ac_cpp='$CPP $CPPFLAGS'
51797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51800
51801
51802 fi
51803
51804 fi
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51806 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51807
51808 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51809 for ac_func in _sincosl
51810 do :
51811 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51812 if test "x$ac_cv_func__sincosl" = x""yes; then :
51813 cat >>confdefs.h <<_ACEOF
51814 #define HAVE__SINCOSL 1
51815 _ACEOF
51816
51817 fi
51818 done
51819
51820 fi
51821 fi
51822
51823
51824
51825
51826
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51828 $as_echo_n "checking for finitel declaration... " >&6; }
51829 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51830 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51831 $as_echo_n "(cached) " >&6
51832 else
51833
51834
51835 ac_ext=cpp
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51840
51841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51842 /* end confdefs.h. */
51843 #include <math.h>
51844 #ifdef HAVE_IEEEFP_H
51845 #include <ieeefp.h>
51846 #endif
51847
51848 int
51849 main ()
51850 {
51851 finitel(0);
51852 ;
51853 return 0;
51854 }
51855 _ACEOF
51856 if ac_fn_cxx_try_compile "$LINENO"; then :
51857 glibcxx_cv_func_finitel_use=yes
51858 else
51859 glibcxx_cv_func_finitel_use=no
51860 fi
51861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51862 ac_ext=c
51863 ac_cpp='$CPP $CPPFLAGS'
51864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51867
51868
51869 fi
51870
51871 fi
51872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51873 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51874
51875 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51876 for ac_func in finitel
51877 do :
51878 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51879 if test "x$ac_cv_func_finitel" = x""yes; then :
51880 cat >>confdefs.h <<_ACEOF
51881 #define HAVE_FINITEL 1
51882 _ACEOF
51883
51884 fi
51885 done
51886
51887 else
51888
51889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51890 $as_echo_n "checking for _finitel declaration... " >&6; }
51891 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51892 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51893 $as_echo_n "(cached) " >&6
51894 else
51895
51896
51897 ac_ext=cpp
51898 ac_cpp='$CXXCPP $CPPFLAGS'
51899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51902
51903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51904 /* end confdefs.h. */
51905 #include <math.h>
51906 #ifdef HAVE_IEEEFP_H
51907 #include <ieeefp.h>
51908 #endif
51909
51910 int
51911 main ()
51912 {
51913 _finitel(0);
51914 ;
51915 return 0;
51916 }
51917 _ACEOF
51918 if ac_fn_cxx_try_compile "$LINENO"; then :
51919 glibcxx_cv_func__finitel_use=yes
51920 else
51921 glibcxx_cv_func__finitel_use=no
51922 fi
51923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51924 ac_ext=c
51925 ac_cpp='$CPP $CPPFLAGS'
51926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51929
51930
51931 fi
51932
51933 fi
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51935 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51936
51937 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51938 for ac_func in _finitel
51939 do :
51940 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51941 if test "x$ac_cv_func__finitel" = x""yes; then :
51942 cat >>confdefs.h <<_ACEOF
51943 #define HAVE__FINITEL 1
51944 _ACEOF
51945
51946 fi
51947 done
51948
51949 fi
51950 fi
51951
51952
51953
51954
51955 LIBS="$ac_save_LIBS"
51956 CXXFLAGS="$ac_save_CXXFLAGS"
51957
51958
51959 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51960 ac_save_CXXFLAGS="$CXXFLAGS"
51961 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51962
51963
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51965 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51966 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51967 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51970
51971
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51977
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <stdlib.h>
51981 int
51982 main ()
51983 {
51984 at_quick_exit(0);
51985 ;
51986 return 0;
51987 }
51988 _ACEOF
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990 glibcxx_cv_func_at_quick_exit_use=yes
51991 else
51992 glibcxx_cv_func_at_quick_exit_use=no
51993 fi
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995 ac_ext=c
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52000
52001
52002 fi
52003
52004 fi
52005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52006 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52007 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52008 for ac_func in at_quick_exit
52009 do :
52010 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52011 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52012 cat >>confdefs.h <<_ACEOF
52013 #define HAVE_AT_QUICK_EXIT 1
52014 _ACEOF
52015
52016 fi
52017 done
52018
52019 fi
52020
52021
52022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52023 $as_echo_n "checking for quick_exit declaration... " >&6; }
52024 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52025 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52026 $as_echo_n "(cached) " >&6
52027 else
52028
52029
52030 ac_ext=cpp
52031 ac_cpp='$CXXCPP $CPPFLAGS'
52032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52035
52036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52037 /* end confdefs.h. */
52038 #include <stdlib.h>
52039 int
52040 main ()
52041 {
52042 quick_exit(0);
52043 ;
52044 return 0;
52045 }
52046 _ACEOF
52047 if ac_fn_cxx_try_compile "$LINENO"; then :
52048 glibcxx_cv_func_quick_exit_use=yes
52049 else
52050 glibcxx_cv_func_quick_exit_use=no
52051 fi
52052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52053 ac_ext=c
52054 ac_cpp='$CPP $CPPFLAGS'
52055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52058
52059
52060 fi
52061
52062 fi
52063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52064 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52065 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52066 for ac_func in quick_exit
52067 do :
52068 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52069 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52070 cat >>confdefs.h <<_ACEOF
52071 #define HAVE_QUICK_EXIT 1
52072 _ACEOF
52073
52074 fi
52075 done
52076
52077 fi
52078
52079
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52081 $as_echo_n "checking for strtold declaration... " >&6; }
52082 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52083 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52084 $as_echo_n "(cached) " >&6
52085 else
52086
52087
52088 ac_ext=cpp
52089 ac_cpp='$CXXCPP $CPPFLAGS'
52090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52093
52094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52095 /* end confdefs.h. */
52096 #include <stdlib.h>
52097 int
52098 main ()
52099 {
52100 strtold(0, 0);
52101 ;
52102 return 0;
52103 }
52104 _ACEOF
52105 if ac_fn_cxx_try_compile "$LINENO"; then :
52106 glibcxx_cv_func_strtold_use=yes
52107 else
52108 glibcxx_cv_func_strtold_use=no
52109 fi
52110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52111 ac_ext=c
52112 ac_cpp='$CPP $CPPFLAGS'
52113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52116
52117
52118 fi
52119
52120 fi
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52122 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52123 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52124 for ac_func in strtold
52125 do :
52126 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52127 if test "x$ac_cv_func_strtold" = x""yes; then :
52128 cat >>confdefs.h <<_ACEOF
52129 #define HAVE_STRTOLD 1
52130 _ACEOF
52131
52132 fi
52133 done
52134
52135 fi
52136
52137
52138
52139
52140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52141 $as_echo_n "checking for strtof declaration... " >&6; }
52142 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52143 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52144 $as_echo_n "(cached) " >&6
52145 else
52146
52147
52148 ac_ext=cpp
52149 ac_cpp='$CXXCPP $CPPFLAGS'
52150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52153
52154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h. */
52156 #include <stdlib.h>
52157 int
52158 main ()
52159 {
52160 strtof(0, 0);
52161 ;
52162 return 0;
52163 }
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166 glibcxx_cv_func_strtof_use=yes
52167 else
52168 glibcxx_cv_func_strtof_use=no
52169 fi
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171 ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52176
52177
52178 fi
52179
52180 fi
52181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52182 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52183 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52184 for ac_func in strtof
52185 do :
52186 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52187 if test "x$ac_cv_func_strtof" = x""yes; then :
52188 cat >>confdefs.h <<_ACEOF
52189 #define HAVE_STRTOF 1
52190 _ACEOF
52191
52192 fi
52193 done
52194
52195 fi
52196
52197
52198
52199
52200 CXXFLAGS="$ac_save_CXXFLAGS"
52201
52202 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52203
52204
52205
52206 # Check whether --enable-tls was given.
52207 if test "${enable_tls+set}" = set; then :
52208 enableval=$enable_tls;
52209 case "$enableval" in
52210 yes|no) ;;
52211 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52212 esac
52213
52214 else
52215 enable_tls=yes
52216 fi
52217
52218
52219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52220 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52221 if test "${gcc_cv_have_tls+set}" = set; then :
52222 $as_echo_n "(cached) " >&6
52223 else
52224
52225 if test "$cross_compiling" = yes; then :
52226 if test x$gcc_no_link = xyes; then
52227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52228 fi
52229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52230 /* end confdefs.h. */
52231 __thread int a; int b; int main() { return a = b; }
52232 _ACEOF
52233 if ac_fn_c_try_link "$LINENO"; then :
52234 chktls_save_LDFLAGS="$LDFLAGS"
52235 case $host in
52236 *-*-linux*)
52237 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52238 ;;
52239 esac
52240 chktls_save_CFLAGS="$CFLAGS"
52241 CFLAGS="-fPIC $CFLAGS"
52242 if test x$gcc_no_link = xyes; then
52243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52244 fi
52245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52246 /* end confdefs.h. */
52247 int f() { return 0; }
52248 _ACEOF
52249 if ac_fn_c_try_link "$LINENO"; then :
52250 if test x$gcc_no_link = xyes; then
52251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52252 fi
52253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h. */
52255 __thread int a; int b; int f() { return a = b; }
52256 _ACEOF
52257 if ac_fn_c_try_link "$LINENO"; then :
52258 gcc_cv_have_tls=yes
52259 else
52260 gcc_cv_have_tls=no
52261 fi
52262 rm -f core conftest.err conftest.$ac_objext \
52263 conftest$ac_exeext conftest.$ac_ext
52264 else
52265 gcc_cv_have_tls=yes
52266 fi
52267 rm -f core conftest.err conftest.$ac_objext \
52268 conftest$ac_exeext conftest.$ac_ext
52269 CFLAGS="$chktls_save_CFLAGS"
52270 LDFLAGS="$chktls_save_LDFLAGS"
52271 else
52272 gcc_cv_have_tls=no
52273 fi
52274 rm -f core conftest.err conftest.$ac_objext \
52275 conftest$ac_exeext conftest.$ac_ext
52276
52277
52278 else
52279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52280 /* end confdefs.h. */
52281 __thread int a; int b; int main() { return a = b; }
52282 _ACEOF
52283 if ac_fn_c_try_run "$LINENO"; then :
52284 chktls_save_LDFLAGS="$LDFLAGS"
52285 LDFLAGS="-static $LDFLAGS"
52286 if test x$gcc_no_link = xyes; then
52287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52288 fi
52289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52290 /* end confdefs.h. */
52291 int main() { return 0; }
52292 _ACEOF
52293 if ac_fn_c_try_link "$LINENO"; then :
52294 if test "$cross_compiling" = yes; then :
52295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52297 as_fn_error "cannot run test program while cross compiling
52298 See \`config.log' for more details." "$LINENO" 5; }
52299 else
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 __thread int a; int b; int main() { return a = b; }
52303 _ACEOF
52304 if ac_fn_c_try_run "$LINENO"; then :
52305 gcc_cv_have_tls=yes
52306 else
52307 gcc_cv_have_tls=no
52308 fi
52309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52310 conftest.$ac_objext conftest.beam conftest.$ac_ext
52311 fi
52312
52313 else
52314 gcc_cv_have_tls=yes
52315 fi
52316 rm -f core conftest.err conftest.$ac_objext \
52317 conftest$ac_exeext conftest.$ac_ext
52318 LDFLAGS="$chktls_save_LDFLAGS"
52319 if test $gcc_cv_have_tls = yes; then
52320 chktls_save_CFLAGS="$CFLAGS"
52321 thread_CFLAGS=failed
52322 for flag in '' '-pthread' '-lpthread'; do
52323 CFLAGS="$flag $chktls_save_CFLAGS"
52324 if test x$gcc_no_link = xyes; then
52325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52326 fi
52327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52328 /* end confdefs.h. */
52329 #include <pthread.h>
52330 void *g(void *d) { return NULL; }
52331 int
52332 main ()
52333 {
52334 pthread_t t; pthread_create(&t,NULL,g,NULL);
52335 ;
52336 return 0;
52337 }
52338 _ACEOF
52339 if ac_fn_c_try_link "$LINENO"; then :
52340 thread_CFLAGS="$flag"
52341 fi
52342 rm -f core conftest.err conftest.$ac_objext \
52343 conftest$ac_exeext conftest.$ac_ext
52344 if test "X$thread_CFLAGS" != Xfailed; then
52345 break
52346 fi
52347 done
52348 CFLAGS="$chktls_save_CFLAGS"
52349 if test "X$thread_CFLAGS" != Xfailed; then
52350 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52351 if test "$cross_compiling" = yes; then :
52352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52354 as_fn_error "cannot run test program while cross compiling
52355 See \`config.log' for more details." "$LINENO" 5; }
52356 else
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 #include <pthread.h>
52360 __thread int a;
52361 static int *volatile a_in_other_thread;
52362 static void *
52363 thread_func (void *arg)
52364 {
52365 a_in_other_thread = &a;
52366 return (void *)0;
52367 }
52368 int
52369 main ()
52370 {
52371 pthread_t thread;
52372 void *thread_retval;
52373 int *volatile a_in_main_thread;
52374 a_in_main_thread = &a;
52375 if (pthread_create (&thread, (pthread_attr_t *)0,
52376 thread_func, (void *)0))
52377 return 0;
52378 if (pthread_join (thread, &thread_retval))
52379 return 0;
52380 return (a_in_other_thread == a_in_main_thread);
52381 ;
52382 return 0;
52383 }
52384 _ACEOF
52385 if ac_fn_c_try_run "$LINENO"; then :
52386 gcc_cv_have_tls=yes
52387 else
52388 gcc_cv_have_tls=no
52389 fi
52390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52391 conftest.$ac_objext conftest.beam conftest.$ac_ext
52392 fi
52393
52394 CFLAGS="$chktls_save_CFLAGS"
52395 fi
52396 fi
52397 else
52398 gcc_cv_have_tls=no
52399 fi
52400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52401 conftest.$ac_objext conftest.beam conftest.$ac_ext
52402 fi
52403
52404 fi
52405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52406 $as_echo "$gcc_cv_have_tls" >&6; }
52407 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52408
52409 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52410
52411 fi
52412
52413
52414
52415
52416
52417 am_save_CPPFLAGS="$CPPFLAGS"
52418
52419 for element in $INCICONV; do
52420 haveit=
52421 for x in $CPPFLAGS; do
52422
52423 acl_save_prefix="$prefix"
52424 prefix="$acl_final_prefix"
52425 acl_save_exec_prefix="$exec_prefix"
52426 exec_prefix="$acl_final_exec_prefix"
52427 eval x=\"$x\"
52428 exec_prefix="$acl_save_exec_prefix"
52429 prefix="$acl_save_prefix"
52430
52431 if test "X$x" = "X$element"; then
52432 haveit=yes
52433 break
52434 fi
52435 done
52436 if test -z "$haveit"; then
52437 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52438 fi
52439 done
52440
52441
52442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52443 $as_echo_n "checking for iconv... " >&6; }
52444 if test "${am_cv_func_iconv+set}" = set; then :
52445 $as_echo_n "(cached) " >&6
52446 else
52447
52448 am_cv_func_iconv="no, consider installing GNU libiconv"
52449 am_cv_lib_iconv=no
52450 if test x$gcc_no_link = xyes; then
52451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52452 fi
52453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h. */
52455 #include <stdlib.h>
52456 #include <iconv.h>
52457 int
52458 main ()
52459 {
52460 iconv_t cd = iconv_open("","");
52461 iconv(cd,NULL,NULL,NULL,NULL);
52462 iconv_close(cd);
52463 ;
52464 return 0;
52465 }
52466 _ACEOF
52467 if ac_fn_c_try_link "$LINENO"; then :
52468 am_cv_func_iconv=yes
52469 fi
52470 rm -f core conftest.err conftest.$ac_objext \
52471 conftest$ac_exeext conftest.$ac_ext
52472 if test "$am_cv_func_iconv" != yes; then
52473 am_save_LIBS="$LIBS"
52474 LIBS="$LIBS $LIBICONV"
52475 if test x$gcc_no_link = xyes; then
52476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52477 fi
52478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52479 /* end confdefs.h. */
52480 #include <stdlib.h>
52481 #include <iconv.h>
52482 int
52483 main ()
52484 {
52485 iconv_t cd = iconv_open("","");
52486 iconv(cd,NULL,NULL,NULL,NULL);
52487 iconv_close(cd);
52488 ;
52489 return 0;
52490 }
52491 _ACEOF
52492 if ac_fn_c_try_link "$LINENO"; then :
52493 am_cv_lib_iconv=yes
52494 am_cv_func_iconv=yes
52495 fi
52496 rm -f core conftest.err conftest.$ac_objext \
52497 conftest$ac_exeext conftest.$ac_ext
52498 LIBS="$am_save_LIBS"
52499 fi
52500
52501 fi
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52503 $as_echo "$am_cv_func_iconv" >&6; }
52504 if test "$am_cv_func_iconv" = yes; then
52505
52506 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52507
52508 fi
52509 if test "$am_cv_lib_iconv" = yes; then
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52511 $as_echo_n "checking how to link with libiconv... " >&6; }
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52513 $as_echo "$LIBICONV" >&6; }
52514 else
52515 CPPFLAGS="$am_save_CPPFLAGS"
52516 LIBICONV=
52517 LTLIBICONV=
52518 fi
52519
52520
52521
52522 if test "$am_cv_func_iconv" = yes; then
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52524 $as_echo_n "checking for iconv declaration... " >&6; }
52525 if test "${am_cv_proto_iconv+set}" = set; then :
52526 $as_echo_n "(cached) " >&6
52527 else
52528
52529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52530 /* end confdefs.h. */
52531
52532 #include <stdlib.h>
52533 #include <iconv.h>
52534 extern
52535 #ifdef __cplusplus
52536 "C"
52537 #endif
52538 #if defined(__STDC__) || defined(__cplusplus)
52539 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52540 #else
52541 size_t iconv();
52542 #endif
52543
52544 int
52545 main ()
52546 {
52547
52548 ;
52549 return 0;
52550 }
52551 _ACEOF
52552 if ac_fn_c_try_compile "$LINENO"; then :
52553 am_cv_proto_iconv_arg1=""
52554 else
52555 am_cv_proto_iconv_arg1="const"
52556 fi
52557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52558 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);"
52559 fi
52560
52561 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52563 }$am_cv_proto_iconv" >&5
52564 $as_echo "${ac_t:-
52565 }$am_cv_proto_iconv" >&6; }
52566
52567 cat >>confdefs.h <<_ACEOF
52568 #define ICONV_CONST $am_cv_proto_iconv_arg1
52569 _ACEOF
52570
52571 fi
52572
52573 ;;
52574 *-mingw32*)
52575
52576 # If we're not using GNU ld, then there's no point in even trying these
52577 # tests. Check for that first. We should have already tested for gld
52578 # by now (in libtool), but require it now just to be safe...
52579 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52580 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52581
52582
52583
52584 # The name set by libtool depends on the version of libtool. Shame on us
52585 # for depending on an impl detail, but c'est la vie. Older versions used
52586 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52587 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52588 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52589 # set (hence we're using an older libtool), then set it.
52590 if test x${with_gnu_ld+set} != xset; then
52591 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52592 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52593 with_gnu_ld=no
52594 else
52595 with_gnu_ld=$ac_cv_prog_gnu_ld
52596 fi
52597 fi
52598
52599 # Start by getting the version number. I think the libtool test already
52600 # does some of this, but throws away the result.
52601 glibcxx_ld_is_gold=no
52602 if test x"$with_gnu_ld" = x"yes"; then
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52604 $as_echo_n "checking for ld version... " >&6; }
52605
52606 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52607 glibcxx_ld_is_gold=yes
52608 fi
52609 ldver=`$LD --version 2>/dev/null |
52610 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'`
52611
52612 glibcxx_gnu_ld_version=`echo $ldver | \
52613 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52615 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52616 fi
52617
52618 # Set --gc-sections.
52619 glibcxx_have_gc_sections=no
52620 if test "$glibcxx_ld_is_gold" = "yes"; then
52621 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52622 glibcxx_have_gc_sections=yes
52623 fi
52624 else
52625 glibcxx_gcsections_min_ld=21602
52626 if test x"$with_gnu_ld" = x"yes" &&
52627 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52628 glibcxx_have_gc_sections=yes
52629 fi
52630 fi
52631 if test "$glibcxx_have_gc_sections" = "yes"; then
52632 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52633 # NB: This flag only works reliably after 2.16.1. Configure tests
52634 # for this are difficult, so hard wire a value that should work.
52635
52636 ac_test_CFLAGS="${CFLAGS+set}"
52637 ac_save_CFLAGS="$CFLAGS"
52638 CFLAGS='-Wl,--gc-sections'
52639
52640 # Check for -Wl,--gc-sections
52641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52642 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52643 if test x$gcc_no_link = xyes; then
52644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52645 fi
52646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h. */
52648 int one(void) { return 1; }
52649 int two(void) { return 2; }
52650
52651 int
52652 main ()
52653 {
52654 two();
52655 ;
52656 return 0;
52657 }
52658 _ACEOF
52659 if ac_fn_c_try_link "$LINENO"; then :
52660 ac_gcsections=yes
52661 else
52662 ac_gcsections=no
52663 fi
52664 rm -f core conftest.err conftest.$ac_objext \
52665 conftest$ac_exeext conftest.$ac_ext
52666 if test "$ac_gcsections" = "yes"; then
52667 rm -f conftest.c
52668 touch conftest.c
52669 if $CC -c conftest.c; then
52670 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52671 grep "Warning: gc-sections option ignored" > /dev/null; then
52672 ac_gcsections=no
52673 fi
52674 fi
52675 rm -f conftest.c conftest.o conftest
52676 fi
52677 if test "$ac_gcsections" = "yes"; then
52678 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52679 fi
52680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52681 $as_echo "$ac_gcsections" >&6; }
52682
52683 if test "$ac_test_CFLAGS" = set; then
52684 CFLAGS="$ac_save_CFLAGS"
52685 else
52686 # this is the suspicious part
52687 CFLAGS=''
52688 fi
52689 fi
52690
52691 # Set -z,relro.
52692 # Note this is only for shared objects.
52693 ac_ld_relro=no
52694 if test x"$with_gnu_ld" = x"yes"; then
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52696 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52697 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52698 if test -n "$cxx_z_relo"; then
52699 OPT_LDFLAGS="-Wl,-z,relro"
52700 ac_ld_relro=yes
52701 fi
52702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52703 $as_echo "$ac_ld_relro" >&6; }
52704 fi
52705
52706 # Set linker optimization flags.
52707 if test x"$with_gnu_ld" = x"yes"; then
52708 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52709 fi
52710
52711
52712
52713
52714
52715 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52716 ac_save_CXXFLAGS="$CXXFLAGS"
52717 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52718
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52720 $as_echo_n "checking for sin in -lm... " >&6; }
52721 if test "${ac_cv_lib_m_sin+set}" = set; then :
52722 $as_echo_n "(cached) " >&6
52723 else
52724 ac_check_lib_save_LIBS=$LIBS
52725 LIBS="-lm $LIBS"
52726 if test x$gcc_no_link = xyes; then
52727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52728 fi
52729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52730 /* end confdefs.h. */
52731
52732 /* Override any GCC internal prototype to avoid an error.
52733 Use char because int might match the return type of a GCC
52734 builtin and then its argument prototype would still apply. */
52735 #ifdef __cplusplus
52736 extern "C"
52737 #endif
52738 char sin ();
52739 int
52740 main ()
52741 {
52742 return sin ();
52743 ;
52744 return 0;
52745 }
52746 _ACEOF
52747 if ac_fn_c_try_link "$LINENO"; then :
52748 ac_cv_lib_m_sin=yes
52749 else
52750 ac_cv_lib_m_sin=no
52751 fi
52752 rm -f core conftest.err conftest.$ac_objext \
52753 conftest$ac_exeext conftest.$ac_ext
52754 LIBS=$ac_check_lib_save_LIBS
52755 fi
52756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52757 $as_echo "$ac_cv_lib_m_sin" >&6; }
52758 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52759 libm="-lm"
52760 fi
52761
52762 ac_save_LIBS="$LIBS"
52763 LIBS="$LIBS $libm"
52764
52765
52766
52767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52768 $as_echo_n "checking for isinf declaration... " >&6; }
52769 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52770 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52771 $as_echo_n "(cached) " >&6
52772 else
52773
52774
52775 ac_ext=cpp
52776 ac_cpp='$CXXCPP $CPPFLAGS'
52777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52780
52781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52782 /* end confdefs.h. */
52783 #include <math.h>
52784 #ifdef HAVE_IEEEFP_H
52785 #include <ieeefp.h>
52786 #endif
52787
52788 int
52789 main ()
52790 {
52791 isinf(0);
52792 ;
52793 return 0;
52794 }
52795 _ACEOF
52796 if ac_fn_cxx_try_compile "$LINENO"; then :
52797 glibcxx_cv_func_isinf_use=yes
52798 else
52799 glibcxx_cv_func_isinf_use=no
52800 fi
52801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52802 ac_ext=c
52803 ac_cpp='$CPP $CPPFLAGS'
52804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52807
52808
52809 fi
52810
52811 fi
52812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52813 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52814
52815 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52816 for ac_func in isinf
52817 do :
52818 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52819 if test "x$ac_cv_func_isinf" = x""yes; then :
52820 cat >>confdefs.h <<_ACEOF
52821 #define HAVE_ISINF 1
52822 _ACEOF
52823
52824 fi
52825 done
52826
52827 else
52828
52829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52830 $as_echo_n "checking for _isinf declaration... " >&6; }
52831 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52832 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52833 $as_echo_n "(cached) " >&6
52834 else
52835
52836
52837 ac_ext=cpp
52838 ac_cpp='$CXXCPP $CPPFLAGS'
52839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52842
52843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52844 /* end confdefs.h. */
52845 #include <math.h>
52846 #ifdef HAVE_IEEEFP_H
52847 #include <ieeefp.h>
52848 #endif
52849
52850 int
52851 main ()
52852 {
52853 _isinf(0);
52854 ;
52855 return 0;
52856 }
52857 _ACEOF
52858 if ac_fn_cxx_try_compile "$LINENO"; then :
52859 glibcxx_cv_func__isinf_use=yes
52860 else
52861 glibcxx_cv_func__isinf_use=no
52862 fi
52863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52864 ac_ext=c
52865 ac_cpp='$CPP $CPPFLAGS'
52866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52869
52870
52871 fi
52872
52873 fi
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52875 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52876
52877 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52878 for ac_func in _isinf
52879 do :
52880 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52881 if test "x$ac_cv_func__isinf" = x""yes; then :
52882 cat >>confdefs.h <<_ACEOF
52883 #define HAVE__ISINF 1
52884 _ACEOF
52885
52886 fi
52887 done
52888
52889 fi
52890 fi
52891
52892
52893
52894
52895
52896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52897 $as_echo_n "checking for isnan declaration... " >&6; }
52898 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52899 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52900 $as_echo_n "(cached) " >&6
52901 else
52902
52903
52904 ac_ext=cpp
52905 ac_cpp='$CXXCPP $CPPFLAGS'
52906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52909
52910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52911 /* end confdefs.h. */
52912 #include <math.h>
52913 #ifdef HAVE_IEEEFP_H
52914 #include <ieeefp.h>
52915 #endif
52916
52917 int
52918 main ()
52919 {
52920 isnan(0);
52921 ;
52922 return 0;
52923 }
52924 _ACEOF
52925 if ac_fn_cxx_try_compile "$LINENO"; then :
52926 glibcxx_cv_func_isnan_use=yes
52927 else
52928 glibcxx_cv_func_isnan_use=no
52929 fi
52930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52931 ac_ext=c
52932 ac_cpp='$CPP $CPPFLAGS'
52933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52936
52937
52938 fi
52939
52940 fi
52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52942 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52943
52944 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52945 for ac_func in isnan
52946 do :
52947 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52948 if test "x$ac_cv_func_isnan" = x""yes; then :
52949 cat >>confdefs.h <<_ACEOF
52950 #define HAVE_ISNAN 1
52951 _ACEOF
52952
52953 fi
52954 done
52955
52956 else
52957
52958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52959 $as_echo_n "checking for _isnan declaration... " >&6; }
52960 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52961 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52962 $as_echo_n "(cached) " >&6
52963 else
52964
52965
52966 ac_ext=cpp
52967 ac_cpp='$CXXCPP $CPPFLAGS'
52968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52971
52972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52973 /* end confdefs.h. */
52974 #include <math.h>
52975 #ifdef HAVE_IEEEFP_H
52976 #include <ieeefp.h>
52977 #endif
52978
52979 int
52980 main ()
52981 {
52982 _isnan(0);
52983 ;
52984 return 0;
52985 }
52986 _ACEOF
52987 if ac_fn_cxx_try_compile "$LINENO"; then :
52988 glibcxx_cv_func__isnan_use=yes
52989 else
52990 glibcxx_cv_func__isnan_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
53000 fi
53001
53002 fi
53003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53004 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53005
53006 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53007 for ac_func in _isnan
53008 do :
53009 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53010 if test "x$ac_cv_func__isnan" = x""yes; then :
53011 cat >>confdefs.h <<_ACEOF
53012 #define HAVE__ISNAN 1
53013 _ACEOF
53014
53015 fi
53016 done
53017
53018 fi
53019 fi
53020
53021
53022
53023
53024
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53026 $as_echo_n "checking for finite declaration... " >&6; }
53027 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53028 if test "${glibcxx_cv_func_finite_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 finite(0);
53050 ;
53051 return 0;
53052 }
53053 _ACEOF
53054 if ac_fn_cxx_try_compile "$LINENO"; then :
53055 glibcxx_cv_func_finite_use=yes
53056 else
53057 glibcxx_cv_func_finite_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_finite_use" >&5
53071 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53072
53073 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53074 for ac_func in finite
53075 do :
53076 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53077 if test "x$ac_cv_func_finite" = x""yes; then :
53078 cat >>confdefs.h <<_ACEOF
53079 #define HAVE_FINITE 1
53080 _ACEOF
53081
53082 fi
53083 done
53084
53085 else
53086
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53088 $as_echo_n "checking for _finite declaration... " >&6; }
53089 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53090 if test "${glibcxx_cv_func__finite_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 _finite(0);
53112 ;
53113 return 0;
53114 }
53115 _ACEOF
53116 if ac_fn_cxx_try_compile "$LINENO"; then :
53117 glibcxx_cv_func__finite_use=yes
53118 else
53119 glibcxx_cv_func__finite_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__finite_use" >&5
53133 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53134
53135 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53136 for ac_func in _finite
53137 do :
53138 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53139 if test "x$ac_cv_func__finite" = x""yes; then :
53140 cat >>confdefs.h <<_ACEOF
53141 #define HAVE__FINITE 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 sincos declaration" >&5
53155 $as_echo_n "checking for sincos declaration... " >&6; }
53156 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53157 if test "${glibcxx_cv_func_sincos_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 int
53172 main ()
53173 {
53174 sincos(0, 0, 0);
53175 ;
53176 return 0;
53177 }
53178 _ACEOF
53179 if ac_fn_cxx_try_compile "$LINENO"; then :
53180 glibcxx_cv_func_sincos_use=yes
53181 else
53182 glibcxx_cv_func_sincos_use=no
53183 fi
53184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53185 ac_ext=c
53186 ac_cpp='$CPP $CPPFLAGS'
53187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53190
53191
53192 fi
53193
53194 fi
53195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53196 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53197
53198 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53199 for ac_func in sincos
53200 do :
53201 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53202 if test "x$ac_cv_func_sincos" = x""yes; then :
53203 cat >>confdefs.h <<_ACEOF
53204 #define HAVE_SINCOS 1
53205 _ACEOF
53206
53207 fi
53208 done
53209
53210 else
53211
53212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53213 $as_echo_n "checking for _sincos declaration... " >&6; }
53214 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53215 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53216 $as_echo_n "(cached) " >&6
53217 else
53218
53219
53220 ac_ext=cpp
53221 ac_cpp='$CXXCPP $CPPFLAGS'
53222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53225
53226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53227 /* end confdefs.h. */
53228 #include <math.h>
53229 int
53230 main ()
53231 {
53232 _sincos(0, 0, 0);
53233 ;
53234 return 0;
53235 }
53236 _ACEOF
53237 if ac_fn_cxx_try_compile "$LINENO"; then :
53238 glibcxx_cv_func__sincos_use=yes
53239 else
53240 glibcxx_cv_func__sincos_use=no
53241 fi
53242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53243 ac_ext=c
53244 ac_cpp='$CPP $CPPFLAGS'
53245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53248
53249
53250 fi
53251
53252 fi
53253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53254 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53255
53256 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53257 for ac_func in _sincos
53258 do :
53259 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53260 if test "x$ac_cv_func__sincos" = x""yes; then :
53261 cat >>confdefs.h <<_ACEOF
53262 #define HAVE__SINCOS 1
53263 _ACEOF
53264
53265 fi
53266 done
53267
53268 fi
53269 fi
53270
53271
53272
53273
53274
53275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53276 $as_echo_n "checking for fpclass declaration... " >&6; }
53277 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53278 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53279 $as_echo_n "(cached) " >&6
53280 else
53281
53282
53283 ac_ext=cpp
53284 ac_cpp='$CXXCPP $CPPFLAGS'
53285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53288
53289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53290 /* end confdefs.h. */
53291 #include <math.h>
53292 #ifdef HAVE_IEEEFP_H
53293 #include <ieeefp.h>
53294 #endif
53295
53296 int
53297 main ()
53298 {
53299 fpclass(0);
53300 ;
53301 return 0;
53302 }
53303 _ACEOF
53304 if ac_fn_cxx_try_compile "$LINENO"; then :
53305 glibcxx_cv_func_fpclass_use=yes
53306 else
53307 glibcxx_cv_func_fpclass_use=no
53308 fi
53309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53310 ac_ext=c
53311 ac_cpp='$CPP $CPPFLAGS'
53312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53315
53316
53317 fi
53318
53319 fi
53320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53321 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53322
53323 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53324 for ac_func in fpclass
53325 do :
53326 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53327 if test "x$ac_cv_func_fpclass" = x""yes; then :
53328 cat >>confdefs.h <<_ACEOF
53329 #define HAVE_FPCLASS 1
53330 _ACEOF
53331
53332 fi
53333 done
53334
53335 else
53336
53337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53338 $as_echo_n "checking for _fpclass declaration... " >&6; }
53339 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53340 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53341 $as_echo_n "(cached) " >&6
53342 else
53343
53344
53345 ac_ext=cpp
53346 ac_cpp='$CXXCPP $CPPFLAGS'
53347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53350
53351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53352 /* end confdefs.h. */
53353 #include <math.h>
53354 #ifdef HAVE_IEEEFP_H
53355 #include <ieeefp.h>
53356 #endif
53357
53358 int
53359 main ()
53360 {
53361 _fpclass(0);
53362 ;
53363 return 0;
53364 }
53365 _ACEOF
53366 if ac_fn_cxx_try_compile "$LINENO"; then :
53367 glibcxx_cv_func__fpclass_use=yes
53368 else
53369 glibcxx_cv_func__fpclass_use=no
53370 fi
53371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53372 ac_ext=c
53373 ac_cpp='$CPP $CPPFLAGS'
53374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53377
53378
53379 fi
53380
53381 fi
53382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53383 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53384
53385 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53386 for ac_func in _fpclass
53387 do :
53388 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53389 if test "x$ac_cv_func__fpclass" = x""yes; then :
53390 cat >>confdefs.h <<_ACEOF
53391 #define HAVE__FPCLASS 1
53392 _ACEOF
53393
53394 fi
53395 done
53396
53397 fi
53398 fi
53399
53400
53401
53402
53403
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53405 $as_echo_n "checking for qfpclass declaration... " >&6; }
53406 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53407 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53408 $as_echo_n "(cached) " >&6
53409 else
53410
53411
53412 ac_ext=cpp
53413 ac_cpp='$CXXCPP $CPPFLAGS'
53414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53417
53418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53419 /* end confdefs.h. */
53420 #include <math.h>
53421 #ifdef HAVE_IEEEFP_H
53422 #include <ieeefp.h>
53423 #endif
53424
53425 int
53426 main ()
53427 {
53428 qfpclass(0);
53429 ;
53430 return 0;
53431 }
53432 _ACEOF
53433 if ac_fn_cxx_try_compile "$LINENO"; then :
53434 glibcxx_cv_func_qfpclass_use=yes
53435 else
53436 glibcxx_cv_func_qfpclass_use=no
53437 fi
53438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53439 ac_ext=c
53440 ac_cpp='$CPP $CPPFLAGS'
53441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53444
53445
53446 fi
53447
53448 fi
53449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53450 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53451
53452 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53453 for ac_func in qfpclass
53454 do :
53455 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53456 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53457 cat >>confdefs.h <<_ACEOF
53458 #define HAVE_QFPCLASS 1
53459 _ACEOF
53460
53461 fi
53462 done
53463
53464 else
53465
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53467 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53468 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53469 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53470 $as_echo_n "(cached) " >&6
53471 else
53472
53473
53474 ac_ext=cpp
53475 ac_cpp='$CXXCPP $CPPFLAGS'
53476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53479
53480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53481 /* end confdefs.h. */
53482 #include <math.h>
53483 #ifdef HAVE_IEEEFP_H
53484 #include <ieeefp.h>
53485 #endif
53486
53487 int
53488 main ()
53489 {
53490 _qfpclass(0);
53491 ;
53492 return 0;
53493 }
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__qfpclass_use=yes
53497 else
53498 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
53512 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53513
53514 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53515 for ac_func in _qfpclass
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53518 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__QFPCLASS 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 hypot declaration" >&5
53534 $as_echo_n "checking for hypot declaration... " >&6; }
53535 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53536 if test "${glibcxx_cv_func_hypot_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 int
53551 main ()
53552 {
53553 hypot(0, 0);
53554 ;
53555 return 0;
53556 }
53557 _ACEOF
53558 if ac_fn_cxx_try_compile "$LINENO"; then :
53559 glibcxx_cv_func_hypot_use=yes
53560 else
53561 glibcxx_cv_func_hypot_use=no
53562 fi
53563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53564 ac_ext=c
53565 ac_cpp='$CPP $CPPFLAGS'
53566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53569
53570
53571 fi
53572
53573 fi
53574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53575 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53576
53577 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53578 for ac_func in hypot
53579 do :
53580 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53581 if test "x$ac_cv_func_hypot" = x""yes; then :
53582 cat >>confdefs.h <<_ACEOF
53583 #define HAVE_HYPOT 1
53584 _ACEOF
53585
53586 fi
53587 done
53588
53589 else
53590
53591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53592 $as_echo_n "checking for _hypot declaration... " >&6; }
53593 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53594 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53595 $as_echo_n "(cached) " >&6
53596 else
53597
53598
53599 ac_ext=cpp
53600 ac_cpp='$CXXCPP $CPPFLAGS'
53601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53604
53605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53606 /* end confdefs.h. */
53607 #include <math.h>
53608 int
53609 main ()
53610 {
53611 _hypot(0, 0);
53612 ;
53613 return 0;
53614 }
53615 _ACEOF
53616 if ac_fn_cxx_try_compile "$LINENO"; then :
53617 glibcxx_cv_func__hypot_use=yes
53618 else
53619 glibcxx_cv_func__hypot_use=no
53620 fi
53621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53622 ac_ext=c
53623 ac_cpp='$CPP $CPPFLAGS'
53624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53627
53628
53629 fi
53630
53631 fi
53632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53633 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53634
53635 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53636 for ac_func in _hypot
53637 do :
53638 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53639 if test "x$ac_cv_func__hypot" = x""yes; then :
53640 cat >>confdefs.h <<_ACEOF
53641 #define HAVE__HYPOT 1
53642 _ACEOF
53643
53644 fi
53645 done
53646
53647 fi
53648 fi
53649
53650
53651
53652
53653
53654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53655 $as_echo_n "checking for float trig functions... " >&6; }
53656 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53657 $as_echo_n "(cached) " >&6
53658 else
53659
53660
53661 ac_ext=cpp
53662 ac_cpp='$CXXCPP $CPPFLAGS'
53663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53666
53667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53668 /* end confdefs.h. */
53669 #include <math.h>
53670 int
53671 main ()
53672 {
53673 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53674 ;
53675 return 0;
53676 }
53677 _ACEOF
53678 if ac_fn_cxx_try_compile "$LINENO"; then :
53679 glibcxx_cv_func_float_trig_use=yes
53680 else
53681 glibcxx_cv_func_float_trig_use=no
53682 fi
53683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53684 ac_ext=c
53685 ac_cpp='$CPP $CPPFLAGS'
53686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53689
53690 fi
53691
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53693 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53694 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53695 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53696 do :
53697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53699 eval as_val=\$$as_ac_var
53700 if test "x$as_val" = x""yes; then :
53701 cat >>confdefs.h <<_ACEOF
53702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53703 _ACEOF
53704
53705 fi
53706 done
53707
53708 else
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53710 $as_echo_n "checking for _float trig functions... " >&6; }
53711 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53712 $as_echo_n "(cached) " >&6
53713 else
53714
53715
53716 ac_ext=cpp
53717 ac_cpp='$CXXCPP $CPPFLAGS'
53718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53721
53722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53723 /* end confdefs.h. */
53724 #include <math.h>
53725 int
53726 main ()
53727 {
53728 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53729 ;
53730 return 0;
53731 }
53732 _ACEOF
53733 if ac_fn_cxx_try_compile "$LINENO"; then :
53734 glibcxx_cv_func__float_trig_use=yes
53735 else
53736 glibcxx_cv_func__float_trig_use=no
53737 fi
53738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53739 ac_ext=c
53740 ac_cpp='$CPP $CPPFLAGS'
53741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53744
53745 fi
53746
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53748 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53749 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53750 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53751 do :
53752 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53753 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53754 eval as_val=\$$as_ac_var
53755 if test "x$as_val" = x""yes; then :
53756 cat >>confdefs.h <<_ACEOF
53757 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53758 _ACEOF
53759
53760 fi
53761 done
53762
53763 fi
53764 fi
53765
53766
53767
53768
53769
53770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53771 $as_echo_n "checking for float round functions... " >&6; }
53772 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53773 $as_echo_n "(cached) " >&6
53774 else
53775
53776
53777 ac_ext=cpp
53778 ac_cpp='$CXXCPP $CPPFLAGS'
53779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53782
53783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53784 /* end confdefs.h. */
53785 #include <math.h>
53786 int
53787 main ()
53788 {
53789 ceilf (0); floorf (0);
53790 ;
53791 return 0;
53792 }
53793 _ACEOF
53794 if ac_fn_cxx_try_compile "$LINENO"; then :
53795 glibcxx_cv_func_float_round_use=yes
53796 else
53797 glibcxx_cv_func_float_round_use=no
53798 fi
53799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53800 ac_ext=c
53801 ac_cpp='$CPP $CPPFLAGS'
53802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53805
53806 fi
53807
53808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53809 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53810 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53811 for ac_func in ceilf floorf
53812 do :
53813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53815 eval as_val=\$$as_ac_var
53816 if test "x$as_val" = x""yes; then :
53817 cat >>confdefs.h <<_ACEOF
53818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53819 _ACEOF
53820
53821 fi
53822 done
53823
53824 else
53825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53826 $as_echo_n "checking for _float round functions... " >&6; }
53827 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53828 $as_echo_n "(cached) " >&6
53829 else
53830
53831
53832 ac_ext=cpp
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53837
53838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53839 /* end confdefs.h. */
53840 #include <math.h>
53841 int
53842 main ()
53843 {
53844 _ceilf (0); _floorf (0);
53845 ;
53846 return 0;
53847 }
53848 _ACEOF
53849 if ac_fn_cxx_try_compile "$LINENO"; then :
53850 glibcxx_cv_func__float_round_use=yes
53851 else
53852 glibcxx_cv_func__float_round_use=no
53853 fi
53854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53855 ac_ext=c
53856 ac_cpp='$CPP $CPPFLAGS'
53857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53860
53861 fi
53862
53863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53864 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53865 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53866 for ac_func in _ceilf _floorf
53867 do :
53868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53870 eval as_val=\$$as_ac_var
53871 if test "x$as_val" = x""yes; then :
53872 cat >>confdefs.h <<_ACEOF
53873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53874 _ACEOF
53875
53876 fi
53877 done
53878
53879 fi
53880 fi
53881
53882
53883
53884
53885
53886
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53888 $as_echo_n "checking for expf declaration... " >&6; }
53889 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53890 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53891 $as_echo_n "(cached) " >&6
53892 else
53893
53894
53895 ac_ext=cpp
53896 ac_cpp='$CXXCPP $CPPFLAGS'
53897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53900
53901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53902 /* end confdefs.h. */
53903 #include <math.h>
53904 #ifdef HAVE_IEEEFP_H
53905 #include <ieeefp.h>
53906 #endif
53907
53908 int
53909 main ()
53910 {
53911 expf(0);
53912 ;
53913 return 0;
53914 }
53915 _ACEOF
53916 if ac_fn_cxx_try_compile "$LINENO"; then :
53917 glibcxx_cv_func_expf_use=yes
53918 else
53919 glibcxx_cv_func_expf_use=no
53920 fi
53921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53922 ac_ext=c
53923 ac_cpp='$CPP $CPPFLAGS'
53924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53927
53928
53929 fi
53930
53931 fi
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53933 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53934
53935 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53936 for ac_func in expf
53937 do :
53938 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53939 if test "x$ac_cv_func_expf" = x""yes; then :
53940 cat >>confdefs.h <<_ACEOF
53941 #define HAVE_EXPF 1
53942 _ACEOF
53943
53944 fi
53945 done
53946
53947 else
53948
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53950 $as_echo_n "checking for _expf declaration... " >&6; }
53951 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53952 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53953 $as_echo_n "(cached) " >&6
53954 else
53955
53956
53957 ac_ext=cpp
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53962
53963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53964 /* end confdefs.h. */
53965 #include <math.h>
53966 #ifdef HAVE_IEEEFP_H
53967 #include <ieeefp.h>
53968 #endif
53969
53970 int
53971 main ()
53972 {
53973 _expf(0);
53974 ;
53975 return 0;
53976 }
53977 _ACEOF
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979 glibcxx_cv_func__expf_use=yes
53980 else
53981 glibcxx_cv_func__expf_use=no
53982 fi
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53984 ac_ext=c
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53989
53990
53991 fi
53992
53993 fi
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53995 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53996
53997 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53998 for ac_func in _expf
53999 do :
54000 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54001 if test "x$ac_cv_func__expf" = x""yes; then :
54002 cat >>confdefs.h <<_ACEOF
54003 #define HAVE__EXPF 1
54004 _ACEOF
54005
54006 fi
54007 done
54008
54009 fi
54010 fi
54011
54012
54013
54014
54015
54016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54017 $as_echo_n "checking for isnanf declaration... " >&6; }
54018 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54019 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54020 $as_echo_n "(cached) " >&6
54021 else
54022
54023
54024 ac_ext=cpp
54025 ac_cpp='$CXXCPP $CPPFLAGS'
54026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54029
54030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54031 /* end confdefs.h. */
54032 #include <math.h>
54033 #ifdef HAVE_IEEEFP_H
54034 #include <ieeefp.h>
54035 #endif
54036
54037 int
54038 main ()
54039 {
54040 isnanf(0);
54041 ;
54042 return 0;
54043 }
54044 _ACEOF
54045 if ac_fn_cxx_try_compile "$LINENO"; then :
54046 glibcxx_cv_func_isnanf_use=yes
54047 else
54048 glibcxx_cv_func_isnanf_use=no
54049 fi
54050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54051 ac_ext=c
54052 ac_cpp='$CPP $CPPFLAGS'
54053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056
54057
54058 fi
54059
54060 fi
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54062 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54063
54064 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54065 for ac_func in isnanf
54066 do :
54067 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54068 if test "x$ac_cv_func_isnanf" = x""yes; then :
54069 cat >>confdefs.h <<_ACEOF
54070 #define HAVE_ISNANF 1
54071 _ACEOF
54072
54073 fi
54074 done
54075
54076 else
54077
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54079 $as_echo_n "checking for _isnanf declaration... " >&6; }
54080 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54081 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54082 $as_echo_n "(cached) " >&6
54083 else
54084
54085
54086 ac_ext=cpp
54087 ac_cpp='$CXXCPP $CPPFLAGS'
54088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54091
54092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54093 /* end confdefs.h. */
54094 #include <math.h>
54095 #ifdef HAVE_IEEEFP_H
54096 #include <ieeefp.h>
54097 #endif
54098
54099 int
54100 main ()
54101 {
54102 _isnanf(0);
54103 ;
54104 return 0;
54105 }
54106 _ACEOF
54107 if ac_fn_cxx_try_compile "$LINENO"; then :
54108 glibcxx_cv_func__isnanf_use=yes
54109 else
54110 glibcxx_cv_func__isnanf_use=no
54111 fi
54112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54113 ac_ext=c
54114 ac_cpp='$CPP $CPPFLAGS'
54115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54118
54119
54120 fi
54121
54122 fi
54123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54124 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54125
54126 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54127 for ac_func in _isnanf
54128 do :
54129 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54130 if test "x$ac_cv_func__isnanf" = x""yes; then :
54131 cat >>confdefs.h <<_ACEOF
54132 #define HAVE__ISNANF 1
54133 _ACEOF
54134
54135 fi
54136 done
54137
54138 fi
54139 fi
54140
54141
54142
54143
54144
54145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54146 $as_echo_n "checking for isinff declaration... " >&6; }
54147 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54148 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54149 $as_echo_n "(cached) " >&6
54150 else
54151
54152
54153 ac_ext=cpp
54154 ac_cpp='$CXXCPP $CPPFLAGS'
54155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158
54159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54160 /* end confdefs.h. */
54161 #include <math.h>
54162 #ifdef HAVE_IEEEFP_H
54163 #include <ieeefp.h>
54164 #endif
54165
54166 int
54167 main ()
54168 {
54169 isinff(0);
54170 ;
54171 return 0;
54172 }
54173 _ACEOF
54174 if ac_fn_cxx_try_compile "$LINENO"; then :
54175 glibcxx_cv_func_isinff_use=yes
54176 else
54177 glibcxx_cv_func_isinff_use=no
54178 fi
54179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54180 ac_ext=c
54181 ac_cpp='$CPP $CPPFLAGS'
54182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54185
54186
54187 fi
54188
54189 fi
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54191 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54192
54193 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54194 for ac_func in isinff
54195 do :
54196 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54197 if test "x$ac_cv_func_isinff" = x""yes; then :
54198 cat >>confdefs.h <<_ACEOF
54199 #define HAVE_ISINFF 1
54200 _ACEOF
54201
54202 fi
54203 done
54204
54205 else
54206
54207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54208 $as_echo_n "checking for _isinff declaration... " >&6; }
54209 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54210 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54211 $as_echo_n "(cached) " >&6
54212 else
54213
54214
54215 ac_ext=cpp
54216 ac_cpp='$CXXCPP $CPPFLAGS'
54217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54220
54221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54222 /* end confdefs.h. */
54223 #include <math.h>
54224 #ifdef HAVE_IEEEFP_H
54225 #include <ieeefp.h>
54226 #endif
54227
54228 int
54229 main ()
54230 {
54231 _isinff(0);
54232 ;
54233 return 0;
54234 }
54235 _ACEOF
54236 if ac_fn_cxx_try_compile "$LINENO"; then :
54237 glibcxx_cv_func__isinff_use=yes
54238 else
54239 glibcxx_cv_func__isinff_use=no
54240 fi
54241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54242 ac_ext=c
54243 ac_cpp='$CPP $CPPFLAGS'
54244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54247
54248
54249 fi
54250
54251 fi
54252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54253 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54254
54255 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54256 for ac_func in _isinff
54257 do :
54258 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54259 if test "x$ac_cv_func__isinff" = x""yes; then :
54260 cat >>confdefs.h <<_ACEOF
54261 #define HAVE__ISINFF 1
54262 _ACEOF
54263
54264 fi
54265 done
54266
54267 fi
54268 fi
54269
54270
54271
54272
54273
54274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54275 $as_echo_n "checking for atan2f declaration... " >&6; }
54276 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54277 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54278 $as_echo_n "(cached) " >&6
54279 else
54280
54281
54282 ac_ext=cpp
54283 ac_cpp='$CXXCPP $CPPFLAGS'
54284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287
54288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54289 /* end confdefs.h. */
54290 #include <math.h>
54291 int
54292 main ()
54293 {
54294 atan2f(0, 0);
54295 ;
54296 return 0;
54297 }
54298 _ACEOF
54299 if ac_fn_cxx_try_compile "$LINENO"; then :
54300 glibcxx_cv_func_atan2f_use=yes
54301 else
54302 glibcxx_cv_func_atan2f_use=no
54303 fi
54304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54305 ac_ext=c
54306 ac_cpp='$CPP $CPPFLAGS'
54307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54310
54311
54312 fi
54313
54314 fi
54315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54316 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54317
54318 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54319 for ac_func in atan2f
54320 do :
54321 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54322 if test "x$ac_cv_func_atan2f" = x""yes; then :
54323 cat >>confdefs.h <<_ACEOF
54324 #define HAVE_ATAN2F 1
54325 _ACEOF
54326
54327 fi
54328 done
54329
54330 else
54331
54332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54333 $as_echo_n "checking for _atan2f declaration... " >&6; }
54334 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54335 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54336 $as_echo_n "(cached) " >&6
54337 else
54338
54339
54340 ac_ext=cpp
54341 ac_cpp='$CXXCPP $CPPFLAGS'
54342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54345
54346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54347 /* end confdefs.h. */
54348 #include <math.h>
54349 int
54350 main ()
54351 {
54352 _atan2f(0, 0);
54353 ;
54354 return 0;
54355 }
54356 _ACEOF
54357 if ac_fn_cxx_try_compile "$LINENO"; then :
54358 glibcxx_cv_func__atan2f_use=yes
54359 else
54360 glibcxx_cv_func__atan2f_use=no
54361 fi
54362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54363 ac_ext=c
54364 ac_cpp='$CPP $CPPFLAGS'
54365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54368
54369
54370 fi
54371
54372 fi
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54374 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54375
54376 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54377 for ac_func in _atan2f
54378 do :
54379 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54380 if test "x$ac_cv_func__atan2f" = x""yes; then :
54381 cat >>confdefs.h <<_ACEOF
54382 #define HAVE__ATAN2F 1
54383 _ACEOF
54384
54385 fi
54386 done
54387
54388 fi
54389 fi
54390
54391
54392
54393
54394
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54396 $as_echo_n "checking for fabsf declaration... " >&6; }
54397 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54398 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54399 $as_echo_n "(cached) " >&6
54400 else
54401
54402
54403 ac_ext=cpp
54404 ac_cpp='$CXXCPP $CPPFLAGS'
54405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54408
54409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54410 /* end confdefs.h. */
54411 #include <math.h>
54412 #ifdef HAVE_IEEEFP_H
54413 #include <ieeefp.h>
54414 #endif
54415
54416 int
54417 main ()
54418 {
54419 fabsf(0);
54420 ;
54421 return 0;
54422 }
54423 _ACEOF
54424 if ac_fn_cxx_try_compile "$LINENO"; then :
54425 glibcxx_cv_func_fabsf_use=yes
54426 else
54427 glibcxx_cv_func_fabsf_use=no
54428 fi
54429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54430 ac_ext=c
54431 ac_cpp='$CPP $CPPFLAGS'
54432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435
54436
54437 fi
54438
54439 fi
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54441 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54442
54443 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54444 for ac_func in fabsf
54445 do :
54446 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54447 if test "x$ac_cv_func_fabsf" = x""yes; then :
54448 cat >>confdefs.h <<_ACEOF
54449 #define HAVE_FABSF 1
54450 _ACEOF
54451
54452 fi
54453 done
54454
54455 else
54456
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54458 $as_echo_n "checking for _fabsf declaration... " >&6; }
54459 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54460 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54461 $as_echo_n "(cached) " >&6
54462 else
54463
54464
54465 ac_ext=cpp
54466 ac_cpp='$CXXCPP $CPPFLAGS'
54467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54470
54471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54472 /* end confdefs.h. */
54473 #include <math.h>
54474 #ifdef HAVE_IEEEFP_H
54475 #include <ieeefp.h>
54476 #endif
54477
54478 int
54479 main ()
54480 {
54481 _fabsf(0);
54482 ;
54483 return 0;
54484 }
54485 _ACEOF
54486 if ac_fn_cxx_try_compile "$LINENO"; then :
54487 glibcxx_cv_func__fabsf_use=yes
54488 else
54489 glibcxx_cv_func__fabsf_use=no
54490 fi
54491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54492 ac_ext=c
54493 ac_cpp='$CPP $CPPFLAGS'
54494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54497
54498
54499 fi
54500
54501 fi
54502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54503 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54504
54505 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54506 for ac_func in _fabsf
54507 do :
54508 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54509 if test "x$ac_cv_func__fabsf" = x""yes; then :
54510 cat >>confdefs.h <<_ACEOF
54511 #define HAVE__FABSF 1
54512 _ACEOF
54513
54514 fi
54515 done
54516
54517 fi
54518 fi
54519
54520
54521
54522
54523
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54525 $as_echo_n "checking for fmodf declaration... " >&6; }
54526 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54527 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54528 $as_echo_n "(cached) " >&6
54529 else
54530
54531
54532 ac_ext=cpp
54533 ac_cpp='$CXXCPP $CPPFLAGS'
54534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537
54538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54539 /* end confdefs.h. */
54540 #include <math.h>
54541 int
54542 main ()
54543 {
54544 fmodf(0, 0);
54545 ;
54546 return 0;
54547 }
54548 _ACEOF
54549 if ac_fn_cxx_try_compile "$LINENO"; then :
54550 glibcxx_cv_func_fmodf_use=yes
54551 else
54552 glibcxx_cv_func_fmodf_use=no
54553 fi
54554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54555 ac_ext=c
54556 ac_cpp='$CPP $CPPFLAGS'
54557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54560
54561
54562 fi
54563
54564 fi
54565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54566 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54567
54568 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54569 for ac_func in fmodf
54570 do :
54571 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54572 if test "x$ac_cv_func_fmodf" = x""yes; then :
54573 cat >>confdefs.h <<_ACEOF
54574 #define HAVE_FMODF 1
54575 _ACEOF
54576
54577 fi
54578 done
54579
54580 else
54581
54582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54583 $as_echo_n "checking for _fmodf declaration... " >&6; }
54584 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54585 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54586 $as_echo_n "(cached) " >&6
54587 else
54588
54589
54590 ac_ext=cpp
54591 ac_cpp='$CXXCPP $CPPFLAGS'
54592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54595
54596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54597 /* end confdefs.h. */
54598 #include <math.h>
54599 int
54600 main ()
54601 {
54602 _fmodf(0, 0);
54603 ;
54604 return 0;
54605 }
54606 _ACEOF
54607 if ac_fn_cxx_try_compile "$LINENO"; then :
54608 glibcxx_cv_func__fmodf_use=yes
54609 else
54610 glibcxx_cv_func__fmodf_use=no
54611 fi
54612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54613 ac_ext=c
54614 ac_cpp='$CPP $CPPFLAGS'
54615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54618
54619
54620 fi
54621
54622 fi
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54624 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54625
54626 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54627 for ac_func in _fmodf
54628 do :
54629 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54630 if test "x$ac_cv_func__fmodf" = x""yes; then :
54631 cat >>confdefs.h <<_ACEOF
54632 #define HAVE__FMODF 1
54633 _ACEOF
54634
54635 fi
54636 done
54637
54638 fi
54639 fi
54640
54641
54642
54643
54644
54645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54646 $as_echo_n "checking for frexpf declaration... " >&6; }
54647 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54648 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54649 $as_echo_n "(cached) " >&6
54650 else
54651
54652
54653 ac_ext=cpp
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658
54659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54660 /* end confdefs.h. */
54661 #include <math.h>
54662 int
54663 main ()
54664 {
54665 frexpf(0, 0);
54666 ;
54667 return 0;
54668 }
54669 _ACEOF
54670 if ac_fn_cxx_try_compile "$LINENO"; then :
54671 glibcxx_cv_func_frexpf_use=yes
54672 else
54673 glibcxx_cv_func_frexpf_use=no
54674 fi
54675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54676 ac_ext=c
54677 ac_cpp='$CPP $CPPFLAGS'
54678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54681
54682
54683 fi
54684
54685 fi
54686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54687 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54688
54689 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54690 for ac_func in frexpf
54691 do :
54692 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54693 if test "x$ac_cv_func_frexpf" = x""yes; then :
54694 cat >>confdefs.h <<_ACEOF
54695 #define HAVE_FREXPF 1
54696 _ACEOF
54697
54698 fi
54699 done
54700
54701 else
54702
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54704 $as_echo_n "checking for _frexpf declaration... " >&6; }
54705 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54706 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54707 $as_echo_n "(cached) " >&6
54708 else
54709
54710
54711 ac_ext=cpp
54712 ac_cpp='$CXXCPP $CPPFLAGS'
54713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54716
54717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54718 /* end confdefs.h. */
54719 #include <math.h>
54720 int
54721 main ()
54722 {
54723 _frexpf(0, 0);
54724 ;
54725 return 0;
54726 }
54727 _ACEOF
54728 if ac_fn_cxx_try_compile "$LINENO"; then :
54729 glibcxx_cv_func__frexpf_use=yes
54730 else
54731 glibcxx_cv_func__frexpf_use=no
54732 fi
54733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54734 ac_ext=c
54735 ac_cpp='$CPP $CPPFLAGS'
54736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54739
54740
54741 fi
54742
54743 fi
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54745 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54746
54747 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54748 for ac_func in _frexpf
54749 do :
54750 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54751 if test "x$ac_cv_func__frexpf" = x""yes; then :
54752 cat >>confdefs.h <<_ACEOF
54753 #define HAVE__FREXPF 1
54754 _ACEOF
54755
54756 fi
54757 done
54758
54759 fi
54760 fi
54761
54762
54763
54764
54765
54766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54767 $as_echo_n "checking for hypotf declaration... " >&6; }
54768 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54769 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54770 $as_echo_n "(cached) " >&6
54771 else
54772
54773
54774 ac_ext=cpp
54775 ac_cpp='$CXXCPP $CPPFLAGS'
54776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54779
54780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54781 /* end confdefs.h. */
54782 #include <math.h>
54783 int
54784 main ()
54785 {
54786 hypotf(0, 0);
54787 ;
54788 return 0;
54789 }
54790 _ACEOF
54791 if ac_fn_cxx_try_compile "$LINENO"; then :
54792 glibcxx_cv_func_hypotf_use=yes
54793 else
54794 glibcxx_cv_func_hypotf_use=no
54795 fi
54796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54797 ac_ext=c
54798 ac_cpp='$CPP $CPPFLAGS'
54799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54802
54803
54804 fi
54805
54806 fi
54807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54808 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54809
54810 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54811 for ac_func in hypotf
54812 do :
54813 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54814 if test "x$ac_cv_func_hypotf" = x""yes; then :
54815 cat >>confdefs.h <<_ACEOF
54816 #define HAVE_HYPOTF 1
54817 _ACEOF
54818
54819 fi
54820 done
54821
54822 else
54823
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54825 $as_echo_n "checking for _hypotf declaration... " >&6; }
54826 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54827 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54828 $as_echo_n "(cached) " >&6
54829 else
54830
54831
54832 ac_ext=cpp
54833 ac_cpp='$CXXCPP $CPPFLAGS'
54834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54837
54838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54839 /* end confdefs.h. */
54840 #include <math.h>
54841 int
54842 main ()
54843 {
54844 _hypotf(0, 0);
54845 ;
54846 return 0;
54847 }
54848 _ACEOF
54849 if ac_fn_cxx_try_compile "$LINENO"; then :
54850 glibcxx_cv_func__hypotf_use=yes
54851 else
54852 glibcxx_cv_func__hypotf_use=no
54853 fi
54854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54855 ac_ext=c
54856 ac_cpp='$CPP $CPPFLAGS'
54857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54860
54861
54862 fi
54863
54864 fi
54865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54866 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54867
54868 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54869 for ac_func in _hypotf
54870 do :
54871 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54872 if test "x$ac_cv_func__hypotf" = x""yes; then :
54873 cat >>confdefs.h <<_ACEOF
54874 #define HAVE__HYPOTF 1
54875 _ACEOF
54876
54877 fi
54878 done
54879
54880 fi
54881 fi
54882
54883
54884
54885
54886
54887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54888 $as_echo_n "checking for ldexpf declaration... " >&6; }
54889 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54890 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54891 $as_echo_n "(cached) " >&6
54892 else
54893
54894
54895 ac_ext=cpp
54896 ac_cpp='$CXXCPP $CPPFLAGS'
54897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54900
54901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54902 /* end confdefs.h. */
54903 #include <math.h>
54904 int
54905 main ()
54906 {
54907 ldexpf(0, 0);
54908 ;
54909 return 0;
54910 }
54911 _ACEOF
54912 if ac_fn_cxx_try_compile "$LINENO"; then :
54913 glibcxx_cv_func_ldexpf_use=yes
54914 else
54915 glibcxx_cv_func_ldexpf_use=no
54916 fi
54917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54918 ac_ext=c
54919 ac_cpp='$CPP $CPPFLAGS'
54920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54923
54924
54925 fi
54926
54927 fi
54928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54929 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54930
54931 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54932 for ac_func in ldexpf
54933 do :
54934 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54935 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54936 cat >>confdefs.h <<_ACEOF
54937 #define HAVE_LDEXPF 1
54938 _ACEOF
54939
54940 fi
54941 done
54942
54943 else
54944
54945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54946 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54947 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54948 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54949 $as_echo_n "(cached) " >&6
54950 else
54951
54952
54953 ac_ext=cpp
54954 ac_cpp='$CXXCPP $CPPFLAGS'
54955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54958
54959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54960 /* end confdefs.h. */
54961 #include <math.h>
54962 int
54963 main ()
54964 {
54965 _ldexpf(0, 0);
54966 ;
54967 return 0;
54968 }
54969 _ACEOF
54970 if ac_fn_cxx_try_compile "$LINENO"; then :
54971 glibcxx_cv_func__ldexpf_use=yes
54972 else
54973 glibcxx_cv_func__ldexpf_use=no
54974 fi
54975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54976 ac_ext=c
54977 ac_cpp='$CPP $CPPFLAGS'
54978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54981
54982
54983 fi
54984
54985 fi
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54987 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54988
54989 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54990 for ac_func in _ldexpf
54991 do :
54992 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54993 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54994 cat >>confdefs.h <<_ACEOF
54995 #define HAVE__LDEXPF 1
54996 _ACEOF
54997
54998 fi
54999 done
55000
55001 fi
55002 fi
55003
55004
55005
55006
55007
55008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55009 $as_echo_n "checking for logf declaration... " >&6; }
55010 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55011 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55012 $as_echo_n "(cached) " >&6
55013 else
55014
55015
55016 ac_ext=cpp
55017 ac_cpp='$CXXCPP $CPPFLAGS'
55018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55021
55022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55023 /* end confdefs.h. */
55024 #include <math.h>
55025 #ifdef HAVE_IEEEFP_H
55026 #include <ieeefp.h>
55027 #endif
55028
55029 int
55030 main ()
55031 {
55032 logf(0);
55033 ;
55034 return 0;
55035 }
55036 _ACEOF
55037 if ac_fn_cxx_try_compile "$LINENO"; then :
55038 glibcxx_cv_func_logf_use=yes
55039 else
55040 glibcxx_cv_func_logf_use=no
55041 fi
55042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55043 ac_ext=c
55044 ac_cpp='$CPP $CPPFLAGS'
55045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55048
55049
55050 fi
55051
55052 fi
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55054 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55055
55056 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55057 for ac_func in logf
55058 do :
55059 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55060 if test "x$ac_cv_func_logf" = x""yes; then :
55061 cat >>confdefs.h <<_ACEOF
55062 #define HAVE_LOGF 1
55063 _ACEOF
55064
55065 fi
55066 done
55067
55068 else
55069
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55071 $as_echo_n "checking for _logf declaration... " >&6; }
55072 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55073 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55074 $as_echo_n "(cached) " >&6
55075 else
55076
55077
55078 ac_ext=cpp
55079 ac_cpp='$CXXCPP $CPPFLAGS'
55080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55083
55084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55085 /* end confdefs.h. */
55086 #include <math.h>
55087 #ifdef HAVE_IEEEFP_H
55088 #include <ieeefp.h>
55089 #endif
55090
55091 int
55092 main ()
55093 {
55094 _logf(0);
55095 ;
55096 return 0;
55097 }
55098 _ACEOF
55099 if ac_fn_cxx_try_compile "$LINENO"; then :
55100 glibcxx_cv_func__logf_use=yes
55101 else
55102 glibcxx_cv_func__logf_use=no
55103 fi
55104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105 ac_ext=c
55106 ac_cpp='$CPP $CPPFLAGS'
55107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55110
55111
55112 fi
55113
55114 fi
55115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55116 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55117
55118 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55119 for ac_func in _logf
55120 do :
55121 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55122 if test "x$ac_cv_func__logf" = x""yes; then :
55123 cat >>confdefs.h <<_ACEOF
55124 #define HAVE__LOGF 1
55125 _ACEOF
55126
55127 fi
55128 done
55129
55130 fi
55131 fi
55132
55133
55134
55135
55136
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55138 $as_echo_n "checking for log10f declaration... " >&6; }
55139 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55140 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55141 $as_echo_n "(cached) " >&6
55142 else
55143
55144
55145 ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150
55151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h. */
55153 #include <math.h>
55154 #ifdef HAVE_IEEEFP_H
55155 #include <ieeefp.h>
55156 #endif
55157
55158 int
55159 main ()
55160 {
55161 log10f(0);
55162 ;
55163 return 0;
55164 }
55165 _ACEOF
55166 if ac_fn_cxx_try_compile "$LINENO"; then :
55167 glibcxx_cv_func_log10f_use=yes
55168 else
55169 glibcxx_cv_func_log10f_use=no
55170 fi
55171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55172 ac_ext=c
55173 ac_cpp='$CPP $CPPFLAGS'
55174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55177
55178
55179 fi
55180
55181 fi
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55183 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55184
55185 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55186 for ac_func in log10f
55187 do :
55188 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55189 if test "x$ac_cv_func_log10f" = x""yes; then :
55190 cat >>confdefs.h <<_ACEOF
55191 #define HAVE_LOG10F 1
55192 _ACEOF
55193
55194 fi
55195 done
55196
55197 else
55198
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55200 $as_echo_n "checking for _log10f declaration... " >&6; }
55201 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55202 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55203 $as_echo_n "(cached) " >&6
55204 else
55205
55206
55207 ac_ext=cpp
55208 ac_cpp='$CXXCPP $CPPFLAGS'
55209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212
55213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55214 /* end confdefs.h. */
55215 #include <math.h>
55216 #ifdef HAVE_IEEEFP_H
55217 #include <ieeefp.h>
55218 #endif
55219
55220 int
55221 main ()
55222 {
55223 _log10f(0);
55224 ;
55225 return 0;
55226 }
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func__log10f_use=yes
55230 else
55231 glibcxx_cv_func__log10f_use=no
55232 fi
55233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55239
55240
55241 fi
55242
55243 fi
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55245 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55246
55247 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55248 for ac_func in _log10f
55249 do :
55250 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55251 if test "x$ac_cv_func__log10f" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define HAVE__LOG10F 1
55254 _ACEOF
55255
55256 fi
55257 done
55258
55259 fi
55260 fi
55261
55262
55263
55264
55265
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55267 $as_echo_n "checking for modff declaration... " >&6; }
55268 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55269 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55272
55273
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55283 int
55284 main ()
55285 {
55286 modff(0, 0);
55287 ;
55288 return 0;
55289 }
55290 _ACEOF
55291 if ac_fn_cxx_try_compile "$LINENO"; then :
55292 glibcxx_cv_func_modff_use=yes
55293 else
55294 glibcxx_cv_func_modff_use=no
55295 fi
55296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55297 ac_ext=c
55298 ac_cpp='$CPP $CPPFLAGS'
55299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55302
55303
55304 fi
55305
55306 fi
55307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55308 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55309
55310 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55311 for ac_func in modff
55312 do :
55313 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55314 if test "x$ac_cv_func_modff" = x""yes; then :
55315 cat >>confdefs.h <<_ACEOF
55316 #define HAVE_MODFF 1
55317 _ACEOF
55318
55319 fi
55320 done
55321
55322 else
55323
55324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55325 $as_echo_n "checking for _modff declaration... " >&6; }
55326 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55327 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55328 $as_echo_n "(cached) " >&6
55329 else
55330
55331
55332 ac_ext=cpp
55333 ac_cpp='$CXXCPP $CPPFLAGS'
55334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55337
55338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55339 /* end confdefs.h. */
55340 #include <math.h>
55341 int
55342 main ()
55343 {
55344 _modff(0, 0);
55345 ;
55346 return 0;
55347 }
55348 _ACEOF
55349 if ac_fn_cxx_try_compile "$LINENO"; then :
55350 glibcxx_cv_func__modff_use=yes
55351 else
55352 glibcxx_cv_func__modff_use=no
55353 fi
55354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55355 ac_ext=c
55356 ac_cpp='$CPP $CPPFLAGS'
55357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55360
55361
55362 fi
55363
55364 fi
55365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55366 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55367
55368 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55369 for ac_func in _modff
55370 do :
55371 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55372 if test "x$ac_cv_func__modff" = x""yes; then :
55373 cat >>confdefs.h <<_ACEOF
55374 #define HAVE__MODFF 1
55375 _ACEOF
55376
55377 fi
55378 done
55379
55380 fi
55381 fi
55382
55383
55384
55385
55386
55387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55388 $as_echo_n "checking for modf declaration... " >&6; }
55389 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55390 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55391 $as_echo_n "(cached) " >&6
55392 else
55393
55394
55395 ac_ext=cpp
55396 ac_cpp='$CXXCPP $CPPFLAGS'
55397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55400
55401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55402 /* end confdefs.h. */
55403 #include <math.h>
55404 int
55405 main ()
55406 {
55407 modf(0, 0);
55408 ;
55409 return 0;
55410 }
55411 _ACEOF
55412 if ac_fn_cxx_try_compile "$LINENO"; then :
55413 glibcxx_cv_func_modf_use=yes
55414 else
55415 glibcxx_cv_func_modf_use=no
55416 fi
55417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55418 ac_ext=c
55419 ac_cpp='$CPP $CPPFLAGS'
55420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55423
55424
55425 fi
55426
55427 fi
55428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55429 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55430
55431 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55432 for ac_func in modf
55433 do :
55434 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55435 if test "x$ac_cv_func_modf" = x""yes; then :
55436 cat >>confdefs.h <<_ACEOF
55437 #define HAVE_MODF 1
55438 _ACEOF
55439
55440 fi
55441 done
55442
55443 else
55444
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55446 $as_echo_n "checking for _modf declaration... " >&6; }
55447 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55448 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55449 $as_echo_n "(cached) " >&6
55450 else
55451
55452
55453 ac_ext=cpp
55454 ac_cpp='$CXXCPP $CPPFLAGS'
55455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55458
55459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55460 /* end confdefs.h. */
55461 #include <math.h>
55462 int
55463 main ()
55464 {
55465 _modf(0, 0);
55466 ;
55467 return 0;
55468 }
55469 _ACEOF
55470 if ac_fn_cxx_try_compile "$LINENO"; then :
55471 glibcxx_cv_func__modf_use=yes
55472 else
55473 glibcxx_cv_func__modf_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__modf_use" >&5
55487 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55488
55489 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55490 for ac_func in _modf
55491 do :
55492 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55493 if test "x$ac_cv_func__modf" = x""yes; then :
55494 cat >>confdefs.h <<_ACEOF
55495 #define HAVE__MODF 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 powf declaration" >&5
55509 $as_echo_n "checking for powf declaration... " >&6; }
55510 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55511 if test "${glibcxx_cv_func_powf_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 int
55526 main ()
55527 {
55528 powf(0, 0);
55529 ;
55530 return 0;
55531 }
55532 _ACEOF
55533 if ac_fn_cxx_try_compile "$LINENO"; then :
55534 glibcxx_cv_func_powf_use=yes
55535 else
55536 glibcxx_cv_func_powf_use=no
55537 fi
55538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55539 ac_ext=c
55540 ac_cpp='$CPP $CPPFLAGS'
55541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55544
55545
55546 fi
55547
55548 fi
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55550 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55551
55552 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55553 for ac_func in powf
55554 do :
55555 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55556 if test "x$ac_cv_func_powf" = x""yes; then :
55557 cat >>confdefs.h <<_ACEOF
55558 #define HAVE_POWF 1
55559 _ACEOF
55560
55561 fi
55562 done
55563
55564 else
55565
55566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55567 $as_echo_n "checking for _powf declaration... " >&6; }
55568 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55569 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55570 $as_echo_n "(cached) " >&6
55571 else
55572
55573
55574 ac_ext=cpp
55575 ac_cpp='$CXXCPP $CPPFLAGS'
55576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55579
55580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55581 /* end confdefs.h. */
55582 #include <math.h>
55583 int
55584 main ()
55585 {
55586 _powf(0, 0);
55587 ;
55588 return 0;
55589 }
55590 _ACEOF
55591 if ac_fn_cxx_try_compile "$LINENO"; then :
55592 glibcxx_cv_func__powf_use=yes
55593 else
55594 glibcxx_cv_func__powf_use=no
55595 fi
55596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55597 ac_ext=c
55598 ac_cpp='$CPP $CPPFLAGS'
55599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55602
55603
55604 fi
55605
55606 fi
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55608 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55609
55610 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55611 for ac_func in _powf
55612 do :
55613 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55614 if test "x$ac_cv_func__powf" = x""yes; then :
55615 cat >>confdefs.h <<_ACEOF
55616 #define HAVE__POWF 1
55617 _ACEOF
55618
55619 fi
55620 done
55621
55622 fi
55623 fi
55624
55625
55626
55627
55628
55629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55630 $as_echo_n "checking for sqrtf declaration... " >&6; }
55631 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55632 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55633 $as_echo_n "(cached) " >&6
55634 else
55635
55636
55637 ac_ext=cpp
55638 ac_cpp='$CXXCPP $CPPFLAGS'
55639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55642
55643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55644 /* end confdefs.h. */
55645 #include <math.h>
55646 #ifdef HAVE_IEEEFP_H
55647 #include <ieeefp.h>
55648 #endif
55649
55650 int
55651 main ()
55652 {
55653 sqrtf(0);
55654 ;
55655 return 0;
55656 }
55657 _ACEOF
55658 if ac_fn_cxx_try_compile "$LINENO"; then :
55659 glibcxx_cv_func_sqrtf_use=yes
55660 else
55661 glibcxx_cv_func_sqrtf_use=no
55662 fi
55663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55664 ac_ext=c
55665 ac_cpp='$CPP $CPPFLAGS'
55666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55669
55670
55671 fi
55672
55673 fi
55674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55675 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55676
55677 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55678 for ac_func in sqrtf
55679 do :
55680 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55681 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55682 cat >>confdefs.h <<_ACEOF
55683 #define HAVE_SQRTF 1
55684 _ACEOF
55685
55686 fi
55687 done
55688
55689 else
55690
55691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55692 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55693 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55694 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55695 $as_echo_n "(cached) " >&6
55696 else
55697
55698
55699 ac_ext=cpp
55700 ac_cpp='$CXXCPP $CPPFLAGS'
55701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55704
55705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55706 /* end confdefs.h. */
55707 #include <math.h>
55708 #ifdef HAVE_IEEEFP_H
55709 #include <ieeefp.h>
55710 #endif
55711
55712 int
55713 main ()
55714 {
55715 _sqrtf(0);
55716 ;
55717 return 0;
55718 }
55719 _ACEOF
55720 if ac_fn_cxx_try_compile "$LINENO"; then :
55721 glibcxx_cv_func__sqrtf_use=yes
55722 else
55723 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
55737 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55738
55739 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55740 for ac_func in _sqrtf
55741 do :
55742 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55743 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55744 cat >>confdefs.h <<_ACEOF
55745 #define HAVE__SQRTF 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 sincosf declaration" >&5
55759 $as_echo_n "checking for sincosf declaration... " >&6; }
55760 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55761 if test "${glibcxx_cv_func_sincosf_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 int
55776 main ()
55777 {
55778 sincosf(0, 0, 0);
55779 ;
55780 return 0;
55781 }
55782 _ACEOF
55783 if ac_fn_cxx_try_compile "$LINENO"; then :
55784 glibcxx_cv_func_sincosf_use=yes
55785 else
55786 glibcxx_cv_func_sincosf_use=no
55787 fi
55788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55789 ac_ext=c
55790 ac_cpp='$CPP $CPPFLAGS'
55791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55794
55795
55796 fi
55797
55798 fi
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55800 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55801
55802 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55803 for ac_func in sincosf
55804 do :
55805 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55806 if test "x$ac_cv_func_sincosf" = x""yes; then :
55807 cat >>confdefs.h <<_ACEOF
55808 #define HAVE_SINCOSF 1
55809 _ACEOF
55810
55811 fi
55812 done
55813
55814 else
55815
55816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55817 $as_echo_n "checking for _sincosf declaration... " >&6; }
55818 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55819 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55820 $as_echo_n "(cached) " >&6
55821 else
55822
55823
55824 ac_ext=cpp
55825 ac_cpp='$CXXCPP $CPPFLAGS'
55826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55829
55830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55831 /* end confdefs.h. */
55832 #include <math.h>
55833 int
55834 main ()
55835 {
55836 _sincosf(0, 0, 0);
55837 ;
55838 return 0;
55839 }
55840 _ACEOF
55841 if ac_fn_cxx_try_compile "$LINENO"; then :
55842 glibcxx_cv_func__sincosf_use=yes
55843 else
55844 glibcxx_cv_func__sincosf_use=no
55845 fi
55846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55852
55853
55854 fi
55855
55856 fi
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55858 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55859
55860 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55861 for ac_func in _sincosf
55862 do :
55863 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55864 if test "x$ac_cv_func__sincosf" = x""yes; then :
55865 cat >>confdefs.h <<_ACEOF
55866 #define HAVE__SINCOSF 1
55867 _ACEOF
55868
55869 fi
55870 done
55871
55872 fi
55873 fi
55874
55875
55876
55877
55878
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55880 $as_echo_n "checking for finitef declaration... " >&6; }
55881 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55882 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55883 $as_echo_n "(cached) " >&6
55884 else
55885
55886
55887 ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55892
55893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h. */
55895 #include <math.h>
55896 #ifdef HAVE_IEEEFP_H
55897 #include <ieeefp.h>
55898 #endif
55899
55900 int
55901 main ()
55902 {
55903 finitef(0);
55904 ;
55905 return 0;
55906 }
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func_finitef_use=yes
55910 else
55911 glibcxx_cv_func_finitef_use=no
55912 fi
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55919
55920
55921 fi
55922
55923 fi
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55925 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55926
55927 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55928 for ac_func in finitef
55929 do :
55930 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55931 if test "x$ac_cv_func_finitef" = x""yes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE_FINITEF 1
55934 _ACEOF
55935
55936 fi
55937 done
55938
55939 else
55940
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55942 $as_echo_n "checking for _finitef declaration... " >&6; }
55943 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55944 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55945 $as_echo_n "(cached) " >&6
55946 else
55947
55948
55949 ac_ext=cpp
55950 ac_cpp='$CXXCPP $CPPFLAGS'
55951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55954
55955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55956 /* end confdefs.h. */
55957 #include <math.h>
55958 #ifdef HAVE_IEEEFP_H
55959 #include <ieeefp.h>
55960 #endif
55961
55962 int
55963 main ()
55964 {
55965 _finitef(0);
55966 ;
55967 return 0;
55968 }
55969 _ACEOF
55970 if ac_fn_cxx_try_compile "$LINENO"; then :
55971 glibcxx_cv_func__finitef_use=yes
55972 else
55973 glibcxx_cv_func__finitef_use=no
55974 fi
55975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55976 ac_ext=c
55977 ac_cpp='$CPP $CPPFLAGS'
55978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55981
55982
55983 fi
55984
55985 fi
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55987 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55988
55989 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55990 for ac_func in _finitef
55991 do :
55992 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55993 if test "x$ac_cv_func__finitef" = x""yes; then :
55994 cat >>confdefs.h <<_ACEOF
55995 #define HAVE__FINITEF 1
55996 _ACEOF
55997
55998 fi
55999 done
56000
56001 fi
56002 fi
56003
56004
56005
56006
56007
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56009 $as_echo_n "checking for long double trig functions... " >&6; }
56010 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56011 $as_echo_n "(cached) " >&6
56012 else
56013
56014
56015 ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56020
56021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h. */
56023 #include <math.h>
56024 int
56025 main ()
56026 {
56027 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56028 ;
56029 return 0;
56030 }
56031 _ACEOF
56032 if ac_fn_cxx_try_compile "$LINENO"; then :
56033 glibcxx_cv_func_long_double_trig_use=yes
56034 else
56035 glibcxx_cv_func_long_double_trig_use=no
56036 fi
56037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56038 ac_ext=c
56039 ac_cpp='$CPP $CPPFLAGS'
56040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56043
56044 fi
56045
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56047 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56048 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56049 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56050 do :
56051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56053 eval as_val=\$$as_ac_var
56054 if test "x$as_val" = x""yes; then :
56055 cat >>confdefs.h <<_ACEOF
56056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56057 _ACEOF
56058
56059 fi
56060 done
56061
56062 else
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56064 $as_echo_n "checking for _long double trig functions... " >&6; }
56065 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56066 $as_echo_n "(cached) " >&6
56067 else
56068
56069
56070 ac_ext=cpp
56071 ac_cpp='$CXXCPP $CPPFLAGS'
56072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56075
56076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56077 /* end confdefs.h. */
56078 #include <math.h>
56079 int
56080 main ()
56081 {
56082 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56083 ;
56084 return 0;
56085 }
56086 _ACEOF
56087 if ac_fn_cxx_try_compile "$LINENO"; then :
56088 glibcxx_cv_func__long_double_trig_use=yes
56089 else
56090 glibcxx_cv_func__long_double_trig_use=no
56091 fi
56092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56093 ac_ext=c
56094 ac_cpp='$CPP $CPPFLAGS'
56095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56098
56099 fi
56100
56101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56102 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56103 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56104 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56105 do :
56106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56108 eval as_val=\$$as_ac_var
56109 if test "x$as_val" = x""yes; then :
56110 cat >>confdefs.h <<_ACEOF
56111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56112 _ACEOF
56113
56114 fi
56115 done
56116
56117 fi
56118 fi
56119
56120
56121
56122
56123
56124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56125 $as_echo_n "checking for long double round functions... " >&6; }
56126 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56127 $as_echo_n "(cached) " >&6
56128 else
56129
56130
56131 ac_ext=cpp
56132 ac_cpp='$CXXCPP $CPPFLAGS'
56133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56136
56137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56138 /* end confdefs.h. */
56139 #include <math.h>
56140 int
56141 main ()
56142 {
56143 ceill (0); floorl (0);
56144 ;
56145 return 0;
56146 }
56147 _ACEOF
56148 if ac_fn_cxx_try_compile "$LINENO"; then :
56149 glibcxx_cv_func_long_double_round_use=yes
56150 else
56151 glibcxx_cv_func_long_double_round_use=no
56152 fi
56153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56154 ac_ext=c
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56159
56160 fi
56161
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56163 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56164 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56165 for ac_func in ceill floorl
56166 do :
56167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56169 eval as_val=\$$as_ac_var
56170 if test "x$as_val" = x""yes; then :
56171 cat >>confdefs.h <<_ACEOF
56172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56173 _ACEOF
56174
56175 fi
56176 done
56177
56178 else
56179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56180 $as_echo_n "checking for _long double round functions... " >&6; }
56181 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56182 $as_echo_n "(cached) " >&6
56183 else
56184
56185
56186 ac_ext=cpp
56187 ac_cpp='$CXXCPP $CPPFLAGS'
56188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56191
56192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56193 /* end confdefs.h. */
56194 #include <math.h>
56195 int
56196 main ()
56197 {
56198 _ceill (0); _floorl (0);
56199 ;
56200 return 0;
56201 }
56202 _ACEOF
56203 if ac_fn_cxx_try_compile "$LINENO"; then :
56204 glibcxx_cv_func__long_double_round_use=yes
56205 else
56206 glibcxx_cv_func__long_double_round_use=no
56207 fi
56208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56209 ac_ext=c
56210 ac_cpp='$CPP $CPPFLAGS'
56211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56214
56215 fi
56216
56217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56218 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56219 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56220 for ac_func in _ceill _floorl
56221 do :
56222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56224 eval as_val=\$$as_ac_var
56225 if test "x$as_val" = x""yes; then :
56226 cat >>confdefs.h <<_ACEOF
56227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56228 _ACEOF
56229
56230 fi
56231 done
56232
56233 fi
56234 fi
56235
56236
56237
56238
56239
56240
56241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56242 $as_echo_n "checking for isnanl declaration... " >&6; }
56243 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56244 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56245 $as_echo_n "(cached) " >&6
56246 else
56247
56248
56249 ac_ext=cpp
56250 ac_cpp='$CXXCPP $CPPFLAGS'
56251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56254
56255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56256 /* end confdefs.h. */
56257 #include <math.h>
56258 #ifdef HAVE_IEEEFP_H
56259 #include <ieeefp.h>
56260 #endif
56261
56262 int
56263 main ()
56264 {
56265 isnanl(0);
56266 ;
56267 return 0;
56268 }
56269 _ACEOF
56270 if ac_fn_cxx_try_compile "$LINENO"; then :
56271 glibcxx_cv_func_isnanl_use=yes
56272 else
56273 glibcxx_cv_func_isnanl_use=no
56274 fi
56275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56276 ac_ext=c
56277 ac_cpp='$CPP $CPPFLAGS'
56278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56281
56282
56283 fi
56284
56285 fi
56286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56287 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56288
56289 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56290 for ac_func in isnanl
56291 do :
56292 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56293 if test "x$ac_cv_func_isnanl" = x""yes; then :
56294 cat >>confdefs.h <<_ACEOF
56295 #define HAVE_ISNANL 1
56296 _ACEOF
56297
56298 fi
56299 done
56300
56301 else
56302
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56304 $as_echo_n "checking for _isnanl declaration... " >&6; }
56305 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56306 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56307 $as_echo_n "(cached) " >&6
56308 else
56309
56310
56311 ac_ext=cpp
56312 ac_cpp='$CXXCPP $CPPFLAGS'
56313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56316
56317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56318 /* end confdefs.h. */
56319 #include <math.h>
56320 #ifdef HAVE_IEEEFP_H
56321 #include <ieeefp.h>
56322 #endif
56323
56324 int
56325 main ()
56326 {
56327 _isnanl(0);
56328 ;
56329 return 0;
56330 }
56331 _ACEOF
56332 if ac_fn_cxx_try_compile "$LINENO"; then :
56333 glibcxx_cv_func__isnanl_use=yes
56334 else
56335 glibcxx_cv_func__isnanl_use=no
56336 fi
56337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56338 ac_ext=c
56339 ac_cpp='$CPP $CPPFLAGS'
56340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56343
56344
56345 fi
56346
56347 fi
56348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56349 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56350
56351 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56352 for ac_func in _isnanl
56353 do :
56354 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56355 if test "x$ac_cv_func__isnanl" = x""yes; then :
56356 cat >>confdefs.h <<_ACEOF
56357 #define HAVE__ISNANL 1
56358 _ACEOF
56359
56360 fi
56361 done
56362
56363 fi
56364 fi
56365
56366
56367
56368
56369
56370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56371 $as_echo_n "checking for isinfl declaration... " >&6; }
56372 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56373 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56374 $as_echo_n "(cached) " >&6
56375 else
56376
56377
56378 ac_ext=cpp
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383
56384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56385 /* end confdefs.h. */
56386 #include <math.h>
56387 #ifdef HAVE_IEEEFP_H
56388 #include <ieeefp.h>
56389 #endif
56390
56391 int
56392 main ()
56393 {
56394 isinfl(0);
56395 ;
56396 return 0;
56397 }
56398 _ACEOF
56399 if ac_fn_cxx_try_compile "$LINENO"; then :
56400 glibcxx_cv_func_isinfl_use=yes
56401 else
56402 glibcxx_cv_func_isinfl_use=no
56403 fi
56404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56405 ac_ext=c
56406 ac_cpp='$CPP $CPPFLAGS'
56407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56410
56411
56412 fi
56413
56414 fi
56415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56416 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56417
56418 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56419 for ac_func in isinfl
56420 do :
56421 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56422 if test "x$ac_cv_func_isinfl" = x""yes; then :
56423 cat >>confdefs.h <<_ACEOF
56424 #define HAVE_ISINFL 1
56425 _ACEOF
56426
56427 fi
56428 done
56429
56430 else
56431
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56433 $as_echo_n "checking for _isinfl declaration... " >&6; }
56434 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56435 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56436 $as_echo_n "(cached) " >&6
56437 else
56438
56439
56440 ac_ext=cpp
56441 ac_cpp='$CXXCPP $CPPFLAGS'
56442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56445
56446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56447 /* end confdefs.h. */
56448 #include <math.h>
56449 #ifdef HAVE_IEEEFP_H
56450 #include <ieeefp.h>
56451 #endif
56452
56453 int
56454 main ()
56455 {
56456 _isinfl(0);
56457 ;
56458 return 0;
56459 }
56460 _ACEOF
56461 if ac_fn_cxx_try_compile "$LINENO"; then :
56462 glibcxx_cv_func__isinfl_use=yes
56463 else
56464 glibcxx_cv_func__isinfl_use=no
56465 fi
56466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56467 ac_ext=c
56468 ac_cpp='$CPP $CPPFLAGS'
56469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56472
56473
56474 fi
56475
56476 fi
56477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56478 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56479
56480 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56481 for ac_func in _isinfl
56482 do :
56483 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56484 if test "x$ac_cv_func__isinfl" = x""yes; then :
56485 cat >>confdefs.h <<_ACEOF
56486 #define HAVE__ISINFL 1
56487 _ACEOF
56488
56489 fi
56490 done
56491
56492 fi
56493 fi
56494
56495
56496
56497
56498
56499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56500 $as_echo_n "checking for atan2l declaration... " >&6; }
56501 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56502 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56503 $as_echo_n "(cached) " >&6
56504 else
56505
56506
56507 ac_ext=cpp
56508 ac_cpp='$CXXCPP $CPPFLAGS'
56509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512
56513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56514 /* end confdefs.h. */
56515 #include <math.h>
56516 int
56517 main ()
56518 {
56519 atan2l(0, 0);
56520 ;
56521 return 0;
56522 }
56523 _ACEOF
56524 if ac_fn_cxx_try_compile "$LINENO"; then :
56525 glibcxx_cv_func_atan2l_use=yes
56526 else
56527 glibcxx_cv_func_atan2l_use=no
56528 fi
56529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56530 ac_ext=c
56531 ac_cpp='$CPP $CPPFLAGS'
56532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56535
56536
56537 fi
56538
56539 fi
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56541 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56542
56543 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56544 for ac_func in atan2l
56545 do :
56546 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56547 if test "x$ac_cv_func_atan2l" = x""yes; then :
56548 cat >>confdefs.h <<_ACEOF
56549 #define HAVE_ATAN2L 1
56550 _ACEOF
56551
56552 fi
56553 done
56554
56555 else
56556
56557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56558 $as_echo_n "checking for _atan2l declaration... " >&6; }
56559 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56560 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56561 $as_echo_n "(cached) " >&6
56562 else
56563
56564
56565 ac_ext=cpp
56566 ac_cpp='$CXXCPP $CPPFLAGS'
56567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56570
56571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56572 /* end confdefs.h. */
56573 #include <math.h>
56574 int
56575 main ()
56576 {
56577 _atan2l(0, 0);
56578 ;
56579 return 0;
56580 }
56581 _ACEOF
56582 if ac_fn_cxx_try_compile "$LINENO"; then :
56583 glibcxx_cv_func__atan2l_use=yes
56584 else
56585 glibcxx_cv_func__atan2l_use=no
56586 fi
56587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56588 ac_ext=c
56589 ac_cpp='$CPP $CPPFLAGS'
56590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56593
56594
56595 fi
56596
56597 fi
56598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56599 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56600
56601 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56602 for ac_func in _atan2l
56603 do :
56604 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56605 if test "x$ac_cv_func__atan2l" = x""yes; then :
56606 cat >>confdefs.h <<_ACEOF
56607 #define HAVE__ATAN2L 1
56608 _ACEOF
56609
56610 fi
56611 done
56612
56613 fi
56614 fi
56615
56616
56617
56618
56619
56620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56621 $as_echo_n "checking for expl declaration... " >&6; }
56622 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56623 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56624 $as_echo_n "(cached) " >&6
56625 else
56626
56627
56628 ac_ext=cpp
56629 ac_cpp='$CXXCPP $CPPFLAGS'
56630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56633
56634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56635 /* end confdefs.h. */
56636 #include <math.h>
56637 #ifdef HAVE_IEEEFP_H
56638 #include <ieeefp.h>
56639 #endif
56640
56641 int
56642 main ()
56643 {
56644 expl(0);
56645 ;
56646 return 0;
56647 }
56648 _ACEOF
56649 if ac_fn_cxx_try_compile "$LINENO"; then :
56650 glibcxx_cv_func_expl_use=yes
56651 else
56652 glibcxx_cv_func_expl_use=no
56653 fi
56654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56655 ac_ext=c
56656 ac_cpp='$CPP $CPPFLAGS'
56657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56660
56661
56662 fi
56663
56664 fi
56665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56666 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56667
56668 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56669 for ac_func in expl
56670 do :
56671 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56672 if test "x$ac_cv_func_expl" = x""yes; then :
56673 cat >>confdefs.h <<_ACEOF
56674 #define HAVE_EXPL 1
56675 _ACEOF
56676
56677 fi
56678 done
56679
56680 else
56681
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56683 $as_echo_n "checking for _expl declaration... " >&6; }
56684 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56685 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56686 $as_echo_n "(cached) " >&6
56687 else
56688
56689
56690 ac_ext=cpp
56691 ac_cpp='$CXXCPP $CPPFLAGS'
56692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56695
56696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56697 /* end confdefs.h. */
56698 #include <math.h>
56699 #ifdef HAVE_IEEEFP_H
56700 #include <ieeefp.h>
56701 #endif
56702
56703 int
56704 main ()
56705 {
56706 _expl(0);
56707 ;
56708 return 0;
56709 }
56710 _ACEOF
56711 if ac_fn_cxx_try_compile "$LINENO"; then :
56712 glibcxx_cv_func__expl_use=yes
56713 else
56714 glibcxx_cv_func__expl_use=no
56715 fi
56716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56717 ac_ext=c
56718 ac_cpp='$CPP $CPPFLAGS'
56719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56722
56723
56724 fi
56725
56726 fi
56727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56728 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56729
56730 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56731 for ac_func in _expl
56732 do :
56733 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56734 if test "x$ac_cv_func__expl" = x""yes; then :
56735 cat >>confdefs.h <<_ACEOF
56736 #define HAVE__EXPL 1
56737 _ACEOF
56738
56739 fi
56740 done
56741
56742 fi
56743 fi
56744
56745
56746
56747
56748
56749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56750 $as_echo_n "checking for fabsl declaration... " >&6; }
56751 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56752 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56753 $as_echo_n "(cached) " >&6
56754 else
56755
56756
56757 ac_ext=cpp
56758 ac_cpp='$CXXCPP $CPPFLAGS'
56759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56762
56763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56764 /* end confdefs.h. */
56765 #include <math.h>
56766 #ifdef HAVE_IEEEFP_H
56767 #include <ieeefp.h>
56768 #endif
56769
56770 int
56771 main ()
56772 {
56773 fabsl(0);
56774 ;
56775 return 0;
56776 }
56777 _ACEOF
56778 if ac_fn_cxx_try_compile "$LINENO"; then :
56779 glibcxx_cv_func_fabsl_use=yes
56780 else
56781 glibcxx_cv_func_fabsl_use=no
56782 fi
56783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56784 ac_ext=c
56785 ac_cpp='$CPP $CPPFLAGS'
56786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56789
56790
56791 fi
56792
56793 fi
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56795 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56796
56797 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56798 for ac_func in fabsl
56799 do :
56800 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56801 if test "x$ac_cv_func_fabsl" = x""yes; then :
56802 cat >>confdefs.h <<_ACEOF
56803 #define HAVE_FABSL 1
56804 _ACEOF
56805
56806 fi
56807 done
56808
56809 else
56810
56811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56812 $as_echo_n "checking for _fabsl declaration... " >&6; }
56813 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56814 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56815 $as_echo_n "(cached) " >&6
56816 else
56817
56818
56819 ac_ext=cpp
56820 ac_cpp='$CXXCPP $CPPFLAGS'
56821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56824
56825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56826 /* end confdefs.h. */
56827 #include <math.h>
56828 #ifdef HAVE_IEEEFP_H
56829 #include <ieeefp.h>
56830 #endif
56831
56832 int
56833 main ()
56834 {
56835 _fabsl(0);
56836 ;
56837 return 0;
56838 }
56839 _ACEOF
56840 if ac_fn_cxx_try_compile "$LINENO"; then :
56841 glibcxx_cv_func__fabsl_use=yes
56842 else
56843 glibcxx_cv_func__fabsl_use=no
56844 fi
56845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56846 ac_ext=c
56847 ac_cpp='$CPP $CPPFLAGS'
56848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56851
56852
56853 fi
56854
56855 fi
56856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56857 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56858
56859 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56860 for ac_func in _fabsl
56861 do :
56862 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56863 if test "x$ac_cv_func__fabsl" = x""yes; then :
56864 cat >>confdefs.h <<_ACEOF
56865 #define HAVE__FABSL 1
56866 _ACEOF
56867
56868 fi
56869 done
56870
56871 fi
56872 fi
56873
56874
56875
56876
56877
56878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56879 $as_echo_n "checking for fmodl declaration... " >&6; }
56880 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56881 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56882 $as_echo_n "(cached) " >&6
56883 else
56884
56885
56886 ac_ext=cpp
56887 ac_cpp='$CXXCPP $CPPFLAGS'
56888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56891
56892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56893 /* end confdefs.h. */
56894 #include <math.h>
56895 int
56896 main ()
56897 {
56898 fmodl(0, 0);
56899 ;
56900 return 0;
56901 }
56902 _ACEOF
56903 if ac_fn_cxx_try_compile "$LINENO"; then :
56904 glibcxx_cv_func_fmodl_use=yes
56905 else
56906 glibcxx_cv_func_fmodl_use=no
56907 fi
56908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56909 ac_ext=c
56910 ac_cpp='$CPP $CPPFLAGS'
56911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56914
56915
56916 fi
56917
56918 fi
56919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56920 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56921
56922 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56923 for ac_func in fmodl
56924 do :
56925 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56926 if test "x$ac_cv_func_fmodl" = x""yes; then :
56927 cat >>confdefs.h <<_ACEOF
56928 #define HAVE_FMODL 1
56929 _ACEOF
56930
56931 fi
56932 done
56933
56934 else
56935
56936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56937 $as_echo_n "checking for _fmodl declaration... " >&6; }
56938 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56939 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56940 $as_echo_n "(cached) " >&6
56941 else
56942
56943
56944 ac_ext=cpp
56945 ac_cpp='$CXXCPP $CPPFLAGS'
56946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56949
56950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56951 /* end confdefs.h. */
56952 #include <math.h>
56953 int
56954 main ()
56955 {
56956 _fmodl(0, 0);
56957 ;
56958 return 0;
56959 }
56960 _ACEOF
56961 if ac_fn_cxx_try_compile "$LINENO"; then :
56962 glibcxx_cv_func__fmodl_use=yes
56963 else
56964 glibcxx_cv_func__fmodl_use=no
56965 fi
56966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56967 ac_ext=c
56968 ac_cpp='$CPP $CPPFLAGS'
56969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56972
56973
56974 fi
56975
56976 fi
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56978 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56979
56980 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56981 for ac_func in _fmodl
56982 do :
56983 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56984 if test "x$ac_cv_func__fmodl" = x""yes; then :
56985 cat >>confdefs.h <<_ACEOF
56986 #define HAVE__FMODL 1
56987 _ACEOF
56988
56989 fi
56990 done
56991
56992 fi
56993 fi
56994
56995
56996
56997
56998
56999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57000 $as_echo_n "checking for frexpl declaration... " >&6; }
57001 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57002 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57003 $as_echo_n "(cached) " >&6
57004 else
57005
57006
57007 ac_ext=cpp
57008 ac_cpp='$CXXCPP $CPPFLAGS'
57009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57012
57013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57014 /* end confdefs.h. */
57015 #include <math.h>
57016 int
57017 main ()
57018 {
57019 frexpl(0, 0);
57020 ;
57021 return 0;
57022 }
57023 _ACEOF
57024 if ac_fn_cxx_try_compile "$LINENO"; then :
57025 glibcxx_cv_func_frexpl_use=yes
57026 else
57027 glibcxx_cv_func_frexpl_use=no
57028 fi
57029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57030 ac_ext=c
57031 ac_cpp='$CPP $CPPFLAGS'
57032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57035
57036
57037 fi
57038
57039 fi
57040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57041 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57042
57043 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57044 for ac_func in frexpl
57045 do :
57046 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57047 if test "x$ac_cv_func_frexpl" = x""yes; then :
57048 cat >>confdefs.h <<_ACEOF
57049 #define HAVE_FREXPL 1
57050 _ACEOF
57051
57052 fi
57053 done
57054
57055 else
57056
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57058 $as_echo_n "checking for _frexpl declaration... " >&6; }
57059 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57060 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57061 $as_echo_n "(cached) " >&6
57062 else
57063
57064
57065 ac_ext=cpp
57066 ac_cpp='$CXXCPP $CPPFLAGS'
57067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57070
57071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57072 /* end confdefs.h. */
57073 #include <math.h>
57074 int
57075 main ()
57076 {
57077 _frexpl(0, 0);
57078 ;
57079 return 0;
57080 }
57081 _ACEOF
57082 if ac_fn_cxx_try_compile "$LINENO"; then :
57083 glibcxx_cv_func__frexpl_use=yes
57084 else
57085 glibcxx_cv_func__frexpl_use=no
57086 fi
57087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57088 ac_ext=c
57089 ac_cpp='$CPP $CPPFLAGS'
57090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57093
57094
57095 fi
57096
57097 fi
57098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57099 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57100
57101 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57102 for ac_func in _frexpl
57103 do :
57104 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57105 if test "x$ac_cv_func__frexpl" = x""yes; then :
57106 cat >>confdefs.h <<_ACEOF
57107 #define HAVE__FREXPL 1
57108 _ACEOF
57109
57110 fi
57111 done
57112
57113 fi
57114 fi
57115
57116
57117
57118
57119
57120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57121 $as_echo_n "checking for hypotl declaration... " >&6; }
57122 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57123 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57124 $as_echo_n "(cached) " >&6
57125 else
57126
57127
57128 ac_ext=cpp
57129 ac_cpp='$CXXCPP $CPPFLAGS'
57130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57133
57134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57135 /* end confdefs.h. */
57136 #include <math.h>
57137 int
57138 main ()
57139 {
57140 hypotl(0, 0);
57141 ;
57142 return 0;
57143 }
57144 _ACEOF
57145 if ac_fn_cxx_try_compile "$LINENO"; then :
57146 glibcxx_cv_func_hypotl_use=yes
57147 else
57148 glibcxx_cv_func_hypotl_use=no
57149 fi
57150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57151 ac_ext=c
57152 ac_cpp='$CPP $CPPFLAGS'
57153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57156
57157
57158 fi
57159
57160 fi
57161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57162 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57163
57164 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57165 for ac_func in hypotl
57166 do :
57167 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57168 if test "x$ac_cv_func_hypotl" = x""yes; then :
57169 cat >>confdefs.h <<_ACEOF
57170 #define HAVE_HYPOTL 1
57171 _ACEOF
57172
57173 fi
57174 done
57175
57176 else
57177
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57179 $as_echo_n "checking for _hypotl declaration... " >&6; }
57180 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57181 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57182 $as_echo_n "(cached) " >&6
57183 else
57184
57185
57186 ac_ext=cpp
57187 ac_cpp='$CXXCPP $CPPFLAGS'
57188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57191
57192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57193 /* end confdefs.h. */
57194 #include <math.h>
57195 int
57196 main ()
57197 {
57198 _hypotl(0, 0);
57199 ;
57200 return 0;
57201 }
57202 _ACEOF
57203 if ac_fn_cxx_try_compile "$LINENO"; then :
57204 glibcxx_cv_func__hypotl_use=yes
57205 else
57206 glibcxx_cv_func__hypotl_use=no
57207 fi
57208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57209 ac_ext=c
57210 ac_cpp='$CPP $CPPFLAGS'
57211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57214
57215
57216 fi
57217
57218 fi
57219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57220 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57221
57222 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57223 for ac_func in _hypotl
57224 do :
57225 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57226 if test "x$ac_cv_func__hypotl" = x""yes; then :
57227 cat >>confdefs.h <<_ACEOF
57228 #define HAVE__HYPOTL 1
57229 _ACEOF
57230
57231 fi
57232 done
57233
57234 fi
57235 fi
57236
57237
57238
57239
57240
57241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57242 $as_echo_n "checking for ldexpl declaration... " >&6; }
57243 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57244 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57245 $as_echo_n "(cached) " >&6
57246 else
57247
57248
57249 ac_ext=cpp
57250 ac_cpp='$CXXCPP $CPPFLAGS'
57251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57254
57255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57256 /* end confdefs.h. */
57257 #include <math.h>
57258 int
57259 main ()
57260 {
57261 ldexpl(0, 0);
57262 ;
57263 return 0;
57264 }
57265 _ACEOF
57266 if ac_fn_cxx_try_compile "$LINENO"; then :
57267 glibcxx_cv_func_ldexpl_use=yes
57268 else
57269 glibcxx_cv_func_ldexpl_use=no
57270 fi
57271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57272 ac_ext=c
57273 ac_cpp='$CPP $CPPFLAGS'
57274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57277
57278
57279 fi
57280
57281 fi
57282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57283 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57284
57285 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57286 for ac_func in ldexpl
57287 do :
57288 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57289 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57290 cat >>confdefs.h <<_ACEOF
57291 #define HAVE_LDEXPL 1
57292 _ACEOF
57293
57294 fi
57295 done
57296
57297 else
57298
57299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57300 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57301 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57302 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57303 $as_echo_n "(cached) " >&6
57304 else
57305
57306
57307 ac_ext=cpp
57308 ac_cpp='$CXXCPP $CPPFLAGS'
57309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57312
57313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57314 /* end confdefs.h. */
57315 #include <math.h>
57316 int
57317 main ()
57318 {
57319 _ldexpl(0, 0);
57320 ;
57321 return 0;
57322 }
57323 _ACEOF
57324 if ac_fn_cxx_try_compile "$LINENO"; then :
57325 glibcxx_cv_func__ldexpl_use=yes
57326 else
57327 glibcxx_cv_func__ldexpl_use=no
57328 fi
57329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57330 ac_ext=c
57331 ac_cpp='$CPP $CPPFLAGS'
57332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57335
57336
57337 fi
57338
57339 fi
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57341 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57342
57343 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57344 for ac_func in _ldexpl
57345 do :
57346 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57347 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57348 cat >>confdefs.h <<_ACEOF
57349 #define HAVE__LDEXPL 1
57350 _ACEOF
57351
57352 fi
57353 done
57354
57355 fi
57356 fi
57357
57358
57359
57360
57361
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57363 $as_echo_n "checking for logl declaration... " >&6; }
57364 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57365 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57366 $as_echo_n "(cached) " >&6
57367 else
57368
57369
57370 ac_ext=cpp
57371 ac_cpp='$CXXCPP $CPPFLAGS'
57372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57375
57376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57377 /* end confdefs.h. */
57378 #include <math.h>
57379 #ifdef HAVE_IEEEFP_H
57380 #include <ieeefp.h>
57381 #endif
57382
57383 int
57384 main ()
57385 {
57386 logl(0);
57387 ;
57388 return 0;
57389 }
57390 _ACEOF
57391 if ac_fn_cxx_try_compile "$LINENO"; then :
57392 glibcxx_cv_func_logl_use=yes
57393 else
57394 glibcxx_cv_func_logl_use=no
57395 fi
57396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57397 ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57402
57403
57404 fi
57405
57406 fi
57407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57408 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57409
57410 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57411 for ac_func in logl
57412 do :
57413 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57414 if test "x$ac_cv_func_logl" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define HAVE_LOGL 1
57417 _ACEOF
57418
57419 fi
57420 done
57421
57422 else
57423
57424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57425 $as_echo_n "checking for _logl declaration... " >&6; }
57426 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57427 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57428 $as_echo_n "(cached) " >&6
57429 else
57430
57431
57432 ac_ext=cpp
57433 ac_cpp='$CXXCPP $CPPFLAGS'
57434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57437
57438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57439 /* end confdefs.h. */
57440 #include <math.h>
57441 #ifdef HAVE_IEEEFP_H
57442 #include <ieeefp.h>
57443 #endif
57444
57445 int
57446 main ()
57447 {
57448 _logl(0);
57449 ;
57450 return 0;
57451 }
57452 _ACEOF
57453 if ac_fn_cxx_try_compile "$LINENO"; then :
57454 glibcxx_cv_func__logl_use=yes
57455 else
57456 glibcxx_cv_func__logl_use=no
57457 fi
57458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57459 ac_ext=c
57460 ac_cpp='$CPP $CPPFLAGS'
57461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57464
57465
57466 fi
57467
57468 fi
57469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57470 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57471
57472 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57473 for ac_func in _logl
57474 do :
57475 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57476 if test "x$ac_cv_func__logl" = x""yes; then :
57477 cat >>confdefs.h <<_ACEOF
57478 #define HAVE__LOGL 1
57479 _ACEOF
57480
57481 fi
57482 done
57483
57484 fi
57485 fi
57486
57487
57488
57489
57490
57491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57492 $as_echo_n "checking for log10l declaration... " >&6; }
57493 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57494 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57495 $as_echo_n "(cached) " >&6
57496 else
57497
57498
57499 ac_ext=cpp
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57504
57505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57506 /* end confdefs.h. */
57507 #include <math.h>
57508 #ifdef HAVE_IEEEFP_H
57509 #include <ieeefp.h>
57510 #endif
57511
57512 int
57513 main ()
57514 {
57515 log10l(0);
57516 ;
57517 return 0;
57518 }
57519 _ACEOF
57520 if ac_fn_cxx_try_compile "$LINENO"; then :
57521 glibcxx_cv_func_log10l_use=yes
57522 else
57523 glibcxx_cv_func_log10l_use=no
57524 fi
57525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57526 ac_ext=c
57527 ac_cpp='$CPP $CPPFLAGS'
57528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57531
57532
57533 fi
57534
57535 fi
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57537 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57538
57539 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57540 for ac_func in log10l
57541 do :
57542 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57543 if test "x$ac_cv_func_log10l" = x""yes; then :
57544 cat >>confdefs.h <<_ACEOF
57545 #define HAVE_LOG10L 1
57546 _ACEOF
57547
57548 fi
57549 done
57550
57551 else
57552
57553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57554 $as_echo_n "checking for _log10l declaration... " >&6; }
57555 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57556 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57557 $as_echo_n "(cached) " >&6
57558 else
57559
57560
57561 ac_ext=cpp
57562 ac_cpp='$CXXCPP $CPPFLAGS'
57563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57566
57567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57568 /* end confdefs.h. */
57569 #include <math.h>
57570 #ifdef HAVE_IEEEFP_H
57571 #include <ieeefp.h>
57572 #endif
57573
57574 int
57575 main ()
57576 {
57577 _log10l(0);
57578 ;
57579 return 0;
57580 }
57581 _ACEOF
57582 if ac_fn_cxx_try_compile "$LINENO"; then :
57583 glibcxx_cv_func__log10l_use=yes
57584 else
57585 glibcxx_cv_func__log10l_use=no
57586 fi
57587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57588 ac_ext=c
57589 ac_cpp='$CPP $CPPFLAGS'
57590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57593
57594
57595 fi
57596
57597 fi
57598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57599 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57600
57601 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57602 for ac_func in _log10l
57603 do :
57604 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57605 if test "x$ac_cv_func__log10l" = x""yes; then :
57606 cat >>confdefs.h <<_ACEOF
57607 #define HAVE__LOG10L 1
57608 _ACEOF
57609
57610 fi
57611 done
57612
57613 fi
57614 fi
57615
57616
57617
57618
57619
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57621 $as_echo_n "checking for modfl declaration... " >&6; }
57622 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57623 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57624 $as_echo_n "(cached) " >&6
57625 else
57626
57627
57628 ac_ext=cpp
57629 ac_cpp='$CXXCPP $CPPFLAGS'
57630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57633
57634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57635 /* end confdefs.h. */
57636 #include <math.h>
57637 int
57638 main ()
57639 {
57640 modfl(0, 0);
57641 ;
57642 return 0;
57643 }
57644 _ACEOF
57645 if ac_fn_cxx_try_compile "$LINENO"; then :
57646 glibcxx_cv_func_modfl_use=yes
57647 else
57648 glibcxx_cv_func_modfl_use=no
57649 fi
57650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57651 ac_ext=c
57652 ac_cpp='$CPP $CPPFLAGS'
57653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57656
57657
57658 fi
57659
57660 fi
57661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57662 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57663
57664 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57665 for ac_func in modfl
57666 do :
57667 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57668 if test "x$ac_cv_func_modfl" = x""yes; then :
57669 cat >>confdefs.h <<_ACEOF
57670 #define HAVE_MODFL 1
57671 _ACEOF
57672
57673 fi
57674 done
57675
57676 else
57677
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57679 $as_echo_n "checking for _modfl declaration... " >&6; }
57680 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57681 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57682 $as_echo_n "(cached) " >&6
57683 else
57684
57685
57686 ac_ext=cpp
57687 ac_cpp='$CXXCPP $CPPFLAGS'
57688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57691
57692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57693 /* end confdefs.h. */
57694 #include <math.h>
57695 int
57696 main ()
57697 {
57698 _modfl(0, 0);
57699 ;
57700 return 0;
57701 }
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func__modfl_use=yes
57705 else
57706 glibcxx_cv_func__modfl_use=no
57707 fi
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709 ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57714
57715
57716 fi
57717
57718 fi
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57720 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57721
57722 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57723 for ac_func in _modfl
57724 do :
57725 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57726 if test "x$ac_cv_func__modfl" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE__MODFL 1
57729 _ACEOF
57730
57731 fi
57732 done
57733
57734 fi
57735 fi
57736
57737
57738
57739
57740
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57742 $as_echo_n "checking for powl declaration... " >&6; }
57743 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57744 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57747
57748
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57754
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57758 int
57759 main ()
57760 {
57761 powl(0, 0);
57762 ;
57763 return 0;
57764 }
57765 _ACEOF
57766 if ac_fn_cxx_try_compile "$LINENO"; then :
57767 glibcxx_cv_func_powl_use=yes
57768 else
57769 glibcxx_cv_func_powl_use=no
57770 fi
57771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57772 ac_ext=c
57773 ac_cpp='$CPP $CPPFLAGS'
57774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57777
57778
57779 fi
57780
57781 fi
57782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57783 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57784
57785 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57786 for ac_func in powl
57787 do :
57788 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57789 if test "x$ac_cv_func_powl" = x""yes; then :
57790 cat >>confdefs.h <<_ACEOF
57791 #define HAVE_POWL 1
57792 _ACEOF
57793
57794 fi
57795 done
57796
57797 else
57798
57799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57800 $as_echo_n "checking for _powl declaration... " >&6; }
57801 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57802 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57803 $as_echo_n "(cached) " >&6
57804 else
57805
57806
57807 ac_ext=cpp
57808 ac_cpp='$CXXCPP $CPPFLAGS'
57809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57812
57813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57814 /* end confdefs.h. */
57815 #include <math.h>
57816 int
57817 main ()
57818 {
57819 _powl(0, 0);
57820 ;
57821 return 0;
57822 }
57823 _ACEOF
57824 if ac_fn_cxx_try_compile "$LINENO"; then :
57825 glibcxx_cv_func__powl_use=yes
57826 else
57827 glibcxx_cv_func__powl_use=no
57828 fi
57829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57830 ac_ext=c
57831 ac_cpp='$CPP $CPPFLAGS'
57832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57835
57836
57837 fi
57838
57839 fi
57840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57841 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57842
57843 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57844 for ac_func in _powl
57845 do :
57846 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57847 if test "x$ac_cv_func__powl" = x""yes; then :
57848 cat >>confdefs.h <<_ACEOF
57849 #define HAVE__POWL 1
57850 _ACEOF
57851
57852 fi
57853 done
57854
57855 fi
57856 fi
57857
57858
57859
57860
57861
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57863 $as_echo_n "checking for sqrtl declaration... " >&6; }
57864 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57865 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57866 $as_echo_n "(cached) " >&6
57867 else
57868
57869
57870 ac_ext=cpp
57871 ac_cpp='$CXXCPP $CPPFLAGS'
57872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57875
57876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57877 /* end confdefs.h. */
57878 #include <math.h>
57879 #ifdef HAVE_IEEEFP_H
57880 #include <ieeefp.h>
57881 #endif
57882
57883 int
57884 main ()
57885 {
57886 sqrtl(0);
57887 ;
57888 return 0;
57889 }
57890 _ACEOF
57891 if ac_fn_cxx_try_compile "$LINENO"; then :
57892 glibcxx_cv_func_sqrtl_use=yes
57893 else
57894 glibcxx_cv_func_sqrtl_use=no
57895 fi
57896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57897 ac_ext=c
57898 ac_cpp='$CPP $CPPFLAGS'
57899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57902
57903
57904 fi
57905
57906 fi
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57908 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57909
57910 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57911 for ac_func in sqrtl
57912 do :
57913 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57914 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57915 cat >>confdefs.h <<_ACEOF
57916 #define HAVE_SQRTL 1
57917 _ACEOF
57918
57919 fi
57920 done
57921
57922 else
57923
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57925 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57926 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57927 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57928 $as_echo_n "(cached) " >&6
57929 else
57930
57931
57932 ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57937
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 #include <math.h>
57941 #ifdef HAVE_IEEEFP_H
57942 #include <ieeefp.h>
57943 #endif
57944
57945 int
57946 main ()
57947 {
57948 _sqrtl(0);
57949 ;
57950 return 0;
57951 }
57952 _ACEOF
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954 glibcxx_cv_func__sqrtl_use=yes
57955 else
57956 glibcxx_cv_func__sqrtl_use=no
57957 fi
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57959 ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57964
57965
57966 fi
57967
57968 fi
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57970 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57971
57972 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57973 for ac_func in _sqrtl
57974 do :
57975 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57976 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57977 cat >>confdefs.h <<_ACEOF
57978 #define HAVE__SQRTL 1
57979 _ACEOF
57980
57981 fi
57982 done
57983
57984 fi
57985 fi
57986
57987
57988
57989
57990
57991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57992 $as_echo_n "checking for sincosl declaration... " >&6; }
57993 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57994 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57995 $as_echo_n "(cached) " >&6
57996 else
57997
57998
57999 ac_ext=cpp
58000 ac_cpp='$CXXCPP $CPPFLAGS'
58001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58004
58005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58006 /* end confdefs.h. */
58007 #include <math.h>
58008 int
58009 main ()
58010 {
58011 sincosl(0, 0, 0);
58012 ;
58013 return 0;
58014 }
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func_sincosl_use=yes
58018 else
58019 glibcxx_cv_func_sincosl_use=no
58020 fi
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027
58028
58029 fi
58030
58031 fi
58032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58033 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58034
58035 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58036 for ac_func in sincosl
58037 do :
58038 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58039 if test "x$ac_cv_func_sincosl" = x""yes; then :
58040 cat >>confdefs.h <<_ACEOF
58041 #define HAVE_SINCOSL 1
58042 _ACEOF
58043
58044 fi
58045 done
58046
58047 else
58048
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58050 $as_echo_n "checking for _sincosl declaration... " >&6; }
58051 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58052 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58053 $as_echo_n "(cached) " >&6
58054 else
58055
58056
58057 ac_ext=cpp
58058 ac_cpp='$CXXCPP $CPPFLAGS'
58059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58062
58063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58064 /* end confdefs.h. */
58065 #include <math.h>
58066 int
58067 main ()
58068 {
58069 _sincosl(0, 0, 0);
58070 ;
58071 return 0;
58072 }
58073 _ACEOF
58074 if ac_fn_cxx_try_compile "$LINENO"; then :
58075 glibcxx_cv_func__sincosl_use=yes
58076 else
58077 glibcxx_cv_func__sincosl_use=no
58078 fi
58079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58080 ac_ext=c
58081 ac_cpp='$CPP $CPPFLAGS'
58082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58085
58086
58087 fi
58088
58089 fi
58090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58091 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58092
58093 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58094 for ac_func in _sincosl
58095 do :
58096 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58097 if test "x$ac_cv_func__sincosl" = x""yes; then :
58098 cat >>confdefs.h <<_ACEOF
58099 #define HAVE__SINCOSL 1
58100 _ACEOF
58101
58102 fi
58103 done
58104
58105 fi
58106 fi
58107
58108
58109
58110
58111
58112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58113 $as_echo_n "checking for finitel declaration... " >&6; }
58114 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58115 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58116 $as_echo_n "(cached) " >&6
58117 else
58118
58119
58120 ac_ext=cpp
58121 ac_cpp='$CXXCPP $CPPFLAGS'
58122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58125
58126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58127 /* end confdefs.h. */
58128 #include <math.h>
58129 #ifdef HAVE_IEEEFP_H
58130 #include <ieeefp.h>
58131 #endif
58132
58133 int
58134 main ()
58135 {
58136 finitel(0);
58137 ;
58138 return 0;
58139 }
58140 _ACEOF
58141 if ac_fn_cxx_try_compile "$LINENO"; then :
58142 glibcxx_cv_func_finitel_use=yes
58143 else
58144 glibcxx_cv_func_finitel_use=no
58145 fi
58146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58147 ac_ext=c
58148 ac_cpp='$CPP $CPPFLAGS'
58149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58152
58153
58154 fi
58155
58156 fi
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58158 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58159
58160 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58161 for ac_func in finitel
58162 do :
58163 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58164 if test "x$ac_cv_func_finitel" = x""yes; then :
58165 cat >>confdefs.h <<_ACEOF
58166 #define HAVE_FINITEL 1
58167 _ACEOF
58168
58169 fi
58170 done
58171
58172 else
58173
58174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58175 $as_echo_n "checking for _finitel declaration... " >&6; }
58176 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58177 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58178 $as_echo_n "(cached) " >&6
58179 else
58180
58181
58182 ac_ext=cpp
58183 ac_cpp='$CXXCPP $CPPFLAGS'
58184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58187
58188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58189 /* end confdefs.h. */
58190 #include <math.h>
58191 #ifdef HAVE_IEEEFP_H
58192 #include <ieeefp.h>
58193 #endif
58194
58195 int
58196 main ()
58197 {
58198 _finitel(0);
58199 ;
58200 return 0;
58201 }
58202 _ACEOF
58203 if ac_fn_cxx_try_compile "$LINENO"; then :
58204 glibcxx_cv_func__finitel_use=yes
58205 else
58206 glibcxx_cv_func__finitel_use=no
58207 fi
58208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58209 ac_ext=c
58210 ac_cpp='$CPP $CPPFLAGS'
58211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58214
58215
58216 fi
58217
58218 fi
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58220 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58221
58222 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58223 for ac_func in _finitel
58224 do :
58225 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58226 if test "x$ac_cv_func__finitel" = x""yes; then :
58227 cat >>confdefs.h <<_ACEOF
58228 #define HAVE__FINITEL 1
58229 _ACEOF
58230
58231 fi
58232 done
58233
58234 fi
58235 fi
58236
58237
58238
58239
58240 LIBS="$ac_save_LIBS"
58241 CXXFLAGS="$ac_save_CXXFLAGS"
58242
58243
58244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58245 ac_save_CXXFLAGS="$CXXFLAGS"
58246 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58247
58248
58249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58250 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58251 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58252 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58253 $as_echo_n "(cached) " >&6
58254 else
58255
58256
58257 ac_ext=cpp
58258 ac_cpp='$CXXCPP $CPPFLAGS'
58259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58262
58263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58264 /* end confdefs.h. */
58265 #include <stdlib.h>
58266 int
58267 main ()
58268 {
58269 at_quick_exit(0);
58270 ;
58271 return 0;
58272 }
58273 _ACEOF
58274 if ac_fn_cxx_try_compile "$LINENO"; then :
58275 glibcxx_cv_func_at_quick_exit_use=yes
58276 else
58277 glibcxx_cv_func_at_quick_exit_use=no
58278 fi
58279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58280 ac_ext=c
58281 ac_cpp='$CPP $CPPFLAGS'
58282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58285
58286
58287 fi
58288
58289 fi
58290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58291 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58292 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58293 for ac_func in at_quick_exit
58294 do :
58295 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58296 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE_AT_QUICK_EXIT 1
58299 _ACEOF
58300
58301 fi
58302 done
58303
58304 fi
58305
58306
58307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58308 $as_echo_n "checking for quick_exit declaration... " >&6; }
58309 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58310 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58311 $as_echo_n "(cached) " >&6
58312 else
58313
58314
58315 ac_ext=cpp
58316 ac_cpp='$CXXCPP $CPPFLAGS'
58317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58320
58321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58322 /* end confdefs.h. */
58323 #include <stdlib.h>
58324 int
58325 main ()
58326 {
58327 quick_exit(0);
58328 ;
58329 return 0;
58330 }
58331 _ACEOF
58332 if ac_fn_cxx_try_compile "$LINENO"; then :
58333 glibcxx_cv_func_quick_exit_use=yes
58334 else
58335 glibcxx_cv_func_quick_exit_use=no
58336 fi
58337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58338 ac_ext=c
58339 ac_cpp='$CPP $CPPFLAGS'
58340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58343
58344
58345 fi
58346
58347 fi
58348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58349 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58350 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58351 for ac_func in quick_exit
58352 do :
58353 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58354 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58355 cat >>confdefs.h <<_ACEOF
58356 #define HAVE_QUICK_EXIT 1
58357 _ACEOF
58358
58359 fi
58360 done
58361
58362 fi
58363
58364
58365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58366 $as_echo_n "checking for strtold declaration... " >&6; }
58367 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58368 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58369 $as_echo_n "(cached) " >&6
58370 else
58371
58372
58373 ac_ext=cpp
58374 ac_cpp='$CXXCPP $CPPFLAGS'
58375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58378
58379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58380 /* end confdefs.h. */
58381 #include <stdlib.h>
58382 int
58383 main ()
58384 {
58385 strtold(0, 0);
58386 ;
58387 return 0;
58388 }
58389 _ACEOF
58390 if ac_fn_cxx_try_compile "$LINENO"; then :
58391 glibcxx_cv_func_strtold_use=yes
58392 else
58393 glibcxx_cv_func_strtold_use=no
58394 fi
58395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58396 ac_ext=c
58397 ac_cpp='$CPP $CPPFLAGS'
58398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58401
58402
58403 fi
58404
58405 fi
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58407 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58408 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58409 for ac_func in strtold
58410 do :
58411 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58412 if test "x$ac_cv_func_strtold" = x""yes; then :
58413 cat >>confdefs.h <<_ACEOF
58414 #define HAVE_STRTOLD 1
58415 _ACEOF
58416
58417 fi
58418 done
58419
58420 fi
58421
58422
58423
58424
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58426 $as_echo_n "checking for strtof declaration... " >&6; }
58427 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58428 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58429 $as_echo_n "(cached) " >&6
58430 else
58431
58432
58433 ac_ext=cpp
58434 ac_cpp='$CXXCPP $CPPFLAGS'
58435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58438
58439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58440 /* end confdefs.h. */
58441 #include <stdlib.h>
58442 int
58443 main ()
58444 {
58445 strtof(0, 0);
58446 ;
58447 return 0;
58448 }
58449 _ACEOF
58450 if ac_fn_cxx_try_compile "$LINENO"; then :
58451 glibcxx_cv_func_strtof_use=yes
58452 else
58453 glibcxx_cv_func_strtof_use=no
58454 fi
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 ac_ext=c
58457 ac_cpp='$CPP $CPPFLAGS'
58458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58461
58462
58463 fi
58464
58465 fi
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58467 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58468 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58469 for ac_func in strtof
58470 do :
58471 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58472 if test "x$ac_cv_func_strtof" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE_STRTOF 1
58475 _ACEOF
58476
58477 fi
58478 done
58479
58480 fi
58481
58482
58483
58484
58485 CXXFLAGS="$ac_save_CXXFLAGS"
58486
58487 ;;
58488 *-netbsd*)
58489 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58490
58491
58492 # If we're not using GNU ld, then there's no point in even trying these
58493 # tests. Check for that first. We should have already tested for gld
58494 # by now (in libtool), but require it now just to be safe...
58495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58497
58498
58499
58500 # The name set by libtool depends on the version of libtool. Shame on us
58501 # for depending on an impl detail, but c'est la vie. Older versions used
58502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58505 # set (hence we're using an older libtool), then set it.
58506 if test x${with_gnu_ld+set} != xset; then
58507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58509 with_gnu_ld=no
58510 else
58511 with_gnu_ld=$ac_cv_prog_gnu_ld
58512 fi
58513 fi
58514
58515 # Start by getting the version number. I think the libtool test already
58516 # does some of this, but throws away the result.
58517 glibcxx_ld_is_gold=no
58518 if test x"$with_gnu_ld" = x"yes"; then
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58520 $as_echo_n "checking for ld version... " >&6; }
58521
58522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58523 glibcxx_ld_is_gold=yes
58524 fi
58525 ldver=`$LD --version 2>/dev/null |
58526 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'`
58527
58528 glibcxx_gnu_ld_version=`echo $ldver | \
58529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58532 fi
58533
58534 # Set --gc-sections.
58535 glibcxx_have_gc_sections=no
58536 if test "$glibcxx_ld_is_gold" = "yes"; then
58537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58538 glibcxx_have_gc_sections=yes
58539 fi
58540 else
58541 glibcxx_gcsections_min_ld=21602
58542 if test x"$with_gnu_ld" = x"yes" &&
58543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58544 glibcxx_have_gc_sections=yes
58545 fi
58546 fi
58547 if test "$glibcxx_have_gc_sections" = "yes"; then
58548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58549 # NB: This flag only works reliably after 2.16.1. Configure tests
58550 # for this are difficult, so hard wire a value that should work.
58551
58552 ac_test_CFLAGS="${CFLAGS+set}"
58553 ac_save_CFLAGS="$CFLAGS"
58554 CFLAGS='-Wl,--gc-sections'
58555
58556 # Check for -Wl,--gc-sections
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58559 if test x$gcc_no_link = xyes; then
58560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58561 fi
58562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58563 /* end confdefs.h. */
58564 int one(void) { return 1; }
58565 int two(void) { return 2; }
58566
58567 int
58568 main ()
58569 {
58570 two();
58571 ;
58572 return 0;
58573 }
58574 _ACEOF
58575 if ac_fn_c_try_link "$LINENO"; then :
58576 ac_gcsections=yes
58577 else
58578 ac_gcsections=no
58579 fi
58580 rm -f core conftest.err conftest.$ac_objext \
58581 conftest$ac_exeext conftest.$ac_ext
58582 if test "$ac_gcsections" = "yes"; then
58583 rm -f conftest.c
58584 touch conftest.c
58585 if $CC -c conftest.c; then
58586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58587 grep "Warning: gc-sections option ignored" > /dev/null; then
58588 ac_gcsections=no
58589 fi
58590 fi
58591 rm -f conftest.c conftest.o conftest
58592 fi
58593 if test "$ac_gcsections" = "yes"; then
58594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58595 fi
58596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58597 $as_echo "$ac_gcsections" >&6; }
58598
58599 if test "$ac_test_CFLAGS" = set; then
58600 CFLAGS="$ac_save_CFLAGS"
58601 else
58602 # this is the suspicious part
58603 CFLAGS=''
58604 fi
58605 fi
58606
58607 # Set -z,relro.
58608 # Note this is only for shared objects.
58609 ac_ld_relro=no
58610 if test x"$with_gnu_ld" = x"yes"; then
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58614 if test -n "$cxx_z_relo"; then
58615 OPT_LDFLAGS="-Wl,-z,relro"
58616 ac_ld_relro=yes
58617 fi
58618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58619 $as_echo "$ac_ld_relro" >&6; }
58620 fi
58621
58622 # Set linker optimization flags.
58623 if test x"$with_gnu_ld" = x"yes"; then
58624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58625 fi
58626
58627
58628
58629
58630 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58631
58632 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58633
58634 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58635
58636 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58637
58638 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58639
58640 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58641
58642 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58643
58644 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58645
58646 if test x"long_double_math_on_this_cpu" = x"yes"; then
58647 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58648
58649 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58650
58651 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58652
58653 fi
58654 ;;
58655 *-qnx6.1* | *-qnx6.2*)
58656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58657
58658
58659 # If we're not using GNU ld, then there's no point in even trying these
58660 # tests. Check for that first. We should have already tested for gld
58661 # by now (in libtool), but require it now just to be safe...
58662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58664
58665
58666
58667 # The name set by libtool depends on the version of libtool. Shame on us
58668 # for depending on an impl detail, but c'est la vie. Older versions used
58669 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58670 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58671 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58672 # set (hence we're using an older libtool), then set it.
58673 if test x${with_gnu_ld+set} != xset; then
58674 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58675 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58676 with_gnu_ld=no
58677 else
58678 with_gnu_ld=$ac_cv_prog_gnu_ld
58679 fi
58680 fi
58681
58682 # Start by getting the version number. I think the libtool test already
58683 # does some of this, but throws away the result.
58684 glibcxx_ld_is_gold=no
58685 if test x"$with_gnu_ld" = x"yes"; then
58686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58687 $as_echo_n "checking for ld version... " >&6; }
58688
58689 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58690 glibcxx_ld_is_gold=yes
58691 fi
58692 ldver=`$LD --version 2>/dev/null |
58693 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'`
58694
58695 glibcxx_gnu_ld_version=`echo $ldver | \
58696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58698 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58699 fi
58700
58701 # Set --gc-sections.
58702 glibcxx_have_gc_sections=no
58703 if test "$glibcxx_ld_is_gold" = "yes"; then
58704 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58705 glibcxx_have_gc_sections=yes
58706 fi
58707 else
58708 glibcxx_gcsections_min_ld=21602
58709 if test x"$with_gnu_ld" = x"yes" &&
58710 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58711 glibcxx_have_gc_sections=yes
58712 fi
58713 fi
58714 if test "$glibcxx_have_gc_sections" = "yes"; then
58715 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58716 # NB: This flag only works reliably after 2.16.1. Configure tests
58717 # for this are difficult, so hard wire a value that should work.
58718
58719 ac_test_CFLAGS="${CFLAGS+set}"
58720 ac_save_CFLAGS="$CFLAGS"
58721 CFLAGS='-Wl,--gc-sections'
58722
58723 # Check for -Wl,--gc-sections
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58725 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58726 if test x$gcc_no_link = xyes; then
58727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58728 fi
58729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58730 /* end confdefs.h. */
58731 int one(void) { return 1; }
58732 int two(void) { return 2; }
58733
58734 int
58735 main ()
58736 {
58737 two();
58738 ;
58739 return 0;
58740 }
58741 _ACEOF
58742 if ac_fn_c_try_link "$LINENO"; then :
58743 ac_gcsections=yes
58744 else
58745 ac_gcsections=no
58746 fi
58747 rm -f core conftest.err conftest.$ac_objext \
58748 conftest$ac_exeext conftest.$ac_ext
58749 if test "$ac_gcsections" = "yes"; then
58750 rm -f conftest.c
58751 touch conftest.c
58752 if $CC -c conftest.c; then
58753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58754 grep "Warning: gc-sections option ignored" > /dev/null; then
58755 ac_gcsections=no
58756 fi
58757 fi
58758 rm -f conftest.c conftest.o conftest
58759 fi
58760 if test "$ac_gcsections" = "yes"; then
58761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58762 fi
58763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58764 $as_echo "$ac_gcsections" >&6; }
58765
58766 if test "$ac_test_CFLAGS" = set; then
58767 CFLAGS="$ac_save_CFLAGS"
58768 else
58769 # this is the suspicious part
58770 CFLAGS=''
58771 fi
58772 fi
58773
58774 # Set -z,relro.
58775 # Note this is only for shared objects.
58776 ac_ld_relro=no
58777 if test x"$with_gnu_ld" = x"yes"; then
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58779 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58781 if test -n "$cxx_z_relo"; then
58782 OPT_LDFLAGS="-Wl,-z,relro"
58783 ac_ld_relro=yes
58784 fi
58785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58786 $as_echo "$ac_ld_relro" >&6; }
58787 fi
58788
58789 # Set linker optimization flags.
58790 if test x"$with_gnu_ld" = x"yes"; then
58791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58792 fi
58793
58794
58795
58796
58797 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58798
58799 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58800
58801 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58802
58803 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58804
58805 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58806
58807 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58808
58809 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58810
58811 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58812
58813 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58814
58815 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58816
58817 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58818
58819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58820
58821 ;;
58822 *-rtems*)
58823
58824 # All these tests are for C++; save the language and the compiler flags.
58825 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58826 # found in GLIBCXX_CONFIGURE.
58827
58828 ac_ext=cpp
58829 ac_cpp='$CXXCPP $CPPFLAGS'
58830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58833
58834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58835 ac_save_CXXFLAGS="$CXXFLAGS"
58836
58837 # Check for maintainer-mode bits.
58838 if test x"$USE_MAINTAINER_MODE" = xno; then
58839 WERROR=''
58840 else
58841 WERROR='-Werror'
58842 fi
58843
58844 # Check for -ffunction-sections -fdata-sections
58845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58846 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58847 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58849 /* end confdefs.h. */
58850 int foo; void bar() { };
58851 int
58852 main ()
58853 {
58854
58855 ;
58856 return 0;
58857 }
58858 _ACEOF
58859 if ac_fn_cxx_try_compile "$LINENO"; then :
58860 ac_fdsections=yes
58861 else
58862 ac_fdsections=no
58863 fi
58864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58865 if test "$ac_test_CXXFLAGS" = set; then
58866 CXXFLAGS="$ac_save_CXXFLAGS"
58867 else
58868 # this is the suspicious part
58869 CXXFLAGS=''
58870 fi
58871 if test x"$ac_fdsections" = x"yes"; then
58872 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58873 fi
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58875 $as_echo "$ac_fdsections" >&6; }
58876
58877 ac_ext=c
58878 ac_cpp='$CPP $CPPFLAGS'
58879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58882
58883
58884
58885
58886
58887 # If we're not using GNU ld, then there's no point in even trying these
58888 # tests. Check for that first. We should have already tested for gld
58889 # by now (in libtool), but require it now just to be safe...
58890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58892
58893
58894
58895 # The name set by libtool depends on the version of libtool. Shame on us
58896 # for depending on an impl detail, but c'est la vie. Older versions used
58897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58900 # set (hence we're using an older libtool), then set it.
58901 if test x${with_gnu_ld+set} != xset; then
58902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58904 with_gnu_ld=no
58905 else
58906 with_gnu_ld=$ac_cv_prog_gnu_ld
58907 fi
58908 fi
58909
58910 # Start by getting the version number. I think the libtool test already
58911 # does some of this, but throws away the result.
58912 glibcxx_ld_is_gold=no
58913 if test x"$with_gnu_ld" = x"yes"; then
58914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58915 $as_echo_n "checking for ld version... " >&6; }
58916
58917 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58918 glibcxx_ld_is_gold=yes
58919 fi
58920 ldver=`$LD --version 2>/dev/null |
58921 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'`
58922
58923 glibcxx_gnu_ld_version=`echo $ldver | \
58924 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58926 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58927 fi
58928
58929 # Set --gc-sections.
58930 glibcxx_have_gc_sections=no
58931 if test "$glibcxx_ld_is_gold" = "yes"; then
58932 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58933 glibcxx_have_gc_sections=yes
58934 fi
58935 else
58936 glibcxx_gcsections_min_ld=21602
58937 if test x"$with_gnu_ld" = x"yes" &&
58938 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58939 glibcxx_have_gc_sections=yes
58940 fi
58941 fi
58942 if test "$glibcxx_have_gc_sections" = "yes"; then
58943 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58944 # NB: This flag only works reliably after 2.16.1. Configure tests
58945 # for this are difficult, so hard wire a value that should work.
58946
58947 ac_test_CFLAGS="${CFLAGS+set}"
58948 ac_save_CFLAGS="$CFLAGS"
58949 CFLAGS='-Wl,--gc-sections'
58950
58951 # Check for -Wl,--gc-sections
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58953 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58954 if test x$gcc_no_link = xyes; then
58955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58956 fi
58957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58958 /* end confdefs.h. */
58959 int one(void) { return 1; }
58960 int two(void) { return 2; }
58961
58962 int
58963 main ()
58964 {
58965 two();
58966 ;
58967 return 0;
58968 }
58969 _ACEOF
58970 if ac_fn_c_try_link "$LINENO"; then :
58971 ac_gcsections=yes
58972 else
58973 ac_gcsections=no
58974 fi
58975 rm -f core conftest.err conftest.$ac_objext \
58976 conftest$ac_exeext conftest.$ac_ext
58977 if test "$ac_gcsections" = "yes"; then
58978 rm -f conftest.c
58979 touch conftest.c
58980 if $CC -c conftest.c; then
58981 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58982 grep "Warning: gc-sections option ignored" > /dev/null; then
58983 ac_gcsections=no
58984 fi
58985 fi
58986 rm -f conftest.c conftest.o conftest
58987 fi
58988 if test "$ac_gcsections" = "yes"; then
58989 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58990 fi
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58992 $as_echo "$ac_gcsections" >&6; }
58993
58994 if test "$ac_test_CFLAGS" = set; then
58995 CFLAGS="$ac_save_CFLAGS"
58996 else
58997 # this is the suspicious part
58998 CFLAGS=''
58999 fi
59000 fi
59001
59002 # Set -z,relro.
59003 # Note this is only for shared objects.
59004 ac_ld_relro=no
59005 if test x"$with_gnu_ld" = x"yes"; then
59006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59009 if test -n "$cxx_z_relo"; then
59010 OPT_LDFLAGS="-Wl,-z,relro"
59011 ac_ld_relro=yes
59012 fi
59013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59014 $as_echo "$ac_ld_relro" >&6; }
59015 fi
59016
59017 # Set linker optimization flags.
59018 if test x"$with_gnu_ld" = x"yes"; then
59019 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59020 fi
59021
59022
59023
59024
59025
59026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59027 ac_save_CXXFLAGS="$CXXFLAGS"
59028 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59029
59030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59031 $as_echo_n "checking for sin in -lm... " >&6; }
59032 if test "${ac_cv_lib_m_sin+set}" = set; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59035 ac_check_lib_save_LIBS=$LIBS
59036 LIBS="-lm $LIBS"
59037 if test x$gcc_no_link = xyes; then
59038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59039 fi
59040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59041 /* end confdefs.h. */
59042
59043 /* Override any GCC internal prototype to avoid an error.
59044 Use char because int might match the return type of a GCC
59045 builtin and then its argument prototype would still apply. */
59046 #ifdef __cplusplus
59047 extern "C"
59048 #endif
59049 char sin ();
59050 int
59051 main ()
59052 {
59053 return sin ();
59054 ;
59055 return 0;
59056 }
59057 _ACEOF
59058 if ac_fn_c_try_link "$LINENO"; then :
59059 ac_cv_lib_m_sin=yes
59060 else
59061 ac_cv_lib_m_sin=no
59062 fi
59063 rm -f core conftest.err conftest.$ac_objext \
59064 conftest$ac_exeext conftest.$ac_ext
59065 LIBS=$ac_check_lib_save_LIBS
59066 fi
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59068 $as_echo "$ac_cv_lib_m_sin" >&6; }
59069 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59070 libm="-lm"
59071 fi
59072
59073 ac_save_LIBS="$LIBS"
59074 LIBS="$LIBS $libm"
59075
59076
59077
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59079 $as_echo_n "checking for isinf declaration... " >&6; }
59080 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59081 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59082 $as_echo_n "(cached) " >&6
59083 else
59084
59085
59086 ac_ext=cpp
59087 ac_cpp='$CXXCPP $CPPFLAGS'
59088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59091
59092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59093 /* end confdefs.h. */
59094 #include <math.h>
59095 #ifdef HAVE_IEEEFP_H
59096 #include <ieeefp.h>
59097 #endif
59098
59099 int
59100 main ()
59101 {
59102 isinf(0);
59103 ;
59104 return 0;
59105 }
59106 _ACEOF
59107 if ac_fn_cxx_try_compile "$LINENO"; then :
59108 glibcxx_cv_func_isinf_use=yes
59109 else
59110 glibcxx_cv_func_isinf_use=no
59111 fi
59112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59113 ac_ext=c
59114 ac_cpp='$CPP $CPPFLAGS'
59115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59118
59119
59120 fi
59121
59122 fi
59123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59124 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59125
59126 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59127 for ac_func in isinf
59128 do :
59129 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59130 if test "x$ac_cv_func_isinf" = x""yes; then :
59131 cat >>confdefs.h <<_ACEOF
59132 #define HAVE_ISINF 1
59133 _ACEOF
59134
59135 fi
59136 done
59137
59138 else
59139
59140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59141 $as_echo_n "checking for _isinf declaration... " >&6; }
59142 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59143 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59144 $as_echo_n "(cached) " >&6
59145 else
59146
59147
59148 ac_ext=cpp
59149 ac_cpp='$CXXCPP $CPPFLAGS'
59150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59153
59154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59155 /* end confdefs.h. */
59156 #include <math.h>
59157 #ifdef HAVE_IEEEFP_H
59158 #include <ieeefp.h>
59159 #endif
59160
59161 int
59162 main ()
59163 {
59164 _isinf(0);
59165 ;
59166 return 0;
59167 }
59168 _ACEOF
59169 if ac_fn_cxx_try_compile "$LINENO"; then :
59170 glibcxx_cv_func__isinf_use=yes
59171 else
59172 glibcxx_cv_func__isinf_use=no
59173 fi
59174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59175 ac_ext=c
59176 ac_cpp='$CPP $CPPFLAGS'
59177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59180
59181
59182 fi
59183
59184 fi
59185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59186 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59187
59188 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59189 for ac_func in _isinf
59190 do :
59191 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59192 if test "x$ac_cv_func__isinf" = x""yes; then :
59193 cat >>confdefs.h <<_ACEOF
59194 #define HAVE__ISINF 1
59195 _ACEOF
59196
59197 fi
59198 done
59199
59200 fi
59201 fi
59202
59203
59204
59205
59206
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59208 $as_echo_n "checking for isnan declaration... " >&6; }
59209 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59210 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59211 $as_echo_n "(cached) " >&6
59212 else
59213
59214
59215 ac_ext=cpp
59216 ac_cpp='$CXXCPP $CPPFLAGS'
59217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59220
59221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59222 /* end confdefs.h. */
59223 #include <math.h>
59224 #ifdef HAVE_IEEEFP_H
59225 #include <ieeefp.h>
59226 #endif
59227
59228 int
59229 main ()
59230 {
59231 isnan(0);
59232 ;
59233 return 0;
59234 }
59235 _ACEOF
59236 if ac_fn_cxx_try_compile "$LINENO"; then :
59237 glibcxx_cv_func_isnan_use=yes
59238 else
59239 glibcxx_cv_func_isnan_use=no
59240 fi
59241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59242 ac_ext=c
59243 ac_cpp='$CPP $CPPFLAGS'
59244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59247
59248
59249 fi
59250
59251 fi
59252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59253 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59254
59255 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59256 for ac_func in isnan
59257 do :
59258 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59259 if test "x$ac_cv_func_isnan" = x""yes; then :
59260 cat >>confdefs.h <<_ACEOF
59261 #define HAVE_ISNAN 1
59262 _ACEOF
59263
59264 fi
59265 done
59266
59267 else
59268
59269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59270 $as_echo_n "checking for _isnan declaration... " >&6; }
59271 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59272 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59273 $as_echo_n "(cached) " >&6
59274 else
59275
59276
59277 ac_ext=cpp
59278 ac_cpp='$CXXCPP $CPPFLAGS'
59279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59282
59283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59284 /* end confdefs.h. */
59285 #include <math.h>
59286 #ifdef HAVE_IEEEFP_H
59287 #include <ieeefp.h>
59288 #endif
59289
59290 int
59291 main ()
59292 {
59293 _isnan(0);
59294 ;
59295 return 0;
59296 }
59297 _ACEOF
59298 if ac_fn_cxx_try_compile "$LINENO"; then :
59299 glibcxx_cv_func__isnan_use=yes
59300 else
59301 glibcxx_cv_func__isnan_use=no
59302 fi
59303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59304 ac_ext=c
59305 ac_cpp='$CPP $CPPFLAGS'
59306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59309
59310
59311 fi
59312
59313 fi
59314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59315 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59316
59317 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59318 for ac_func in _isnan
59319 do :
59320 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59321 if test "x$ac_cv_func__isnan" = x""yes; then :
59322 cat >>confdefs.h <<_ACEOF
59323 #define HAVE__ISNAN 1
59324 _ACEOF
59325
59326 fi
59327 done
59328
59329 fi
59330 fi
59331
59332
59333
59334
59335
59336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59337 $as_echo_n "checking for finite declaration... " >&6; }
59338 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59339 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59340 $as_echo_n "(cached) " >&6
59341 else
59342
59343
59344 ac_ext=cpp
59345 ac_cpp='$CXXCPP $CPPFLAGS'
59346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59349
59350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59351 /* end confdefs.h. */
59352 #include <math.h>
59353 #ifdef HAVE_IEEEFP_H
59354 #include <ieeefp.h>
59355 #endif
59356
59357 int
59358 main ()
59359 {
59360 finite(0);
59361 ;
59362 return 0;
59363 }
59364 _ACEOF
59365 if ac_fn_cxx_try_compile "$LINENO"; then :
59366 glibcxx_cv_func_finite_use=yes
59367 else
59368 glibcxx_cv_func_finite_use=no
59369 fi
59370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59371 ac_ext=c
59372 ac_cpp='$CPP $CPPFLAGS'
59373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59376
59377
59378 fi
59379
59380 fi
59381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59382 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59383
59384 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59385 for ac_func in finite
59386 do :
59387 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59388 if test "x$ac_cv_func_finite" = x""yes; then :
59389 cat >>confdefs.h <<_ACEOF
59390 #define HAVE_FINITE 1
59391 _ACEOF
59392
59393 fi
59394 done
59395
59396 else
59397
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59399 $as_echo_n "checking for _finite declaration... " >&6; }
59400 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59401 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59402 $as_echo_n "(cached) " >&6
59403 else
59404
59405
59406 ac_ext=cpp
59407 ac_cpp='$CXXCPP $CPPFLAGS'
59408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59411
59412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59413 /* end confdefs.h. */
59414 #include <math.h>
59415 #ifdef HAVE_IEEEFP_H
59416 #include <ieeefp.h>
59417 #endif
59418
59419 int
59420 main ()
59421 {
59422 _finite(0);
59423 ;
59424 return 0;
59425 }
59426 _ACEOF
59427 if ac_fn_cxx_try_compile "$LINENO"; then :
59428 glibcxx_cv_func__finite_use=yes
59429 else
59430 glibcxx_cv_func__finite_use=no
59431 fi
59432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59433 ac_ext=c
59434 ac_cpp='$CPP $CPPFLAGS'
59435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59438
59439
59440 fi
59441
59442 fi
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59444 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59445
59446 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59447 for ac_func in _finite
59448 do :
59449 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59450 if test "x$ac_cv_func__finite" = x""yes; then :
59451 cat >>confdefs.h <<_ACEOF
59452 #define HAVE__FINITE 1
59453 _ACEOF
59454
59455 fi
59456 done
59457
59458 fi
59459 fi
59460
59461
59462
59463
59464
59465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59466 $as_echo_n "checking for sincos declaration... " >&6; }
59467 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59468 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59469 $as_echo_n "(cached) " >&6
59470 else
59471
59472
59473 ac_ext=cpp
59474 ac_cpp='$CXXCPP $CPPFLAGS'
59475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59478
59479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59480 /* end confdefs.h. */
59481 #include <math.h>
59482 int
59483 main ()
59484 {
59485 sincos(0, 0, 0);
59486 ;
59487 return 0;
59488 }
59489 _ACEOF
59490 if ac_fn_cxx_try_compile "$LINENO"; then :
59491 glibcxx_cv_func_sincos_use=yes
59492 else
59493 glibcxx_cv_func_sincos_use=no
59494 fi
59495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59496 ac_ext=c
59497 ac_cpp='$CPP $CPPFLAGS'
59498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59501
59502
59503 fi
59504
59505 fi
59506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59507 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59508
59509 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59510 for ac_func in sincos
59511 do :
59512 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59513 if test "x$ac_cv_func_sincos" = x""yes; then :
59514 cat >>confdefs.h <<_ACEOF
59515 #define HAVE_SINCOS 1
59516 _ACEOF
59517
59518 fi
59519 done
59520
59521 else
59522
59523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59524 $as_echo_n "checking for _sincos declaration... " >&6; }
59525 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59526 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59527 $as_echo_n "(cached) " >&6
59528 else
59529
59530
59531 ac_ext=cpp
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59536
59537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59538 /* end confdefs.h. */
59539 #include <math.h>
59540 int
59541 main ()
59542 {
59543 _sincos(0, 0, 0);
59544 ;
59545 return 0;
59546 }
59547 _ACEOF
59548 if ac_fn_cxx_try_compile "$LINENO"; then :
59549 glibcxx_cv_func__sincos_use=yes
59550 else
59551 glibcxx_cv_func__sincos_use=no
59552 fi
59553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59554 ac_ext=c
59555 ac_cpp='$CPP $CPPFLAGS'
59556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59559
59560
59561 fi
59562
59563 fi
59564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59565 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59566
59567 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59568 for ac_func in _sincos
59569 do :
59570 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59571 if test "x$ac_cv_func__sincos" = x""yes; then :
59572 cat >>confdefs.h <<_ACEOF
59573 #define HAVE__SINCOS 1
59574 _ACEOF
59575
59576 fi
59577 done
59578
59579 fi
59580 fi
59581
59582
59583
59584
59585
59586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59587 $as_echo_n "checking for fpclass declaration... " >&6; }
59588 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59589 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59590 $as_echo_n "(cached) " >&6
59591 else
59592
59593
59594 ac_ext=cpp
59595 ac_cpp='$CXXCPP $CPPFLAGS'
59596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59599
59600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59601 /* end confdefs.h. */
59602 #include <math.h>
59603 #ifdef HAVE_IEEEFP_H
59604 #include <ieeefp.h>
59605 #endif
59606
59607 int
59608 main ()
59609 {
59610 fpclass(0);
59611 ;
59612 return 0;
59613 }
59614 _ACEOF
59615 if ac_fn_cxx_try_compile "$LINENO"; then :
59616 glibcxx_cv_func_fpclass_use=yes
59617 else
59618 glibcxx_cv_func_fpclass_use=no
59619 fi
59620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59621 ac_ext=c
59622 ac_cpp='$CPP $CPPFLAGS'
59623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59626
59627
59628 fi
59629
59630 fi
59631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59632 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59633
59634 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59635 for ac_func in fpclass
59636 do :
59637 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59638 if test "x$ac_cv_func_fpclass" = x""yes; then :
59639 cat >>confdefs.h <<_ACEOF
59640 #define HAVE_FPCLASS 1
59641 _ACEOF
59642
59643 fi
59644 done
59645
59646 else
59647
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59649 $as_echo_n "checking for _fpclass declaration... " >&6; }
59650 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59651 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59652 $as_echo_n "(cached) " >&6
59653 else
59654
59655
59656 ac_ext=cpp
59657 ac_cpp='$CXXCPP $CPPFLAGS'
59658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59661
59662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59663 /* end confdefs.h. */
59664 #include <math.h>
59665 #ifdef HAVE_IEEEFP_H
59666 #include <ieeefp.h>
59667 #endif
59668
59669 int
59670 main ()
59671 {
59672 _fpclass(0);
59673 ;
59674 return 0;
59675 }
59676 _ACEOF
59677 if ac_fn_cxx_try_compile "$LINENO"; then :
59678 glibcxx_cv_func__fpclass_use=yes
59679 else
59680 glibcxx_cv_func__fpclass_use=no
59681 fi
59682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59683 ac_ext=c
59684 ac_cpp='$CPP $CPPFLAGS'
59685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59688
59689
59690 fi
59691
59692 fi
59693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59694 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59695
59696 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59697 for ac_func in _fpclass
59698 do :
59699 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59700 if test "x$ac_cv_func__fpclass" = x""yes; then :
59701 cat >>confdefs.h <<_ACEOF
59702 #define HAVE__FPCLASS 1
59703 _ACEOF
59704
59705 fi
59706 done
59707
59708 fi
59709 fi
59710
59711
59712
59713
59714
59715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59716 $as_echo_n "checking for qfpclass declaration... " >&6; }
59717 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59718 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59719 $as_echo_n "(cached) " >&6
59720 else
59721
59722
59723 ac_ext=cpp
59724 ac_cpp='$CXXCPP $CPPFLAGS'
59725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59728
59729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59730 /* end confdefs.h. */
59731 #include <math.h>
59732 #ifdef HAVE_IEEEFP_H
59733 #include <ieeefp.h>
59734 #endif
59735
59736 int
59737 main ()
59738 {
59739 qfpclass(0);
59740 ;
59741 return 0;
59742 }
59743 _ACEOF
59744 if ac_fn_cxx_try_compile "$LINENO"; then :
59745 glibcxx_cv_func_qfpclass_use=yes
59746 else
59747 glibcxx_cv_func_qfpclass_use=no
59748 fi
59749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59750 ac_ext=c
59751 ac_cpp='$CPP $CPPFLAGS'
59752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59755
59756
59757 fi
59758
59759 fi
59760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59761 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59762
59763 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59764 for ac_func in qfpclass
59765 do :
59766 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59767 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59768 cat >>confdefs.h <<_ACEOF
59769 #define HAVE_QFPCLASS 1
59770 _ACEOF
59771
59772 fi
59773 done
59774
59775 else
59776
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59778 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59779 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59780 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59781 $as_echo_n "(cached) " >&6
59782 else
59783
59784
59785 ac_ext=cpp
59786 ac_cpp='$CXXCPP $CPPFLAGS'
59787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59790
59791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59792 /* end confdefs.h. */
59793 #include <math.h>
59794 #ifdef HAVE_IEEEFP_H
59795 #include <ieeefp.h>
59796 #endif
59797
59798 int
59799 main ()
59800 {
59801 _qfpclass(0);
59802 ;
59803 return 0;
59804 }
59805 _ACEOF
59806 if ac_fn_cxx_try_compile "$LINENO"; then :
59807 glibcxx_cv_func__qfpclass_use=yes
59808 else
59809 glibcxx_cv_func__qfpclass_use=no
59810 fi
59811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59812 ac_ext=c
59813 ac_cpp='$CPP $CPPFLAGS'
59814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59817
59818
59819 fi
59820
59821 fi
59822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59823 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59824
59825 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59826 for ac_func in _qfpclass
59827 do :
59828 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59829 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59830 cat >>confdefs.h <<_ACEOF
59831 #define HAVE__QFPCLASS 1
59832 _ACEOF
59833
59834 fi
59835 done
59836
59837 fi
59838 fi
59839
59840
59841
59842
59843
59844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59845 $as_echo_n "checking for hypot declaration... " >&6; }
59846 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59847 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59848 $as_echo_n "(cached) " >&6
59849 else
59850
59851
59852 ac_ext=cpp
59853 ac_cpp='$CXXCPP $CPPFLAGS'
59854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59857
59858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59859 /* end confdefs.h. */
59860 #include <math.h>
59861 int
59862 main ()
59863 {
59864 hypot(0, 0);
59865 ;
59866 return 0;
59867 }
59868 _ACEOF
59869 if ac_fn_cxx_try_compile "$LINENO"; then :
59870 glibcxx_cv_func_hypot_use=yes
59871 else
59872 glibcxx_cv_func_hypot_use=no
59873 fi
59874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59875 ac_ext=c
59876 ac_cpp='$CPP $CPPFLAGS'
59877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59880
59881
59882 fi
59883
59884 fi
59885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59886 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59887
59888 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59889 for ac_func in hypot
59890 do :
59891 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59892 if test "x$ac_cv_func_hypot" = x""yes; then :
59893 cat >>confdefs.h <<_ACEOF
59894 #define HAVE_HYPOT 1
59895 _ACEOF
59896
59897 fi
59898 done
59899
59900 else
59901
59902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59903 $as_echo_n "checking for _hypot declaration... " >&6; }
59904 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59905 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59906 $as_echo_n "(cached) " >&6
59907 else
59908
59909
59910 ac_ext=cpp
59911 ac_cpp='$CXXCPP $CPPFLAGS'
59912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59915
59916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59917 /* end confdefs.h. */
59918 #include <math.h>
59919 int
59920 main ()
59921 {
59922 _hypot(0, 0);
59923 ;
59924 return 0;
59925 }
59926 _ACEOF
59927 if ac_fn_cxx_try_compile "$LINENO"; then :
59928 glibcxx_cv_func__hypot_use=yes
59929 else
59930 glibcxx_cv_func__hypot_use=no
59931 fi
59932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59933 ac_ext=c
59934 ac_cpp='$CPP $CPPFLAGS'
59935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59938
59939
59940 fi
59941
59942 fi
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59944 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59945
59946 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59947 for ac_func in _hypot
59948 do :
59949 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59950 if test "x$ac_cv_func__hypot" = x""yes; then :
59951 cat >>confdefs.h <<_ACEOF
59952 #define HAVE__HYPOT 1
59953 _ACEOF
59954
59955 fi
59956 done
59957
59958 fi
59959 fi
59960
59961
59962
59963
59964
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59966 $as_echo_n "checking for float trig functions... " >&6; }
59967 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59968 $as_echo_n "(cached) " >&6
59969 else
59970
59971
59972 ac_ext=cpp
59973 ac_cpp='$CXXCPP $CPPFLAGS'
59974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59977
59978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59979 /* end confdefs.h. */
59980 #include <math.h>
59981 int
59982 main ()
59983 {
59984 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59985 ;
59986 return 0;
59987 }
59988 _ACEOF
59989 if ac_fn_cxx_try_compile "$LINENO"; then :
59990 glibcxx_cv_func_float_trig_use=yes
59991 else
59992 glibcxx_cv_func_float_trig_use=no
59993 fi
59994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59995 ac_ext=c
59996 ac_cpp='$CPP $CPPFLAGS'
59997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60000
60001 fi
60002
60003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60004 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60005 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60006 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60007 do :
60008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60010 eval as_val=\$$as_ac_var
60011 if test "x$as_val" = x""yes; then :
60012 cat >>confdefs.h <<_ACEOF
60013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60014 _ACEOF
60015
60016 fi
60017 done
60018
60019 else
60020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60021 $as_echo_n "checking for _float trig functions... " >&6; }
60022 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60023 $as_echo_n "(cached) " >&6
60024 else
60025
60026
60027 ac_ext=cpp
60028 ac_cpp='$CXXCPP $CPPFLAGS'
60029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60032
60033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60034 /* end confdefs.h. */
60035 #include <math.h>
60036 int
60037 main ()
60038 {
60039 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60040 ;
60041 return 0;
60042 }
60043 _ACEOF
60044 if ac_fn_cxx_try_compile "$LINENO"; then :
60045 glibcxx_cv_func__float_trig_use=yes
60046 else
60047 glibcxx_cv_func__float_trig_use=no
60048 fi
60049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60050 ac_ext=c
60051 ac_cpp='$CPP $CPPFLAGS'
60052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60055
60056 fi
60057
60058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60059 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60060 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60061 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60062 do :
60063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60065 eval as_val=\$$as_ac_var
60066 if test "x$as_val" = x""yes; then :
60067 cat >>confdefs.h <<_ACEOF
60068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60069 _ACEOF
60070
60071 fi
60072 done
60073
60074 fi
60075 fi
60076
60077
60078
60079
60080
60081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60082 $as_echo_n "checking for float round functions... " >&6; }
60083 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60084 $as_echo_n "(cached) " >&6
60085 else
60086
60087
60088 ac_ext=cpp
60089 ac_cpp='$CXXCPP $CPPFLAGS'
60090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60093
60094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60095 /* end confdefs.h. */
60096 #include <math.h>
60097 int
60098 main ()
60099 {
60100 ceilf (0); floorf (0);
60101 ;
60102 return 0;
60103 }
60104 _ACEOF
60105 if ac_fn_cxx_try_compile "$LINENO"; then :
60106 glibcxx_cv_func_float_round_use=yes
60107 else
60108 glibcxx_cv_func_float_round_use=no
60109 fi
60110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60111 ac_ext=c
60112 ac_cpp='$CPP $CPPFLAGS'
60113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60116
60117 fi
60118
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60120 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60121 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60122 for ac_func in ceilf floorf
60123 do :
60124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60126 eval as_val=\$$as_ac_var
60127 if test "x$as_val" = x""yes; then :
60128 cat >>confdefs.h <<_ACEOF
60129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60130 _ACEOF
60131
60132 fi
60133 done
60134
60135 else
60136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60137 $as_echo_n "checking for _float round functions... " >&6; }
60138 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60139 $as_echo_n "(cached) " >&6
60140 else
60141
60142
60143 ac_ext=cpp
60144 ac_cpp='$CXXCPP $CPPFLAGS'
60145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60148
60149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60150 /* end confdefs.h. */
60151 #include <math.h>
60152 int
60153 main ()
60154 {
60155 _ceilf (0); _floorf (0);
60156 ;
60157 return 0;
60158 }
60159 _ACEOF
60160 if ac_fn_cxx_try_compile "$LINENO"; then :
60161 glibcxx_cv_func__float_round_use=yes
60162 else
60163 glibcxx_cv_func__float_round_use=no
60164 fi
60165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60166 ac_ext=c
60167 ac_cpp='$CPP $CPPFLAGS'
60168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60171
60172 fi
60173
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60175 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60176 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60177 for ac_func in _ceilf _floorf
60178 do :
60179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60181 eval as_val=\$$as_ac_var
60182 if test "x$as_val" = x""yes; then :
60183 cat >>confdefs.h <<_ACEOF
60184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60185 _ACEOF
60186
60187 fi
60188 done
60189
60190 fi
60191 fi
60192
60193
60194
60195
60196
60197
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60199 $as_echo_n "checking for expf declaration... " >&6; }
60200 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60201 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60204
60205
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60211
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <math.h>
60215 #ifdef HAVE_IEEEFP_H
60216 #include <ieeefp.h>
60217 #endif
60218
60219 int
60220 main ()
60221 {
60222 expf(0);
60223 ;
60224 return 0;
60225 }
60226 _ACEOF
60227 if ac_fn_cxx_try_compile "$LINENO"; then :
60228 glibcxx_cv_func_expf_use=yes
60229 else
60230 glibcxx_cv_func_expf_use=no
60231 fi
60232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60233 ac_ext=c
60234 ac_cpp='$CPP $CPPFLAGS'
60235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60238
60239
60240 fi
60241
60242 fi
60243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60244 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60245
60246 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60247 for ac_func in expf
60248 do :
60249 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60250 if test "x$ac_cv_func_expf" = x""yes; then :
60251 cat >>confdefs.h <<_ACEOF
60252 #define HAVE_EXPF 1
60253 _ACEOF
60254
60255 fi
60256 done
60257
60258 else
60259
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60261 $as_echo_n "checking for _expf declaration... " >&6; }
60262 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60263 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60264 $as_echo_n "(cached) " >&6
60265 else
60266
60267
60268 ac_ext=cpp
60269 ac_cpp='$CXXCPP $CPPFLAGS'
60270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60273
60274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60275 /* end confdefs.h. */
60276 #include <math.h>
60277 #ifdef HAVE_IEEEFP_H
60278 #include <ieeefp.h>
60279 #endif
60280
60281 int
60282 main ()
60283 {
60284 _expf(0);
60285 ;
60286 return 0;
60287 }
60288 _ACEOF
60289 if ac_fn_cxx_try_compile "$LINENO"; then :
60290 glibcxx_cv_func__expf_use=yes
60291 else
60292 glibcxx_cv_func__expf_use=no
60293 fi
60294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60295 ac_ext=c
60296 ac_cpp='$CPP $CPPFLAGS'
60297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60300
60301
60302 fi
60303
60304 fi
60305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60306 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60307
60308 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60309 for ac_func in _expf
60310 do :
60311 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60312 if test "x$ac_cv_func__expf" = x""yes; then :
60313 cat >>confdefs.h <<_ACEOF
60314 #define HAVE__EXPF 1
60315 _ACEOF
60316
60317 fi
60318 done
60319
60320 fi
60321 fi
60322
60323
60324
60325
60326
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60328 $as_echo_n "checking for isnanf declaration... " >&6; }
60329 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60330 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60331 $as_echo_n "(cached) " >&6
60332 else
60333
60334
60335 ac_ext=cpp
60336 ac_cpp='$CXXCPP $CPPFLAGS'
60337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60340
60341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60342 /* end confdefs.h. */
60343 #include <math.h>
60344 #ifdef HAVE_IEEEFP_H
60345 #include <ieeefp.h>
60346 #endif
60347
60348 int
60349 main ()
60350 {
60351 isnanf(0);
60352 ;
60353 return 0;
60354 }
60355 _ACEOF
60356 if ac_fn_cxx_try_compile "$LINENO"; then :
60357 glibcxx_cv_func_isnanf_use=yes
60358 else
60359 glibcxx_cv_func_isnanf_use=no
60360 fi
60361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60362 ac_ext=c
60363 ac_cpp='$CPP $CPPFLAGS'
60364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60367
60368
60369 fi
60370
60371 fi
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60373 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60374
60375 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60376 for ac_func in isnanf
60377 do :
60378 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60379 if test "x$ac_cv_func_isnanf" = x""yes; then :
60380 cat >>confdefs.h <<_ACEOF
60381 #define HAVE_ISNANF 1
60382 _ACEOF
60383
60384 fi
60385 done
60386
60387 else
60388
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60390 $as_echo_n "checking for _isnanf declaration... " >&6; }
60391 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60392 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60393 $as_echo_n "(cached) " >&6
60394 else
60395
60396
60397 ac_ext=cpp
60398 ac_cpp='$CXXCPP $CPPFLAGS'
60399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60402
60403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60404 /* end confdefs.h. */
60405 #include <math.h>
60406 #ifdef HAVE_IEEEFP_H
60407 #include <ieeefp.h>
60408 #endif
60409
60410 int
60411 main ()
60412 {
60413 _isnanf(0);
60414 ;
60415 return 0;
60416 }
60417 _ACEOF
60418 if ac_fn_cxx_try_compile "$LINENO"; then :
60419 glibcxx_cv_func__isnanf_use=yes
60420 else
60421 glibcxx_cv_func__isnanf_use=no
60422 fi
60423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60424 ac_ext=c
60425 ac_cpp='$CPP $CPPFLAGS'
60426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60429
60430
60431 fi
60432
60433 fi
60434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60435 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60436
60437 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60438 for ac_func in _isnanf
60439 do :
60440 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60441 if test "x$ac_cv_func__isnanf" = x""yes; then :
60442 cat >>confdefs.h <<_ACEOF
60443 #define HAVE__ISNANF 1
60444 _ACEOF
60445
60446 fi
60447 done
60448
60449 fi
60450 fi
60451
60452
60453
60454
60455
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60457 $as_echo_n "checking for isinff declaration... " >&6; }
60458 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60459 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60460 $as_echo_n "(cached) " >&6
60461 else
60462
60463
60464 ac_ext=cpp
60465 ac_cpp='$CXXCPP $CPPFLAGS'
60466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60469
60470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60471 /* end confdefs.h. */
60472 #include <math.h>
60473 #ifdef HAVE_IEEEFP_H
60474 #include <ieeefp.h>
60475 #endif
60476
60477 int
60478 main ()
60479 {
60480 isinff(0);
60481 ;
60482 return 0;
60483 }
60484 _ACEOF
60485 if ac_fn_cxx_try_compile "$LINENO"; then :
60486 glibcxx_cv_func_isinff_use=yes
60487 else
60488 glibcxx_cv_func_isinff_use=no
60489 fi
60490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60491 ac_ext=c
60492 ac_cpp='$CPP $CPPFLAGS'
60493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60496
60497
60498 fi
60499
60500 fi
60501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60502 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60503
60504 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60505 for ac_func in isinff
60506 do :
60507 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60508 if test "x$ac_cv_func_isinff" = x""yes; then :
60509 cat >>confdefs.h <<_ACEOF
60510 #define HAVE_ISINFF 1
60511 _ACEOF
60512
60513 fi
60514 done
60515
60516 else
60517
60518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60519 $as_echo_n "checking for _isinff declaration... " >&6; }
60520 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60521 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60522 $as_echo_n "(cached) " >&6
60523 else
60524
60525
60526 ac_ext=cpp
60527 ac_cpp='$CXXCPP $CPPFLAGS'
60528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60531
60532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60533 /* end confdefs.h. */
60534 #include <math.h>
60535 #ifdef HAVE_IEEEFP_H
60536 #include <ieeefp.h>
60537 #endif
60538
60539 int
60540 main ()
60541 {
60542 _isinff(0);
60543 ;
60544 return 0;
60545 }
60546 _ACEOF
60547 if ac_fn_cxx_try_compile "$LINENO"; then :
60548 glibcxx_cv_func__isinff_use=yes
60549 else
60550 glibcxx_cv_func__isinff_use=no
60551 fi
60552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60553 ac_ext=c
60554 ac_cpp='$CPP $CPPFLAGS'
60555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60558
60559
60560 fi
60561
60562 fi
60563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60564 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60565
60566 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60567 for ac_func in _isinff
60568 do :
60569 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60570 if test "x$ac_cv_func__isinff" = x""yes; then :
60571 cat >>confdefs.h <<_ACEOF
60572 #define HAVE__ISINFF 1
60573 _ACEOF
60574
60575 fi
60576 done
60577
60578 fi
60579 fi
60580
60581
60582
60583
60584
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60586 $as_echo_n "checking for atan2f declaration... " >&6; }
60587 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60588 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60589 $as_echo_n "(cached) " >&6
60590 else
60591
60592
60593 ac_ext=cpp
60594 ac_cpp='$CXXCPP $CPPFLAGS'
60595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60598
60599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60600 /* end confdefs.h. */
60601 #include <math.h>
60602 int
60603 main ()
60604 {
60605 atan2f(0, 0);
60606 ;
60607 return 0;
60608 }
60609 _ACEOF
60610 if ac_fn_cxx_try_compile "$LINENO"; then :
60611 glibcxx_cv_func_atan2f_use=yes
60612 else
60613 glibcxx_cv_func_atan2f_use=no
60614 fi
60615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60616 ac_ext=c
60617 ac_cpp='$CPP $CPPFLAGS'
60618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60621
60622
60623 fi
60624
60625 fi
60626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60627 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60628
60629 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60630 for ac_func in atan2f
60631 do :
60632 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60633 if test "x$ac_cv_func_atan2f" = x""yes; then :
60634 cat >>confdefs.h <<_ACEOF
60635 #define HAVE_ATAN2F 1
60636 _ACEOF
60637
60638 fi
60639 done
60640
60641 else
60642
60643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60644 $as_echo_n "checking for _atan2f declaration... " >&6; }
60645 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60646 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60647 $as_echo_n "(cached) " >&6
60648 else
60649
60650
60651 ac_ext=cpp
60652 ac_cpp='$CXXCPP $CPPFLAGS'
60653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60656
60657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60658 /* end confdefs.h. */
60659 #include <math.h>
60660 int
60661 main ()
60662 {
60663 _atan2f(0, 0);
60664 ;
60665 return 0;
60666 }
60667 _ACEOF
60668 if ac_fn_cxx_try_compile "$LINENO"; then :
60669 glibcxx_cv_func__atan2f_use=yes
60670 else
60671 glibcxx_cv_func__atan2f_use=no
60672 fi
60673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60674 ac_ext=c
60675 ac_cpp='$CPP $CPPFLAGS'
60676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60679
60680
60681 fi
60682
60683 fi
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60685 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60686
60687 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60688 for ac_func in _atan2f
60689 do :
60690 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60691 if test "x$ac_cv_func__atan2f" = x""yes; then :
60692 cat >>confdefs.h <<_ACEOF
60693 #define HAVE__ATAN2F 1
60694 _ACEOF
60695
60696 fi
60697 done
60698
60699 fi
60700 fi
60701
60702
60703
60704
60705
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60707 $as_echo_n "checking for fabsf declaration... " >&6; }
60708 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60709 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60710 $as_echo_n "(cached) " >&6
60711 else
60712
60713
60714 ac_ext=cpp
60715 ac_cpp='$CXXCPP $CPPFLAGS'
60716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60719
60720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60721 /* end confdefs.h. */
60722 #include <math.h>
60723 #ifdef HAVE_IEEEFP_H
60724 #include <ieeefp.h>
60725 #endif
60726
60727 int
60728 main ()
60729 {
60730 fabsf(0);
60731 ;
60732 return 0;
60733 }
60734 _ACEOF
60735 if ac_fn_cxx_try_compile "$LINENO"; then :
60736 glibcxx_cv_func_fabsf_use=yes
60737 else
60738 glibcxx_cv_func_fabsf_use=no
60739 fi
60740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60741 ac_ext=c
60742 ac_cpp='$CPP $CPPFLAGS'
60743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60746
60747
60748 fi
60749
60750 fi
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60752 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60753
60754 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60755 for ac_func in fabsf
60756 do :
60757 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60758 if test "x$ac_cv_func_fabsf" = x""yes; then :
60759 cat >>confdefs.h <<_ACEOF
60760 #define HAVE_FABSF 1
60761 _ACEOF
60762
60763 fi
60764 done
60765
60766 else
60767
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60769 $as_echo_n "checking for _fabsf declaration... " >&6; }
60770 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60771 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60772 $as_echo_n "(cached) " >&6
60773 else
60774
60775
60776 ac_ext=cpp
60777 ac_cpp='$CXXCPP $CPPFLAGS'
60778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60781
60782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60783 /* end confdefs.h. */
60784 #include <math.h>
60785 #ifdef HAVE_IEEEFP_H
60786 #include <ieeefp.h>
60787 #endif
60788
60789 int
60790 main ()
60791 {
60792 _fabsf(0);
60793 ;
60794 return 0;
60795 }
60796 _ACEOF
60797 if ac_fn_cxx_try_compile "$LINENO"; then :
60798 glibcxx_cv_func__fabsf_use=yes
60799 else
60800 glibcxx_cv_func__fabsf_use=no
60801 fi
60802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60803 ac_ext=c
60804 ac_cpp='$CPP $CPPFLAGS'
60805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60808
60809
60810 fi
60811
60812 fi
60813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60814 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60815
60816 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60817 for ac_func in _fabsf
60818 do :
60819 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60820 if test "x$ac_cv_func__fabsf" = x""yes; then :
60821 cat >>confdefs.h <<_ACEOF
60822 #define HAVE__FABSF 1
60823 _ACEOF
60824
60825 fi
60826 done
60827
60828 fi
60829 fi
60830
60831
60832
60833
60834
60835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60836 $as_echo_n "checking for fmodf declaration... " >&6; }
60837 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60838 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60839 $as_echo_n "(cached) " >&6
60840 else
60841
60842
60843 ac_ext=cpp
60844 ac_cpp='$CXXCPP $CPPFLAGS'
60845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60848
60849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60850 /* end confdefs.h. */
60851 #include <math.h>
60852 int
60853 main ()
60854 {
60855 fmodf(0, 0);
60856 ;
60857 return 0;
60858 }
60859 _ACEOF
60860 if ac_fn_cxx_try_compile "$LINENO"; then :
60861 glibcxx_cv_func_fmodf_use=yes
60862 else
60863 glibcxx_cv_func_fmodf_use=no
60864 fi
60865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60866 ac_ext=c
60867 ac_cpp='$CPP $CPPFLAGS'
60868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60871
60872
60873 fi
60874
60875 fi
60876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60877 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60878
60879 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60880 for ac_func in fmodf
60881 do :
60882 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60883 if test "x$ac_cv_func_fmodf" = x""yes; then :
60884 cat >>confdefs.h <<_ACEOF
60885 #define HAVE_FMODF 1
60886 _ACEOF
60887
60888 fi
60889 done
60890
60891 else
60892
60893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60894 $as_echo_n "checking for _fmodf declaration... " >&6; }
60895 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60896 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60897 $as_echo_n "(cached) " >&6
60898 else
60899
60900
60901 ac_ext=cpp
60902 ac_cpp='$CXXCPP $CPPFLAGS'
60903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60906
60907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60908 /* end confdefs.h. */
60909 #include <math.h>
60910 int
60911 main ()
60912 {
60913 _fmodf(0, 0);
60914 ;
60915 return 0;
60916 }
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919 glibcxx_cv_func__fmodf_use=yes
60920 else
60921 glibcxx_cv_func__fmodf_use=no
60922 fi
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924 ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60929
60930
60931 fi
60932
60933 fi
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60935 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60936
60937 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60938 for ac_func in _fmodf
60939 do :
60940 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60941 if test "x$ac_cv_func__fmodf" = x""yes; then :
60942 cat >>confdefs.h <<_ACEOF
60943 #define HAVE__FMODF 1
60944 _ACEOF
60945
60946 fi
60947 done
60948
60949 fi
60950 fi
60951
60952
60953
60954
60955
60956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60957 $as_echo_n "checking for frexpf declaration... " >&6; }
60958 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60959 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60960 $as_echo_n "(cached) " >&6
60961 else
60962
60963
60964 ac_ext=cpp
60965 ac_cpp='$CXXCPP $CPPFLAGS'
60966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60969
60970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60971 /* end confdefs.h. */
60972 #include <math.h>
60973 int
60974 main ()
60975 {
60976 frexpf(0, 0);
60977 ;
60978 return 0;
60979 }
60980 _ACEOF
60981 if ac_fn_cxx_try_compile "$LINENO"; then :
60982 glibcxx_cv_func_frexpf_use=yes
60983 else
60984 glibcxx_cv_func_frexpf_use=no
60985 fi
60986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60987 ac_ext=c
60988 ac_cpp='$CPP $CPPFLAGS'
60989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60992
60993
60994 fi
60995
60996 fi
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60998 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60999
61000 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61001 for ac_func in frexpf
61002 do :
61003 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61004 if test "x$ac_cv_func_frexpf" = x""yes; then :
61005 cat >>confdefs.h <<_ACEOF
61006 #define HAVE_FREXPF 1
61007 _ACEOF
61008
61009 fi
61010 done
61011
61012 else
61013
61014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61015 $as_echo_n "checking for _frexpf declaration... " >&6; }
61016 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61017 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61018 $as_echo_n "(cached) " >&6
61019 else
61020
61021
61022 ac_ext=cpp
61023 ac_cpp='$CXXCPP $CPPFLAGS'
61024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61027
61028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61029 /* end confdefs.h. */
61030 #include <math.h>
61031 int
61032 main ()
61033 {
61034 _frexpf(0, 0);
61035 ;
61036 return 0;
61037 }
61038 _ACEOF
61039 if ac_fn_cxx_try_compile "$LINENO"; then :
61040 glibcxx_cv_func__frexpf_use=yes
61041 else
61042 glibcxx_cv_func__frexpf_use=no
61043 fi
61044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61045 ac_ext=c
61046 ac_cpp='$CPP $CPPFLAGS'
61047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61050
61051
61052 fi
61053
61054 fi
61055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61056 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61057
61058 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61059 for ac_func in _frexpf
61060 do :
61061 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61062 if test "x$ac_cv_func__frexpf" = x""yes; then :
61063 cat >>confdefs.h <<_ACEOF
61064 #define HAVE__FREXPF 1
61065 _ACEOF
61066
61067 fi
61068 done
61069
61070 fi
61071 fi
61072
61073
61074
61075
61076
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61078 $as_echo_n "checking for hypotf declaration... " >&6; }
61079 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61080 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61081 $as_echo_n "(cached) " >&6
61082 else
61083
61084
61085 ac_ext=cpp
61086 ac_cpp='$CXXCPP $CPPFLAGS'
61087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61090
61091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61092 /* end confdefs.h. */
61093 #include <math.h>
61094 int
61095 main ()
61096 {
61097 hypotf(0, 0);
61098 ;
61099 return 0;
61100 }
61101 _ACEOF
61102 if ac_fn_cxx_try_compile "$LINENO"; then :
61103 glibcxx_cv_func_hypotf_use=yes
61104 else
61105 glibcxx_cv_func_hypotf_use=no
61106 fi
61107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61108 ac_ext=c
61109 ac_cpp='$CPP $CPPFLAGS'
61110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61113
61114
61115 fi
61116
61117 fi
61118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61119 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61120
61121 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61122 for ac_func in hypotf
61123 do :
61124 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61125 if test "x$ac_cv_func_hypotf" = x""yes; then :
61126 cat >>confdefs.h <<_ACEOF
61127 #define HAVE_HYPOTF 1
61128 _ACEOF
61129
61130 fi
61131 done
61132
61133 else
61134
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61136 $as_echo_n "checking for _hypotf declaration... " >&6; }
61137 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61138 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61139 $as_echo_n "(cached) " >&6
61140 else
61141
61142
61143 ac_ext=cpp
61144 ac_cpp='$CXXCPP $CPPFLAGS'
61145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61148
61149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61150 /* end confdefs.h. */
61151 #include <math.h>
61152 int
61153 main ()
61154 {
61155 _hypotf(0, 0);
61156 ;
61157 return 0;
61158 }
61159 _ACEOF
61160 if ac_fn_cxx_try_compile "$LINENO"; then :
61161 glibcxx_cv_func__hypotf_use=yes
61162 else
61163 glibcxx_cv_func__hypotf_use=no
61164 fi
61165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61166 ac_ext=c
61167 ac_cpp='$CPP $CPPFLAGS'
61168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61171
61172
61173 fi
61174
61175 fi
61176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61177 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61178
61179 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61180 for ac_func in _hypotf
61181 do :
61182 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61183 if test "x$ac_cv_func__hypotf" = x""yes; then :
61184 cat >>confdefs.h <<_ACEOF
61185 #define HAVE__HYPOTF 1
61186 _ACEOF
61187
61188 fi
61189 done
61190
61191 fi
61192 fi
61193
61194
61195
61196
61197
61198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61199 $as_echo_n "checking for ldexpf declaration... " >&6; }
61200 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61201 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61202 $as_echo_n "(cached) " >&6
61203 else
61204
61205
61206 ac_ext=cpp
61207 ac_cpp='$CXXCPP $CPPFLAGS'
61208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61211
61212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61213 /* end confdefs.h. */
61214 #include <math.h>
61215 int
61216 main ()
61217 {
61218 ldexpf(0, 0);
61219 ;
61220 return 0;
61221 }
61222 _ACEOF
61223 if ac_fn_cxx_try_compile "$LINENO"; then :
61224 glibcxx_cv_func_ldexpf_use=yes
61225 else
61226 glibcxx_cv_func_ldexpf_use=no
61227 fi
61228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61229 ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61234
61235
61236 fi
61237
61238 fi
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61240 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61241
61242 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61243 for ac_func in ldexpf
61244 do :
61245 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61246 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61247 cat >>confdefs.h <<_ACEOF
61248 #define HAVE_LDEXPF 1
61249 _ACEOF
61250
61251 fi
61252 done
61253
61254 else
61255
61256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61257 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61258 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61259 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61260 $as_echo_n "(cached) " >&6
61261 else
61262
61263
61264 ac_ext=cpp
61265 ac_cpp='$CXXCPP $CPPFLAGS'
61266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61269
61270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61271 /* end confdefs.h. */
61272 #include <math.h>
61273 int
61274 main ()
61275 {
61276 _ldexpf(0, 0);
61277 ;
61278 return 0;
61279 }
61280 _ACEOF
61281 if ac_fn_cxx_try_compile "$LINENO"; then :
61282 glibcxx_cv_func__ldexpf_use=yes
61283 else
61284 glibcxx_cv_func__ldexpf_use=no
61285 fi
61286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61287 ac_ext=c
61288 ac_cpp='$CPP $CPPFLAGS'
61289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61292
61293
61294 fi
61295
61296 fi
61297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61298 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61299
61300 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61301 for ac_func in _ldexpf
61302 do :
61303 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61304 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61305 cat >>confdefs.h <<_ACEOF
61306 #define HAVE__LDEXPF 1
61307 _ACEOF
61308
61309 fi
61310 done
61311
61312 fi
61313 fi
61314
61315
61316
61317
61318
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61320 $as_echo_n "checking for logf declaration... " >&6; }
61321 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61322 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61323 $as_echo_n "(cached) " >&6
61324 else
61325
61326
61327 ac_ext=cpp
61328 ac_cpp='$CXXCPP $CPPFLAGS'
61329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61332
61333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61334 /* end confdefs.h. */
61335 #include <math.h>
61336 #ifdef HAVE_IEEEFP_H
61337 #include <ieeefp.h>
61338 #endif
61339
61340 int
61341 main ()
61342 {
61343 logf(0);
61344 ;
61345 return 0;
61346 }
61347 _ACEOF
61348 if ac_fn_cxx_try_compile "$LINENO"; then :
61349 glibcxx_cv_func_logf_use=yes
61350 else
61351 glibcxx_cv_func_logf_use=no
61352 fi
61353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61354 ac_ext=c
61355 ac_cpp='$CPP $CPPFLAGS'
61356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61359
61360
61361 fi
61362
61363 fi
61364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61365 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61366
61367 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61368 for ac_func in logf
61369 do :
61370 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61371 if test "x$ac_cv_func_logf" = x""yes; then :
61372 cat >>confdefs.h <<_ACEOF
61373 #define HAVE_LOGF 1
61374 _ACEOF
61375
61376 fi
61377 done
61378
61379 else
61380
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61382 $as_echo_n "checking for _logf declaration... " >&6; }
61383 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61384 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61385 $as_echo_n "(cached) " >&6
61386 else
61387
61388
61389 ac_ext=cpp
61390 ac_cpp='$CXXCPP $CPPFLAGS'
61391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61394
61395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61396 /* end confdefs.h. */
61397 #include <math.h>
61398 #ifdef HAVE_IEEEFP_H
61399 #include <ieeefp.h>
61400 #endif
61401
61402 int
61403 main ()
61404 {
61405 _logf(0);
61406 ;
61407 return 0;
61408 }
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411 glibcxx_cv_func__logf_use=yes
61412 else
61413 glibcxx_cv_func__logf_use=no
61414 fi
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416 ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61421
61422
61423 fi
61424
61425 fi
61426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61427 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61428
61429 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61430 for ac_func in _logf
61431 do :
61432 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61433 if test "x$ac_cv_func__logf" = x""yes; then :
61434 cat >>confdefs.h <<_ACEOF
61435 #define HAVE__LOGF 1
61436 _ACEOF
61437
61438 fi
61439 done
61440
61441 fi
61442 fi
61443
61444
61445
61446
61447
61448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61449 $as_echo_n "checking for log10f declaration... " >&6; }
61450 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61451 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61452 $as_echo_n "(cached) " >&6
61453 else
61454
61455
61456 ac_ext=cpp
61457 ac_cpp='$CXXCPP $CPPFLAGS'
61458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61461
61462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61463 /* end confdefs.h. */
61464 #include <math.h>
61465 #ifdef HAVE_IEEEFP_H
61466 #include <ieeefp.h>
61467 #endif
61468
61469 int
61470 main ()
61471 {
61472 log10f(0);
61473 ;
61474 return 0;
61475 }
61476 _ACEOF
61477 if ac_fn_cxx_try_compile "$LINENO"; then :
61478 glibcxx_cv_func_log10f_use=yes
61479 else
61480 glibcxx_cv_func_log10f_use=no
61481 fi
61482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61483 ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61488
61489
61490 fi
61491
61492 fi
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61494 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61495
61496 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61497 for ac_func in log10f
61498 do :
61499 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61500 if test "x$ac_cv_func_log10f" = x""yes; then :
61501 cat >>confdefs.h <<_ACEOF
61502 #define HAVE_LOG10F 1
61503 _ACEOF
61504
61505 fi
61506 done
61507
61508 else
61509
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61511 $as_echo_n "checking for _log10f declaration... " >&6; }
61512 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61513 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61514 $as_echo_n "(cached) " >&6
61515 else
61516
61517
61518 ac_ext=cpp
61519 ac_cpp='$CXXCPP $CPPFLAGS'
61520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61523
61524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61525 /* end confdefs.h. */
61526 #include <math.h>
61527 #ifdef HAVE_IEEEFP_H
61528 #include <ieeefp.h>
61529 #endif
61530
61531 int
61532 main ()
61533 {
61534 _log10f(0);
61535 ;
61536 return 0;
61537 }
61538 _ACEOF
61539 if ac_fn_cxx_try_compile "$LINENO"; then :
61540 glibcxx_cv_func__log10f_use=yes
61541 else
61542 glibcxx_cv_func__log10f_use=no
61543 fi
61544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61545 ac_ext=c
61546 ac_cpp='$CPP $CPPFLAGS'
61547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61550
61551
61552 fi
61553
61554 fi
61555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61556 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61557
61558 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61559 for ac_func in _log10f
61560 do :
61561 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61562 if test "x$ac_cv_func__log10f" = x""yes; then :
61563 cat >>confdefs.h <<_ACEOF
61564 #define HAVE__LOG10F 1
61565 _ACEOF
61566
61567 fi
61568 done
61569
61570 fi
61571 fi
61572
61573
61574
61575
61576
61577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61578 $as_echo_n "checking for modff declaration... " >&6; }
61579 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61580 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61581 $as_echo_n "(cached) " >&6
61582 else
61583
61584
61585 ac_ext=cpp
61586 ac_cpp='$CXXCPP $CPPFLAGS'
61587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61590
61591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61592 /* end confdefs.h. */
61593 #include <math.h>
61594 int
61595 main ()
61596 {
61597 modff(0, 0);
61598 ;
61599 return 0;
61600 }
61601 _ACEOF
61602 if ac_fn_cxx_try_compile "$LINENO"; then :
61603 glibcxx_cv_func_modff_use=yes
61604 else
61605 glibcxx_cv_func_modff_use=no
61606 fi
61607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61608 ac_ext=c
61609 ac_cpp='$CPP $CPPFLAGS'
61610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61613
61614
61615 fi
61616
61617 fi
61618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61619 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61620
61621 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61622 for ac_func in modff
61623 do :
61624 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61625 if test "x$ac_cv_func_modff" = x""yes; then :
61626 cat >>confdefs.h <<_ACEOF
61627 #define HAVE_MODFF 1
61628 _ACEOF
61629
61630 fi
61631 done
61632
61633 else
61634
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61636 $as_echo_n "checking for _modff declaration... " >&6; }
61637 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61638 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61639 $as_echo_n "(cached) " >&6
61640 else
61641
61642
61643 ac_ext=cpp
61644 ac_cpp='$CXXCPP $CPPFLAGS'
61645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61648
61649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61650 /* end confdefs.h. */
61651 #include <math.h>
61652 int
61653 main ()
61654 {
61655 _modff(0, 0);
61656 ;
61657 return 0;
61658 }
61659 _ACEOF
61660 if ac_fn_cxx_try_compile "$LINENO"; then :
61661 glibcxx_cv_func__modff_use=yes
61662 else
61663 glibcxx_cv_func__modff_use=no
61664 fi
61665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61666 ac_ext=c
61667 ac_cpp='$CPP $CPPFLAGS'
61668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61671
61672
61673 fi
61674
61675 fi
61676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61677 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61678
61679 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61680 for ac_func in _modff
61681 do :
61682 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61683 if test "x$ac_cv_func__modff" = x""yes; then :
61684 cat >>confdefs.h <<_ACEOF
61685 #define HAVE__MODFF 1
61686 _ACEOF
61687
61688 fi
61689 done
61690
61691 fi
61692 fi
61693
61694
61695
61696
61697
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61699 $as_echo_n "checking for modf declaration... " >&6; }
61700 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61701 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61702 $as_echo_n "(cached) " >&6
61703 else
61704
61705
61706 ac_ext=cpp
61707 ac_cpp='$CXXCPP $CPPFLAGS'
61708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61711
61712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61713 /* end confdefs.h. */
61714 #include <math.h>
61715 int
61716 main ()
61717 {
61718 modf(0, 0);
61719 ;
61720 return 0;
61721 }
61722 _ACEOF
61723 if ac_fn_cxx_try_compile "$LINENO"; then :
61724 glibcxx_cv_func_modf_use=yes
61725 else
61726 glibcxx_cv_func_modf_use=no
61727 fi
61728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61729 ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61734
61735
61736 fi
61737
61738 fi
61739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61740 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61741
61742 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61743 for ac_func in modf
61744 do :
61745 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61746 if test "x$ac_cv_func_modf" = x""yes; then :
61747 cat >>confdefs.h <<_ACEOF
61748 #define HAVE_MODF 1
61749 _ACEOF
61750
61751 fi
61752 done
61753
61754 else
61755
61756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61757 $as_echo_n "checking for _modf declaration... " >&6; }
61758 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61759 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61760 $as_echo_n "(cached) " >&6
61761 else
61762
61763
61764 ac_ext=cpp
61765 ac_cpp='$CXXCPP $CPPFLAGS'
61766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61769
61770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61771 /* end confdefs.h. */
61772 #include <math.h>
61773 int
61774 main ()
61775 {
61776 _modf(0, 0);
61777 ;
61778 return 0;
61779 }
61780 _ACEOF
61781 if ac_fn_cxx_try_compile "$LINENO"; then :
61782 glibcxx_cv_func__modf_use=yes
61783 else
61784 glibcxx_cv_func__modf_use=no
61785 fi
61786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61787 ac_ext=c
61788 ac_cpp='$CPP $CPPFLAGS'
61789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61792
61793
61794 fi
61795
61796 fi
61797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61798 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61799
61800 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61801 for ac_func in _modf
61802 do :
61803 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61804 if test "x$ac_cv_func__modf" = x""yes; then :
61805 cat >>confdefs.h <<_ACEOF
61806 #define HAVE__MODF 1
61807 _ACEOF
61808
61809 fi
61810 done
61811
61812 fi
61813 fi
61814
61815
61816
61817
61818
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61820 $as_echo_n "checking for powf declaration... " >&6; }
61821 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61822 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61823 $as_echo_n "(cached) " >&6
61824 else
61825
61826
61827 ac_ext=cpp
61828 ac_cpp='$CXXCPP $CPPFLAGS'
61829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61832
61833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61834 /* end confdefs.h. */
61835 #include <math.h>
61836 int
61837 main ()
61838 {
61839 powf(0, 0);
61840 ;
61841 return 0;
61842 }
61843 _ACEOF
61844 if ac_fn_cxx_try_compile "$LINENO"; then :
61845 glibcxx_cv_func_powf_use=yes
61846 else
61847 glibcxx_cv_func_powf_use=no
61848 fi
61849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61850 ac_ext=c
61851 ac_cpp='$CPP $CPPFLAGS'
61852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61855
61856
61857 fi
61858
61859 fi
61860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61861 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61862
61863 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61864 for ac_func in powf
61865 do :
61866 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61867 if test "x$ac_cv_func_powf" = x""yes; then :
61868 cat >>confdefs.h <<_ACEOF
61869 #define HAVE_POWF 1
61870 _ACEOF
61871
61872 fi
61873 done
61874
61875 else
61876
61877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61878 $as_echo_n "checking for _powf declaration... " >&6; }
61879 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61880 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61881 $as_echo_n "(cached) " >&6
61882 else
61883
61884
61885 ac_ext=cpp
61886 ac_cpp='$CXXCPP $CPPFLAGS'
61887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61890
61891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61892 /* end confdefs.h. */
61893 #include <math.h>
61894 int
61895 main ()
61896 {
61897 _powf(0, 0);
61898 ;
61899 return 0;
61900 }
61901 _ACEOF
61902 if ac_fn_cxx_try_compile "$LINENO"; then :
61903 glibcxx_cv_func__powf_use=yes
61904 else
61905 glibcxx_cv_func__powf_use=no
61906 fi
61907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61913
61914
61915 fi
61916
61917 fi
61918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61919 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61920
61921 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61922 for ac_func in _powf
61923 do :
61924 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61925 if test "x$ac_cv_func__powf" = x""yes; then :
61926 cat >>confdefs.h <<_ACEOF
61927 #define HAVE__POWF 1
61928 _ACEOF
61929
61930 fi
61931 done
61932
61933 fi
61934 fi
61935
61936
61937
61938
61939
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61941 $as_echo_n "checking for sqrtf declaration... " >&6; }
61942 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61943 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61944 $as_echo_n "(cached) " >&6
61945 else
61946
61947
61948 ac_ext=cpp
61949 ac_cpp='$CXXCPP $CPPFLAGS'
61950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61953
61954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61955 /* end confdefs.h. */
61956 #include <math.h>
61957 #ifdef HAVE_IEEEFP_H
61958 #include <ieeefp.h>
61959 #endif
61960
61961 int
61962 main ()
61963 {
61964 sqrtf(0);
61965 ;
61966 return 0;
61967 }
61968 _ACEOF
61969 if ac_fn_cxx_try_compile "$LINENO"; then :
61970 glibcxx_cv_func_sqrtf_use=yes
61971 else
61972 glibcxx_cv_func_sqrtf_use=no
61973 fi
61974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61975 ac_ext=c
61976 ac_cpp='$CPP $CPPFLAGS'
61977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61980
61981
61982 fi
61983
61984 fi
61985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61986 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61987
61988 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61989 for ac_func in sqrtf
61990 do :
61991 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61992 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61993 cat >>confdefs.h <<_ACEOF
61994 #define HAVE_SQRTF 1
61995 _ACEOF
61996
61997 fi
61998 done
61999
62000 else
62001
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62003 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62004 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62005 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62006 $as_echo_n "(cached) " >&6
62007 else
62008
62009
62010 ac_ext=cpp
62011 ac_cpp='$CXXCPP $CPPFLAGS'
62012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62015
62016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62017 /* end confdefs.h. */
62018 #include <math.h>
62019 #ifdef HAVE_IEEEFP_H
62020 #include <ieeefp.h>
62021 #endif
62022
62023 int
62024 main ()
62025 {
62026 _sqrtf(0);
62027 ;
62028 return 0;
62029 }
62030 _ACEOF
62031 if ac_fn_cxx_try_compile "$LINENO"; then :
62032 glibcxx_cv_func__sqrtf_use=yes
62033 else
62034 glibcxx_cv_func__sqrtf_use=no
62035 fi
62036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62037 ac_ext=c
62038 ac_cpp='$CPP $CPPFLAGS'
62039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62042
62043
62044 fi
62045
62046 fi
62047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62048 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62049
62050 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62051 for ac_func in _sqrtf
62052 do :
62053 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62054 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62055 cat >>confdefs.h <<_ACEOF
62056 #define HAVE__SQRTF 1
62057 _ACEOF
62058
62059 fi
62060 done
62061
62062 fi
62063 fi
62064
62065
62066
62067
62068
62069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62070 $as_echo_n "checking for sincosf declaration... " >&6; }
62071 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62072 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62073 $as_echo_n "(cached) " >&6
62074 else
62075
62076
62077 ac_ext=cpp
62078 ac_cpp='$CXXCPP $CPPFLAGS'
62079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62082
62083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62084 /* end confdefs.h. */
62085 #include <math.h>
62086 int
62087 main ()
62088 {
62089 sincosf(0, 0, 0);
62090 ;
62091 return 0;
62092 }
62093 _ACEOF
62094 if ac_fn_cxx_try_compile "$LINENO"; then :
62095 glibcxx_cv_func_sincosf_use=yes
62096 else
62097 glibcxx_cv_func_sincosf_use=no
62098 fi
62099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62100 ac_ext=c
62101 ac_cpp='$CPP $CPPFLAGS'
62102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62105
62106
62107 fi
62108
62109 fi
62110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62111 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62112
62113 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62114 for ac_func in sincosf
62115 do :
62116 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62117 if test "x$ac_cv_func_sincosf" = x""yes; then :
62118 cat >>confdefs.h <<_ACEOF
62119 #define HAVE_SINCOSF 1
62120 _ACEOF
62121
62122 fi
62123 done
62124
62125 else
62126
62127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62128 $as_echo_n "checking for _sincosf declaration... " >&6; }
62129 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62130 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62131 $as_echo_n "(cached) " >&6
62132 else
62133
62134
62135 ac_ext=cpp
62136 ac_cpp='$CXXCPP $CPPFLAGS'
62137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62140
62141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62142 /* end confdefs.h. */
62143 #include <math.h>
62144 int
62145 main ()
62146 {
62147 _sincosf(0, 0, 0);
62148 ;
62149 return 0;
62150 }
62151 _ACEOF
62152 if ac_fn_cxx_try_compile "$LINENO"; then :
62153 glibcxx_cv_func__sincosf_use=yes
62154 else
62155 glibcxx_cv_func__sincosf_use=no
62156 fi
62157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62158 ac_ext=c
62159 ac_cpp='$CPP $CPPFLAGS'
62160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62163
62164
62165 fi
62166
62167 fi
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62169 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62170
62171 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62172 for ac_func in _sincosf
62173 do :
62174 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62175 if test "x$ac_cv_func__sincosf" = x""yes; then :
62176 cat >>confdefs.h <<_ACEOF
62177 #define HAVE__SINCOSF 1
62178 _ACEOF
62179
62180 fi
62181 done
62182
62183 fi
62184 fi
62185
62186
62187
62188
62189
62190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62191 $as_echo_n "checking for finitef declaration... " >&6; }
62192 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62193 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62194 $as_echo_n "(cached) " >&6
62195 else
62196
62197
62198 ac_ext=cpp
62199 ac_cpp='$CXXCPP $CPPFLAGS'
62200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62203
62204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62205 /* end confdefs.h. */
62206 #include <math.h>
62207 #ifdef HAVE_IEEEFP_H
62208 #include <ieeefp.h>
62209 #endif
62210
62211 int
62212 main ()
62213 {
62214 finitef(0);
62215 ;
62216 return 0;
62217 }
62218 _ACEOF
62219 if ac_fn_cxx_try_compile "$LINENO"; then :
62220 glibcxx_cv_func_finitef_use=yes
62221 else
62222 glibcxx_cv_func_finitef_use=no
62223 fi
62224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62225 ac_ext=c
62226 ac_cpp='$CPP $CPPFLAGS'
62227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62230
62231
62232 fi
62233
62234 fi
62235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62236 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62237
62238 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62239 for ac_func in finitef
62240 do :
62241 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62242 if test "x$ac_cv_func_finitef" = x""yes; then :
62243 cat >>confdefs.h <<_ACEOF
62244 #define HAVE_FINITEF 1
62245 _ACEOF
62246
62247 fi
62248 done
62249
62250 else
62251
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62253 $as_echo_n "checking for _finitef declaration... " >&6; }
62254 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62255 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62256 $as_echo_n "(cached) " >&6
62257 else
62258
62259
62260 ac_ext=cpp
62261 ac_cpp='$CXXCPP $CPPFLAGS'
62262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62265
62266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62267 /* end confdefs.h. */
62268 #include <math.h>
62269 #ifdef HAVE_IEEEFP_H
62270 #include <ieeefp.h>
62271 #endif
62272
62273 int
62274 main ()
62275 {
62276 _finitef(0);
62277 ;
62278 return 0;
62279 }
62280 _ACEOF
62281 if ac_fn_cxx_try_compile "$LINENO"; then :
62282 glibcxx_cv_func__finitef_use=yes
62283 else
62284 glibcxx_cv_func__finitef_use=no
62285 fi
62286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62287 ac_ext=c
62288 ac_cpp='$CPP $CPPFLAGS'
62289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62292
62293
62294 fi
62295
62296 fi
62297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62298 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62299
62300 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62301 for ac_func in _finitef
62302 do :
62303 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62304 if test "x$ac_cv_func__finitef" = x""yes; then :
62305 cat >>confdefs.h <<_ACEOF
62306 #define HAVE__FINITEF 1
62307 _ACEOF
62308
62309 fi
62310 done
62311
62312 fi
62313 fi
62314
62315
62316
62317
62318
62319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62320 $as_echo_n "checking for long double trig functions... " >&6; }
62321 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62322 $as_echo_n "(cached) " >&6
62323 else
62324
62325
62326 ac_ext=cpp
62327 ac_cpp='$CXXCPP $CPPFLAGS'
62328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62331
62332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62333 /* end confdefs.h. */
62334 #include <math.h>
62335 int
62336 main ()
62337 {
62338 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62339 ;
62340 return 0;
62341 }
62342 _ACEOF
62343 if ac_fn_cxx_try_compile "$LINENO"; then :
62344 glibcxx_cv_func_long_double_trig_use=yes
62345 else
62346 glibcxx_cv_func_long_double_trig_use=no
62347 fi
62348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62349 ac_ext=c
62350 ac_cpp='$CPP $CPPFLAGS'
62351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62354
62355 fi
62356
62357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62358 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62359 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62360 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62361 do :
62362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62364 eval as_val=\$$as_ac_var
62365 if test "x$as_val" = x""yes; then :
62366 cat >>confdefs.h <<_ACEOF
62367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62368 _ACEOF
62369
62370 fi
62371 done
62372
62373 else
62374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62375 $as_echo_n "checking for _long double trig functions... " >&6; }
62376 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62377 $as_echo_n "(cached) " >&6
62378 else
62379
62380
62381 ac_ext=cpp
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62386
62387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62388 /* end confdefs.h. */
62389 #include <math.h>
62390 int
62391 main ()
62392 {
62393 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62394 ;
62395 return 0;
62396 }
62397 _ACEOF
62398 if ac_fn_cxx_try_compile "$LINENO"; then :
62399 glibcxx_cv_func__long_double_trig_use=yes
62400 else
62401 glibcxx_cv_func__long_double_trig_use=no
62402 fi
62403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62404 ac_ext=c
62405 ac_cpp='$CPP $CPPFLAGS'
62406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62409
62410 fi
62411
62412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62413 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62414 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62415 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62416 do :
62417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62419 eval as_val=\$$as_ac_var
62420 if test "x$as_val" = x""yes; then :
62421 cat >>confdefs.h <<_ACEOF
62422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62423 _ACEOF
62424
62425 fi
62426 done
62427
62428 fi
62429 fi
62430
62431
62432
62433
62434
62435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62436 $as_echo_n "checking for long double round functions... " >&6; }
62437 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62438 $as_echo_n "(cached) " >&6
62439 else
62440
62441
62442 ac_ext=cpp
62443 ac_cpp='$CXXCPP $CPPFLAGS'
62444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62447
62448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62449 /* end confdefs.h. */
62450 #include <math.h>
62451 int
62452 main ()
62453 {
62454 ceill (0); floorl (0);
62455 ;
62456 return 0;
62457 }
62458 _ACEOF
62459 if ac_fn_cxx_try_compile "$LINENO"; then :
62460 glibcxx_cv_func_long_double_round_use=yes
62461 else
62462 glibcxx_cv_func_long_double_round_use=no
62463 fi
62464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62465 ac_ext=c
62466 ac_cpp='$CPP $CPPFLAGS'
62467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62470
62471 fi
62472
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62474 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62475 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62476 for ac_func in ceill floorl
62477 do :
62478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62480 eval as_val=\$$as_ac_var
62481 if test "x$as_val" = x""yes; then :
62482 cat >>confdefs.h <<_ACEOF
62483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62484 _ACEOF
62485
62486 fi
62487 done
62488
62489 else
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62491 $as_echo_n "checking for _long double round functions... " >&6; }
62492 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62493 $as_echo_n "(cached) " >&6
62494 else
62495
62496
62497 ac_ext=cpp
62498 ac_cpp='$CXXCPP $CPPFLAGS'
62499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62502
62503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504 /* end confdefs.h. */
62505 #include <math.h>
62506 int
62507 main ()
62508 {
62509 _ceill (0); _floorl (0);
62510 ;
62511 return 0;
62512 }
62513 _ACEOF
62514 if ac_fn_cxx_try_compile "$LINENO"; then :
62515 glibcxx_cv_func__long_double_round_use=yes
62516 else
62517 glibcxx_cv_func__long_double_round_use=no
62518 fi
62519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62525
62526 fi
62527
62528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62529 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62530 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62531 for ac_func in _ceill _floorl
62532 do :
62533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62535 eval as_val=\$$as_ac_var
62536 if test "x$as_val" = x""yes; then :
62537 cat >>confdefs.h <<_ACEOF
62538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62539 _ACEOF
62540
62541 fi
62542 done
62543
62544 fi
62545 fi
62546
62547
62548
62549
62550
62551
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62553 $as_echo_n "checking for isnanl declaration... " >&6; }
62554 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62555 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62556 $as_echo_n "(cached) " >&6
62557 else
62558
62559
62560 ac_ext=cpp
62561 ac_cpp='$CXXCPP $CPPFLAGS'
62562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62565
62566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62567 /* end confdefs.h. */
62568 #include <math.h>
62569 #ifdef HAVE_IEEEFP_H
62570 #include <ieeefp.h>
62571 #endif
62572
62573 int
62574 main ()
62575 {
62576 isnanl(0);
62577 ;
62578 return 0;
62579 }
62580 _ACEOF
62581 if ac_fn_cxx_try_compile "$LINENO"; then :
62582 glibcxx_cv_func_isnanl_use=yes
62583 else
62584 glibcxx_cv_func_isnanl_use=no
62585 fi
62586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62587 ac_ext=c
62588 ac_cpp='$CPP $CPPFLAGS'
62589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62592
62593
62594 fi
62595
62596 fi
62597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62598 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62599
62600 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62601 for ac_func in isnanl
62602 do :
62603 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62604 if test "x$ac_cv_func_isnanl" = x""yes; then :
62605 cat >>confdefs.h <<_ACEOF
62606 #define HAVE_ISNANL 1
62607 _ACEOF
62608
62609 fi
62610 done
62611
62612 else
62613
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62615 $as_echo_n "checking for _isnanl declaration... " >&6; }
62616 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62617 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62620
62621
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62627
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62631 #ifdef HAVE_IEEEFP_H
62632 #include <ieeefp.h>
62633 #endif
62634
62635 int
62636 main ()
62637 {
62638 _isnanl(0);
62639 ;
62640 return 0;
62641 }
62642 _ACEOF
62643 if ac_fn_cxx_try_compile "$LINENO"; then :
62644 glibcxx_cv_func__isnanl_use=yes
62645 else
62646 glibcxx_cv_func__isnanl_use=no
62647 fi
62648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62649 ac_ext=c
62650 ac_cpp='$CPP $CPPFLAGS'
62651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62654
62655
62656 fi
62657
62658 fi
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62660 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62661
62662 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62663 for ac_func in _isnanl
62664 do :
62665 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62666 if test "x$ac_cv_func__isnanl" = x""yes; then :
62667 cat >>confdefs.h <<_ACEOF
62668 #define HAVE__ISNANL 1
62669 _ACEOF
62670
62671 fi
62672 done
62673
62674 fi
62675 fi
62676
62677
62678
62679
62680
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62682 $as_echo_n "checking for isinfl declaration... " >&6; }
62683 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62684 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62685 $as_echo_n "(cached) " >&6
62686 else
62687
62688
62689 ac_ext=cpp
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62694
62695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62696 /* end confdefs.h. */
62697 #include <math.h>
62698 #ifdef HAVE_IEEEFP_H
62699 #include <ieeefp.h>
62700 #endif
62701
62702 int
62703 main ()
62704 {
62705 isinfl(0);
62706 ;
62707 return 0;
62708 }
62709 _ACEOF
62710 if ac_fn_cxx_try_compile "$LINENO"; then :
62711 glibcxx_cv_func_isinfl_use=yes
62712 else
62713 glibcxx_cv_func_isinfl_use=no
62714 fi
62715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62716 ac_ext=c
62717 ac_cpp='$CPP $CPPFLAGS'
62718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62721
62722
62723 fi
62724
62725 fi
62726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62727 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62728
62729 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62730 for ac_func in isinfl
62731 do :
62732 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62733 if test "x$ac_cv_func_isinfl" = x""yes; then :
62734 cat >>confdefs.h <<_ACEOF
62735 #define HAVE_ISINFL 1
62736 _ACEOF
62737
62738 fi
62739 done
62740
62741 else
62742
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62744 $as_echo_n "checking for _isinfl declaration... " >&6; }
62745 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62746 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62747 $as_echo_n "(cached) " >&6
62748 else
62749
62750
62751 ac_ext=cpp
62752 ac_cpp='$CXXCPP $CPPFLAGS'
62753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62756
62757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62758 /* end confdefs.h. */
62759 #include <math.h>
62760 #ifdef HAVE_IEEEFP_H
62761 #include <ieeefp.h>
62762 #endif
62763
62764 int
62765 main ()
62766 {
62767 _isinfl(0);
62768 ;
62769 return 0;
62770 }
62771 _ACEOF
62772 if ac_fn_cxx_try_compile "$LINENO"; then :
62773 glibcxx_cv_func__isinfl_use=yes
62774 else
62775 glibcxx_cv_func__isinfl_use=no
62776 fi
62777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62778 ac_ext=c
62779 ac_cpp='$CPP $CPPFLAGS'
62780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62783
62784
62785 fi
62786
62787 fi
62788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62789 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62790
62791 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62792 for ac_func in _isinfl
62793 do :
62794 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62795 if test "x$ac_cv_func__isinfl" = x""yes; then :
62796 cat >>confdefs.h <<_ACEOF
62797 #define HAVE__ISINFL 1
62798 _ACEOF
62799
62800 fi
62801 done
62802
62803 fi
62804 fi
62805
62806
62807
62808
62809
62810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62811 $as_echo_n "checking for atan2l declaration... " >&6; }
62812 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62813 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62814 $as_echo_n "(cached) " >&6
62815 else
62816
62817
62818 ac_ext=cpp
62819 ac_cpp='$CXXCPP $CPPFLAGS'
62820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62823
62824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62825 /* end confdefs.h. */
62826 #include <math.h>
62827 int
62828 main ()
62829 {
62830 atan2l(0, 0);
62831 ;
62832 return 0;
62833 }
62834 _ACEOF
62835 if ac_fn_cxx_try_compile "$LINENO"; then :
62836 glibcxx_cv_func_atan2l_use=yes
62837 else
62838 glibcxx_cv_func_atan2l_use=no
62839 fi
62840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62841 ac_ext=c
62842 ac_cpp='$CPP $CPPFLAGS'
62843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62846
62847
62848 fi
62849
62850 fi
62851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62852 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62853
62854 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62855 for ac_func in atan2l
62856 do :
62857 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62858 if test "x$ac_cv_func_atan2l" = x""yes; then :
62859 cat >>confdefs.h <<_ACEOF
62860 #define HAVE_ATAN2L 1
62861 _ACEOF
62862
62863 fi
62864 done
62865
62866 else
62867
62868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62869 $as_echo_n "checking for _atan2l declaration... " >&6; }
62870 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62871 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62872 $as_echo_n "(cached) " >&6
62873 else
62874
62875
62876 ac_ext=cpp
62877 ac_cpp='$CXXCPP $CPPFLAGS'
62878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62881
62882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62883 /* end confdefs.h. */
62884 #include <math.h>
62885 int
62886 main ()
62887 {
62888 _atan2l(0, 0);
62889 ;
62890 return 0;
62891 }
62892 _ACEOF
62893 if ac_fn_cxx_try_compile "$LINENO"; then :
62894 glibcxx_cv_func__atan2l_use=yes
62895 else
62896 glibcxx_cv_func__atan2l_use=no
62897 fi
62898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62899 ac_ext=c
62900 ac_cpp='$CPP $CPPFLAGS'
62901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62904
62905
62906 fi
62907
62908 fi
62909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62910 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62911
62912 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62913 for ac_func in _atan2l
62914 do :
62915 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62916 if test "x$ac_cv_func__atan2l" = x""yes; then :
62917 cat >>confdefs.h <<_ACEOF
62918 #define HAVE__ATAN2L 1
62919 _ACEOF
62920
62921 fi
62922 done
62923
62924 fi
62925 fi
62926
62927
62928
62929
62930
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62932 $as_echo_n "checking for expl declaration... " >&6; }
62933 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62934 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62935 $as_echo_n "(cached) " >&6
62936 else
62937
62938
62939 ac_ext=cpp
62940 ac_cpp='$CXXCPP $CPPFLAGS'
62941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62944
62945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62946 /* end confdefs.h. */
62947 #include <math.h>
62948 #ifdef HAVE_IEEEFP_H
62949 #include <ieeefp.h>
62950 #endif
62951
62952 int
62953 main ()
62954 {
62955 expl(0);
62956 ;
62957 return 0;
62958 }
62959 _ACEOF
62960 if ac_fn_cxx_try_compile "$LINENO"; then :
62961 glibcxx_cv_func_expl_use=yes
62962 else
62963 glibcxx_cv_func_expl_use=no
62964 fi
62965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62966 ac_ext=c
62967 ac_cpp='$CPP $CPPFLAGS'
62968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62971
62972
62973 fi
62974
62975 fi
62976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62977 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62978
62979 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62980 for ac_func in expl
62981 do :
62982 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62983 if test "x$ac_cv_func_expl" = x""yes; then :
62984 cat >>confdefs.h <<_ACEOF
62985 #define HAVE_EXPL 1
62986 _ACEOF
62987
62988 fi
62989 done
62990
62991 else
62992
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62994 $as_echo_n "checking for _expl declaration... " >&6; }
62995 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62996 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62997 $as_echo_n "(cached) " >&6
62998 else
62999
63000
63001 ac_ext=cpp
63002 ac_cpp='$CXXCPP $CPPFLAGS'
63003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63006
63007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63008 /* end confdefs.h. */
63009 #include <math.h>
63010 #ifdef HAVE_IEEEFP_H
63011 #include <ieeefp.h>
63012 #endif
63013
63014 int
63015 main ()
63016 {
63017 _expl(0);
63018 ;
63019 return 0;
63020 }
63021 _ACEOF
63022 if ac_fn_cxx_try_compile "$LINENO"; then :
63023 glibcxx_cv_func__expl_use=yes
63024 else
63025 glibcxx_cv_func__expl_use=no
63026 fi
63027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63028 ac_ext=c
63029 ac_cpp='$CPP $CPPFLAGS'
63030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63033
63034
63035 fi
63036
63037 fi
63038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63039 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63040
63041 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63042 for ac_func in _expl
63043 do :
63044 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63045 if test "x$ac_cv_func__expl" = x""yes; then :
63046 cat >>confdefs.h <<_ACEOF
63047 #define HAVE__EXPL 1
63048 _ACEOF
63049
63050 fi
63051 done
63052
63053 fi
63054 fi
63055
63056
63057
63058
63059
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63061 $as_echo_n "checking for fabsl declaration... " >&6; }
63062 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63063 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63064 $as_echo_n "(cached) " >&6
63065 else
63066
63067
63068 ac_ext=cpp
63069 ac_cpp='$CXXCPP $CPPFLAGS'
63070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63073
63074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63075 /* end confdefs.h. */
63076 #include <math.h>
63077 #ifdef HAVE_IEEEFP_H
63078 #include <ieeefp.h>
63079 #endif
63080
63081 int
63082 main ()
63083 {
63084 fabsl(0);
63085 ;
63086 return 0;
63087 }
63088 _ACEOF
63089 if ac_fn_cxx_try_compile "$LINENO"; then :
63090 glibcxx_cv_func_fabsl_use=yes
63091 else
63092 glibcxx_cv_func_fabsl_use=no
63093 fi
63094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63095 ac_ext=c
63096 ac_cpp='$CPP $CPPFLAGS'
63097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63100
63101
63102 fi
63103
63104 fi
63105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63106 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63107
63108 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63109 for ac_func in fabsl
63110 do :
63111 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63112 if test "x$ac_cv_func_fabsl" = x""yes; then :
63113 cat >>confdefs.h <<_ACEOF
63114 #define HAVE_FABSL 1
63115 _ACEOF
63116
63117 fi
63118 done
63119
63120 else
63121
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63123 $as_echo_n "checking for _fabsl declaration... " >&6; }
63124 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63125 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63126 $as_echo_n "(cached) " >&6
63127 else
63128
63129
63130 ac_ext=cpp
63131 ac_cpp='$CXXCPP $CPPFLAGS'
63132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63135
63136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63137 /* end confdefs.h. */
63138 #include <math.h>
63139 #ifdef HAVE_IEEEFP_H
63140 #include <ieeefp.h>
63141 #endif
63142
63143 int
63144 main ()
63145 {
63146 _fabsl(0);
63147 ;
63148 return 0;
63149 }
63150 _ACEOF
63151 if ac_fn_cxx_try_compile "$LINENO"; then :
63152 glibcxx_cv_func__fabsl_use=yes
63153 else
63154 glibcxx_cv_func__fabsl_use=no
63155 fi
63156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63157 ac_ext=c
63158 ac_cpp='$CPP $CPPFLAGS'
63159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63162
63163
63164 fi
63165
63166 fi
63167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63168 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63169
63170 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63171 for ac_func in _fabsl
63172 do :
63173 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63174 if test "x$ac_cv_func__fabsl" = x""yes; then :
63175 cat >>confdefs.h <<_ACEOF
63176 #define HAVE__FABSL 1
63177 _ACEOF
63178
63179 fi
63180 done
63181
63182 fi
63183 fi
63184
63185
63186
63187
63188
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63190 $as_echo_n "checking for fmodl declaration... " >&6; }
63191 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63192 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63193 $as_echo_n "(cached) " >&6
63194 else
63195
63196
63197 ac_ext=cpp
63198 ac_cpp='$CXXCPP $CPPFLAGS'
63199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63202
63203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63204 /* end confdefs.h. */
63205 #include <math.h>
63206 int
63207 main ()
63208 {
63209 fmodl(0, 0);
63210 ;
63211 return 0;
63212 }
63213 _ACEOF
63214 if ac_fn_cxx_try_compile "$LINENO"; then :
63215 glibcxx_cv_func_fmodl_use=yes
63216 else
63217 glibcxx_cv_func_fmodl_use=no
63218 fi
63219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63220 ac_ext=c
63221 ac_cpp='$CPP $CPPFLAGS'
63222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63225
63226
63227 fi
63228
63229 fi
63230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63231 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63232
63233 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63234 for ac_func in fmodl
63235 do :
63236 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63237 if test "x$ac_cv_func_fmodl" = x""yes; then :
63238 cat >>confdefs.h <<_ACEOF
63239 #define HAVE_FMODL 1
63240 _ACEOF
63241
63242 fi
63243 done
63244
63245 else
63246
63247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63248 $as_echo_n "checking for _fmodl declaration... " >&6; }
63249 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63250 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63251 $as_echo_n "(cached) " >&6
63252 else
63253
63254
63255 ac_ext=cpp
63256 ac_cpp='$CXXCPP $CPPFLAGS'
63257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63260
63261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63262 /* end confdefs.h. */
63263 #include <math.h>
63264 int
63265 main ()
63266 {
63267 _fmodl(0, 0);
63268 ;
63269 return 0;
63270 }
63271 _ACEOF
63272 if ac_fn_cxx_try_compile "$LINENO"; then :
63273 glibcxx_cv_func__fmodl_use=yes
63274 else
63275 glibcxx_cv_func__fmodl_use=no
63276 fi
63277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63278 ac_ext=c
63279 ac_cpp='$CPP $CPPFLAGS'
63280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63283
63284
63285 fi
63286
63287 fi
63288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63289 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63290
63291 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63292 for ac_func in _fmodl
63293 do :
63294 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63295 if test "x$ac_cv_func__fmodl" = x""yes; then :
63296 cat >>confdefs.h <<_ACEOF
63297 #define HAVE__FMODL 1
63298 _ACEOF
63299
63300 fi
63301 done
63302
63303 fi
63304 fi
63305
63306
63307
63308
63309
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63311 $as_echo_n "checking for frexpl declaration... " >&6; }
63312 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63313 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63314 $as_echo_n "(cached) " >&6
63315 else
63316
63317
63318 ac_ext=cpp
63319 ac_cpp='$CXXCPP $CPPFLAGS'
63320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63323
63324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63325 /* end confdefs.h. */
63326 #include <math.h>
63327 int
63328 main ()
63329 {
63330 frexpl(0, 0);
63331 ;
63332 return 0;
63333 }
63334 _ACEOF
63335 if ac_fn_cxx_try_compile "$LINENO"; then :
63336 glibcxx_cv_func_frexpl_use=yes
63337 else
63338 glibcxx_cv_func_frexpl_use=no
63339 fi
63340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63341 ac_ext=c
63342 ac_cpp='$CPP $CPPFLAGS'
63343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63346
63347
63348 fi
63349
63350 fi
63351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63352 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63353
63354 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63355 for ac_func in frexpl
63356 do :
63357 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63358 if test "x$ac_cv_func_frexpl" = x""yes; then :
63359 cat >>confdefs.h <<_ACEOF
63360 #define HAVE_FREXPL 1
63361 _ACEOF
63362
63363 fi
63364 done
63365
63366 else
63367
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63369 $as_echo_n "checking for _frexpl declaration... " >&6; }
63370 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63371 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63372 $as_echo_n "(cached) " >&6
63373 else
63374
63375
63376 ac_ext=cpp
63377 ac_cpp='$CXXCPP $CPPFLAGS'
63378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63381
63382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63383 /* end confdefs.h. */
63384 #include <math.h>
63385 int
63386 main ()
63387 {
63388 _frexpl(0, 0);
63389 ;
63390 return 0;
63391 }
63392 _ACEOF
63393 if ac_fn_cxx_try_compile "$LINENO"; then :
63394 glibcxx_cv_func__frexpl_use=yes
63395 else
63396 glibcxx_cv_func__frexpl_use=no
63397 fi
63398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63399 ac_ext=c
63400 ac_cpp='$CPP $CPPFLAGS'
63401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63404
63405
63406 fi
63407
63408 fi
63409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63410 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63411
63412 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63413 for ac_func in _frexpl
63414 do :
63415 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63416 if test "x$ac_cv_func__frexpl" = x""yes; then :
63417 cat >>confdefs.h <<_ACEOF
63418 #define HAVE__FREXPL 1
63419 _ACEOF
63420
63421 fi
63422 done
63423
63424 fi
63425 fi
63426
63427
63428
63429
63430
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63432 $as_echo_n "checking for hypotl declaration... " >&6; }
63433 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63434 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63435 $as_echo_n "(cached) " >&6
63436 else
63437
63438
63439 ac_ext=cpp
63440 ac_cpp='$CXXCPP $CPPFLAGS'
63441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63444
63445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63446 /* end confdefs.h. */
63447 #include <math.h>
63448 int
63449 main ()
63450 {
63451 hypotl(0, 0);
63452 ;
63453 return 0;
63454 }
63455 _ACEOF
63456 if ac_fn_cxx_try_compile "$LINENO"; then :
63457 glibcxx_cv_func_hypotl_use=yes
63458 else
63459 glibcxx_cv_func_hypotl_use=no
63460 fi
63461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63467
63468
63469 fi
63470
63471 fi
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63473 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63474
63475 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63476 for ac_func in hypotl
63477 do :
63478 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63479 if test "x$ac_cv_func_hypotl" = x""yes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define HAVE_HYPOTL 1
63482 _ACEOF
63483
63484 fi
63485 done
63486
63487 else
63488
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63490 $as_echo_n "checking for _hypotl declaration... " >&6; }
63491 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63492 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63493 $as_echo_n "(cached) " >&6
63494 else
63495
63496
63497 ac_ext=cpp
63498 ac_cpp='$CXXCPP $CPPFLAGS'
63499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63502
63503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63504 /* end confdefs.h. */
63505 #include <math.h>
63506 int
63507 main ()
63508 {
63509 _hypotl(0, 0);
63510 ;
63511 return 0;
63512 }
63513 _ACEOF
63514 if ac_fn_cxx_try_compile "$LINENO"; then :
63515 glibcxx_cv_func__hypotl_use=yes
63516 else
63517 glibcxx_cv_func__hypotl_use=no
63518 fi
63519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63525
63526
63527 fi
63528
63529 fi
63530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63531 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63532
63533 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63534 for ac_func in _hypotl
63535 do :
63536 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63537 if test "x$ac_cv_func__hypotl" = x""yes; then :
63538 cat >>confdefs.h <<_ACEOF
63539 #define HAVE__HYPOTL 1
63540 _ACEOF
63541
63542 fi
63543 done
63544
63545 fi
63546 fi
63547
63548
63549
63550
63551
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63553 $as_echo_n "checking for ldexpl declaration... " >&6; }
63554 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63555 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63556 $as_echo_n "(cached) " >&6
63557 else
63558
63559
63560 ac_ext=cpp
63561 ac_cpp='$CXXCPP $CPPFLAGS'
63562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63565
63566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63567 /* end confdefs.h. */
63568 #include <math.h>
63569 int
63570 main ()
63571 {
63572 ldexpl(0, 0);
63573 ;
63574 return 0;
63575 }
63576 _ACEOF
63577 if ac_fn_cxx_try_compile "$LINENO"; then :
63578 glibcxx_cv_func_ldexpl_use=yes
63579 else
63580 glibcxx_cv_func_ldexpl_use=no
63581 fi
63582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63583 ac_ext=c
63584 ac_cpp='$CPP $CPPFLAGS'
63585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63588
63589
63590 fi
63591
63592 fi
63593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63594 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63595
63596 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63597 for ac_func in ldexpl
63598 do :
63599 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63600 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63601 cat >>confdefs.h <<_ACEOF
63602 #define HAVE_LDEXPL 1
63603 _ACEOF
63604
63605 fi
63606 done
63607
63608 else
63609
63610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63611 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63612 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63613 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63614 $as_echo_n "(cached) " >&6
63615 else
63616
63617
63618 ac_ext=cpp
63619 ac_cpp='$CXXCPP $CPPFLAGS'
63620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63623
63624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63625 /* end confdefs.h. */
63626 #include <math.h>
63627 int
63628 main ()
63629 {
63630 _ldexpl(0, 0);
63631 ;
63632 return 0;
63633 }
63634 _ACEOF
63635 if ac_fn_cxx_try_compile "$LINENO"; then :
63636 glibcxx_cv_func__ldexpl_use=yes
63637 else
63638 glibcxx_cv_func__ldexpl_use=no
63639 fi
63640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63641 ac_ext=c
63642 ac_cpp='$CPP $CPPFLAGS'
63643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63646
63647
63648 fi
63649
63650 fi
63651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63652 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63653
63654 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63655 for ac_func in _ldexpl
63656 do :
63657 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63658 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63659 cat >>confdefs.h <<_ACEOF
63660 #define HAVE__LDEXPL 1
63661 _ACEOF
63662
63663 fi
63664 done
63665
63666 fi
63667 fi
63668
63669
63670
63671
63672
63673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63674 $as_echo_n "checking for logl declaration... " >&6; }
63675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63676 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63677 $as_echo_n "(cached) " >&6
63678 else
63679
63680
63681 ac_ext=cpp
63682 ac_cpp='$CXXCPP $CPPFLAGS'
63683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63686
63687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63688 /* end confdefs.h. */
63689 #include <math.h>
63690 #ifdef HAVE_IEEEFP_H
63691 #include <ieeefp.h>
63692 #endif
63693
63694 int
63695 main ()
63696 {
63697 logl(0);
63698 ;
63699 return 0;
63700 }
63701 _ACEOF
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703 glibcxx_cv_func_logl_use=yes
63704 else
63705 glibcxx_cv_func_logl_use=no
63706 fi
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63708 ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63713
63714
63715 fi
63716
63717 fi
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63719 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63720
63721 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63722 for ac_func in logl
63723 do :
63724 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63725 if test "x$ac_cv_func_logl" = x""yes; then :
63726 cat >>confdefs.h <<_ACEOF
63727 #define HAVE_LOGL 1
63728 _ACEOF
63729
63730 fi
63731 done
63732
63733 else
63734
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63736 $as_echo_n "checking for _logl declaration... " >&6; }
63737 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63738 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63739 $as_echo_n "(cached) " >&6
63740 else
63741
63742
63743 ac_ext=cpp
63744 ac_cpp='$CXXCPP $CPPFLAGS'
63745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63748
63749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63750 /* end confdefs.h. */
63751 #include <math.h>
63752 #ifdef HAVE_IEEEFP_H
63753 #include <ieeefp.h>
63754 #endif
63755
63756 int
63757 main ()
63758 {
63759 _logl(0);
63760 ;
63761 return 0;
63762 }
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765 glibcxx_cv_func__logl_use=yes
63766 else
63767 glibcxx_cv_func__logl_use=no
63768 fi
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770 ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63775
63776
63777 fi
63778
63779 fi
63780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63781 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63782
63783 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63784 for ac_func in _logl
63785 do :
63786 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63787 if test "x$ac_cv_func__logl" = x""yes; then :
63788 cat >>confdefs.h <<_ACEOF
63789 #define HAVE__LOGL 1
63790 _ACEOF
63791
63792 fi
63793 done
63794
63795 fi
63796 fi
63797
63798
63799
63800
63801
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63803 $as_echo_n "checking for log10l declaration... " >&6; }
63804 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63805 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63806 $as_echo_n "(cached) " >&6
63807 else
63808
63809
63810 ac_ext=cpp
63811 ac_cpp='$CXXCPP $CPPFLAGS'
63812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63815
63816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63817 /* end confdefs.h. */
63818 #include <math.h>
63819 #ifdef HAVE_IEEEFP_H
63820 #include <ieeefp.h>
63821 #endif
63822
63823 int
63824 main ()
63825 {
63826 log10l(0);
63827 ;
63828 return 0;
63829 }
63830 _ACEOF
63831 if ac_fn_cxx_try_compile "$LINENO"; then :
63832 glibcxx_cv_func_log10l_use=yes
63833 else
63834 glibcxx_cv_func_log10l_use=no
63835 fi
63836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63837 ac_ext=c
63838 ac_cpp='$CPP $CPPFLAGS'
63839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63842
63843
63844 fi
63845
63846 fi
63847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63848 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63849
63850 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63851 for ac_func in log10l
63852 do :
63853 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63854 if test "x$ac_cv_func_log10l" = x""yes; then :
63855 cat >>confdefs.h <<_ACEOF
63856 #define HAVE_LOG10L 1
63857 _ACEOF
63858
63859 fi
63860 done
63861
63862 else
63863
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63865 $as_echo_n "checking for _log10l declaration... " >&6; }
63866 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63867 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63868 $as_echo_n "(cached) " >&6
63869 else
63870
63871
63872 ac_ext=cpp
63873 ac_cpp='$CXXCPP $CPPFLAGS'
63874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63877
63878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63879 /* end confdefs.h. */
63880 #include <math.h>
63881 #ifdef HAVE_IEEEFP_H
63882 #include <ieeefp.h>
63883 #endif
63884
63885 int
63886 main ()
63887 {
63888 _log10l(0);
63889 ;
63890 return 0;
63891 }
63892 _ACEOF
63893 if ac_fn_cxx_try_compile "$LINENO"; then :
63894 glibcxx_cv_func__log10l_use=yes
63895 else
63896 glibcxx_cv_func__log10l_use=no
63897 fi
63898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63899 ac_ext=c
63900 ac_cpp='$CPP $CPPFLAGS'
63901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63904
63905
63906 fi
63907
63908 fi
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63910 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63911
63912 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63913 for ac_func in _log10l
63914 do :
63915 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63916 if test "x$ac_cv_func__log10l" = x""yes; then :
63917 cat >>confdefs.h <<_ACEOF
63918 #define HAVE__LOG10L 1
63919 _ACEOF
63920
63921 fi
63922 done
63923
63924 fi
63925 fi
63926
63927
63928
63929
63930
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63932 $as_echo_n "checking for modfl declaration... " >&6; }
63933 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63934 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63935 $as_echo_n "(cached) " >&6
63936 else
63937
63938
63939 ac_ext=cpp
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63944
63945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63946 /* end confdefs.h. */
63947 #include <math.h>
63948 int
63949 main ()
63950 {
63951 modfl(0, 0);
63952 ;
63953 return 0;
63954 }
63955 _ACEOF
63956 if ac_fn_cxx_try_compile "$LINENO"; then :
63957 glibcxx_cv_func_modfl_use=yes
63958 else
63959 glibcxx_cv_func_modfl_use=no
63960 fi
63961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63962 ac_ext=c
63963 ac_cpp='$CPP $CPPFLAGS'
63964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63967
63968
63969 fi
63970
63971 fi
63972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63973 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63974
63975 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63976 for ac_func in modfl
63977 do :
63978 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63979 if test "x$ac_cv_func_modfl" = x""yes; then :
63980 cat >>confdefs.h <<_ACEOF
63981 #define HAVE_MODFL 1
63982 _ACEOF
63983
63984 fi
63985 done
63986
63987 else
63988
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63990 $as_echo_n "checking for _modfl declaration... " >&6; }
63991 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63992 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63993 $as_echo_n "(cached) " >&6
63994 else
63995
63996
63997 ac_ext=cpp
63998 ac_cpp='$CXXCPP $CPPFLAGS'
63999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64002
64003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64004 /* end confdefs.h. */
64005 #include <math.h>
64006 int
64007 main ()
64008 {
64009 _modfl(0, 0);
64010 ;
64011 return 0;
64012 }
64013 _ACEOF
64014 if ac_fn_cxx_try_compile "$LINENO"; then :
64015 glibcxx_cv_func__modfl_use=yes
64016 else
64017 glibcxx_cv_func__modfl_use=no
64018 fi
64019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64020 ac_ext=c
64021 ac_cpp='$CPP $CPPFLAGS'
64022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64025
64026
64027 fi
64028
64029 fi
64030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64031 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64032
64033 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64034 for ac_func in _modfl
64035 do :
64036 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64037 if test "x$ac_cv_func__modfl" = x""yes; then :
64038 cat >>confdefs.h <<_ACEOF
64039 #define HAVE__MODFL 1
64040 _ACEOF
64041
64042 fi
64043 done
64044
64045 fi
64046 fi
64047
64048
64049
64050
64051
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64053 $as_echo_n "checking for powl declaration... " >&6; }
64054 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64055 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64056 $as_echo_n "(cached) " >&6
64057 else
64058
64059
64060 ac_ext=cpp
64061 ac_cpp='$CXXCPP $CPPFLAGS'
64062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64065
64066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64067 /* end confdefs.h. */
64068 #include <math.h>
64069 int
64070 main ()
64071 {
64072 powl(0, 0);
64073 ;
64074 return 0;
64075 }
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078 glibcxx_cv_func_powl_use=yes
64079 else
64080 glibcxx_cv_func_powl_use=no
64081 fi
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083 ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64088
64089
64090 fi
64091
64092 fi
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64094 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64095
64096 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64097 for ac_func in powl
64098 do :
64099 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64100 if test "x$ac_cv_func_powl" = x""yes; then :
64101 cat >>confdefs.h <<_ACEOF
64102 #define HAVE_POWL 1
64103 _ACEOF
64104
64105 fi
64106 done
64107
64108 else
64109
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64111 $as_echo_n "checking for _powl declaration... " >&6; }
64112 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64113 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64114 $as_echo_n "(cached) " >&6
64115 else
64116
64117
64118 ac_ext=cpp
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64123
64124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64125 /* end confdefs.h. */
64126 #include <math.h>
64127 int
64128 main ()
64129 {
64130 _powl(0, 0);
64131 ;
64132 return 0;
64133 }
64134 _ACEOF
64135 if ac_fn_cxx_try_compile "$LINENO"; then :
64136 glibcxx_cv_func__powl_use=yes
64137 else
64138 glibcxx_cv_func__powl_use=no
64139 fi
64140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141 ac_ext=c
64142 ac_cpp='$CPP $CPPFLAGS'
64143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64146
64147
64148 fi
64149
64150 fi
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64152 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64153
64154 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64155 for ac_func in _powl
64156 do :
64157 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64158 if test "x$ac_cv_func__powl" = x""yes; then :
64159 cat >>confdefs.h <<_ACEOF
64160 #define HAVE__POWL 1
64161 _ACEOF
64162
64163 fi
64164 done
64165
64166 fi
64167 fi
64168
64169
64170
64171
64172
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64174 $as_echo_n "checking for sqrtl declaration... " >&6; }
64175 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64176 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64177 $as_echo_n "(cached) " >&6
64178 else
64179
64180
64181 ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64186
64187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h. */
64189 #include <math.h>
64190 #ifdef HAVE_IEEEFP_H
64191 #include <ieeefp.h>
64192 #endif
64193
64194 int
64195 main ()
64196 {
64197 sqrtl(0);
64198 ;
64199 return 0;
64200 }
64201 _ACEOF
64202 if ac_fn_cxx_try_compile "$LINENO"; then :
64203 glibcxx_cv_func_sqrtl_use=yes
64204 else
64205 glibcxx_cv_func_sqrtl_use=no
64206 fi
64207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64208 ac_ext=c
64209 ac_cpp='$CPP $CPPFLAGS'
64210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64213
64214
64215 fi
64216
64217 fi
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64219 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64220
64221 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64222 for ac_func in sqrtl
64223 do :
64224 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64225 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64226 cat >>confdefs.h <<_ACEOF
64227 #define HAVE_SQRTL 1
64228 _ACEOF
64229
64230 fi
64231 done
64232
64233 else
64234
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64236 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64237 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64238 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64239 $as_echo_n "(cached) " >&6
64240 else
64241
64242
64243 ac_ext=cpp
64244 ac_cpp='$CXXCPP $CPPFLAGS'
64245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64248
64249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64250 /* end confdefs.h. */
64251 #include <math.h>
64252 #ifdef HAVE_IEEEFP_H
64253 #include <ieeefp.h>
64254 #endif
64255
64256 int
64257 main ()
64258 {
64259 _sqrtl(0);
64260 ;
64261 return 0;
64262 }
64263 _ACEOF
64264 if ac_fn_cxx_try_compile "$LINENO"; then :
64265 glibcxx_cv_func__sqrtl_use=yes
64266 else
64267 glibcxx_cv_func__sqrtl_use=no
64268 fi
64269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64275
64276
64277 fi
64278
64279 fi
64280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64281 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64282
64283 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64284 for ac_func in _sqrtl
64285 do :
64286 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64287 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64288 cat >>confdefs.h <<_ACEOF
64289 #define HAVE__SQRTL 1
64290 _ACEOF
64291
64292 fi
64293 done
64294
64295 fi
64296 fi
64297
64298
64299
64300
64301
64302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64303 $as_echo_n "checking for sincosl declaration... " >&6; }
64304 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64305 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64306 $as_echo_n "(cached) " >&6
64307 else
64308
64309
64310 ac_ext=cpp
64311 ac_cpp='$CXXCPP $CPPFLAGS'
64312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64315
64316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64317 /* end confdefs.h. */
64318 #include <math.h>
64319 int
64320 main ()
64321 {
64322 sincosl(0, 0, 0);
64323 ;
64324 return 0;
64325 }
64326 _ACEOF
64327 if ac_fn_cxx_try_compile "$LINENO"; then :
64328 glibcxx_cv_func_sincosl_use=yes
64329 else
64330 glibcxx_cv_func_sincosl_use=no
64331 fi
64332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64333 ac_ext=c
64334 ac_cpp='$CPP $CPPFLAGS'
64335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64338
64339
64340 fi
64341
64342 fi
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64344 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64345
64346 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64347 for ac_func in sincosl
64348 do :
64349 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64350 if test "x$ac_cv_func_sincosl" = x""yes; then :
64351 cat >>confdefs.h <<_ACEOF
64352 #define HAVE_SINCOSL 1
64353 _ACEOF
64354
64355 fi
64356 done
64357
64358 else
64359
64360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64361 $as_echo_n "checking for _sincosl declaration... " >&6; }
64362 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64363 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64364 $as_echo_n "(cached) " >&6
64365 else
64366
64367
64368 ac_ext=cpp
64369 ac_cpp='$CXXCPP $CPPFLAGS'
64370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64373
64374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64375 /* end confdefs.h. */
64376 #include <math.h>
64377 int
64378 main ()
64379 {
64380 _sincosl(0, 0, 0);
64381 ;
64382 return 0;
64383 }
64384 _ACEOF
64385 if ac_fn_cxx_try_compile "$LINENO"; then :
64386 glibcxx_cv_func__sincosl_use=yes
64387 else
64388 glibcxx_cv_func__sincosl_use=no
64389 fi
64390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64391 ac_ext=c
64392 ac_cpp='$CPP $CPPFLAGS'
64393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64396
64397
64398 fi
64399
64400 fi
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64402 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64403
64404 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64405 for ac_func in _sincosl
64406 do :
64407 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64408 if test "x$ac_cv_func__sincosl" = x""yes; then :
64409 cat >>confdefs.h <<_ACEOF
64410 #define HAVE__SINCOSL 1
64411 _ACEOF
64412
64413 fi
64414 done
64415
64416 fi
64417 fi
64418
64419
64420
64421
64422
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64424 $as_echo_n "checking for finitel declaration... " >&6; }
64425 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64426 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64427 $as_echo_n "(cached) " >&6
64428 else
64429
64430
64431 ac_ext=cpp
64432 ac_cpp='$CXXCPP $CPPFLAGS'
64433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64436
64437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64438 /* end confdefs.h. */
64439 #include <math.h>
64440 #ifdef HAVE_IEEEFP_H
64441 #include <ieeefp.h>
64442 #endif
64443
64444 int
64445 main ()
64446 {
64447 finitel(0);
64448 ;
64449 return 0;
64450 }
64451 _ACEOF
64452 if ac_fn_cxx_try_compile "$LINENO"; then :
64453 glibcxx_cv_func_finitel_use=yes
64454 else
64455 glibcxx_cv_func_finitel_use=no
64456 fi
64457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64458 ac_ext=c
64459 ac_cpp='$CPP $CPPFLAGS'
64460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64463
64464
64465 fi
64466
64467 fi
64468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64469 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64470
64471 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64472 for ac_func in finitel
64473 do :
64474 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64475 if test "x$ac_cv_func_finitel" = x""yes; then :
64476 cat >>confdefs.h <<_ACEOF
64477 #define HAVE_FINITEL 1
64478 _ACEOF
64479
64480 fi
64481 done
64482
64483 else
64484
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64486 $as_echo_n "checking for _finitel declaration... " >&6; }
64487 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64488 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64489 $as_echo_n "(cached) " >&6
64490 else
64491
64492
64493 ac_ext=cpp
64494 ac_cpp='$CXXCPP $CPPFLAGS'
64495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64498
64499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64500 /* end confdefs.h. */
64501 #include <math.h>
64502 #ifdef HAVE_IEEEFP_H
64503 #include <ieeefp.h>
64504 #endif
64505
64506 int
64507 main ()
64508 {
64509 _finitel(0);
64510 ;
64511 return 0;
64512 }
64513 _ACEOF
64514 if ac_fn_cxx_try_compile "$LINENO"; then :
64515 glibcxx_cv_func__finitel_use=yes
64516 else
64517 glibcxx_cv_func__finitel_use=no
64518 fi
64519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64520 ac_ext=c
64521 ac_cpp='$CPP $CPPFLAGS'
64522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64525
64526
64527 fi
64528
64529 fi
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64531 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64532
64533 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64534 for ac_func in _finitel
64535 do :
64536 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64537 if test "x$ac_cv_func__finitel" = x""yes; then :
64538 cat >>confdefs.h <<_ACEOF
64539 #define HAVE__FINITEL 1
64540 _ACEOF
64541
64542 fi
64543 done
64544
64545 fi
64546 fi
64547
64548
64549
64550
64551 LIBS="$ac_save_LIBS"
64552 CXXFLAGS="$ac_save_CXXFLAGS"
64553
64554
64555 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64556 ac_save_CXXFLAGS="$CXXFLAGS"
64557 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64558
64559
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64561 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64562 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64563 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64564 $as_echo_n "(cached) " >&6
64565 else
64566
64567
64568 ac_ext=cpp
64569 ac_cpp='$CXXCPP $CPPFLAGS'
64570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64573
64574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64575 /* end confdefs.h. */
64576 #include <stdlib.h>
64577 int
64578 main ()
64579 {
64580 at_quick_exit(0);
64581 ;
64582 return 0;
64583 }
64584 _ACEOF
64585 if ac_fn_cxx_try_compile "$LINENO"; then :
64586 glibcxx_cv_func_at_quick_exit_use=yes
64587 else
64588 glibcxx_cv_func_at_quick_exit_use=no
64589 fi
64590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64591 ac_ext=c
64592 ac_cpp='$CPP $CPPFLAGS'
64593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64596
64597
64598 fi
64599
64600 fi
64601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64602 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64603 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64604 for ac_func in at_quick_exit
64605 do :
64606 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64607 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64608 cat >>confdefs.h <<_ACEOF
64609 #define HAVE_AT_QUICK_EXIT 1
64610 _ACEOF
64611
64612 fi
64613 done
64614
64615 fi
64616
64617
64618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64619 $as_echo_n "checking for quick_exit declaration... " >&6; }
64620 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64621 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64622 $as_echo_n "(cached) " >&6
64623 else
64624
64625
64626 ac_ext=cpp
64627 ac_cpp='$CXXCPP $CPPFLAGS'
64628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64631
64632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64633 /* end confdefs.h. */
64634 #include <stdlib.h>
64635 int
64636 main ()
64637 {
64638 quick_exit(0);
64639 ;
64640 return 0;
64641 }
64642 _ACEOF
64643 if ac_fn_cxx_try_compile "$LINENO"; then :
64644 glibcxx_cv_func_quick_exit_use=yes
64645 else
64646 glibcxx_cv_func_quick_exit_use=no
64647 fi
64648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64649 ac_ext=c
64650 ac_cpp='$CPP $CPPFLAGS'
64651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64654
64655
64656 fi
64657
64658 fi
64659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64660 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64661 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64662 for ac_func in quick_exit
64663 do :
64664 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64665 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_QUICK_EXIT 1
64668 _ACEOF
64669
64670 fi
64671 done
64672
64673 fi
64674
64675
64676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64677 $as_echo_n "checking for strtold declaration... " >&6; }
64678 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64679 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64680 $as_echo_n "(cached) " >&6
64681 else
64682
64683
64684 ac_ext=cpp
64685 ac_cpp='$CXXCPP $CPPFLAGS'
64686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64689
64690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64691 /* end confdefs.h. */
64692 #include <stdlib.h>
64693 int
64694 main ()
64695 {
64696 strtold(0, 0);
64697 ;
64698 return 0;
64699 }
64700 _ACEOF
64701 if ac_fn_cxx_try_compile "$LINENO"; then :
64702 glibcxx_cv_func_strtold_use=yes
64703 else
64704 glibcxx_cv_func_strtold_use=no
64705 fi
64706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64707 ac_ext=c
64708 ac_cpp='$CPP $CPPFLAGS'
64709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64712
64713
64714 fi
64715
64716 fi
64717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64718 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64719 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64720 for ac_func in strtold
64721 do :
64722 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64723 if test "x$ac_cv_func_strtold" = x""yes; then :
64724 cat >>confdefs.h <<_ACEOF
64725 #define HAVE_STRTOLD 1
64726 _ACEOF
64727
64728 fi
64729 done
64730
64731 fi
64732
64733
64734
64735
64736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64737 $as_echo_n "checking for strtof declaration... " >&6; }
64738 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64739 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64740 $as_echo_n "(cached) " >&6
64741 else
64742
64743
64744 ac_ext=cpp
64745 ac_cpp='$CXXCPP $CPPFLAGS'
64746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64749
64750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64751 /* end confdefs.h. */
64752 #include <stdlib.h>
64753 int
64754 main ()
64755 {
64756 strtof(0, 0);
64757 ;
64758 return 0;
64759 }
64760 _ACEOF
64761 if ac_fn_cxx_try_compile "$LINENO"; then :
64762 glibcxx_cv_func_strtof_use=yes
64763 else
64764 glibcxx_cv_func_strtof_use=no
64765 fi
64766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64767 ac_ext=c
64768 ac_cpp='$CPP $CPPFLAGS'
64769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64772
64773
64774 fi
64775
64776 fi
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64778 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64779 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64780 for ac_func in strtof
64781 do :
64782 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64783 if test "x$ac_cv_func_strtof" = x""yes; then :
64784 cat >>confdefs.h <<_ACEOF
64785 #define HAVE_STRTOF 1
64786 _ACEOF
64787
64788 fi
64789 done
64790
64791 fi
64792
64793
64794
64795
64796 CXXFLAGS="$ac_save_CXXFLAGS"
64797
64798 ;;
64799 *-solaris*)
64800 case "$target" in
64801 *-solaris2.9 | *-solaris2.10)
64802
64803 # If we're not using GNU ld, then there's no point in even trying these
64804 # tests. Check for that first. We should have already tested for gld
64805 # by now (in libtool), but require it now just to be safe...
64806 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64807 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64808
64809
64810
64811 # The name set by libtool depends on the version of libtool. Shame on us
64812 # for depending on an impl detail, but c'est la vie. Older versions used
64813 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64814 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64815 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64816 # set (hence we're using an older libtool), then set it.
64817 if test x${with_gnu_ld+set} != xset; then
64818 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64819 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64820 with_gnu_ld=no
64821 else
64822 with_gnu_ld=$ac_cv_prog_gnu_ld
64823 fi
64824 fi
64825
64826 # Start by getting the version number. I think the libtool test already
64827 # does some of this, but throws away the result.
64828 glibcxx_ld_is_gold=no
64829 if test x"$with_gnu_ld" = x"yes"; then
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64831 $as_echo_n "checking for ld version... " >&6; }
64832
64833 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64834 glibcxx_ld_is_gold=yes
64835 fi
64836 ldver=`$LD --version 2>/dev/null |
64837 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'`
64838
64839 glibcxx_gnu_ld_version=`echo $ldver | \
64840 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64842 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64843 fi
64844
64845 # Set --gc-sections.
64846 glibcxx_have_gc_sections=no
64847 if test "$glibcxx_ld_is_gold" = "yes"; then
64848 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64849 glibcxx_have_gc_sections=yes
64850 fi
64851 else
64852 glibcxx_gcsections_min_ld=21602
64853 if test x"$with_gnu_ld" = x"yes" &&
64854 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64855 glibcxx_have_gc_sections=yes
64856 fi
64857 fi
64858 if test "$glibcxx_have_gc_sections" = "yes"; then
64859 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64860 # NB: This flag only works reliably after 2.16.1. Configure tests
64861 # for this are difficult, so hard wire a value that should work.
64862
64863 ac_test_CFLAGS="${CFLAGS+set}"
64864 ac_save_CFLAGS="$CFLAGS"
64865 CFLAGS='-Wl,--gc-sections'
64866
64867 # Check for -Wl,--gc-sections
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64869 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64870 if test x$gcc_no_link = xyes; then
64871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64872 fi
64873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64874 /* end confdefs.h. */
64875 int one(void) { return 1; }
64876 int two(void) { return 2; }
64877
64878 int
64879 main ()
64880 {
64881 two();
64882 ;
64883 return 0;
64884 }
64885 _ACEOF
64886 if ac_fn_c_try_link "$LINENO"; then :
64887 ac_gcsections=yes
64888 else
64889 ac_gcsections=no
64890 fi
64891 rm -f core conftest.err conftest.$ac_objext \
64892 conftest$ac_exeext conftest.$ac_ext
64893 if test "$ac_gcsections" = "yes"; then
64894 rm -f conftest.c
64895 touch conftest.c
64896 if $CC -c conftest.c; then
64897 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64898 grep "Warning: gc-sections option ignored" > /dev/null; then
64899 ac_gcsections=no
64900 fi
64901 fi
64902 rm -f conftest.c conftest.o conftest
64903 fi
64904 if test "$ac_gcsections" = "yes"; then
64905 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64906 fi
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64908 $as_echo "$ac_gcsections" >&6; }
64909
64910 if test "$ac_test_CFLAGS" = set; then
64911 CFLAGS="$ac_save_CFLAGS"
64912 else
64913 # this is the suspicious part
64914 CFLAGS=''
64915 fi
64916 fi
64917
64918 # Set -z,relro.
64919 # Note this is only for shared objects.
64920 ac_ld_relro=no
64921 if test x"$with_gnu_ld" = x"yes"; then
64922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64923 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64924 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64925 if test -n "$cxx_z_relo"; then
64926 OPT_LDFLAGS="-Wl,-z,relro"
64927 ac_ld_relro=yes
64928 fi
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64930 $as_echo "$ac_ld_relro" >&6; }
64931 fi
64932
64933 # Set linker optimization flags.
64934 if test x"$with_gnu_ld" = x"yes"; then
64935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64936 fi
64937
64938
64939
64940
64941 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64942
64943 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64944
64945 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64946
64947 # All of the dependencies for wide character support are here, so
64948 # turn it on.
64949 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64950
64951 ;;
64952 esac
64953 case "$target" in
64954 *-*-solaris2.10)
64955 # These two C99 functions are present only in Solaris >= 10
64956 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64957
64958 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64959
64960 ;;
64961 esac
64962 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64963
64964 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64965
64966 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64967
64968 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64969
64970 ;;
64971 *-tpf)
64972 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64973 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64974
64975 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64976
64977 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64978
64979 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64980
64981 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64982
64983 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64984
64985 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64986
64987 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64988
64989 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64990
64991 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64992
64993 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64994
64995 if test x"long_double_math_on_this_cpu" = x"yes"; then
64996 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64997
64998 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64999
65000 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65001
65002 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65003
65004 fi
65005 ;;
65006 *-*vms*)
65007 # Check for available headers.
65008 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65009
65010 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65011 ac_save_CXXFLAGS="$CXXFLAGS"
65012 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65013
65014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65015 $as_echo_n "checking for sin in -lm... " >&6; }
65016 if test "${ac_cv_lib_m_sin+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65019 ac_check_lib_save_LIBS=$LIBS
65020 LIBS="-lm $LIBS"
65021 if test x$gcc_no_link = xyes; then
65022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65023 fi
65024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65025 /* end confdefs.h. */
65026
65027 /* Override any GCC internal prototype to avoid an error.
65028 Use char because int might match the return type of a GCC
65029 builtin and then its argument prototype would still apply. */
65030 #ifdef __cplusplus
65031 extern "C"
65032 #endif
65033 char sin ();
65034 int
65035 main ()
65036 {
65037 return sin ();
65038 ;
65039 return 0;
65040 }
65041 _ACEOF
65042 if ac_fn_c_try_link "$LINENO"; then :
65043 ac_cv_lib_m_sin=yes
65044 else
65045 ac_cv_lib_m_sin=no
65046 fi
65047 rm -f core conftest.err conftest.$ac_objext \
65048 conftest$ac_exeext conftest.$ac_ext
65049 LIBS=$ac_check_lib_save_LIBS
65050 fi
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65052 $as_echo "$ac_cv_lib_m_sin" >&6; }
65053 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65054 libm="-lm"
65055 fi
65056
65057 ac_save_LIBS="$LIBS"
65058 LIBS="$LIBS $libm"
65059
65060
65061
65062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65063 $as_echo_n "checking for isinf declaration... " >&6; }
65064 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65065 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65066 $as_echo_n "(cached) " >&6
65067 else
65068
65069
65070 ac_ext=cpp
65071 ac_cpp='$CXXCPP $CPPFLAGS'
65072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65075
65076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65077 /* end confdefs.h. */
65078 #include <math.h>
65079 #ifdef HAVE_IEEEFP_H
65080 #include <ieeefp.h>
65081 #endif
65082
65083 int
65084 main ()
65085 {
65086 isinf(0);
65087 ;
65088 return 0;
65089 }
65090 _ACEOF
65091 if ac_fn_cxx_try_compile "$LINENO"; then :
65092 glibcxx_cv_func_isinf_use=yes
65093 else
65094 glibcxx_cv_func_isinf_use=no
65095 fi
65096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65097 ac_ext=c
65098 ac_cpp='$CPP $CPPFLAGS'
65099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65102
65103
65104 fi
65105
65106 fi
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65108 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65109
65110 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65111 for ac_func in isinf
65112 do :
65113 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65114 if test "x$ac_cv_func_isinf" = x""yes; then :
65115 cat >>confdefs.h <<_ACEOF
65116 #define HAVE_ISINF 1
65117 _ACEOF
65118
65119 fi
65120 done
65121
65122 else
65123
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65125 $as_echo_n "checking for _isinf declaration... " >&6; }
65126 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65127 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65128 $as_echo_n "(cached) " >&6
65129 else
65130
65131
65132 ac_ext=cpp
65133 ac_cpp='$CXXCPP $CPPFLAGS'
65134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65137
65138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65139 /* end confdefs.h. */
65140 #include <math.h>
65141 #ifdef HAVE_IEEEFP_H
65142 #include <ieeefp.h>
65143 #endif
65144
65145 int
65146 main ()
65147 {
65148 _isinf(0);
65149 ;
65150 return 0;
65151 }
65152 _ACEOF
65153 if ac_fn_cxx_try_compile "$LINENO"; then :
65154 glibcxx_cv_func__isinf_use=yes
65155 else
65156 glibcxx_cv_func__isinf_use=no
65157 fi
65158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65159 ac_ext=c
65160 ac_cpp='$CPP $CPPFLAGS'
65161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65164
65165
65166 fi
65167
65168 fi
65169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65170 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65171
65172 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65173 for ac_func in _isinf
65174 do :
65175 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65176 if test "x$ac_cv_func__isinf" = x""yes; then :
65177 cat >>confdefs.h <<_ACEOF
65178 #define HAVE__ISINF 1
65179 _ACEOF
65180
65181 fi
65182 done
65183
65184 fi
65185 fi
65186
65187
65188
65189
65190
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65192 $as_echo_n "checking for isnan declaration... " >&6; }
65193 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65194 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65195 $as_echo_n "(cached) " >&6
65196 else
65197
65198
65199 ac_ext=cpp
65200 ac_cpp='$CXXCPP $CPPFLAGS'
65201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65204
65205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65206 /* end confdefs.h. */
65207 #include <math.h>
65208 #ifdef HAVE_IEEEFP_H
65209 #include <ieeefp.h>
65210 #endif
65211
65212 int
65213 main ()
65214 {
65215 isnan(0);
65216 ;
65217 return 0;
65218 }
65219 _ACEOF
65220 if ac_fn_cxx_try_compile "$LINENO"; then :
65221 glibcxx_cv_func_isnan_use=yes
65222 else
65223 glibcxx_cv_func_isnan_use=no
65224 fi
65225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65226 ac_ext=c
65227 ac_cpp='$CPP $CPPFLAGS'
65228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65231
65232
65233 fi
65234
65235 fi
65236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65237 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65238
65239 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65240 for ac_func in isnan
65241 do :
65242 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65243 if test "x$ac_cv_func_isnan" = x""yes; then :
65244 cat >>confdefs.h <<_ACEOF
65245 #define HAVE_ISNAN 1
65246 _ACEOF
65247
65248 fi
65249 done
65250
65251 else
65252
65253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65254 $as_echo_n "checking for _isnan declaration... " >&6; }
65255 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65256 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65257 $as_echo_n "(cached) " >&6
65258 else
65259
65260
65261 ac_ext=cpp
65262 ac_cpp='$CXXCPP $CPPFLAGS'
65263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65266
65267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65268 /* end confdefs.h. */
65269 #include <math.h>
65270 #ifdef HAVE_IEEEFP_H
65271 #include <ieeefp.h>
65272 #endif
65273
65274 int
65275 main ()
65276 {
65277 _isnan(0);
65278 ;
65279 return 0;
65280 }
65281 _ACEOF
65282 if ac_fn_cxx_try_compile "$LINENO"; then :
65283 glibcxx_cv_func__isnan_use=yes
65284 else
65285 glibcxx_cv_func__isnan_use=no
65286 fi
65287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65288 ac_ext=c
65289 ac_cpp='$CPP $CPPFLAGS'
65290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65293
65294
65295 fi
65296
65297 fi
65298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65299 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65300
65301 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65302 for ac_func in _isnan
65303 do :
65304 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65305 if test "x$ac_cv_func__isnan" = x""yes; then :
65306 cat >>confdefs.h <<_ACEOF
65307 #define HAVE__ISNAN 1
65308 _ACEOF
65309
65310 fi
65311 done
65312
65313 fi
65314 fi
65315
65316
65317
65318
65319
65320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65321 $as_echo_n "checking for finite declaration... " >&6; }
65322 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65323 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65324 $as_echo_n "(cached) " >&6
65325 else
65326
65327
65328 ac_ext=cpp
65329 ac_cpp='$CXXCPP $CPPFLAGS'
65330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65333
65334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65335 /* end confdefs.h. */
65336 #include <math.h>
65337 #ifdef HAVE_IEEEFP_H
65338 #include <ieeefp.h>
65339 #endif
65340
65341 int
65342 main ()
65343 {
65344 finite(0);
65345 ;
65346 return 0;
65347 }
65348 _ACEOF
65349 if ac_fn_cxx_try_compile "$LINENO"; then :
65350 glibcxx_cv_func_finite_use=yes
65351 else
65352 glibcxx_cv_func_finite_use=no
65353 fi
65354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65355 ac_ext=c
65356 ac_cpp='$CPP $CPPFLAGS'
65357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65360
65361
65362 fi
65363
65364 fi
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65366 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65367
65368 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65369 for ac_func in finite
65370 do :
65371 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65372 if test "x$ac_cv_func_finite" = x""yes; then :
65373 cat >>confdefs.h <<_ACEOF
65374 #define HAVE_FINITE 1
65375 _ACEOF
65376
65377 fi
65378 done
65379
65380 else
65381
65382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65383 $as_echo_n "checking for _finite declaration... " >&6; }
65384 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65385 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65386 $as_echo_n "(cached) " >&6
65387 else
65388
65389
65390 ac_ext=cpp
65391 ac_cpp='$CXXCPP $CPPFLAGS'
65392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65395
65396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65397 /* end confdefs.h. */
65398 #include <math.h>
65399 #ifdef HAVE_IEEEFP_H
65400 #include <ieeefp.h>
65401 #endif
65402
65403 int
65404 main ()
65405 {
65406 _finite(0);
65407 ;
65408 return 0;
65409 }
65410 _ACEOF
65411 if ac_fn_cxx_try_compile "$LINENO"; then :
65412 glibcxx_cv_func__finite_use=yes
65413 else
65414 glibcxx_cv_func__finite_use=no
65415 fi
65416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65417 ac_ext=c
65418 ac_cpp='$CPP $CPPFLAGS'
65419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65422
65423
65424 fi
65425
65426 fi
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65428 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65429
65430 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65431 for ac_func in _finite
65432 do :
65433 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65434 if test "x$ac_cv_func__finite" = x""yes; then :
65435 cat >>confdefs.h <<_ACEOF
65436 #define HAVE__FINITE 1
65437 _ACEOF
65438
65439 fi
65440 done
65441
65442 fi
65443 fi
65444
65445
65446
65447
65448
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65450 $as_echo_n "checking for sincos declaration... " >&6; }
65451 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65452 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65453 $as_echo_n "(cached) " >&6
65454 else
65455
65456
65457 ac_ext=cpp
65458 ac_cpp='$CXXCPP $CPPFLAGS'
65459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65462
65463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65464 /* end confdefs.h. */
65465 #include <math.h>
65466 int
65467 main ()
65468 {
65469 sincos(0, 0, 0);
65470 ;
65471 return 0;
65472 }
65473 _ACEOF
65474 if ac_fn_cxx_try_compile "$LINENO"; then :
65475 glibcxx_cv_func_sincos_use=yes
65476 else
65477 glibcxx_cv_func_sincos_use=no
65478 fi
65479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65480 ac_ext=c
65481 ac_cpp='$CPP $CPPFLAGS'
65482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65485
65486
65487 fi
65488
65489 fi
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65491 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65492
65493 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65494 for ac_func in sincos
65495 do :
65496 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65497 if test "x$ac_cv_func_sincos" = x""yes; then :
65498 cat >>confdefs.h <<_ACEOF
65499 #define HAVE_SINCOS 1
65500 _ACEOF
65501
65502 fi
65503 done
65504
65505 else
65506
65507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65508 $as_echo_n "checking for _sincos declaration... " >&6; }
65509 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65510 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65511 $as_echo_n "(cached) " >&6
65512 else
65513
65514
65515 ac_ext=cpp
65516 ac_cpp='$CXXCPP $CPPFLAGS'
65517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65520
65521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65522 /* end confdefs.h. */
65523 #include <math.h>
65524 int
65525 main ()
65526 {
65527 _sincos(0, 0, 0);
65528 ;
65529 return 0;
65530 }
65531 _ACEOF
65532 if ac_fn_cxx_try_compile "$LINENO"; then :
65533 glibcxx_cv_func__sincos_use=yes
65534 else
65535 glibcxx_cv_func__sincos_use=no
65536 fi
65537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65538 ac_ext=c
65539 ac_cpp='$CPP $CPPFLAGS'
65540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65543
65544
65545 fi
65546
65547 fi
65548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65549 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65550
65551 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65552 for ac_func in _sincos
65553 do :
65554 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65555 if test "x$ac_cv_func__sincos" = x""yes; then :
65556 cat >>confdefs.h <<_ACEOF
65557 #define HAVE__SINCOS 1
65558 _ACEOF
65559
65560 fi
65561 done
65562
65563 fi
65564 fi
65565
65566
65567
65568
65569
65570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65571 $as_echo_n "checking for fpclass declaration... " >&6; }
65572 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65573 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65574 $as_echo_n "(cached) " >&6
65575 else
65576
65577
65578 ac_ext=cpp
65579 ac_cpp='$CXXCPP $CPPFLAGS'
65580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65583
65584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65585 /* end confdefs.h. */
65586 #include <math.h>
65587 #ifdef HAVE_IEEEFP_H
65588 #include <ieeefp.h>
65589 #endif
65590
65591 int
65592 main ()
65593 {
65594 fpclass(0);
65595 ;
65596 return 0;
65597 }
65598 _ACEOF
65599 if ac_fn_cxx_try_compile "$LINENO"; then :
65600 glibcxx_cv_func_fpclass_use=yes
65601 else
65602 glibcxx_cv_func_fpclass_use=no
65603 fi
65604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65605 ac_ext=c
65606 ac_cpp='$CPP $CPPFLAGS'
65607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65610
65611
65612 fi
65613
65614 fi
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65616 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65617
65618 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65619 for ac_func in fpclass
65620 do :
65621 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65622 if test "x$ac_cv_func_fpclass" = x""yes; then :
65623 cat >>confdefs.h <<_ACEOF
65624 #define HAVE_FPCLASS 1
65625 _ACEOF
65626
65627 fi
65628 done
65629
65630 else
65631
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65633 $as_echo_n "checking for _fpclass declaration... " >&6; }
65634 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65635 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65636 $as_echo_n "(cached) " >&6
65637 else
65638
65639
65640 ac_ext=cpp
65641 ac_cpp='$CXXCPP $CPPFLAGS'
65642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65645
65646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65647 /* end confdefs.h. */
65648 #include <math.h>
65649 #ifdef HAVE_IEEEFP_H
65650 #include <ieeefp.h>
65651 #endif
65652
65653 int
65654 main ()
65655 {
65656 _fpclass(0);
65657 ;
65658 return 0;
65659 }
65660 _ACEOF
65661 if ac_fn_cxx_try_compile "$LINENO"; then :
65662 glibcxx_cv_func__fpclass_use=yes
65663 else
65664 glibcxx_cv_func__fpclass_use=no
65665 fi
65666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65667 ac_ext=c
65668 ac_cpp='$CPP $CPPFLAGS'
65669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65672
65673
65674 fi
65675
65676 fi
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65678 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65679
65680 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65681 for ac_func in _fpclass
65682 do :
65683 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65684 if test "x$ac_cv_func__fpclass" = x""yes; then :
65685 cat >>confdefs.h <<_ACEOF
65686 #define HAVE__FPCLASS 1
65687 _ACEOF
65688
65689 fi
65690 done
65691
65692 fi
65693 fi
65694
65695
65696
65697
65698
65699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65700 $as_echo_n "checking for qfpclass declaration... " >&6; }
65701 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65702 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65703 $as_echo_n "(cached) " >&6
65704 else
65705
65706
65707 ac_ext=cpp
65708 ac_cpp='$CXXCPP $CPPFLAGS'
65709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65712
65713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65714 /* end confdefs.h. */
65715 #include <math.h>
65716 #ifdef HAVE_IEEEFP_H
65717 #include <ieeefp.h>
65718 #endif
65719
65720 int
65721 main ()
65722 {
65723 qfpclass(0);
65724 ;
65725 return 0;
65726 }
65727 _ACEOF
65728 if ac_fn_cxx_try_compile "$LINENO"; then :
65729 glibcxx_cv_func_qfpclass_use=yes
65730 else
65731 glibcxx_cv_func_qfpclass_use=no
65732 fi
65733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65734 ac_ext=c
65735 ac_cpp='$CPP $CPPFLAGS'
65736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65739
65740
65741 fi
65742
65743 fi
65744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65745 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65746
65747 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65748 for ac_func in qfpclass
65749 do :
65750 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65751 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65752 cat >>confdefs.h <<_ACEOF
65753 #define HAVE_QFPCLASS 1
65754 _ACEOF
65755
65756 fi
65757 done
65758
65759 else
65760
65761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65762 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65763 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65764 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65765 $as_echo_n "(cached) " >&6
65766 else
65767
65768
65769 ac_ext=cpp
65770 ac_cpp='$CXXCPP $CPPFLAGS'
65771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65774
65775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65776 /* end confdefs.h. */
65777 #include <math.h>
65778 #ifdef HAVE_IEEEFP_H
65779 #include <ieeefp.h>
65780 #endif
65781
65782 int
65783 main ()
65784 {
65785 _qfpclass(0);
65786 ;
65787 return 0;
65788 }
65789 _ACEOF
65790 if ac_fn_cxx_try_compile "$LINENO"; then :
65791 glibcxx_cv_func__qfpclass_use=yes
65792 else
65793 glibcxx_cv_func__qfpclass_use=no
65794 fi
65795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65796 ac_ext=c
65797 ac_cpp='$CPP $CPPFLAGS'
65798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65801
65802
65803 fi
65804
65805 fi
65806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65807 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65808
65809 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65810 for ac_func in _qfpclass
65811 do :
65812 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65813 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65814 cat >>confdefs.h <<_ACEOF
65815 #define HAVE__QFPCLASS 1
65816 _ACEOF
65817
65818 fi
65819 done
65820
65821 fi
65822 fi
65823
65824
65825
65826
65827
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65829 $as_echo_n "checking for hypot declaration... " >&6; }
65830 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65831 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65832 $as_echo_n "(cached) " >&6
65833 else
65834
65835
65836 ac_ext=cpp
65837 ac_cpp='$CXXCPP $CPPFLAGS'
65838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65841
65842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65843 /* end confdefs.h. */
65844 #include <math.h>
65845 int
65846 main ()
65847 {
65848 hypot(0, 0);
65849 ;
65850 return 0;
65851 }
65852 _ACEOF
65853 if ac_fn_cxx_try_compile "$LINENO"; then :
65854 glibcxx_cv_func_hypot_use=yes
65855 else
65856 glibcxx_cv_func_hypot_use=no
65857 fi
65858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65859 ac_ext=c
65860 ac_cpp='$CPP $CPPFLAGS'
65861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65864
65865
65866 fi
65867
65868 fi
65869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65870 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65871
65872 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65873 for ac_func in hypot
65874 do :
65875 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65876 if test "x$ac_cv_func_hypot" = x""yes; then :
65877 cat >>confdefs.h <<_ACEOF
65878 #define HAVE_HYPOT 1
65879 _ACEOF
65880
65881 fi
65882 done
65883
65884 else
65885
65886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65887 $as_echo_n "checking for _hypot declaration... " >&6; }
65888 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65889 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65890 $as_echo_n "(cached) " >&6
65891 else
65892
65893
65894 ac_ext=cpp
65895 ac_cpp='$CXXCPP $CPPFLAGS'
65896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65899
65900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65901 /* end confdefs.h. */
65902 #include <math.h>
65903 int
65904 main ()
65905 {
65906 _hypot(0, 0);
65907 ;
65908 return 0;
65909 }
65910 _ACEOF
65911 if ac_fn_cxx_try_compile "$LINENO"; then :
65912 glibcxx_cv_func__hypot_use=yes
65913 else
65914 glibcxx_cv_func__hypot_use=no
65915 fi
65916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65917 ac_ext=c
65918 ac_cpp='$CPP $CPPFLAGS'
65919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65922
65923
65924 fi
65925
65926 fi
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65928 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65929
65930 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65931 for ac_func in _hypot
65932 do :
65933 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65934 if test "x$ac_cv_func__hypot" = x""yes; then :
65935 cat >>confdefs.h <<_ACEOF
65936 #define HAVE__HYPOT 1
65937 _ACEOF
65938
65939 fi
65940 done
65941
65942 fi
65943 fi
65944
65945
65946
65947
65948
65949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65950 $as_echo_n "checking for float trig functions... " >&6; }
65951 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65952 $as_echo_n "(cached) " >&6
65953 else
65954
65955
65956 ac_ext=cpp
65957 ac_cpp='$CXXCPP $CPPFLAGS'
65958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65961
65962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65963 /* end confdefs.h. */
65964 #include <math.h>
65965 int
65966 main ()
65967 {
65968 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65969 ;
65970 return 0;
65971 }
65972 _ACEOF
65973 if ac_fn_cxx_try_compile "$LINENO"; then :
65974 glibcxx_cv_func_float_trig_use=yes
65975 else
65976 glibcxx_cv_func_float_trig_use=no
65977 fi
65978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65979 ac_ext=c
65980 ac_cpp='$CPP $CPPFLAGS'
65981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65984
65985 fi
65986
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65988 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65989 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65990 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65991 do :
65992 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65993 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65994 eval as_val=\$$as_ac_var
65995 if test "x$as_val" = x""yes; then :
65996 cat >>confdefs.h <<_ACEOF
65997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65998 _ACEOF
65999
66000 fi
66001 done
66002
66003 else
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66005 $as_echo_n "checking for _float trig functions... " >&6; }
66006 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66007 $as_echo_n "(cached) " >&6
66008 else
66009
66010
66011 ac_ext=cpp
66012 ac_cpp='$CXXCPP $CPPFLAGS'
66013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66016
66017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66018 /* end confdefs.h. */
66019 #include <math.h>
66020 int
66021 main ()
66022 {
66023 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66024 ;
66025 return 0;
66026 }
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029 glibcxx_cv_func__float_trig_use=yes
66030 else
66031 glibcxx_cv_func__float_trig_use=no
66032 fi
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034 ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66039
66040 fi
66041
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66043 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66044 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66045 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66046 do :
66047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66049 eval as_val=\$$as_ac_var
66050 if test "x$as_val" = x""yes; then :
66051 cat >>confdefs.h <<_ACEOF
66052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66053 _ACEOF
66054
66055 fi
66056 done
66057
66058 fi
66059 fi
66060
66061
66062
66063
66064
66065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66066 $as_echo_n "checking for float round functions... " >&6; }
66067 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66070
66071
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66077
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <math.h>
66081 int
66082 main ()
66083 {
66084 ceilf (0); floorf (0);
66085 ;
66086 return 0;
66087 }
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func_float_round_use=yes
66091 else
66092 glibcxx_cv_func_float_round_use=no
66093 fi
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66100
66101 fi
66102
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66104 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66105 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66106 for ac_func in ceilf floorf
66107 do :
66108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66110 eval as_val=\$$as_ac_var
66111 if test "x$as_val" = x""yes; then :
66112 cat >>confdefs.h <<_ACEOF
66113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66114 _ACEOF
66115
66116 fi
66117 done
66118
66119 else
66120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66121 $as_echo_n "checking for _float round functions... " >&6; }
66122 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66123 $as_echo_n "(cached) " >&6
66124 else
66125
66126
66127 ac_ext=cpp
66128 ac_cpp='$CXXCPP $CPPFLAGS'
66129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66132
66133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66134 /* end confdefs.h. */
66135 #include <math.h>
66136 int
66137 main ()
66138 {
66139 _ceilf (0); _floorf (0);
66140 ;
66141 return 0;
66142 }
66143 _ACEOF
66144 if ac_fn_cxx_try_compile "$LINENO"; then :
66145 glibcxx_cv_func__float_round_use=yes
66146 else
66147 glibcxx_cv_func__float_round_use=no
66148 fi
66149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66150 ac_ext=c
66151 ac_cpp='$CPP $CPPFLAGS'
66152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66155
66156 fi
66157
66158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66159 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66160 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66161 for ac_func in _ceilf _floorf
66162 do :
66163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66165 eval as_val=\$$as_ac_var
66166 if test "x$as_val" = x""yes; then :
66167 cat >>confdefs.h <<_ACEOF
66168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66169 _ACEOF
66170
66171 fi
66172 done
66173
66174 fi
66175 fi
66176
66177
66178
66179
66180
66181
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66183 $as_echo_n "checking for expf declaration... " >&6; }
66184 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66185 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66186 $as_echo_n "(cached) " >&6
66187 else
66188
66189
66190 ac_ext=cpp
66191 ac_cpp='$CXXCPP $CPPFLAGS'
66192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66195
66196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66197 /* end confdefs.h. */
66198 #include <math.h>
66199 #ifdef HAVE_IEEEFP_H
66200 #include <ieeefp.h>
66201 #endif
66202
66203 int
66204 main ()
66205 {
66206 expf(0);
66207 ;
66208 return 0;
66209 }
66210 _ACEOF
66211 if ac_fn_cxx_try_compile "$LINENO"; then :
66212 glibcxx_cv_func_expf_use=yes
66213 else
66214 glibcxx_cv_func_expf_use=no
66215 fi
66216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66217 ac_ext=c
66218 ac_cpp='$CPP $CPPFLAGS'
66219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66222
66223
66224 fi
66225
66226 fi
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66228 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66229
66230 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66231 for ac_func in expf
66232 do :
66233 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66234 if test "x$ac_cv_func_expf" = x""yes; then :
66235 cat >>confdefs.h <<_ACEOF
66236 #define HAVE_EXPF 1
66237 _ACEOF
66238
66239 fi
66240 done
66241
66242 else
66243
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66245 $as_echo_n "checking for _expf declaration... " >&6; }
66246 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66247 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66248 $as_echo_n "(cached) " >&6
66249 else
66250
66251
66252 ac_ext=cpp
66253 ac_cpp='$CXXCPP $CPPFLAGS'
66254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66257
66258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66259 /* end confdefs.h. */
66260 #include <math.h>
66261 #ifdef HAVE_IEEEFP_H
66262 #include <ieeefp.h>
66263 #endif
66264
66265 int
66266 main ()
66267 {
66268 _expf(0);
66269 ;
66270 return 0;
66271 }
66272 _ACEOF
66273 if ac_fn_cxx_try_compile "$LINENO"; then :
66274 glibcxx_cv_func__expf_use=yes
66275 else
66276 glibcxx_cv_func__expf_use=no
66277 fi
66278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66279 ac_ext=c
66280 ac_cpp='$CPP $CPPFLAGS'
66281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66284
66285
66286 fi
66287
66288 fi
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66290 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66291
66292 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66293 for ac_func in _expf
66294 do :
66295 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66296 if test "x$ac_cv_func__expf" = x""yes; then :
66297 cat >>confdefs.h <<_ACEOF
66298 #define HAVE__EXPF 1
66299 _ACEOF
66300
66301 fi
66302 done
66303
66304 fi
66305 fi
66306
66307
66308
66309
66310
66311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66312 $as_echo_n "checking for isnanf declaration... " >&6; }
66313 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66314 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66315 $as_echo_n "(cached) " >&6
66316 else
66317
66318
66319 ac_ext=cpp
66320 ac_cpp='$CXXCPP $CPPFLAGS'
66321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66324
66325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66326 /* end confdefs.h. */
66327 #include <math.h>
66328 #ifdef HAVE_IEEEFP_H
66329 #include <ieeefp.h>
66330 #endif
66331
66332 int
66333 main ()
66334 {
66335 isnanf(0);
66336 ;
66337 return 0;
66338 }
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func_isnanf_use=yes
66342 else
66343 glibcxx_cv_func_isnanf_use=no
66344 fi
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66351
66352
66353 fi
66354
66355 fi
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66357 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66358
66359 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66360 for ac_func in isnanf
66361 do :
66362 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66363 if test "x$ac_cv_func_isnanf" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define HAVE_ISNANF 1
66366 _ACEOF
66367
66368 fi
66369 done
66370
66371 else
66372
66373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66374 $as_echo_n "checking for _isnanf declaration... " >&6; }
66375 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66376 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66377 $as_echo_n "(cached) " >&6
66378 else
66379
66380
66381 ac_ext=cpp
66382 ac_cpp='$CXXCPP $CPPFLAGS'
66383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66386
66387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66388 /* end confdefs.h. */
66389 #include <math.h>
66390 #ifdef HAVE_IEEEFP_H
66391 #include <ieeefp.h>
66392 #endif
66393
66394 int
66395 main ()
66396 {
66397 _isnanf(0);
66398 ;
66399 return 0;
66400 }
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func__isnanf_use=yes
66404 else
66405 glibcxx_cv_func__isnanf_use=no
66406 fi
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66413
66414
66415 fi
66416
66417 fi
66418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66419 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66420
66421 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66422 for ac_func in _isnanf
66423 do :
66424 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66425 if test "x$ac_cv_func__isnanf" = x""yes; then :
66426 cat >>confdefs.h <<_ACEOF
66427 #define HAVE__ISNANF 1
66428 _ACEOF
66429
66430 fi
66431 done
66432
66433 fi
66434 fi
66435
66436
66437
66438
66439
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66441 $as_echo_n "checking for isinff declaration... " >&6; }
66442 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66443 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66444 $as_echo_n "(cached) " >&6
66445 else
66446
66447
66448 ac_ext=cpp
66449 ac_cpp='$CXXCPP $CPPFLAGS'
66450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66453
66454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66455 /* end confdefs.h. */
66456 #include <math.h>
66457 #ifdef HAVE_IEEEFP_H
66458 #include <ieeefp.h>
66459 #endif
66460
66461 int
66462 main ()
66463 {
66464 isinff(0);
66465 ;
66466 return 0;
66467 }
66468 _ACEOF
66469 if ac_fn_cxx_try_compile "$LINENO"; then :
66470 glibcxx_cv_func_isinff_use=yes
66471 else
66472 glibcxx_cv_func_isinff_use=no
66473 fi
66474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66475 ac_ext=c
66476 ac_cpp='$CPP $CPPFLAGS'
66477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66480
66481
66482 fi
66483
66484 fi
66485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66486 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66487
66488 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66489 for ac_func in isinff
66490 do :
66491 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66492 if test "x$ac_cv_func_isinff" = x""yes; then :
66493 cat >>confdefs.h <<_ACEOF
66494 #define HAVE_ISINFF 1
66495 _ACEOF
66496
66497 fi
66498 done
66499
66500 else
66501
66502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66503 $as_echo_n "checking for _isinff declaration... " >&6; }
66504 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66505 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66506 $as_echo_n "(cached) " >&6
66507 else
66508
66509
66510 ac_ext=cpp
66511 ac_cpp='$CXXCPP $CPPFLAGS'
66512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66515
66516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66517 /* end confdefs.h. */
66518 #include <math.h>
66519 #ifdef HAVE_IEEEFP_H
66520 #include <ieeefp.h>
66521 #endif
66522
66523 int
66524 main ()
66525 {
66526 _isinff(0);
66527 ;
66528 return 0;
66529 }
66530 _ACEOF
66531 if ac_fn_cxx_try_compile "$LINENO"; then :
66532 glibcxx_cv_func__isinff_use=yes
66533 else
66534 glibcxx_cv_func__isinff_use=no
66535 fi
66536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66537 ac_ext=c
66538 ac_cpp='$CPP $CPPFLAGS'
66539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66542
66543
66544 fi
66545
66546 fi
66547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66548 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66549
66550 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66551 for ac_func in _isinff
66552 do :
66553 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66554 if test "x$ac_cv_func__isinff" = x""yes; then :
66555 cat >>confdefs.h <<_ACEOF
66556 #define HAVE__ISINFF 1
66557 _ACEOF
66558
66559 fi
66560 done
66561
66562 fi
66563 fi
66564
66565
66566
66567
66568
66569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66570 $as_echo_n "checking for atan2f declaration... " >&6; }
66571 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66572 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66573 $as_echo_n "(cached) " >&6
66574 else
66575
66576
66577 ac_ext=cpp
66578 ac_cpp='$CXXCPP $CPPFLAGS'
66579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66582
66583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66584 /* end confdefs.h. */
66585 #include <math.h>
66586 int
66587 main ()
66588 {
66589 atan2f(0, 0);
66590 ;
66591 return 0;
66592 }
66593 _ACEOF
66594 if ac_fn_cxx_try_compile "$LINENO"; then :
66595 glibcxx_cv_func_atan2f_use=yes
66596 else
66597 glibcxx_cv_func_atan2f_use=no
66598 fi
66599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66600 ac_ext=c
66601 ac_cpp='$CPP $CPPFLAGS'
66602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66605
66606
66607 fi
66608
66609 fi
66610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66611 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66612
66613 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66614 for ac_func in atan2f
66615 do :
66616 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66617 if test "x$ac_cv_func_atan2f" = x""yes; then :
66618 cat >>confdefs.h <<_ACEOF
66619 #define HAVE_ATAN2F 1
66620 _ACEOF
66621
66622 fi
66623 done
66624
66625 else
66626
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66628 $as_echo_n "checking for _atan2f declaration... " >&6; }
66629 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66630 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66631 $as_echo_n "(cached) " >&6
66632 else
66633
66634
66635 ac_ext=cpp
66636 ac_cpp='$CXXCPP $CPPFLAGS'
66637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66640
66641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66642 /* end confdefs.h. */
66643 #include <math.h>
66644 int
66645 main ()
66646 {
66647 _atan2f(0, 0);
66648 ;
66649 return 0;
66650 }
66651 _ACEOF
66652 if ac_fn_cxx_try_compile "$LINENO"; then :
66653 glibcxx_cv_func__atan2f_use=yes
66654 else
66655 glibcxx_cv_func__atan2f_use=no
66656 fi
66657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66658 ac_ext=c
66659 ac_cpp='$CPP $CPPFLAGS'
66660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66663
66664
66665 fi
66666
66667 fi
66668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66669 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66670
66671 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66672 for ac_func in _atan2f
66673 do :
66674 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66675 if test "x$ac_cv_func__atan2f" = x""yes; then :
66676 cat >>confdefs.h <<_ACEOF
66677 #define HAVE__ATAN2F 1
66678 _ACEOF
66679
66680 fi
66681 done
66682
66683 fi
66684 fi
66685
66686
66687
66688
66689
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66691 $as_echo_n "checking for fabsf declaration... " >&6; }
66692 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66693 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66694 $as_echo_n "(cached) " >&6
66695 else
66696
66697
66698 ac_ext=cpp
66699 ac_cpp='$CXXCPP $CPPFLAGS'
66700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66703
66704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66705 /* end confdefs.h. */
66706 #include <math.h>
66707 #ifdef HAVE_IEEEFP_H
66708 #include <ieeefp.h>
66709 #endif
66710
66711 int
66712 main ()
66713 {
66714 fabsf(0);
66715 ;
66716 return 0;
66717 }
66718 _ACEOF
66719 if ac_fn_cxx_try_compile "$LINENO"; then :
66720 glibcxx_cv_func_fabsf_use=yes
66721 else
66722 glibcxx_cv_func_fabsf_use=no
66723 fi
66724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66725 ac_ext=c
66726 ac_cpp='$CPP $CPPFLAGS'
66727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66730
66731
66732 fi
66733
66734 fi
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66736 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66737
66738 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66739 for ac_func in fabsf
66740 do :
66741 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66742 if test "x$ac_cv_func_fabsf" = x""yes; then :
66743 cat >>confdefs.h <<_ACEOF
66744 #define HAVE_FABSF 1
66745 _ACEOF
66746
66747 fi
66748 done
66749
66750 else
66751
66752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66753 $as_echo_n "checking for _fabsf declaration... " >&6; }
66754 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66755 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66756 $as_echo_n "(cached) " >&6
66757 else
66758
66759
66760 ac_ext=cpp
66761 ac_cpp='$CXXCPP $CPPFLAGS'
66762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66765
66766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66767 /* end confdefs.h. */
66768 #include <math.h>
66769 #ifdef HAVE_IEEEFP_H
66770 #include <ieeefp.h>
66771 #endif
66772
66773 int
66774 main ()
66775 {
66776 _fabsf(0);
66777 ;
66778 return 0;
66779 }
66780 _ACEOF
66781 if ac_fn_cxx_try_compile "$LINENO"; then :
66782 glibcxx_cv_func__fabsf_use=yes
66783 else
66784 glibcxx_cv_func__fabsf_use=no
66785 fi
66786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66787 ac_ext=c
66788 ac_cpp='$CPP $CPPFLAGS'
66789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66792
66793
66794 fi
66795
66796 fi
66797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66798 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66799
66800 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66801 for ac_func in _fabsf
66802 do :
66803 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66804 if test "x$ac_cv_func__fabsf" = x""yes; then :
66805 cat >>confdefs.h <<_ACEOF
66806 #define HAVE__FABSF 1
66807 _ACEOF
66808
66809 fi
66810 done
66811
66812 fi
66813 fi
66814
66815
66816
66817
66818
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66820 $as_echo_n "checking for fmodf declaration... " >&6; }
66821 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66822 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66823 $as_echo_n "(cached) " >&6
66824 else
66825
66826
66827 ac_ext=cpp
66828 ac_cpp='$CXXCPP $CPPFLAGS'
66829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66832
66833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66834 /* end confdefs.h. */
66835 #include <math.h>
66836 int
66837 main ()
66838 {
66839 fmodf(0, 0);
66840 ;
66841 return 0;
66842 }
66843 _ACEOF
66844 if ac_fn_cxx_try_compile "$LINENO"; then :
66845 glibcxx_cv_func_fmodf_use=yes
66846 else
66847 glibcxx_cv_func_fmodf_use=no
66848 fi
66849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66850 ac_ext=c
66851 ac_cpp='$CPP $CPPFLAGS'
66852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66855
66856
66857 fi
66858
66859 fi
66860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66861 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66862
66863 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66864 for ac_func in fmodf
66865 do :
66866 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66867 if test "x$ac_cv_func_fmodf" = x""yes; then :
66868 cat >>confdefs.h <<_ACEOF
66869 #define HAVE_FMODF 1
66870 _ACEOF
66871
66872 fi
66873 done
66874
66875 else
66876
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66878 $as_echo_n "checking for _fmodf declaration... " >&6; }
66879 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66880 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66881 $as_echo_n "(cached) " >&6
66882 else
66883
66884
66885 ac_ext=cpp
66886 ac_cpp='$CXXCPP $CPPFLAGS'
66887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66890
66891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66892 /* end confdefs.h. */
66893 #include <math.h>
66894 int
66895 main ()
66896 {
66897 _fmodf(0, 0);
66898 ;
66899 return 0;
66900 }
66901 _ACEOF
66902 if ac_fn_cxx_try_compile "$LINENO"; then :
66903 glibcxx_cv_func__fmodf_use=yes
66904 else
66905 glibcxx_cv_func__fmodf_use=no
66906 fi
66907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66908 ac_ext=c
66909 ac_cpp='$CPP $CPPFLAGS'
66910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66913
66914
66915 fi
66916
66917 fi
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66919 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66920
66921 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66922 for ac_func in _fmodf
66923 do :
66924 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66925 if test "x$ac_cv_func__fmodf" = x""yes; then :
66926 cat >>confdefs.h <<_ACEOF
66927 #define HAVE__FMODF 1
66928 _ACEOF
66929
66930 fi
66931 done
66932
66933 fi
66934 fi
66935
66936
66937
66938
66939
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66941 $as_echo_n "checking for frexpf declaration... " >&6; }
66942 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66943 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66944 $as_echo_n "(cached) " >&6
66945 else
66946
66947
66948 ac_ext=cpp
66949 ac_cpp='$CXXCPP $CPPFLAGS'
66950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66953
66954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66955 /* end confdefs.h. */
66956 #include <math.h>
66957 int
66958 main ()
66959 {
66960 frexpf(0, 0);
66961 ;
66962 return 0;
66963 }
66964 _ACEOF
66965 if ac_fn_cxx_try_compile "$LINENO"; then :
66966 glibcxx_cv_func_frexpf_use=yes
66967 else
66968 glibcxx_cv_func_frexpf_use=no
66969 fi
66970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66971 ac_ext=c
66972 ac_cpp='$CPP $CPPFLAGS'
66973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66976
66977
66978 fi
66979
66980 fi
66981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66982 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66983
66984 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66985 for ac_func in frexpf
66986 do :
66987 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66988 if test "x$ac_cv_func_frexpf" = x""yes; then :
66989 cat >>confdefs.h <<_ACEOF
66990 #define HAVE_FREXPF 1
66991 _ACEOF
66992
66993 fi
66994 done
66995
66996 else
66997
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66999 $as_echo_n "checking for _frexpf declaration... " >&6; }
67000 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67001 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67002 $as_echo_n "(cached) " >&6
67003 else
67004
67005
67006 ac_ext=cpp
67007 ac_cpp='$CXXCPP $CPPFLAGS'
67008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67011
67012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67013 /* end confdefs.h. */
67014 #include <math.h>
67015 int
67016 main ()
67017 {
67018 _frexpf(0, 0);
67019 ;
67020 return 0;
67021 }
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func__frexpf_use=yes
67025 else
67026 glibcxx_cv_func__frexpf_use=no
67027 fi
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67034
67035
67036 fi
67037
67038 fi
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67040 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67041
67042 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67043 for ac_func in _frexpf
67044 do :
67045 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67046 if test "x$ac_cv_func__frexpf" = x""yes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE__FREXPF 1
67049 _ACEOF
67050
67051 fi
67052 done
67053
67054 fi
67055 fi
67056
67057
67058
67059
67060
67061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67062 $as_echo_n "checking for hypotf declaration... " >&6; }
67063 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67064 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67065 $as_echo_n "(cached) " >&6
67066 else
67067
67068
67069 ac_ext=cpp
67070 ac_cpp='$CXXCPP $CPPFLAGS'
67071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67074
67075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67076 /* end confdefs.h. */
67077 #include <math.h>
67078 int
67079 main ()
67080 {
67081 hypotf(0, 0);
67082 ;
67083 return 0;
67084 }
67085 _ACEOF
67086 if ac_fn_cxx_try_compile "$LINENO"; then :
67087 glibcxx_cv_func_hypotf_use=yes
67088 else
67089 glibcxx_cv_func_hypotf_use=no
67090 fi
67091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67092 ac_ext=c
67093 ac_cpp='$CPP $CPPFLAGS'
67094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67097
67098
67099 fi
67100
67101 fi
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67103 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67104
67105 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67106 for ac_func in hypotf
67107 do :
67108 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67109 if test "x$ac_cv_func_hypotf" = x""yes; then :
67110 cat >>confdefs.h <<_ACEOF
67111 #define HAVE_HYPOTF 1
67112 _ACEOF
67113
67114 fi
67115 done
67116
67117 else
67118
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67120 $as_echo_n "checking for _hypotf declaration... " >&6; }
67121 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67122 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67125
67126
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67136 int
67137 main ()
67138 {
67139 _hypotf(0, 0);
67140 ;
67141 return 0;
67142 }
67143 _ACEOF
67144 if ac_fn_cxx_try_compile "$LINENO"; then :
67145 glibcxx_cv_func__hypotf_use=yes
67146 else
67147 glibcxx_cv_func__hypotf_use=no
67148 fi
67149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67150 ac_ext=c
67151 ac_cpp='$CPP $CPPFLAGS'
67152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67155
67156
67157 fi
67158
67159 fi
67160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67161 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67162
67163 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67164 for ac_func in _hypotf
67165 do :
67166 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67167 if test "x$ac_cv_func__hypotf" = x""yes; then :
67168 cat >>confdefs.h <<_ACEOF
67169 #define HAVE__HYPOTF 1
67170 _ACEOF
67171
67172 fi
67173 done
67174
67175 fi
67176 fi
67177
67178
67179
67180
67181
67182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67183 $as_echo_n "checking for ldexpf declaration... " >&6; }
67184 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67185 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67186 $as_echo_n "(cached) " >&6
67187 else
67188
67189
67190 ac_ext=cpp
67191 ac_cpp='$CXXCPP $CPPFLAGS'
67192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67195
67196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67197 /* end confdefs.h. */
67198 #include <math.h>
67199 int
67200 main ()
67201 {
67202 ldexpf(0, 0);
67203 ;
67204 return 0;
67205 }
67206 _ACEOF
67207 if ac_fn_cxx_try_compile "$LINENO"; then :
67208 glibcxx_cv_func_ldexpf_use=yes
67209 else
67210 glibcxx_cv_func_ldexpf_use=no
67211 fi
67212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67213 ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67218
67219
67220 fi
67221
67222 fi
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67224 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67225
67226 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67227 for ac_func in ldexpf
67228 do :
67229 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67230 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define HAVE_LDEXPF 1
67233 _ACEOF
67234
67235 fi
67236 done
67237
67238 else
67239
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67241 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67242 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67243 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67244 $as_echo_n "(cached) " >&6
67245 else
67246
67247
67248 ac_ext=cpp
67249 ac_cpp='$CXXCPP $CPPFLAGS'
67250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67253
67254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67255 /* end confdefs.h. */
67256 #include <math.h>
67257 int
67258 main ()
67259 {
67260 _ldexpf(0, 0);
67261 ;
67262 return 0;
67263 }
67264 _ACEOF
67265 if ac_fn_cxx_try_compile "$LINENO"; then :
67266 glibcxx_cv_func__ldexpf_use=yes
67267 else
67268 glibcxx_cv_func__ldexpf_use=no
67269 fi
67270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67271 ac_ext=c
67272 ac_cpp='$CPP $CPPFLAGS'
67273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67276
67277
67278 fi
67279
67280 fi
67281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67282 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67283
67284 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67285 for ac_func in _ldexpf
67286 do :
67287 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67288 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67289 cat >>confdefs.h <<_ACEOF
67290 #define HAVE__LDEXPF 1
67291 _ACEOF
67292
67293 fi
67294 done
67295
67296 fi
67297 fi
67298
67299
67300
67301
67302
67303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67304 $as_echo_n "checking for logf declaration... " >&6; }
67305 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67306 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67307 $as_echo_n "(cached) " >&6
67308 else
67309
67310
67311 ac_ext=cpp
67312 ac_cpp='$CXXCPP $CPPFLAGS'
67313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67316
67317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67318 /* end confdefs.h. */
67319 #include <math.h>
67320 #ifdef HAVE_IEEEFP_H
67321 #include <ieeefp.h>
67322 #endif
67323
67324 int
67325 main ()
67326 {
67327 logf(0);
67328 ;
67329 return 0;
67330 }
67331 _ACEOF
67332 if ac_fn_cxx_try_compile "$LINENO"; then :
67333 glibcxx_cv_func_logf_use=yes
67334 else
67335 glibcxx_cv_func_logf_use=no
67336 fi
67337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67338 ac_ext=c
67339 ac_cpp='$CPP $CPPFLAGS'
67340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67343
67344
67345 fi
67346
67347 fi
67348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67349 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67350
67351 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67352 for ac_func in logf
67353 do :
67354 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67355 if test "x$ac_cv_func_logf" = x""yes; then :
67356 cat >>confdefs.h <<_ACEOF
67357 #define HAVE_LOGF 1
67358 _ACEOF
67359
67360 fi
67361 done
67362
67363 else
67364
67365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67366 $as_echo_n "checking for _logf declaration... " >&6; }
67367 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67368 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67369 $as_echo_n "(cached) " >&6
67370 else
67371
67372
67373 ac_ext=cpp
67374 ac_cpp='$CXXCPP $CPPFLAGS'
67375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67378
67379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67380 /* end confdefs.h. */
67381 #include <math.h>
67382 #ifdef HAVE_IEEEFP_H
67383 #include <ieeefp.h>
67384 #endif
67385
67386 int
67387 main ()
67388 {
67389 _logf(0);
67390 ;
67391 return 0;
67392 }
67393 _ACEOF
67394 if ac_fn_cxx_try_compile "$LINENO"; then :
67395 glibcxx_cv_func__logf_use=yes
67396 else
67397 glibcxx_cv_func__logf_use=no
67398 fi
67399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67400 ac_ext=c
67401 ac_cpp='$CPP $CPPFLAGS'
67402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67405
67406
67407 fi
67408
67409 fi
67410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67411 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67412
67413 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67414 for ac_func in _logf
67415 do :
67416 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67417 if test "x$ac_cv_func__logf" = x""yes; then :
67418 cat >>confdefs.h <<_ACEOF
67419 #define HAVE__LOGF 1
67420 _ACEOF
67421
67422 fi
67423 done
67424
67425 fi
67426 fi
67427
67428
67429
67430
67431
67432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67433 $as_echo_n "checking for log10f declaration... " >&6; }
67434 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67435 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67436 $as_echo_n "(cached) " >&6
67437 else
67438
67439
67440 ac_ext=cpp
67441 ac_cpp='$CXXCPP $CPPFLAGS'
67442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67445
67446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67447 /* end confdefs.h. */
67448 #include <math.h>
67449 #ifdef HAVE_IEEEFP_H
67450 #include <ieeefp.h>
67451 #endif
67452
67453 int
67454 main ()
67455 {
67456 log10f(0);
67457 ;
67458 return 0;
67459 }
67460 _ACEOF
67461 if ac_fn_cxx_try_compile "$LINENO"; then :
67462 glibcxx_cv_func_log10f_use=yes
67463 else
67464 glibcxx_cv_func_log10f_use=no
67465 fi
67466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67467 ac_ext=c
67468 ac_cpp='$CPP $CPPFLAGS'
67469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67472
67473
67474 fi
67475
67476 fi
67477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67478 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67479
67480 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67481 for ac_func in log10f
67482 do :
67483 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67484 if test "x$ac_cv_func_log10f" = x""yes; then :
67485 cat >>confdefs.h <<_ACEOF
67486 #define HAVE_LOG10F 1
67487 _ACEOF
67488
67489 fi
67490 done
67491
67492 else
67493
67494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67495 $as_echo_n "checking for _log10f declaration... " >&6; }
67496 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67497 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67498 $as_echo_n "(cached) " >&6
67499 else
67500
67501
67502 ac_ext=cpp
67503 ac_cpp='$CXXCPP $CPPFLAGS'
67504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67507
67508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67509 /* end confdefs.h. */
67510 #include <math.h>
67511 #ifdef HAVE_IEEEFP_H
67512 #include <ieeefp.h>
67513 #endif
67514
67515 int
67516 main ()
67517 {
67518 _log10f(0);
67519 ;
67520 return 0;
67521 }
67522 _ACEOF
67523 if ac_fn_cxx_try_compile "$LINENO"; then :
67524 glibcxx_cv_func__log10f_use=yes
67525 else
67526 glibcxx_cv_func__log10f_use=no
67527 fi
67528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67529 ac_ext=c
67530 ac_cpp='$CPP $CPPFLAGS'
67531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67534
67535
67536 fi
67537
67538 fi
67539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67540 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67541
67542 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67543 for ac_func in _log10f
67544 do :
67545 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67546 if test "x$ac_cv_func__log10f" = x""yes; then :
67547 cat >>confdefs.h <<_ACEOF
67548 #define HAVE__LOG10F 1
67549 _ACEOF
67550
67551 fi
67552 done
67553
67554 fi
67555 fi
67556
67557
67558
67559
67560
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67562 $as_echo_n "checking for modff declaration... " >&6; }
67563 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67564 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67565 $as_echo_n "(cached) " >&6
67566 else
67567
67568
67569 ac_ext=cpp
67570 ac_cpp='$CXXCPP $CPPFLAGS'
67571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67574
67575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67576 /* end confdefs.h. */
67577 #include <math.h>
67578 int
67579 main ()
67580 {
67581 modff(0, 0);
67582 ;
67583 return 0;
67584 }
67585 _ACEOF
67586 if ac_fn_cxx_try_compile "$LINENO"; then :
67587 glibcxx_cv_func_modff_use=yes
67588 else
67589 glibcxx_cv_func_modff_use=no
67590 fi
67591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592 ac_ext=c
67593 ac_cpp='$CPP $CPPFLAGS'
67594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597
67598
67599 fi
67600
67601 fi
67602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67603 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67604
67605 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67606 for ac_func in modff
67607 do :
67608 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67609 if test "x$ac_cv_func_modff" = x""yes; then :
67610 cat >>confdefs.h <<_ACEOF
67611 #define HAVE_MODFF 1
67612 _ACEOF
67613
67614 fi
67615 done
67616
67617 else
67618
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67620 $as_echo_n "checking for _modff declaration... " >&6; }
67621 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67622 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67623 $as_echo_n "(cached) " >&6
67624 else
67625
67626
67627 ac_ext=cpp
67628 ac_cpp='$CXXCPP $CPPFLAGS'
67629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67632
67633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67634 /* end confdefs.h. */
67635 #include <math.h>
67636 int
67637 main ()
67638 {
67639 _modff(0, 0);
67640 ;
67641 return 0;
67642 }
67643 _ACEOF
67644 if ac_fn_cxx_try_compile "$LINENO"; then :
67645 glibcxx_cv_func__modff_use=yes
67646 else
67647 glibcxx_cv_func__modff_use=no
67648 fi
67649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67650 ac_ext=c
67651 ac_cpp='$CPP $CPPFLAGS'
67652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67655
67656
67657 fi
67658
67659 fi
67660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67661 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67662
67663 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67664 for ac_func in _modff
67665 do :
67666 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67667 if test "x$ac_cv_func__modff" = x""yes; then :
67668 cat >>confdefs.h <<_ACEOF
67669 #define HAVE__MODFF 1
67670 _ACEOF
67671
67672 fi
67673 done
67674
67675 fi
67676 fi
67677
67678
67679
67680
67681
67682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67683 $as_echo_n "checking for modf declaration... " >&6; }
67684 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67685 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67686 $as_echo_n "(cached) " >&6
67687 else
67688
67689
67690 ac_ext=cpp
67691 ac_cpp='$CXXCPP $CPPFLAGS'
67692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67695
67696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67697 /* end confdefs.h. */
67698 #include <math.h>
67699 int
67700 main ()
67701 {
67702 modf(0, 0);
67703 ;
67704 return 0;
67705 }
67706 _ACEOF
67707 if ac_fn_cxx_try_compile "$LINENO"; then :
67708 glibcxx_cv_func_modf_use=yes
67709 else
67710 glibcxx_cv_func_modf_use=no
67711 fi
67712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67713 ac_ext=c
67714 ac_cpp='$CPP $CPPFLAGS'
67715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67718
67719
67720 fi
67721
67722 fi
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67724 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67725
67726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67727 for ac_func in modf
67728 do :
67729 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67730 if test "x$ac_cv_func_modf" = x""yes; then :
67731 cat >>confdefs.h <<_ACEOF
67732 #define HAVE_MODF 1
67733 _ACEOF
67734
67735 fi
67736 done
67737
67738 else
67739
67740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67741 $as_echo_n "checking for _modf declaration... " >&6; }
67742 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67743 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67744 $as_echo_n "(cached) " >&6
67745 else
67746
67747
67748 ac_ext=cpp
67749 ac_cpp='$CXXCPP $CPPFLAGS'
67750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67753
67754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67755 /* end confdefs.h. */
67756 #include <math.h>
67757 int
67758 main ()
67759 {
67760 _modf(0, 0);
67761 ;
67762 return 0;
67763 }
67764 _ACEOF
67765 if ac_fn_cxx_try_compile "$LINENO"; then :
67766 glibcxx_cv_func__modf_use=yes
67767 else
67768 glibcxx_cv_func__modf_use=no
67769 fi
67770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67771 ac_ext=c
67772 ac_cpp='$CPP $CPPFLAGS'
67773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67776
67777
67778 fi
67779
67780 fi
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67782 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67783
67784 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67785 for ac_func in _modf
67786 do :
67787 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67788 if test "x$ac_cv_func__modf" = x""yes; then :
67789 cat >>confdefs.h <<_ACEOF
67790 #define HAVE__MODF 1
67791 _ACEOF
67792
67793 fi
67794 done
67795
67796 fi
67797 fi
67798
67799
67800
67801
67802
67803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67804 $as_echo_n "checking for powf declaration... " >&6; }
67805 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67806 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67807 $as_echo_n "(cached) " >&6
67808 else
67809
67810
67811 ac_ext=cpp
67812 ac_cpp='$CXXCPP $CPPFLAGS'
67813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67816
67817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67818 /* end confdefs.h. */
67819 #include <math.h>
67820 int
67821 main ()
67822 {
67823 powf(0, 0);
67824 ;
67825 return 0;
67826 }
67827 _ACEOF
67828 if ac_fn_cxx_try_compile "$LINENO"; then :
67829 glibcxx_cv_func_powf_use=yes
67830 else
67831 glibcxx_cv_func_powf_use=no
67832 fi
67833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67834 ac_ext=c
67835 ac_cpp='$CPP $CPPFLAGS'
67836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67839
67840
67841 fi
67842
67843 fi
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67845 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67846
67847 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67848 for ac_func in powf
67849 do :
67850 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67851 if test "x$ac_cv_func_powf" = x""yes; then :
67852 cat >>confdefs.h <<_ACEOF
67853 #define HAVE_POWF 1
67854 _ACEOF
67855
67856 fi
67857 done
67858
67859 else
67860
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67862 $as_echo_n "checking for _powf declaration... " >&6; }
67863 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67864 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67867
67868
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67874
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67878 int
67879 main ()
67880 {
67881 _powf(0, 0);
67882 ;
67883 return 0;
67884 }
67885 _ACEOF
67886 if ac_fn_cxx_try_compile "$LINENO"; then :
67887 glibcxx_cv_func__powf_use=yes
67888 else
67889 glibcxx_cv_func__powf_use=no
67890 fi
67891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67892 ac_ext=c
67893 ac_cpp='$CPP $CPPFLAGS'
67894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67897
67898
67899 fi
67900
67901 fi
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67903 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67904
67905 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67906 for ac_func in _powf
67907 do :
67908 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67909 if test "x$ac_cv_func__powf" = x""yes; then :
67910 cat >>confdefs.h <<_ACEOF
67911 #define HAVE__POWF 1
67912 _ACEOF
67913
67914 fi
67915 done
67916
67917 fi
67918 fi
67919
67920
67921
67922
67923
67924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67925 $as_echo_n "checking for sqrtf declaration... " >&6; }
67926 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67927 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67928 $as_echo_n "(cached) " >&6
67929 else
67930
67931
67932 ac_ext=cpp
67933 ac_cpp='$CXXCPP $CPPFLAGS'
67934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67937
67938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67939 /* end confdefs.h. */
67940 #include <math.h>
67941 #ifdef HAVE_IEEEFP_H
67942 #include <ieeefp.h>
67943 #endif
67944
67945 int
67946 main ()
67947 {
67948 sqrtf(0);
67949 ;
67950 return 0;
67951 }
67952 _ACEOF
67953 if ac_fn_cxx_try_compile "$LINENO"; then :
67954 glibcxx_cv_func_sqrtf_use=yes
67955 else
67956 glibcxx_cv_func_sqrtf_use=no
67957 fi
67958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67959 ac_ext=c
67960 ac_cpp='$CPP $CPPFLAGS'
67961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67964
67965
67966 fi
67967
67968 fi
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67970 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67971
67972 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67973 for ac_func in sqrtf
67974 do :
67975 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67976 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67977 cat >>confdefs.h <<_ACEOF
67978 #define HAVE_SQRTF 1
67979 _ACEOF
67980
67981 fi
67982 done
67983
67984 else
67985
67986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67987 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67988 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67989 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67990 $as_echo_n "(cached) " >&6
67991 else
67992
67993
67994 ac_ext=cpp
67995 ac_cpp='$CXXCPP $CPPFLAGS'
67996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67999
68000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68001 /* end confdefs.h. */
68002 #include <math.h>
68003 #ifdef HAVE_IEEEFP_H
68004 #include <ieeefp.h>
68005 #endif
68006
68007 int
68008 main ()
68009 {
68010 _sqrtf(0);
68011 ;
68012 return 0;
68013 }
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func__sqrtf_use=yes
68017 else
68018 glibcxx_cv_func__sqrtf_use=no
68019 fi
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68026
68027
68028 fi
68029
68030 fi
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68032 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68033
68034 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68035 for ac_func in _sqrtf
68036 do :
68037 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68038 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE__SQRTF 1
68041 _ACEOF
68042
68043 fi
68044 done
68045
68046 fi
68047 fi
68048
68049
68050
68051
68052
68053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68054 $as_echo_n "checking for sincosf declaration... " >&6; }
68055 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68056 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68057 $as_echo_n "(cached) " >&6
68058 else
68059
68060
68061 ac_ext=cpp
68062 ac_cpp='$CXXCPP $CPPFLAGS'
68063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68066
68067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68068 /* end confdefs.h. */
68069 #include <math.h>
68070 int
68071 main ()
68072 {
68073 sincosf(0, 0, 0);
68074 ;
68075 return 0;
68076 }
68077 _ACEOF
68078 if ac_fn_cxx_try_compile "$LINENO"; then :
68079 glibcxx_cv_func_sincosf_use=yes
68080 else
68081 glibcxx_cv_func_sincosf_use=no
68082 fi
68083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68084 ac_ext=c
68085 ac_cpp='$CPP $CPPFLAGS'
68086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68089
68090
68091 fi
68092
68093 fi
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68095 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68096
68097 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68098 for ac_func in sincosf
68099 do :
68100 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68101 if test "x$ac_cv_func_sincosf" = x""yes; then :
68102 cat >>confdefs.h <<_ACEOF
68103 #define HAVE_SINCOSF 1
68104 _ACEOF
68105
68106 fi
68107 done
68108
68109 else
68110
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68112 $as_echo_n "checking for _sincosf declaration... " >&6; }
68113 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68114 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68117
68118
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68128 int
68129 main ()
68130 {
68131 _sincosf(0, 0, 0);
68132 ;
68133 return 0;
68134 }
68135 _ACEOF
68136 if ac_fn_cxx_try_compile "$LINENO"; then :
68137 glibcxx_cv_func__sincosf_use=yes
68138 else
68139 glibcxx_cv_func__sincosf_use=no
68140 fi
68141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68147
68148
68149 fi
68150
68151 fi
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68153 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68154
68155 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68156 for ac_func in _sincosf
68157 do :
68158 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68159 if test "x$ac_cv_func__sincosf" = x""yes; then :
68160 cat >>confdefs.h <<_ACEOF
68161 #define HAVE__SINCOSF 1
68162 _ACEOF
68163
68164 fi
68165 done
68166
68167 fi
68168 fi
68169
68170
68171
68172
68173
68174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68175 $as_echo_n "checking for finitef declaration... " >&6; }
68176 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68177 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68178 $as_echo_n "(cached) " >&6
68179 else
68180
68181
68182 ac_ext=cpp
68183 ac_cpp='$CXXCPP $CPPFLAGS'
68184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68187
68188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68189 /* end confdefs.h. */
68190 #include <math.h>
68191 #ifdef HAVE_IEEEFP_H
68192 #include <ieeefp.h>
68193 #endif
68194
68195 int
68196 main ()
68197 {
68198 finitef(0);
68199 ;
68200 return 0;
68201 }
68202 _ACEOF
68203 if ac_fn_cxx_try_compile "$LINENO"; then :
68204 glibcxx_cv_func_finitef_use=yes
68205 else
68206 glibcxx_cv_func_finitef_use=no
68207 fi
68208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68209 ac_ext=c
68210 ac_cpp='$CPP $CPPFLAGS'
68211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68214
68215
68216 fi
68217
68218 fi
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68220 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68221
68222 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68223 for ac_func in finitef
68224 do :
68225 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68226 if test "x$ac_cv_func_finitef" = x""yes; then :
68227 cat >>confdefs.h <<_ACEOF
68228 #define HAVE_FINITEF 1
68229 _ACEOF
68230
68231 fi
68232 done
68233
68234 else
68235
68236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68237 $as_echo_n "checking for _finitef declaration... " >&6; }
68238 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68239 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68240 $as_echo_n "(cached) " >&6
68241 else
68242
68243
68244 ac_ext=cpp
68245 ac_cpp='$CXXCPP $CPPFLAGS'
68246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68249
68250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68251 /* end confdefs.h. */
68252 #include <math.h>
68253 #ifdef HAVE_IEEEFP_H
68254 #include <ieeefp.h>
68255 #endif
68256
68257 int
68258 main ()
68259 {
68260 _finitef(0);
68261 ;
68262 return 0;
68263 }
68264 _ACEOF
68265 if ac_fn_cxx_try_compile "$LINENO"; then :
68266 glibcxx_cv_func__finitef_use=yes
68267 else
68268 glibcxx_cv_func__finitef_use=no
68269 fi
68270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68271 ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276
68277
68278 fi
68279
68280 fi
68281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68282 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68283
68284 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68285 for ac_func in _finitef
68286 do :
68287 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68288 if test "x$ac_cv_func__finitef" = x""yes; then :
68289 cat >>confdefs.h <<_ACEOF
68290 #define HAVE__FINITEF 1
68291 _ACEOF
68292
68293 fi
68294 done
68295
68296 fi
68297 fi
68298
68299
68300
68301
68302
68303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68304 $as_echo_n "checking for long double trig functions... " >&6; }
68305 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68306 $as_echo_n "(cached) " >&6
68307 else
68308
68309
68310 ac_ext=cpp
68311 ac_cpp='$CXXCPP $CPPFLAGS'
68312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68315
68316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68317 /* end confdefs.h. */
68318 #include <math.h>
68319 int
68320 main ()
68321 {
68322 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68323 ;
68324 return 0;
68325 }
68326 _ACEOF
68327 if ac_fn_cxx_try_compile "$LINENO"; then :
68328 glibcxx_cv_func_long_double_trig_use=yes
68329 else
68330 glibcxx_cv_func_long_double_trig_use=no
68331 fi
68332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68333 ac_ext=c
68334 ac_cpp='$CPP $CPPFLAGS'
68335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68338
68339 fi
68340
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68342 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68343 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68344 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68345 do :
68346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68348 eval as_val=\$$as_ac_var
68349 if test "x$as_val" = x""yes; then :
68350 cat >>confdefs.h <<_ACEOF
68351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68352 _ACEOF
68353
68354 fi
68355 done
68356
68357 else
68358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68359 $as_echo_n "checking for _long double trig functions... " >&6; }
68360 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68361 $as_echo_n "(cached) " >&6
68362 else
68363
68364
68365 ac_ext=cpp
68366 ac_cpp='$CXXCPP $CPPFLAGS'
68367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68370
68371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68372 /* end confdefs.h. */
68373 #include <math.h>
68374 int
68375 main ()
68376 {
68377 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68378 ;
68379 return 0;
68380 }
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383 glibcxx_cv_func__long_double_trig_use=yes
68384 else
68385 glibcxx_cv_func__long_double_trig_use=no
68386 fi
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388 ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393
68394 fi
68395
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68397 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68398 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68399 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68400 do :
68401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68403 eval as_val=\$$as_ac_var
68404 if test "x$as_val" = x""yes; then :
68405 cat >>confdefs.h <<_ACEOF
68406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68407 _ACEOF
68408
68409 fi
68410 done
68411
68412 fi
68413 fi
68414
68415
68416
68417
68418
68419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68420 $as_echo_n "checking for long double round functions... " >&6; }
68421 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68422 $as_echo_n "(cached) " >&6
68423 else
68424
68425
68426 ac_ext=cpp
68427 ac_cpp='$CXXCPP $CPPFLAGS'
68428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68431
68432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68433 /* end confdefs.h. */
68434 #include <math.h>
68435 int
68436 main ()
68437 {
68438 ceill (0); floorl (0);
68439 ;
68440 return 0;
68441 }
68442 _ACEOF
68443 if ac_fn_cxx_try_compile "$LINENO"; then :
68444 glibcxx_cv_func_long_double_round_use=yes
68445 else
68446 glibcxx_cv_func_long_double_round_use=no
68447 fi
68448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68449 ac_ext=c
68450 ac_cpp='$CPP $CPPFLAGS'
68451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454
68455 fi
68456
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68458 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68459 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68460 for ac_func in ceill floorl
68461 do :
68462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68464 eval as_val=\$$as_ac_var
68465 if test "x$as_val" = x""yes; then :
68466 cat >>confdefs.h <<_ACEOF
68467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68468 _ACEOF
68469
68470 fi
68471 done
68472
68473 else
68474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68475 $as_echo_n "checking for _long double round functions... " >&6; }
68476 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68477 $as_echo_n "(cached) " >&6
68478 else
68479
68480
68481 ac_ext=cpp
68482 ac_cpp='$CXXCPP $CPPFLAGS'
68483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68486
68487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68488 /* end confdefs.h. */
68489 #include <math.h>
68490 int
68491 main ()
68492 {
68493 _ceill (0); _floorl (0);
68494 ;
68495 return 0;
68496 }
68497 _ACEOF
68498 if ac_fn_cxx_try_compile "$LINENO"; then :
68499 glibcxx_cv_func__long_double_round_use=yes
68500 else
68501 glibcxx_cv_func__long_double_round_use=no
68502 fi
68503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68504 ac_ext=c
68505 ac_cpp='$CPP $CPPFLAGS'
68506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68509
68510 fi
68511
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68513 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68514 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68515 for ac_func in _ceill _floorl
68516 do :
68517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68519 eval as_val=\$$as_ac_var
68520 if test "x$as_val" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68523 _ACEOF
68524
68525 fi
68526 done
68527
68528 fi
68529 fi
68530
68531
68532
68533
68534
68535
68536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68537 $as_echo_n "checking for isnanl declaration... " >&6; }
68538 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68539 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68540 $as_echo_n "(cached) " >&6
68541 else
68542
68543
68544 ac_ext=cpp
68545 ac_cpp='$CXXCPP $CPPFLAGS'
68546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68549
68550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68551 /* end confdefs.h. */
68552 #include <math.h>
68553 #ifdef HAVE_IEEEFP_H
68554 #include <ieeefp.h>
68555 #endif
68556
68557 int
68558 main ()
68559 {
68560 isnanl(0);
68561 ;
68562 return 0;
68563 }
68564 _ACEOF
68565 if ac_fn_cxx_try_compile "$LINENO"; then :
68566 glibcxx_cv_func_isnanl_use=yes
68567 else
68568 glibcxx_cv_func_isnanl_use=no
68569 fi
68570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68571 ac_ext=c
68572 ac_cpp='$CPP $CPPFLAGS'
68573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68576
68577
68578 fi
68579
68580 fi
68581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68582 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68583
68584 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68585 for ac_func in isnanl
68586 do :
68587 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68588 if test "x$ac_cv_func_isnanl" = x""yes; then :
68589 cat >>confdefs.h <<_ACEOF
68590 #define HAVE_ISNANL 1
68591 _ACEOF
68592
68593 fi
68594 done
68595
68596 else
68597
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68599 $as_echo_n "checking for _isnanl declaration... " >&6; }
68600 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68601 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68604
68605
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68615 #ifdef HAVE_IEEEFP_H
68616 #include <ieeefp.h>
68617 #endif
68618
68619 int
68620 main ()
68621 {
68622 _isnanl(0);
68623 ;
68624 return 0;
68625 }
68626 _ACEOF
68627 if ac_fn_cxx_try_compile "$LINENO"; then :
68628 glibcxx_cv_func__isnanl_use=yes
68629 else
68630 glibcxx_cv_func__isnanl_use=no
68631 fi
68632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68633 ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638
68639
68640 fi
68641
68642 fi
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68644 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68645
68646 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68647 for ac_func in _isnanl
68648 do :
68649 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68650 if test "x$ac_cv_func__isnanl" = x""yes; then :
68651 cat >>confdefs.h <<_ACEOF
68652 #define HAVE__ISNANL 1
68653 _ACEOF
68654
68655 fi
68656 done
68657
68658 fi
68659 fi
68660
68661
68662
68663
68664
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68666 $as_echo_n "checking for isinfl declaration... " >&6; }
68667 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68668 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68671
68672
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68678
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 #ifdef HAVE_IEEEFP_H
68683 #include <ieeefp.h>
68684 #endif
68685
68686 int
68687 main ()
68688 {
68689 isinfl(0);
68690 ;
68691 return 0;
68692 }
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func_isinfl_use=yes
68696 else
68697 glibcxx_cv_func_isinfl_use=no
68698 fi
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68705
68706
68707 fi
68708
68709 fi
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68711 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68712
68713 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68714 for ac_func in isinfl
68715 do :
68716 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68717 if test "x$ac_cv_func_isinfl" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define HAVE_ISINFL 1
68720 _ACEOF
68721
68722 fi
68723 done
68724
68725 else
68726
68727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68728 $as_echo_n "checking for _isinfl declaration... " >&6; }
68729 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68730 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68731 $as_echo_n "(cached) " >&6
68732 else
68733
68734
68735 ac_ext=cpp
68736 ac_cpp='$CXXCPP $CPPFLAGS'
68737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68740
68741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68742 /* end confdefs.h. */
68743 #include <math.h>
68744 #ifdef HAVE_IEEEFP_H
68745 #include <ieeefp.h>
68746 #endif
68747
68748 int
68749 main ()
68750 {
68751 _isinfl(0);
68752 ;
68753 return 0;
68754 }
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func__isinfl_use=yes
68758 else
68759 glibcxx_cv_func__isinfl_use=no
68760 fi
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767
68768
68769 fi
68770
68771 fi
68772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68773 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68774
68775 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68776 for ac_func in _isinfl
68777 do :
68778 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68779 if test "x$ac_cv_func__isinfl" = x""yes; then :
68780 cat >>confdefs.h <<_ACEOF
68781 #define HAVE__ISINFL 1
68782 _ACEOF
68783
68784 fi
68785 done
68786
68787 fi
68788 fi
68789
68790
68791
68792
68793
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68795 $as_echo_n "checking for atan2l declaration... " >&6; }
68796 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68797 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68798 $as_echo_n "(cached) " >&6
68799 else
68800
68801
68802 ac_ext=cpp
68803 ac_cpp='$CXXCPP $CPPFLAGS'
68804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68807
68808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68809 /* end confdefs.h. */
68810 #include <math.h>
68811 int
68812 main ()
68813 {
68814 atan2l(0, 0);
68815 ;
68816 return 0;
68817 }
68818 _ACEOF
68819 if ac_fn_cxx_try_compile "$LINENO"; then :
68820 glibcxx_cv_func_atan2l_use=yes
68821 else
68822 glibcxx_cv_func_atan2l_use=no
68823 fi
68824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68825 ac_ext=c
68826 ac_cpp='$CPP $CPPFLAGS'
68827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68830
68831
68832 fi
68833
68834 fi
68835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68836 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68837
68838 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68839 for ac_func in atan2l
68840 do :
68841 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68842 if test "x$ac_cv_func_atan2l" = x""yes; then :
68843 cat >>confdefs.h <<_ACEOF
68844 #define HAVE_ATAN2L 1
68845 _ACEOF
68846
68847 fi
68848 done
68849
68850 else
68851
68852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68853 $as_echo_n "checking for _atan2l declaration... " >&6; }
68854 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68855 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68856 $as_echo_n "(cached) " >&6
68857 else
68858
68859
68860 ac_ext=cpp
68861 ac_cpp='$CXXCPP $CPPFLAGS'
68862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68865
68866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68867 /* end confdefs.h. */
68868 #include <math.h>
68869 int
68870 main ()
68871 {
68872 _atan2l(0, 0);
68873 ;
68874 return 0;
68875 }
68876 _ACEOF
68877 if ac_fn_cxx_try_compile "$LINENO"; then :
68878 glibcxx_cv_func__atan2l_use=yes
68879 else
68880 glibcxx_cv_func__atan2l_use=no
68881 fi
68882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68883 ac_ext=c
68884 ac_cpp='$CPP $CPPFLAGS'
68885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68888
68889
68890 fi
68891
68892 fi
68893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68894 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68895
68896 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68897 for ac_func in _atan2l
68898 do :
68899 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68900 if test "x$ac_cv_func__atan2l" = x""yes; then :
68901 cat >>confdefs.h <<_ACEOF
68902 #define HAVE__ATAN2L 1
68903 _ACEOF
68904
68905 fi
68906 done
68907
68908 fi
68909 fi
68910
68911
68912
68913
68914
68915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68916 $as_echo_n "checking for expl declaration... " >&6; }
68917 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68918 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68919 $as_echo_n "(cached) " >&6
68920 else
68921
68922
68923 ac_ext=cpp
68924 ac_cpp='$CXXCPP $CPPFLAGS'
68925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68928
68929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68930 /* end confdefs.h. */
68931 #include <math.h>
68932 #ifdef HAVE_IEEEFP_H
68933 #include <ieeefp.h>
68934 #endif
68935
68936 int
68937 main ()
68938 {
68939 expl(0);
68940 ;
68941 return 0;
68942 }
68943 _ACEOF
68944 if ac_fn_cxx_try_compile "$LINENO"; then :
68945 glibcxx_cv_func_expl_use=yes
68946 else
68947 glibcxx_cv_func_expl_use=no
68948 fi
68949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68950 ac_ext=c
68951 ac_cpp='$CPP $CPPFLAGS'
68952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68955
68956
68957 fi
68958
68959 fi
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68961 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68962
68963 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68964 for ac_func in expl
68965 do :
68966 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68967 if test "x$ac_cv_func_expl" = x""yes; then :
68968 cat >>confdefs.h <<_ACEOF
68969 #define HAVE_EXPL 1
68970 _ACEOF
68971
68972 fi
68973 done
68974
68975 else
68976
68977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68978 $as_echo_n "checking for _expl declaration... " >&6; }
68979 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68980 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68981 $as_echo_n "(cached) " >&6
68982 else
68983
68984
68985 ac_ext=cpp
68986 ac_cpp='$CXXCPP $CPPFLAGS'
68987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68990
68991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68992 /* end confdefs.h. */
68993 #include <math.h>
68994 #ifdef HAVE_IEEEFP_H
68995 #include <ieeefp.h>
68996 #endif
68997
68998 int
68999 main ()
69000 {
69001 _expl(0);
69002 ;
69003 return 0;
69004 }
69005 _ACEOF
69006 if ac_fn_cxx_try_compile "$LINENO"; then :
69007 glibcxx_cv_func__expl_use=yes
69008 else
69009 glibcxx_cv_func__expl_use=no
69010 fi
69011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69012 ac_ext=c
69013 ac_cpp='$CPP $CPPFLAGS'
69014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69017
69018
69019 fi
69020
69021 fi
69022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69023 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69024
69025 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69026 for ac_func in _expl
69027 do :
69028 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69029 if test "x$ac_cv_func__expl" = x""yes; then :
69030 cat >>confdefs.h <<_ACEOF
69031 #define HAVE__EXPL 1
69032 _ACEOF
69033
69034 fi
69035 done
69036
69037 fi
69038 fi
69039
69040
69041
69042
69043
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69045 $as_echo_n "checking for fabsl declaration... " >&6; }
69046 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69047 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69048 $as_echo_n "(cached) " >&6
69049 else
69050
69051
69052 ac_ext=cpp
69053 ac_cpp='$CXXCPP $CPPFLAGS'
69054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69057
69058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69059 /* end confdefs.h. */
69060 #include <math.h>
69061 #ifdef HAVE_IEEEFP_H
69062 #include <ieeefp.h>
69063 #endif
69064
69065 int
69066 main ()
69067 {
69068 fabsl(0);
69069 ;
69070 return 0;
69071 }
69072 _ACEOF
69073 if ac_fn_cxx_try_compile "$LINENO"; then :
69074 glibcxx_cv_func_fabsl_use=yes
69075 else
69076 glibcxx_cv_func_fabsl_use=no
69077 fi
69078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69079 ac_ext=c
69080 ac_cpp='$CPP $CPPFLAGS'
69081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69084
69085
69086 fi
69087
69088 fi
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69090 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69091
69092 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69093 for ac_func in fabsl
69094 do :
69095 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69096 if test "x$ac_cv_func_fabsl" = x""yes; then :
69097 cat >>confdefs.h <<_ACEOF
69098 #define HAVE_FABSL 1
69099 _ACEOF
69100
69101 fi
69102 done
69103
69104 else
69105
69106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69107 $as_echo_n "checking for _fabsl declaration... " >&6; }
69108 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69109 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69110 $as_echo_n "(cached) " >&6
69111 else
69112
69113
69114 ac_ext=cpp
69115 ac_cpp='$CXXCPP $CPPFLAGS'
69116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69119
69120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69121 /* end confdefs.h. */
69122 #include <math.h>
69123 #ifdef HAVE_IEEEFP_H
69124 #include <ieeefp.h>
69125 #endif
69126
69127 int
69128 main ()
69129 {
69130 _fabsl(0);
69131 ;
69132 return 0;
69133 }
69134 _ACEOF
69135 if ac_fn_cxx_try_compile "$LINENO"; then :
69136 glibcxx_cv_func__fabsl_use=yes
69137 else
69138 glibcxx_cv_func__fabsl_use=no
69139 fi
69140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69141 ac_ext=c
69142 ac_cpp='$CPP $CPPFLAGS'
69143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69146
69147
69148 fi
69149
69150 fi
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69152 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69153
69154 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69155 for ac_func in _fabsl
69156 do :
69157 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69158 if test "x$ac_cv_func__fabsl" = x""yes; then :
69159 cat >>confdefs.h <<_ACEOF
69160 #define HAVE__FABSL 1
69161 _ACEOF
69162
69163 fi
69164 done
69165
69166 fi
69167 fi
69168
69169
69170
69171
69172
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69174 $as_echo_n "checking for fmodl declaration... " >&6; }
69175 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69176 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69177 $as_echo_n "(cached) " >&6
69178 else
69179
69180
69181 ac_ext=cpp
69182 ac_cpp='$CXXCPP $CPPFLAGS'
69183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186
69187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69188 /* end confdefs.h. */
69189 #include <math.h>
69190 int
69191 main ()
69192 {
69193 fmodl(0, 0);
69194 ;
69195 return 0;
69196 }
69197 _ACEOF
69198 if ac_fn_cxx_try_compile "$LINENO"; then :
69199 glibcxx_cv_func_fmodl_use=yes
69200 else
69201 glibcxx_cv_func_fmodl_use=no
69202 fi
69203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69209
69210
69211 fi
69212
69213 fi
69214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69215 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69216
69217 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69218 for ac_func in fmodl
69219 do :
69220 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69221 if test "x$ac_cv_func_fmodl" = x""yes; then :
69222 cat >>confdefs.h <<_ACEOF
69223 #define HAVE_FMODL 1
69224 _ACEOF
69225
69226 fi
69227 done
69228
69229 else
69230
69231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69232 $as_echo_n "checking for _fmodl declaration... " >&6; }
69233 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69234 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69235 $as_echo_n "(cached) " >&6
69236 else
69237
69238
69239 ac_ext=cpp
69240 ac_cpp='$CXXCPP $CPPFLAGS'
69241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69244
69245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69246 /* end confdefs.h. */
69247 #include <math.h>
69248 int
69249 main ()
69250 {
69251 _fmodl(0, 0);
69252 ;
69253 return 0;
69254 }
69255 _ACEOF
69256 if ac_fn_cxx_try_compile "$LINENO"; then :
69257 glibcxx_cv_func__fmodl_use=yes
69258 else
69259 glibcxx_cv_func__fmodl_use=no
69260 fi
69261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69262 ac_ext=c
69263 ac_cpp='$CPP $CPPFLAGS'
69264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69267
69268
69269 fi
69270
69271 fi
69272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69273 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69274
69275 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69276 for ac_func in _fmodl
69277 do :
69278 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69279 if test "x$ac_cv_func__fmodl" = x""yes; then :
69280 cat >>confdefs.h <<_ACEOF
69281 #define HAVE__FMODL 1
69282 _ACEOF
69283
69284 fi
69285 done
69286
69287 fi
69288 fi
69289
69290
69291
69292
69293
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69295 $as_echo_n "checking for frexpl declaration... " >&6; }
69296 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69297 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69298 $as_echo_n "(cached) " >&6
69299 else
69300
69301
69302 ac_ext=cpp
69303 ac_cpp='$CXXCPP $CPPFLAGS'
69304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307
69308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69309 /* end confdefs.h. */
69310 #include <math.h>
69311 int
69312 main ()
69313 {
69314 frexpl(0, 0);
69315 ;
69316 return 0;
69317 }
69318 _ACEOF
69319 if ac_fn_cxx_try_compile "$LINENO"; then :
69320 glibcxx_cv_func_frexpl_use=yes
69321 else
69322 glibcxx_cv_func_frexpl_use=no
69323 fi
69324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69325 ac_ext=c
69326 ac_cpp='$CPP $CPPFLAGS'
69327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69330
69331
69332 fi
69333
69334 fi
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69336 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69337
69338 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69339 for ac_func in frexpl
69340 do :
69341 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69342 if test "x$ac_cv_func_frexpl" = x""yes; then :
69343 cat >>confdefs.h <<_ACEOF
69344 #define HAVE_FREXPL 1
69345 _ACEOF
69346
69347 fi
69348 done
69349
69350 else
69351
69352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69353 $as_echo_n "checking for _frexpl declaration... " >&6; }
69354 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69355 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69356 $as_echo_n "(cached) " >&6
69357 else
69358
69359
69360 ac_ext=cpp
69361 ac_cpp='$CXXCPP $CPPFLAGS'
69362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69365
69366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69367 /* end confdefs.h. */
69368 #include <math.h>
69369 int
69370 main ()
69371 {
69372 _frexpl(0, 0);
69373 ;
69374 return 0;
69375 }
69376 _ACEOF
69377 if ac_fn_cxx_try_compile "$LINENO"; then :
69378 glibcxx_cv_func__frexpl_use=yes
69379 else
69380 glibcxx_cv_func__frexpl_use=no
69381 fi
69382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69383 ac_ext=c
69384 ac_cpp='$CPP $CPPFLAGS'
69385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69388
69389
69390 fi
69391
69392 fi
69393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69394 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69395
69396 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69397 for ac_func in _frexpl
69398 do :
69399 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69400 if test "x$ac_cv_func__frexpl" = x""yes; then :
69401 cat >>confdefs.h <<_ACEOF
69402 #define HAVE__FREXPL 1
69403 _ACEOF
69404
69405 fi
69406 done
69407
69408 fi
69409 fi
69410
69411
69412
69413
69414
69415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69416 $as_echo_n "checking for hypotl declaration... " >&6; }
69417 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69418 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69419 $as_echo_n "(cached) " >&6
69420 else
69421
69422
69423 ac_ext=cpp
69424 ac_cpp='$CXXCPP $CPPFLAGS'
69425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428
69429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 int
69433 main ()
69434 {
69435 hypotl(0, 0);
69436 ;
69437 return 0;
69438 }
69439 _ACEOF
69440 if ac_fn_cxx_try_compile "$LINENO"; then :
69441 glibcxx_cv_func_hypotl_use=yes
69442 else
69443 glibcxx_cv_func_hypotl_use=no
69444 fi
69445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69446 ac_ext=c
69447 ac_cpp='$CPP $CPPFLAGS'
69448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69451
69452
69453 fi
69454
69455 fi
69456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69457 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69458
69459 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69460 for ac_func in hypotl
69461 do :
69462 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69463 if test "x$ac_cv_func_hypotl" = x""yes; then :
69464 cat >>confdefs.h <<_ACEOF
69465 #define HAVE_HYPOTL 1
69466 _ACEOF
69467
69468 fi
69469 done
69470
69471 else
69472
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69474 $as_echo_n "checking for _hypotl declaration... " >&6; }
69475 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69476 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69477 $as_echo_n "(cached) " >&6
69478 else
69479
69480
69481 ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69486
69487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h. */
69489 #include <math.h>
69490 int
69491 main ()
69492 {
69493 _hypotl(0, 0);
69494 ;
69495 return 0;
69496 }
69497 _ACEOF
69498 if ac_fn_cxx_try_compile "$LINENO"; then :
69499 glibcxx_cv_func__hypotl_use=yes
69500 else
69501 glibcxx_cv_func__hypotl_use=no
69502 fi
69503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69504 ac_ext=c
69505 ac_cpp='$CPP $CPPFLAGS'
69506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69509
69510
69511 fi
69512
69513 fi
69514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69515 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69516
69517 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69518 for ac_func in _hypotl
69519 do :
69520 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69521 if test "x$ac_cv_func__hypotl" = x""yes; then :
69522 cat >>confdefs.h <<_ACEOF
69523 #define HAVE__HYPOTL 1
69524 _ACEOF
69525
69526 fi
69527 done
69528
69529 fi
69530 fi
69531
69532
69533
69534
69535
69536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69537 $as_echo_n "checking for ldexpl declaration... " >&6; }
69538 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69539 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69540 $as_echo_n "(cached) " >&6
69541 else
69542
69543
69544 ac_ext=cpp
69545 ac_cpp='$CXXCPP $CPPFLAGS'
69546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69549
69550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69551 /* end confdefs.h. */
69552 #include <math.h>
69553 int
69554 main ()
69555 {
69556 ldexpl(0, 0);
69557 ;
69558 return 0;
69559 }
69560 _ACEOF
69561 if ac_fn_cxx_try_compile "$LINENO"; then :
69562 glibcxx_cv_func_ldexpl_use=yes
69563 else
69564 glibcxx_cv_func_ldexpl_use=no
69565 fi
69566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69567 ac_ext=c
69568 ac_cpp='$CPP $CPPFLAGS'
69569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69572
69573
69574 fi
69575
69576 fi
69577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69578 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69579
69580 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69581 for ac_func in ldexpl
69582 do :
69583 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69584 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69585 cat >>confdefs.h <<_ACEOF
69586 #define HAVE_LDEXPL 1
69587 _ACEOF
69588
69589 fi
69590 done
69591
69592 else
69593
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69595 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69596 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69597 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69598 $as_echo_n "(cached) " >&6
69599 else
69600
69601
69602 ac_ext=cpp
69603 ac_cpp='$CXXCPP $CPPFLAGS'
69604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69607
69608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69609 /* end confdefs.h. */
69610 #include <math.h>
69611 int
69612 main ()
69613 {
69614 _ldexpl(0, 0);
69615 ;
69616 return 0;
69617 }
69618 _ACEOF
69619 if ac_fn_cxx_try_compile "$LINENO"; then :
69620 glibcxx_cv_func__ldexpl_use=yes
69621 else
69622 glibcxx_cv_func__ldexpl_use=no
69623 fi
69624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69625 ac_ext=c
69626 ac_cpp='$CPP $CPPFLAGS'
69627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69630
69631
69632 fi
69633
69634 fi
69635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69636 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69637
69638 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69639 for ac_func in _ldexpl
69640 do :
69641 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69642 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69643 cat >>confdefs.h <<_ACEOF
69644 #define HAVE__LDEXPL 1
69645 _ACEOF
69646
69647 fi
69648 done
69649
69650 fi
69651 fi
69652
69653
69654
69655
69656
69657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69658 $as_echo_n "checking for logl declaration... " >&6; }
69659 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69660 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69661 $as_echo_n "(cached) " >&6
69662 else
69663
69664
69665 ac_ext=cpp
69666 ac_cpp='$CXXCPP $CPPFLAGS'
69667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69670
69671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69672 /* end confdefs.h. */
69673 #include <math.h>
69674 #ifdef HAVE_IEEEFP_H
69675 #include <ieeefp.h>
69676 #endif
69677
69678 int
69679 main ()
69680 {
69681 logl(0);
69682 ;
69683 return 0;
69684 }
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func_logl_use=yes
69688 else
69689 glibcxx_cv_func_logl_use=no
69690 fi
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69697
69698
69699 fi
69700
69701 fi
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69703 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69704
69705 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69706 for ac_func in logl
69707 do :
69708 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69709 if test "x$ac_cv_func_logl" = x""yes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE_LOGL 1
69712 _ACEOF
69713
69714 fi
69715 done
69716
69717 else
69718
69719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69720 $as_echo_n "checking for _logl declaration... " >&6; }
69721 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69722 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69723 $as_echo_n "(cached) " >&6
69724 else
69725
69726
69727 ac_ext=cpp
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69732
69733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69734 /* end confdefs.h. */
69735 #include <math.h>
69736 #ifdef HAVE_IEEEFP_H
69737 #include <ieeefp.h>
69738 #endif
69739
69740 int
69741 main ()
69742 {
69743 _logl(0);
69744 ;
69745 return 0;
69746 }
69747 _ACEOF
69748 if ac_fn_cxx_try_compile "$LINENO"; then :
69749 glibcxx_cv_func__logl_use=yes
69750 else
69751 glibcxx_cv_func__logl_use=no
69752 fi
69753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69754 ac_ext=c
69755 ac_cpp='$CPP $CPPFLAGS'
69756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69759
69760
69761 fi
69762
69763 fi
69764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69765 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69766
69767 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69768 for ac_func in _logl
69769 do :
69770 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69771 if test "x$ac_cv_func__logl" = x""yes; then :
69772 cat >>confdefs.h <<_ACEOF
69773 #define HAVE__LOGL 1
69774 _ACEOF
69775
69776 fi
69777 done
69778
69779 fi
69780 fi
69781
69782
69783
69784
69785
69786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69787 $as_echo_n "checking for log10l declaration... " >&6; }
69788 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69789 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69790 $as_echo_n "(cached) " >&6
69791 else
69792
69793
69794 ac_ext=cpp
69795 ac_cpp='$CXXCPP $CPPFLAGS'
69796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69799
69800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69801 /* end confdefs.h. */
69802 #include <math.h>
69803 #ifdef HAVE_IEEEFP_H
69804 #include <ieeefp.h>
69805 #endif
69806
69807 int
69808 main ()
69809 {
69810 log10l(0);
69811 ;
69812 return 0;
69813 }
69814 _ACEOF
69815 if ac_fn_cxx_try_compile "$LINENO"; then :
69816 glibcxx_cv_func_log10l_use=yes
69817 else
69818 glibcxx_cv_func_log10l_use=no
69819 fi
69820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69821 ac_ext=c
69822 ac_cpp='$CPP $CPPFLAGS'
69823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69826
69827
69828 fi
69829
69830 fi
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69832 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69833
69834 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69835 for ac_func in log10l
69836 do :
69837 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69838 if test "x$ac_cv_func_log10l" = x""yes; then :
69839 cat >>confdefs.h <<_ACEOF
69840 #define HAVE_LOG10L 1
69841 _ACEOF
69842
69843 fi
69844 done
69845
69846 else
69847
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69849 $as_echo_n "checking for _log10l declaration... " >&6; }
69850 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69851 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69852 $as_echo_n "(cached) " >&6
69853 else
69854
69855
69856 ac_ext=cpp
69857 ac_cpp='$CXXCPP $CPPFLAGS'
69858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69861
69862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69863 /* end confdefs.h. */
69864 #include <math.h>
69865 #ifdef HAVE_IEEEFP_H
69866 #include <ieeefp.h>
69867 #endif
69868
69869 int
69870 main ()
69871 {
69872 _log10l(0);
69873 ;
69874 return 0;
69875 }
69876 _ACEOF
69877 if ac_fn_cxx_try_compile "$LINENO"; then :
69878 glibcxx_cv_func__log10l_use=yes
69879 else
69880 glibcxx_cv_func__log10l_use=no
69881 fi
69882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69883 ac_ext=c
69884 ac_cpp='$CPP $CPPFLAGS'
69885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69888
69889
69890 fi
69891
69892 fi
69893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69894 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69895
69896 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69897 for ac_func in _log10l
69898 do :
69899 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69900 if test "x$ac_cv_func__log10l" = x""yes; then :
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE__LOG10L 1
69903 _ACEOF
69904
69905 fi
69906 done
69907
69908 fi
69909 fi
69910
69911
69912
69913
69914
69915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69916 $as_echo_n "checking for modfl declaration... " >&6; }
69917 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69918 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69919 $as_echo_n "(cached) " >&6
69920 else
69921
69922
69923 ac_ext=cpp
69924 ac_cpp='$CXXCPP $CPPFLAGS'
69925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69928
69929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69930 /* end confdefs.h. */
69931 #include <math.h>
69932 int
69933 main ()
69934 {
69935 modfl(0, 0);
69936 ;
69937 return 0;
69938 }
69939 _ACEOF
69940 if ac_fn_cxx_try_compile "$LINENO"; then :
69941 glibcxx_cv_func_modfl_use=yes
69942 else
69943 glibcxx_cv_func_modfl_use=no
69944 fi
69945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69946 ac_ext=c
69947 ac_cpp='$CPP $CPPFLAGS'
69948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69951
69952
69953 fi
69954
69955 fi
69956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69957 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69958
69959 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69960 for ac_func in modfl
69961 do :
69962 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69963 if test "x$ac_cv_func_modfl" = x""yes; then :
69964 cat >>confdefs.h <<_ACEOF
69965 #define HAVE_MODFL 1
69966 _ACEOF
69967
69968 fi
69969 done
69970
69971 else
69972
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69974 $as_echo_n "checking for _modfl declaration... " >&6; }
69975 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69976 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69977 $as_echo_n "(cached) " >&6
69978 else
69979
69980
69981 ac_ext=cpp
69982 ac_cpp='$CXXCPP $CPPFLAGS'
69983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69986
69987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69988 /* end confdefs.h. */
69989 #include <math.h>
69990 int
69991 main ()
69992 {
69993 _modfl(0, 0);
69994 ;
69995 return 0;
69996 }
69997 _ACEOF
69998 if ac_fn_cxx_try_compile "$LINENO"; then :
69999 glibcxx_cv_func__modfl_use=yes
70000 else
70001 glibcxx_cv_func__modfl_use=no
70002 fi
70003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70004 ac_ext=c
70005 ac_cpp='$CPP $CPPFLAGS'
70006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70009
70010
70011 fi
70012
70013 fi
70014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70015 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70016
70017 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70018 for ac_func in _modfl
70019 do :
70020 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70021 if test "x$ac_cv_func__modfl" = x""yes; then :
70022 cat >>confdefs.h <<_ACEOF
70023 #define HAVE__MODFL 1
70024 _ACEOF
70025
70026 fi
70027 done
70028
70029 fi
70030 fi
70031
70032
70033
70034
70035
70036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70037 $as_echo_n "checking for powl declaration... " >&6; }
70038 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70039 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70040 $as_echo_n "(cached) " >&6
70041 else
70042
70043
70044 ac_ext=cpp
70045 ac_cpp='$CXXCPP $CPPFLAGS'
70046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70049
70050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70051 /* end confdefs.h. */
70052 #include <math.h>
70053 int
70054 main ()
70055 {
70056 powl(0, 0);
70057 ;
70058 return 0;
70059 }
70060 _ACEOF
70061 if ac_fn_cxx_try_compile "$LINENO"; then :
70062 glibcxx_cv_func_powl_use=yes
70063 else
70064 glibcxx_cv_func_powl_use=no
70065 fi
70066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70067 ac_ext=c
70068 ac_cpp='$CPP $CPPFLAGS'
70069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70072
70073
70074 fi
70075
70076 fi
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70078 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70079
70080 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70081 for ac_func in powl
70082 do :
70083 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70084 if test "x$ac_cv_func_powl" = x""yes; then :
70085 cat >>confdefs.h <<_ACEOF
70086 #define HAVE_POWL 1
70087 _ACEOF
70088
70089 fi
70090 done
70091
70092 else
70093
70094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70095 $as_echo_n "checking for _powl declaration... " >&6; }
70096 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70097 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70098 $as_echo_n "(cached) " >&6
70099 else
70100
70101
70102 ac_ext=cpp
70103 ac_cpp='$CXXCPP $CPPFLAGS'
70104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70107
70108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70109 /* end confdefs.h. */
70110 #include <math.h>
70111 int
70112 main ()
70113 {
70114 _powl(0, 0);
70115 ;
70116 return 0;
70117 }
70118 _ACEOF
70119 if ac_fn_cxx_try_compile "$LINENO"; then :
70120 glibcxx_cv_func__powl_use=yes
70121 else
70122 glibcxx_cv_func__powl_use=no
70123 fi
70124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70125 ac_ext=c
70126 ac_cpp='$CPP $CPPFLAGS'
70127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70130
70131
70132 fi
70133
70134 fi
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70136 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70137
70138 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70139 for ac_func in _powl
70140 do :
70141 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70142 if test "x$ac_cv_func__powl" = x""yes; then :
70143 cat >>confdefs.h <<_ACEOF
70144 #define HAVE__POWL 1
70145 _ACEOF
70146
70147 fi
70148 done
70149
70150 fi
70151 fi
70152
70153
70154
70155
70156
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70158 $as_echo_n "checking for sqrtl declaration... " >&6; }
70159 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70160 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70161 $as_echo_n "(cached) " >&6
70162 else
70163
70164
70165 ac_ext=cpp
70166 ac_cpp='$CXXCPP $CPPFLAGS'
70167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70170
70171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172 /* end confdefs.h. */
70173 #include <math.h>
70174 #ifdef HAVE_IEEEFP_H
70175 #include <ieeefp.h>
70176 #endif
70177
70178 int
70179 main ()
70180 {
70181 sqrtl(0);
70182 ;
70183 return 0;
70184 }
70185 _ACEOF
70186 if ac_fn_cxx_try_compile "$LINENO"; then :
70187 glibcxx_cv_func_sqrtl_use=yes
70188 else
70189 glibcxx_cv_func_sqrtl_use=no
70190 fi
70191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70192 ac_ext=c
70193 ac_cpp='$CPP $CPPFLAGS'
70194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70197
70198
70199 fi
70200
70201 fi
70202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70203 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70204
70205 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70206 for ac_func in sqrtl
70207 do :
70208 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70209 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70210 cat >>confdefs.h <<_ACEOF
70211 #define HAVE_SQRTL 1
70212 _ACEOF
70213
70214 fi
70215 done
70216
70217 else
70218
70219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70220 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70221 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70222 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70223 $as_echo_n "(cached) " >&6
70224 else
70225
70226
70227 ac_ext=cpp
70228 ac_cpp='$CXXCPP $CPPFLAGS'
70229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70232
70233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70234 /* end confdefs.h. */
70235 #include <math.h>
70236 #ifdef HAVE_IEEEFP_H
70237 #include <ieeefp.h>
70238 #endif
70239
70240 int
70241 main ()
70242 {
70243 _sqrtl(0);
70244 ;
70245 return 0;
70246 }
70247 _ACEOF
70248 if ac_fn_cxx_try_compile "$LINENO"; then :
70249 glibcxx_cv_func__sqrtl_use=yes
70250 else
70251 glibcxx_cv_func__sqrtl_use=no
70252 fi
70253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70254 ac_ext=c
70255 ac_cpp='$CPP $CPPFLAGS'
70256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70259
70260
70261 fi
70262
70263 fi
70264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70265 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70266
70267 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70268 for ac_func in _sqrtl
70269 do :
70270 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70271 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70272 cat >>confdefs.h <<_ACEOF
70273 #define HAVE__SQRTL 1
70274 _ACEOF
70275
70276 fi
70277 done
70278
70279 fi
70280 fi
70281
70282
70283
70284
70285
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70287 $as_echo_n "checking for sincosl declaration... " >&6; }
70288 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70289 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70290 $as_echo_n "(cached) " >&6
70291 else
70292
70293
70294 ac_ext=cpp
70295 ac_cpp='$CXXCPP $CPPFLAGS'
70296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70299
70300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70301 /* end confdefs.h. */
70302 #include <math.h>
70303 int
70304 main ()
70305 {
70306 sincosl(0, 0, 0);
70307 ;
70308 return 0;
70309 }
70310 _ACEOF
70311 if ac_fn_cxx_try_compile "$LINENO"; then :
70312 glibcxx_cv_func_sincosl_use=yes
70313 else
70314 glibcxx_cv_func_sincosl_use=no
70315 fi
70316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70317 ac_ext=c
70318 ac_cpp='$CPP $CPPFLAGS'
70319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70322
70323
70324 fi
70325
70326 fi
70327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70328 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70329
70330 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70331 for ac_func in sincosl
70332 do :
70333 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70334 if test "x$ac_cv_func_sincosl" = x""yes; then :
70335 cat >>confdefs.h <<_ACEOF
70336 #define HAVE_SINCOSL 1
70337 _ACEOF
70338
70339 fi
70340 done
70341
70342 else
70343
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70345 $as_echo_n "checking for _sincosl declaration... " >&6; }
70346 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70347 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70350
70351
70352 ac_ext=cpp
70353 ac_cpp='$CXXCPP $CPPFLAGS'
70354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70357
70358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70359 /* end confdefs.h. */
70360 #include <math.h>
70361 int
70362 main ()
70363 {
70364 _sincosl(0, 0, 0);
70365 ;
70366 return 0;
70367 }
70368 _ACEOF
70369 if ac_fn_cxx_try_compile "$LINENO"; then :
70370 glibcxx_cv_func__sincosl_use=yes
70371 else
70372 glibcxx_cv_func__sincosl_use=no
70373 fi
70374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70380
70381
70382 fi
70383
70384 fi
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70386 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70387
70388 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70389 for ac_func in _sincosl
70390 do :
70391 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70392 if test "x$ac_cv_func__sincosl" = x""yes; then :
70393 cat >>confdefs.h <<_ACEOF
70394 #define HAVE__SINCOSL 1
70395 _ACEOF
70396
70397 fi
70398 done
70399
70400 fi
70401 fi
70402
70403
70404
70405
70406
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70408 $as_echo_n "checking for finitel declaration... " >&6; }
70409 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70410 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70413
70414
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70420
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70424 #ifdef HAVE_IEEEFP_H
70425 #include <ieeefp.h>
70426 #endif
70427
70428 int
70429 main ()
70430 {
70431 finitel(0);
70432 ;
70433 return 0;
70434 }
70435 _ACEOF
70436 if ac_fn_cxx_try_compile "$LINENO"; then :
70437 glibcxx_cv_func_finitel_use=yes
70438 else
70439 glibcxx_cv_func_finitel_use=no
70440 fi
70441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70442 ac_ext=c
70443 ac_cpp='$CPP $CPPFLAGS'
70444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70447
70448
70449 fi
70450
70451 fi
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70453 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70454
70455 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70456 for ac_func in finitel
70457 do :
70458 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70459 if test "x$ac_cv_func_finitel" = x""yes; then :
70460 cat >>confdefs.h <<_ACEOF
70461 #define HAVE_FINITEL 1
70462 _ACEOF
70463
70464 fi
70465 done
70466
70467 else
70468
70469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70470 $as_echo_n "checking for _finitel declaration... " >&6; }
70471 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70472 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70473 $as_echo_n "(cached) " >&6
70474 else
70475
70476
70477 ac_ext=cpp
70478 ac_cpp='$CXXCPP $CPPFLAGS'
70479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70482
70483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70484 /* end confdefs.h. */
70485 #include <math.h>
70486 #ifdef HAVE_IEEEFP_H
70487 #include <ieeefp.h>
70488 #endif
70489
70490 int
70491 main ()
70492 {
70493 _finitel(0);
70494 ;
70495 return 0;
70496 }
70497 _ACEOF
70498 if ac_fn_cxx_try_compile "$LINENO"; then :
70499 glibcxx_cv_func__finitel_use=yes
70500 else
70501 glibcxx_cv_func__finitel_use=no
70502 fi
70503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70504 ac_ext=c
70505 ac_cpp='$CPP $CPPFLAGS'
70506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70509
70510
70511 fi
70512
70513 fi
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70515 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70516
70517 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70518 for ac_func in _finitel
70519 do :
70520 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70521 if test "x$ac_cv_func__finitel" = x""yes; then :
70522 cat >>confdefs.h <<_ACEOF
70523 #define HAVE__FINITEL 1
70524 _ACEOF
70525
70526 fi
70527 done
70528
70529 fi
70530 fi
70531
70532
70533
70534
70535 LIBS="$ac_save_LIBS"
70536 CXXFLAGS="$ac_save_CXXFLAGS"
70537
70538
70539 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70540 ac_save_CXXFLAGS="$CXXFLAGS"
70541 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70542
70543
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70545 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70546 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70547 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70548 $as_echo_n "(cached) " >&6
70549 else
70550
70551
70552 ac_ext=cpp
70553 ac_cpp='$CXXCPP $CPPFLAGS'
70554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70557
70558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70559 /* end confdefs.h. */
70560 #include <stdlib.h>
70561 int
70562 main ()
70563 {
70564 at_quick_exit(0);
70565 ;
70566 return 0;
70567 }
70568 _ACEOF
70569 if ac_fn_cxx_try_compile "$LINENO"; then :
70570 glibcxx_cv_func_at_quick_exit_use=yes
70571 else
70572 glibcxx_cv_func_at_quick_exit_use=no
70573 fi
70574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70575 ac_ext=c
70576 ac_cpp='$CPP $CPPFLAGS'
70577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70580
70581
70582 fi
70583
70584 fi
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70586 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70587 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70588 for ac_func in at_quick_exit
70589 do :
70590 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70591 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70592 cat >>confdefs.h <<_ACEOF
70593 #define HAVE_AT_QUICK_EXIT 1
70594 _ACEOF
70595
70596 fi
70597 done
70598
70599 fi
70600
70601
70602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70603 $as_echo_n "checking for quick_exit declaration... " >&6; }
70604 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70605 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70606 $as_echo_n "(cached) " >&6
70607 else
70608
70609
70610 ac_ext=cpp
70611 ac_cpp='$CXXCPP $CPPFLAGS'
70612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70615
70616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70617 /* end confdefs.h. */
70618 #include <stdlib.h>
70619 int
70620 main ()
70621 {
70622 quick_exit(0);
70623 ;
70624 return 0;
70625 }
70626 _ACEOF
70627 if ac_fn_cxx_try_compile "$LINENO"; then :
70628 glibcxx_cv_func_quick_exit_use=yes
70629 else
70630 glibcxx_cv_func_quick_exit_use=no
70631 fi
70632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70633 ac_ext=c
70634 ac_cpp='$CPP $CPPFLAGS'
70635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70638
70639
70640 fi
70641
70642 fi
70643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70644 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70645 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70646 for ac_func in quick_exit
70647 do :
70648 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70649 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70650 cat >>confdefs.h <<_ACEOF
70651 #define HAVE_QUICK_EXIT 1
70652 _ACEOF
70653
70654 fi
70655 done
70656
70657 fi
70658
70659
70660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70661 $as_echo_n "checking for strtold declaration... " >&6; }
70662 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70663 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70664 $as_echo_n "(cached) " >&6
70665 else
70666
70667
70668 ac_ext=cpp
70669 ac_cpp='$CXXCPP $CPPFLAGS'
70670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70673
70674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70675 /* end confdefs.h. */
70676 #include <stdlib.h>
70677 int
70678 main ()
70679 {
70680 strtold(0, 0);
70681 ;
70682 return 0;
70683 }
70684 _ACEOF
70685 if ac_fn_cxx_try_compile "$LINENO"; then :
70686 glibcxx_cv_func_strtold_use=yes
70687 else
70688 glibcxx_cv_func_strtold_use=no
70689 fi
70690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70691 ac_ext=c
70692 ac_cpp='$CPP $CPPFLAGS'
70693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70696
70697
70698 fi
70699
70700 fi
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70702 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70703 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70704 for ac_func in strtold
70705 do :
70706 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70707 if test "x$ac_cv_func_strtold" = x""yes; then :
70708 cat >>confdefs.h <<_ACEOF
70709 #define HAVE_STRTOLD 1
70710 _ACEOF
70711
70712 fi
70713 done
70714
70715 fi
70716
70717
70718
70719
70720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70721 $as_echo_n "checking for strtof declaration... " >&6; }
70722 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70723 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70724 $as_echo_n "(cached) " >&6
70725 else
70726
70727
70728 ac_ext=cpp
70729 ac_cpp='$CXXCPP $CPPFLAGS'
70730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70733
70734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70735 /* end confdefs.h. */
70736 #include <stdlib.h>
70737 int
70738 main ()
70739 {
70740 strtof(0, 0);
70741 ;
70742 return 0;
70743 }
70744 _ACEOF
70745 if ac_fn_cxx_try_compile "$LINENO"; then :
70746 glibcxx_cv_func_strtof_use=yes
70747 else
70748 glibcxx_cv_func_strtof_use=no
70749 fi
70750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70751 ac_ext=c
70752 ac_cpp='$CPP $CPPFLAGS'
70753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70756
70757
70758 fi
70759
70760 fi
70761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70762 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70763 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70764 for ac_func in strtof
70765 do :
70766 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70767 if test "x$ac_cv_func_strtof" = x""yes; then :
70768 cat >>confdefs.h <<_ACEOF
70769 #define HAVE_STRTOF 1
70770 _ACEOF
70771
70772 fi
70773 done
70774
70775 fi
70776
70777
70778
70779
70780 CXXFLAGS="$ac_save_CXXFLAGS"
70781
70782 ;;
70783 *-vxworks)
70784 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70785
70786 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70787
70788 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70789
70790 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70791
70792 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70793
70794 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70795
70796 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70797
70798 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70799
70800 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70801
70802 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70803
70804 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70805
70806 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70807
70808 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70809
70810 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70811
70812 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70813
70814 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70815
70816 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70817
70818 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70819
70820 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70821
70822 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70823
70824 ;;
70825 *)
70826 as_fn_error "No support for this host/target combination." "$LINENO" 5
70827 ;;
70828 esac
70829
70830 fi
70831
70832 # At some point, we should differentiate between architectures
70833 # like x86, which have long double versions, and alpha/powerpc/etc.,
70834 # which don't. For the time being, punt.
70835 if test x"long_double_math_on_this_cpu" = x"yes"; then
70836 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70837
70838 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70839
70840 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70841
70842 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70843
70844 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70845
70846 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70847
70848 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70849
70850 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70851
70852 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70853
70854 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70855
70856 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70857
70858 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70859
70860 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70861
70862 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70863
70864 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70865
70866 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70867
70868 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70869
70870 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70871
70872 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70873
70874 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70875
70876 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70877
70878 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70879
70880 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70881
70882 fi
70883 fi
70884
70885 # Check for _Unwind_GetIPInfo.
70886
70887
70888 # Check whether --with-system-libunwind was given.
70889 if test "${with_system_libunwind+set}" = set; then :
70890 withval=$with_system_libunwind;
70891 fi
70892
70893 # If system-libunwind was not specifically set, pick a default setting.
70894 if test x$with_system_libunwind = x; then
70895 case ${target} in
70896 ia64-*-hpux*) with_system_libunwind=yes ;;
70897 *) with_system_libunwind=no ;;
70898 esac
70899 fi
70900 # Based on system-libunwind and target, do we have ipinfo?
70901 if test x$with_system_libunwind = xyes; then
70902 case ${target} in
70903 ia64-*-*) have_unwind_getipinfo=no ;;
70904 *) have_unwind_getipinfo=yes ;;
70905 esac
70906 else
70907 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70908
70909 case ${target} in
70910 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70911 *) have_unwind_getipinfo=yes ;;
70912 esac
70913
70914 fi
70915
70916 if test x$have_unwind_getipinfo = xyes; then
70917
70918 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70919
70920 fi
70921
70922
70923 # Check whether --enable-linux-futex was given.
70924 if test "${enable_linux_futex+set}" = set; then :
70925 enableval=$enable_linux_futex;
70926 case "$enableval" in
70927 yes|no|default) ;;
70928 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70929 esac
70930
70931 else
70932 enable_linux_futex=default
70933 fi
70934
70935
70936 case "$target" in
70937 *-linux*)
70938 case "$enable_linux_futex" in
70939 default)
70940 # If headers don't have gettid/futex syscalls definition, then
70941 # default to no, otherwise there will be compile time failures.
70942 # Otherwise, default to yes. If we don't detect we are
70943 # compiled/linked against NPTL and not cross-compiling, check
70944 # if programs are run by default against NPTL and if not, issue
70945 # a warning.
70946 enable_linux_futex=no
70947 if test x$gcc_no_link = xyes; then
70948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70949 fi
70950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70951 /* end confdefs.h. */
70952 #include <sys/syscall.h>
70953 int lk;
70954 int
70955 main ()
70956 {
70957 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70958 ;
70959 return 0;
70960 }
70961 _ACEOF
70962 if ac_fn_c_try_link "$LINENO"; then :
70963 save_LIBS="$LIBS"
70964 LIBS="-lpthread $LIBS"
70965 if test x$gcc_no_link = xyes; then
70966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70967 fi
70968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70969 /* end confdefs.h. */
70970 #ifndef _GNU_SOURCE
70971 #define _GNU_SOURCE 1
70972 #endif
70973 #include <pthread.h>
70974 pthread_t th; void *status;
70975 int
70976 main ()
70977 {
70978 pthread_tryjoin_np (th, &status);
70979 ;
70980 return 0;
70981 }
70982 _ACEOF
70983 if ac_fn_c_try_link "$LINENO"; then :
70984 enable_linux_futex=yes
70985 else
70986 if test x$cross_compiling = xno; then
70987 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70988 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70990 If so, please configure with --disable-linux-futex" >&5
70991 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70992 If so, please configure with --disable-linux-futex" >&2;}
70993 fi
70994 fi
70995 enable_linux_futex=yes
70996 fi
70997 rm -f core conftest.err conftest.$ac_objext \
70998 conftest$ac_exeext conftest.$ac_ext
70999 LIBS="$save_LIBS"
71000 fi
71001 rm -f core conftest.err conftest.$ac_objext \
71002 conftest$ac_exeext conftest.$ac_ext
71003 ;;
71004 yes)
71005 if test x$gcc_no_link = xyes; then
71006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71007 fi
71008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71009 /* end confdefs.h. */
71010 #include <sys/syscall.h>
71011 int lk;
71012 int
71013 main ()
71014 {
71015 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71016 ;
71017 return 0;
71018 }
71019 _ACEOF
71020 if ac_fn_c_try_link "$LINENO"; then :
71021
71022 else
71023 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71024 fi
71025 rm -f core conftest.err conftest.$ac_objext \
71026 conftest$ac_exeext conftest.$ac_ext
71027 ;;
71028 esac
71029 ;;
71030 *)
71031 enable_linux_futex=no
71032 ;;
71033 esac
71034 if test x$enable_linux_futex = xyes; then
71035
71036 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71037
71038 fi
71039
71040
71041
71042
71043 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71044
71045 acx_cv_header_stdint=stddef.h
71046 acx_cv_header_stdint_kind="(already complete)"
71047 for i in stdint.h $inttype_headers; do
71048 unset ac_cv_type_uintptr_t
71049 unset ac_cv_type_uintmax_t
71050 unset ac_cv_type_int_least32_t
71051 unset ac_cv_type_int_fast32_t
71052 unset ac_cv_type_uint64_t
71053 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71054 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71055 #include <$i>
71056 "
71057 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71058 acx_cv_header_stdint=$i
71059 else
71060 continue
71061 fi
71062
71063 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71064 #include <$i>
71065 "
71066 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71067
71068 else
71069 acx_cv_header_stdint_kind="(mostly complete)"
71070 fi
71071
71072 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71073 #include <$i>
71074 "
71075 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71076
71077 else
71078 acx_cv_header_stdint_kind="(mostly complete)"
71079 fi
71080
71081 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71082 #include <$i>
71083 "
71084 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71085
71086 else
71087 acx_cv_header_stdint_kind="(mostly complete)"
71088 fi
71089
71090 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71091 #include <$i>
71092 "
71093 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71094
71095 else
71096 acx_cv_header_stdint_kind="(lacks uint64_t)"
71097 fi
71098
71099 break
71100 done
71101 if test "$acx_cv_header_stdint" = stddef.h; then
71102 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71103 for i in stdint.h $inttype_headers; do
71104 unset ac_cv_type_uintptr_t
71105 unset ac_cv_type_uint32_t
71106 unset ac_cv_type_uint64_t
71107 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71108 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71109 #include <$i>
71110 "
71111 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71112 acx_cv_header_stdint=$i
71113 else
71114 continue
71115 fi
71116
71117 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71118 #include <$i>
71119 "
71120 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71121
71122 fi
71123
71124 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71125 #include <$i>
71126 "
71127 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71128
71129 fi
71130
71131 break
71132 done
71133 fi
71134 if test "$acx_cv_header_stdint" = stddef.h; then
71135 acx_cv_header_stdint_kind="(u_intXX_t style)"
71136 for i in sys/types.h $inttype_headers; do
71137 unset ac_cv_type_u_int32_t
71138 unset ac_cv_type_u_int64_t
71139 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71140 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71141 #include <$i>
71142 "
71143 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71144 acx_cv_header_stdint=$i
71145 else
71146 continue
71147 fi
71148
71149 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71150 #include <$i>
71151 "
71152 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71153
71154 fi
71155
71156 break
71157 done
71158 fi
71159 if test "$acx_cv_header_stdint" = stddef.h; then
71160 acx_cv_header_stdint_kind="(using manual detection)"
71161 fi
71162
71163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71168
71169 # ----------------- Summarize what we found so far
71170
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71172 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71173
71174 case `$as_basename -- include/gstdint.h ||
71175 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71176 Xinclude/gstdint.h : 'X\(//\)$' \| \
71177 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71178 $as_echo X/include/gstdint.h |
71179 sed '/^.*\/\([^/][^/]*\)\/*$/{
71180 s//\1/
71181 q
71182 }
71183 /^X\/\(\/\/\)$/{
71184 s//\1/
71185 q
71186 }
71187 /^X\/\(\/\).*/{
71188 s//\1/
71189 q
71190 }
71191 s/.*/./; q'` in
71192 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71194 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71196 *) ;;
71197 esac
71198
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71201
71202 # ----------------- done included file, check C basic types --------
71203
71204 # Lacking an uintptr_t? Test size of void *
71205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71206 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71209 # This bug is HP SR number 8606223364.
71210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71211 $as_echo_n "checking size of void *... " >&6; }
71212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71213 $as_echo_n "(cached) " >&6
71214 else
71215 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71216
71217 else
71218 if test "$ac_cv_type_void_p" = yes; then
71219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71221 { as_fn_set_status 77
71222 as_fn_error "cannot compute sizeof (void *)
71223 See \`config.log' for more details." "$LINENO" 5; }; }
71224 else
71225 ac_cv_sizeof_void_p=0
71226 fi
71227 fi
71228
71229 fi
71230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71232
71233
71234
71235 cat >>confdefs.h <<_ACEOF
71236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71237 _ACEOF
71238
71239 ;;
71240 esac
71241
71242 # Lacking an uint64_t? Test size of long
71243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71244 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71247 # This bug is HP SR number 8606223364.
71248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71249 $as_echo_n "checking size of long... " >&6; }
71250 if test "${ac_cv_sizeof_long+set}" = set; then :
71251 $as_echo_n "(cached) " >&6
71252 else
71253 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71254
71255 else
71256 if test "$ac_cv_type_long" = yes; then
71257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71259 { as_fn_set_status 77
71260 as_fn_error "cannot compute sizeof (long)
71261 See \`config.log' for more details." "$LINENO" 5; }; }
71262 else
71263 ac_cv_sizeof_long=0
71264 fi
71265 fi
71266
71267 fi
71268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71269 $as_echo "$ac_cv_sizeof_long" >&6; }
71270
71271
71272
71273 cat >>confdefs.h <<_ACEOF
71274 #define SIZEOF_LONG $ac_cv_sizeof_long
71275 _ACEOF
71276
71277 ;;
71278 esac
71279
71280 if test $acx_cv_header_stdint = stddef.h; then
71281 # Lacking a good header? Test size of everything and deduce all types.
71282 # The cast to long int works around a bug in the HP C Compiler
71283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71285 # This bug is HP SR number 8606223364.
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71287 $as_echo_n "checking size of int... " >&6; }
71288 if test "${ac_cv_sizeof_int+set}" = set; then :
71289 $as_echo_n "(cached) " >&6
71290 else
71291 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71292
71293 else
71294 if test "$ac_cv_type_int" = yes; then
71295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71297 { as_fn_set_status 77
71298 as_fn_error "cannot compute sizeof (int)
71299 See \`config.log' for more details." "$LINENO" 5; }; }
71300 else
71301 ac_cv_sizeof_int=0
71302 fi
71303 fi
71304
71305 fi
71306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71307 $as_echo "$ac_cv_sizeof_int" >&6; }
71308
71309
71310
71311 cat >>confdefs.h <<_ACEOF
71312 #define SIZEOF_INT $ac_cv_sizeof_int
71313 _ACEOF
71314
71315
71316 # The cast to long int works around a bug in the HP C Compiler
71317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71319 # This bug is HP SR number 8606223364.
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71321 $as_echo_n "checking size of short... " >&6; }
71322 if test "${ac_cv_sizeof_short+set}" = set; then :
71323 $as_echo_n "(cached) " >&6
71324 else
71325 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71326
71327 else
71328 if test "$ac_cv_type_short" = yes; then
71329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71331 { as_fn_set_status 77
71332 as_fn_error "cannot compute sizeof (short)
71333 See \`config.log' for more details." "$LINENO" 5; }; }
71334 else
71335 ac_cv_sizeof_short=0
71336 fi
71337 fi
71338
71339 fi
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71341 $as_echo "$ac_cv_sizeof_short" >&6; }
71342
71343
71344
71345 cat >>confdefs.h <<_ACEOF
71346 #define SIZEOF_SHORT $ac_cv_sizeof_short
71347 _ACEOF
71348
71349
71350 # The cast to long int works around a bug in the HP C Compiler
71351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71353 # This bug is HP SR number 8606223364.
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71355 $as_echo_n "checking size of char... " >&6; }
71356 if test "${ac_cv_sizeof_char+set}" = set; then :
71357 $as_echo_n "(cached) " >&6
71358 else
71359 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71360
71361 else
71362 if test "$ac_cv_type_char" = yes; then
71363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71365 { as_fn_set_status 77
71366 as_fn_error "cannot compute sizeof (char)
71367 See \`config.log' for more details." "$LINENO" 5; }; }
71368 else
71369 ac_cv_sizeof_char=0
71370 fi
71371 fi
71372
71373 fi
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71375 $as_echo "$ac_cv_sizeof_char" >&6; }
71376
71377
71378
71379 cat >>confdefs.h <<_ACEOF
71380 #define SIZEOF_CHAR $ac_cv_sizeof_char
71381 _ACEOF
71382
71383
71384
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71387 case "$ac_cv_sizeof_char" in
71388 1) acx_cv_type_int8_t=char ;;
71389 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71390 esac
71391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71392 $as_echo "$acx_cv_type_int8_t" >&6; }
71393
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71395 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71396 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71397 2:*) acx_cv_type_int16_t=int ;;
71398 *:2) acx_cv_type_int16_t=short ;;
71399 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71400 esac
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71402 $as_echo "$acx_cv_type_int16_t" >&6; }
71403
71404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71405 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71406 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71407 4:*) acx_cv_type_int32_t=int ;;
71408 *:4) acx_cv_type_int32_t=long ;;
71409 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71410 esac
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71412 $as_echo "$acx_cv_type_int32_t" >&6; }
71413 fi
71414
71415 # These tests are here to make the output prettier
71416
71417 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71418 case "$ac_cv_sizeof_long" in
71419 8) acx_cv_type_int64_t=long ;;
71420 esac
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71422 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71424 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71425 fi
71426
71427 # Now we can use the above types
71428
71429 if test "$ac_cv_type_uintptr_t" != yes; then
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71431 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71432 case $ac_cv_sizeof_void_p in
71433 2) acx_cv_type_intptr_t=int16_t ;;
71434 4) acx_cv_type_intptr_t=int32_t ;;
71435 8) acx_cv_type_intptr_t=int64_t ;;
71436 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71437 esac
71438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71439 $as_echo "$acx_cv_type_intptr_t" >&6; }
71440 fi
71441
71442 # ----------------- done all checks, emit header -------------
71443 ac_config_commands="$ac_config_commands include/gstdint.h"
71444
71445
71446
71447
71448
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71450 $as_echo_n "checking for GNU c++filt... " >&6; }
71451 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71452 $as_echo_n "(cached) " >&6
71453 else
71454 if test -z "$CXXFILT"; then
71455 ac_path_CXXFILT_found=false
71456 # Loop through the user's path and test for each of PROGNAME-LIST
71457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71458 for as_dir in $PATH
71459 do
71460 IFS=$as_save_IFS
71461 test -z "$as_dir" && as_dir=.
71462 for ac_prog in c++filt gc++filt; do
71463 for ac_exec_ext in '' $ac_executable_extensions; do
71464 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71465 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71466 # Check for GNU $ac_path_CXXFILT
71467 case `"$ac_path_CXXFILT" --version 2>&1` in
71468 *GNU*)
71469 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71470 esac
71471
71472 $ac_path_CXXFILT_found && break 3
71473 done
71474 done
71475 done
71476 IFS=$as_save_IFS
71477 if test -z "$ac_cv_path_CXXFILT"; then
71478 :
71479 fi
71480 else
71481 ac_cv_path_CXXFILT=$CXXFILT
71482 fi
71483
71484 fi
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71486 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71487 CXXFILT=$ac_cv_path_CXXFILT
71488
71489
71490
71491 # Check whether --enable-symvers was given.
71492 if test "${enable_symvers+set}" = set; then :
71493 enableval=$enable_symvers;
71494 case "$enableval" in
71495 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71496 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71497 esac
71498
71499 else
71500 enable_symvers=yes
71501 fi
71502
71503
71504
71505 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71506 # don't know enough about $LD to do tricks...
71507
71508 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71509 # with extern "C++" in version scripts.
71510
71511
71512 # Turn a 'yes' into a suitable default.
71513 if test x$enable_symvers = xyes ; then
71514 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71515 enable_symvers=no
71516 else
71517 if test $with_gnu_ld = yes ; then
71518 case ${target_os} in
71519 hpux*)
71520 enable_symvers=no ;;
71521 *)
71522 enable_symvers=gnu ;;
71523 esac
71524 else
71525 case ${target_os} in
71526 darwin*)
71527 enable_symvers=darwin ;;
71528 # Sun symbol versioning exists since Solaris 2.5.
71529 solaris2.[5-9]* | solaris2.1[0-9]*)
71530 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71531 # version scripts, so disable symbol versioning if none can be
71532 # found.
71533 if test -z "$ac_cv_path_CXXFILT"; then
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71535 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71537 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71539 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71540 enable_symvers=no
71541 else
71542 enable_symvers=sun
71543 fi
71544 ;;
71545 *)
71546 enable_symvers=no ;;
71547 esac
71548 fi
71549 fi
71550 fi
71551
71552 # Check to see if 'darwin' or 'darwin-export' can win.
71553 if test x$enable_symvers = xdarwin-export ; then
71554 enable_symvers=darwin
71555 fi
71556
71557 # Check if 'sun' was requested on non-Solaris 2 platforms.
71558 if test x$enable_symvers = xsun ; then
71559 case ${target_os} in
71560 solaris2*)
71561 # All fine.
71562 ;;
71563 *)
71564 # Unlikely to work.
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71566 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71568 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71570 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71571 enable_symvers=no
71572 ;;
71573 esac
71574 fi
71575
71576 # Check to see if 'gnu' can win.
71577 if test $enable_symvers = gnu ||
71578 test $enable_symvers = gnu-versioned-namespace ||
71579 test $enable_symvers = sun; then
71580 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71582 $as_echo_n "checking for shared libgcc... " >&6; }
71583 ac_save_CFLAGS="$CFLAGS"
71584 CFLAGS=' -lgcc_s'
71585 if test x$gcc_no_link = xyes; then
71586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71587 fi
71588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71589 /* end confdefs.h. */
71590
71591 int
71592 main ()
71593 {
71594 return 0;
71595 ;
71596 return 0;
71597 }
71598 _ACEOF
71599 if ac_fn_c_try_link "$LINENO"; then :
71600 glibcxx_shared_libgcc=yes
71601 else
71602 glibcxx_shared_libgcc=no
71603 fi
71604 rm -f core conftest.err conftest.$ac_objext \
71605 conftest$ac_exeext conftest.$ac_ext
71606 CFLAGS="$ac_save_CFLAGS"
71607 if test $glibcxx_shared_libgcc = no; then
71608 cat > conftest.c <<EOF
71609 int main (void) { return 0; }
71610 EOF
71611 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71612 -shared -shared-libgcc -o conftest.so \
71613 conftest.c -v 2>&1 >/dev/null \
71614 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71615 rm -f conftest.c conftest.so
71616 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71617 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71618 if test x$gcc_no_link = xyes; then
71619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71620 fi
71621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71622 /* end confdefs.h. */
71623
71624 int
71625 main ()
71626 {
71627 return 0;
71628 ;
71629 return 0;
71630 }
71631 _ACEOF
71632 if ac_fn_c_try_link "$LINENO"; then :
71633 glibcxx_shared_libgcc=yes
71634 fi
71635 rm -f core conftest.err conftest.$ac_objext \
71636 conftest$ac_exeext conftest.$ac_ext
71637 CFLAGS="$ac_save_CFLAGS"
71638 fi
71639 fi
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71641 $as_echo "$glibcxx_shared_libgcc" >&6; }
71642
71643 # For GNU ld, we need at least this version. The format is described in
71644 # GLIBCXX_CHECK_LINKER_FEATURES above.
71645 glibcxx_min_gnu_ld_version=21400
71646
71647 # If no shared libgcc, can't win.
71648 if test $glibcxx_shared_libgcc != yes; then
71649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71650 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71652 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71654 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71655 enable_symvers=no
71656 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71657 : All interesting versions of Sun ld support sun style symbol versioning.
71658 elif test $with_gnu_ld != yes ; then
71659 # just fail for now
71660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71661 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71663 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71665 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71666 enable_symvers=no
71667 elif test $glibcxx_ld_is_gold = yes ; then
71668 : All versions of gold support symbol versioning.
71669 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71670 # The right tools, the right setup, but too old. Fallbacks?
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71672 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71674 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71676 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71678 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71680 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71681 enable_symvers=no
71682 fi
71683 fi
71684
71685 # For libtool versioning info, format is CURRENT:REVISION:AGE
71686 libtool_VERSION=6:19:0
71687
71688 # Everything parsed; figure out what files and settings to use.
71689 case $enable_symvers in
71690 no)
71691 SYMVER_FILE=config/abi/pre/none.ver
71692 ;;
71693 gnu)
71694 SYMVER_FILE=config/abi/pre/gnu.ver
71695
71696 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71697
71698 ;;
71699 gnu-versioned-namespace)
71700 libtool_VERSION=7:0:0
71701 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71702
71703 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71704
71705 ;;
71706 darwin)
71707 SYMVER_FILE=config/abi/pre/gnu.ver
71708
71709 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71710
71711 ;;
71712 sun)
71713 SYMVER_FILE=config/abi/pre/gnu.ver
71714
71715 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71716
71717 ;;
71718 esac
71719
71720 if test x$enable_symvers != xno ; then
71721
71722 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71723
71724 fi
71725
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71727 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71728 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71729 $as_echo_n "(cached) " >&6
71730 else
71731
71732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71733 /* end confdefs.h. */
71734 void foo (void); __asm (".symver foo, bar@SYMVER");
71735 int
71736 main ()
71737 {
71738
71739 ;
71740 return 0;
71741 }
71742 _ACEOF
71743 if ac_fn_c_try_compile "$LINENO"; then :
71744 glibcxx_cv_have_as_symver_directive=yes
71745 else
71746 glibcxx_cv_have_as_symver_directive=no
71747 fi
71748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71749 fi
71750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71751 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71752 if test $glibcxx_cv_have_as_symver_directive = yes; then
71753
71754 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71755
71756 fi
71757
71758
71759
71760
71761
71762
71763
71764
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71766 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71767
71768 if test $enable_symvers != no ; then
71769 case ${target_os} in
71770 # The Solaris 2 runtime linker doesn't support the GNU extension of
71771 # binding the same symbol to different versions
71772 solaris2*)
71773 ;;
71774 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71775 *)
71776
71777 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71778
71779 ;;
71780 esac
71781 fi
71782
71783 # Now, set up compatibility support, if any.
71784 # In addition, need this to deal with std::size_t mangling in
71785 # src/compatibility.cc. In a perfect world, could use
71786 # typeid(std::size_t).name()[0] to do direct substitution.
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71788 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71789 ac_save_CFLAGS="$CFLAGS"
71790 CFLAGS="-Werror"
71791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71792 /* end confdefs.h. */
71793
71794 int
71795 main ()
71796 {
71797 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71798 ;
71799 return 0;
71800 }
71801 _ACEOF
71802 if ac_fn_c_try_compile "$LINENO"; then :
71803 glibcxx_size_t_is_i=yes
71804 else
71805 glibcxx_size_t_is_i=no
71806 fi
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 CFLAGS=$ac_save_CFLAGS
71809 if test "$glibcxx_size_t_is_i" = yes; then
71810
71811 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71812
71813 fi
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71815 $as_echo "$glibcxx_size_t_is_i" >&6; }
71816
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71818 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71819 ac_save_CFLAGS="$CFLAGS"
71820 CFLAGS="-Werror"
71821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71822 /* end confdefs.h. */
71823
71824 int
71825 main ()
71826 {
71827 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71828 ;
71829 return 0;
71830 }
71831 _ACEOF
71832 if ac_fn_c_try_compile "$LINENO"; then :
71833 glibcxx_ptrdiff_t_is_i=yes
71834 else
71835 glibcxx_ptrdiff_t_is_i=no
71836 fi
71837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71838 CFLAGS=$ac_save_CFLAGS
71839 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71840
71841 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71842
71843 fi
71844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71845 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71846
71847
71848
71849
71850 # Check whether --enable-libstdcxx-visibility was given.
71851 if test "${enable_libstdcxx_visibility+set}" = set; then :
71852 enableval=$enable_libstdcxx_visibility;
71853 case "$enableval" in
71854 yes|no) ;;
71855 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71856 esac
71857
71858 else
71859 enable_libstdcxx_visibility=yes
71860 fi
71861
71862
71863
71864 if test x$enable_libstdcxx_visibility = xyes ; then
71865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71866 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71867 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71868 $as_echo_n "(cached) " >&6
71869 else
71870
71871 save_CFLAGS="$CFLAGS"
71872 CFLAGS="$CFLAGS -Werror"
71873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71874 /* end confdefs.h. */
71875 void __attribute__((visibility("hidden"))) foo(void) { }
71876 int
71877 main ()
71878 {
71879
71880 ;
71881 return 0;
71882 }
71883 _ACEOF
71884 if ac_fn_c_try_compile "$LINENO"; then :
71885 glibcxx_cv_have_attribute_visibility=yes
71886 else
71887 glibcxx_cv_have_attribute_visibility=no
71888 fi
71889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71890 CFLAGS="$save_CFLAGS"
71891 fi
71892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71893 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71894 if test $glibcxx_cv_have_attribute_visibility = no; then
71895 enable_libstdcxx_visibility=no
71896 fi
71897 fi
71898
71899
71900 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71901 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71902
71903
71904 ac_ldbl_compat=no
71905 case "$target" in
71906 powerpc*-*-linux* | \
71907 sparc*-*-linux* | \
71908 s390*-*-linux* | \
71909 alpha*-*-linux*)
71910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71911 /* end confdefs.h. */
71912
71913 int
71914 main ()
71915 {
71916
71917 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71918 #error no need for long double compatibility
71919 #endif
71920
71921 ;
71922 return 0;
71923 }
71924 _ACEOF
71925 if ac_fn_c_try_compile "$LINENO"; then :
71926 ac_ldbl_compat=yes
71927 else
71928 ac_ldbl_compat=no
71929 fi
71930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71931 if test "$ac_ldbl_compat" = yes; then
71932
71933 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71934
71935 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71936 fi
71937 esac
71938
71939
71940 # Check if assembler supports disabling hardware capability support.
71941
71942 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71943
71944 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71945 # with a different meaning.
71946 case ${target_os} in
71947 solaris2*)
71948 ac_save_CFLAGS="$CFLAGS"
71949 CFLAGS="$CFLAGS -Wa,-nH"
71950
71951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71952 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71954 /* end confdefs.h. */
71955
71956 int
71957 main ()
71958 {
71959 return 0;
71960 ;
71961 return 0;
71962 }
71963 _ACEOF
71964 if ac_fn_c_try_compile "$LINENO"; then :
71965 ac_hwcap_flags=yes
71966 else
71967 ac_hwcap_flags=no
71968 fi
71969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71970 if test "$ac_hwcap_flags" = "yes"; then
71971 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71972 fi
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71974 $as_echo "$ac_hwcap_flags" >&6; }
71975
71976 CFLAGS="$ac_save_CFLAGS"
71977 ;;
71978 esac
71979
71980
71981
71982
71983 # Check if assembler supports rdrand opcode.
71984
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71986 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71987 if test "${ac_cv_x86_rdrand+set}" = set; then :
71988 $as_echo_n "(cached) " >&6
71989 else
71990
71991 ac_cv_x86_rdrand=no
71992 case "$target" in
71993 i?86-*-* | \
71994 x86_64-*-*)
71995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71996 /* end confdefs.h. */
71997
71998 int
71999 main ()
72000 {
72001 asm("rdrand %eax");
72002 ;
72003 return 0;
72004 }
72005 _ACEOF
72006 if ac_fn_c_try_compile "$LINENO"; then :
72007 ac_cv_x86_rdrand=yes
72008 else
72009 ac_cv_x86_rdrand=no
72010 fi
72011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72012 esac
72013
72014 fi
72015
72016 if test $ac_cv_x86_rdrand = yes; then
72017
72018 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72019
72020 fi
72021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72022 $as_echo "$ac_cv_x86_rdrand" >&6; }
72023
72024
72025 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72026
72027 if $GLIBCXX_IS_NATIVE ; then
72028 # Do checks for resource limit functions.
72029
72030 setrlimit_have_headers=yes
72031 for ac_header in unistd.h sys/time.h sys/resource.h
72032 do :
72033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72035 eval as_val=\$$as_ac_Header
72036 if test "x$as_val" = x""yes; then :
72037 cat >>confdefs.h <<_ACEOF
72038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72039 _ACEOF
72040
72041 else
72042 setrlimit_have_headers=no
72043 fi
72044
72045 done
72046
72047 # If don't have the headers, then we can't run the tests now, and we
72048 # won't be seeing any of these during testsuite compilation.
72049 if test $setrlimit_have_headers = yes; then
72050 # Can't do these in a loop, else the resulting syntax is wrong.
72051
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72053 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72055 /* end confdefs.h. */
72056 #include <unistd.h>
72057 #include <sys/time.h>
72058 #include <sys/resource.h>
72059
72060 int
72061 main ()
72062 {
72063 int f = RLIMIT_DATA ;
72064 ;
72065 return 0;
72066 }
72067 _ACEOF
72068 if ac_fn_c_try_compile "$LINENO"; then :
72069 glibcxx_mresult=1
72070 else
72071 glibcxx_mresult=0
72072 fi
72073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72074
72075 cat >>confdefs.h <<_ACEOF
72076 #define HAVE_LIMIT_DATA $glibcxx_mresult
72077 _ACEOF
72078
72079 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72081 $as_echo "$res" >&6; }
72082
72083
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72085 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72087 /* end confdefs.h. */
72088 #include <unistd.h>
72089 #include <sys/time.h>
72090 #include <sys/resource.h>
72091
72092 int
72093 main ()
72094 {
72095 int f = RLIMIT_RSS ;
72096 ;
72097 return 0;
72098 }
72099 _ACEOF
72100 if ac_fn_c_try_compile "$LINENO"; then :
72101 glibcxx_mresult=1
72102 else
72103 glibcxx_mresult=0
72104 fi
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72106
72107 cat >>confdefs.h <<_ACEOF
72108 #define HAVE_LIMIT_RSS $glibcxx_mresult
72109 _ACEOF
72110
72111 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72113 $as_echo "$res" >&6; }
72114
72115
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72117 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <unistd.h>
72121 #include <sys/time.h>
72122 #include <sys/resource.h>
72123
72124 int
72125 main ()
72126 {
72127 int f = RLIMIT_VMEM ;
72128 ;
72129 return 0;
72130 }
72131 _ACEOF
72132 if ac_fn_c_try_compile "$LINENO"; then :
72133 glibcxx_mresult=1
72134 else
72135 glibcxx_mresult=0
72136 fi
72137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72138
72139 cat >>confdefs.h <<_ACEOF
72140 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72141 _ACEOF
72142
72143 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72145 $as_echo "$res" >&6; }
72146
72147
72148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72149 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72151 /* end confdefs.h. */
72152 #include <unistd.h>
72153 #include <sys/time.h>
72154 #include <sys/resource.h>
72155
72156 int
72157 main ()
72158 {
72159 int f = RLIMIT_AS ;
72160 ;
72161 return 0;
72162 }
72163 _ACEOF
72164 if ac_fn_c_try_compile "$LINENO"; then :
72165 glibcxx_mresult=1
72166 else
72167 glibcxx_mresult=0
72168 fi
72169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72170
72171 cat >>confdefs.h <<_ACEOF
72172 #define HAVE_LIMIT_AS $glibcxx_mresult
72173 _ACEOF
72174
72175 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72177 $as_echo "$res" >&6; }
72178
72179
72180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72181 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72183 /* end confdefs.h. */
72184 #include <unistd.h>
72185 #include <sys/time.h>
72186 #include <sys/resource.h>
72187
72188 int
72189 main ()
72190 {
72191 int f = RLIMIT_FSIZE ;
72192 ;
72193 return 0;
72194 }
72195 _ACEOF
72196 if ac_fn_c_try_compile "$LINENO"; then :
72197 glibcxx_mresult=1
72198 else
72199 glibcxx_mresult=0
72200 fi
72201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72202
72203 cat >>confdefs.h <<_ACEOF
72204 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72205 _ACEOF
72206
72207 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72209 $as_echo "$res" >&6; }
72210
72211
72212 # Check for rlimit, setrlimit.
72213 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72216
72217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72218 /* end confdefs.h. */
72219 #include <unistd.h>
72220 #include <sys/time.h>
72221 #include <sys/resource.h>
72222
72223 int
72224 main ()
72225 {
72226 struct rlimit r;
72227 setrlimit(0, &r);
72228 ;
72229 return 0;
72230 }
72231 _ACEOF
72232 if ac_fn_c_try_compile "$LINENO"; then :
72233 glibcxx_cv_setrlimit=yes
72234 else
72235 glibcxx_cv_setrlimit=no
72236 fi
72237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72238
72239 fi
72240
72241 fi
72242
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72244 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72245 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72246 ac_res_limits=yes
72247
72248 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72249
72250 else
72251 ac_res_limits=no
72252 fi
72253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72254 $as_echo "$ac_res_limits" >&6; }
72255
72256
72257 # Look for setenv, so that extended locale tests can be performed.
72258
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72260 $as_echo_n "checking for setenv declaration... " >&6; }
72261 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72262 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72265
72266
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72272
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <stdlib.h>
72276 int
72277 main ()
72278 {
72279 setenv(0, 0, 0);
72280 ;
72281 return 0;
72282 }
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func_setenv_use=yes
72286 else
72287 glibcxx_cv_func_setenv_use=no
72288 fi
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72295
72296
72297 fi
72298
72299 fi
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72301 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72302 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72303 for ac_func in setenv
72304 do :
72305 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72306 if test "x$ac_cv_func_setenv" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define HAVE_SETENV 1
72309 _ACEOF
72310
72311 fi
72312 done
72313
72314 fi
72315
72316 fi
72317
72318 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72319 test $enable_symvers != no; then
72320 case "$host" in
72321 *-*-cygwin*)
72322 enable_abi_check=no ;;
72323 *)
72324 enable_abi_check=yes ;;
72325 esac
72326 else
72327 # Only build this as native, since automake does not understand
72328 # CXX_FOR_BUILD.
72329 enable_abi_check=no
72330 fi
72331
72332 # Export file names for ABI checking.
72333 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72334
72335 baseline_subdir_switch="$abi_baseline_subdir_switch"
72336
72337
72338
72339 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72340
72341 # Check whether --enable-libstdcxx-threads was given.
72342 if test "${enable_libstdcxx_threads+set}" = set; then :
72343 enableval=$enable_libstdcxx_threads;
72344 case "$enableval" in
72345 yes|no) ;;
72346 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72347 esac
72348
72349 else
72350 enable_libstdcxx_threads=auto
72351 fi
72352
72353
72354
72355 if test x$enable_libstdcxx_threads = xauto ||
72356 test x$enable_libstdcxx_threads = xyes; then
72357
72358
72359 ac_ext=cpp
72360 ac_cpp='$CXXCPP $CPPFLAGS'
72361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72364
72365
72366 ac_save_CXXFLAGS="$CXXFLAGS"
72367 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72368 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72369
72370 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72371 case $target_thread_file in
72372 posix)
72373 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72374 esac
72375
72376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72377 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72378
72379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72380 /* end confdefs.h. */
72381 #include <unistd.h>
72382 int
72383 main ()
72384 {
72385
72386 // In case of POSIX threads check _POSIX_TIMEOUTS.
72387 #if (defined(_PTHREADS) \
72388 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72389 #error
72390 #endif
72391
72392 ;
72393 return 0;
72394 }
72395 _ACEOF
72396 if ac_fn_cxx_try_compile "$LINENO"; then :
72397 ac_gthread_use_mutex_timedlock=1
72398 else
72399 ac_gthread_use_mutex_timedlock=0
72400 fi
72401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72402
72403
72404 cat >>confdefs.h <<_ACEOF
72405 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72406 _ACEOF
72407
72408
72409 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72410 else res_mutex_timedlock=no ; fi
72411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72412 $as_echo "$res_mutex_timedlock" >&6; }
72413
72414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72415 $as_echo_n "checking for gthreads library... " >&6; }
72416
72417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72418 /* end confdefs.h. */
72419 #include "gthr.h"
72420 int
72421 main ()
72422 {
72423
72424 #ifndef __GTHREADS_CXX0X
72425 #error
72426 #endif
72427
72428 ;
72429 return 0;
72430 }
72431 _ACEOF
72432 if ac_fn_cxx_try_compile "$LINENO"; then :
72433 case $target_os in
72434 # gthreads support breaks symbol versioning on Solaris 9 (PR
72435 # libstdc++/52189).
72436 solaris2.9*)
72437 if test x$enable_symvers = xno; then
72438 ac_has_gthreads=yes
72439 elif test x$enable_libstdcxx_threads = xyes; then
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72441 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72443 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72444 ac_has_gthreads=yes
72445 else
72446 ac_has_gthreads=no
72447 fi
72448 ;;
72449 *)
72450 ac_has_gthreads=yes
72451 ;;
72452 esac
72453 else
72454 ac_has_gthreads=no
72455 fi
72456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72457 else
72458 ac_has_gthreads=no
72459 fi
72460
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72462 $as_echo "$ac_has_gthreads" >&6; }
72463
72464 if test x"$ac_has_gthreads" = x"yes"; then
72465
72466 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72467
72468 fi
72469
72470 CXXFLAGS="$ac_save_CXXFLAGS"
72471 ac_ext=c
72472 ac_cpp='$CPP $CPPFLAGS'
72473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72476
72477
72478
72479 # Define documentation rules conditionally.
72480
72481 # See if makeinfo has been installed and is modern enough
72482 # that we can use it.
72483
72484 # Extract the first word of "makeinfo", so it can be a program name with args.
72485 set dummy makeinfo; ac_word=$2
72486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72487 $as_echo_n "checking for $ac_word... " >&6; }
72488 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72489 $as_echo_n "(cached) " >&6
72490 else
72491 if test -n "$MAKEINFO"; then
72492 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72493 else
72494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72495 for as_dir in $PATH
72496 do
72497 IFS=$as_save_IFS
72498 test -z "$as_dir" && as_dir=.
72499 for ac_exec_ext in '' $ac_executable_extensions; do
72500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72501 ac_cv_prog_MAKEINFO="makeinfo"
72502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72503 break 2
72504 fi
72505 done
72506 done
72507 IFS=$as_save_IFS
72508
72509 fi
72510 fi
72511 MAKEINFO=$ac_cv_prog_MAKEINFO
72512 if test -n "$MAKEINFO"; then
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72514 $as_echo "$MAKEINFO" >&6; }
72515 else
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72517 $as_echo "no" >&6; }
72518 fi
72519
72520
72521 if test -n "$MAKEINFO"; then
72522 # Found it, now check the version.
72523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72524 $as_echo_n "checking for modern makeinfo... " >&6; }
72525 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72526 $as_echo_n "(cached) " >&6
72527 else
72528 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72529 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72530
72531 case $ac_prog_version in
72532 '') gcc_cv_prog_makeinfo_modern=no;;
72533 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72534 *) gcc_cv_prog_makeinfo_modern=no;;
72535 esac
72536
72537 fi
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72539 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72540 else
72541 gcc_cv_prog_makeinfo_modern=no
72542 fi
72543 if test $gcc_cv_prog_makeinfo_modern = no; then
72544 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72545 fi
72546
72547 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72548 BUILD_INFO_TRUE=
72549 BUILD_INFO_FALSE='#'
72550 else
72551 BUILD_INFO_TRUE='#'
72552 BUILD_INFO_FALSE=
72553 fi
72554
72555
72556 # Check for doxygen
72557 # Extract the first word of "doxygen", so it can be a program name with args.
72558 set dummy doxygen; ac_word=$2
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72560 $as_echo_n "checking for $ac_word... " >&6; }
72561 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72562 $as_echo_n "(cached) " >&6
72563 else
72564 if test -n "$DOXYGEN"; then
72565 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72566 else
72567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72568 for as_dir in $PATH
72569 do
72570 IFS=$as_save_IFS
72571 test -z "$as_dir" && as_dir=.
72572 for ac_exec_ext in '' $ac_executable_extensions; do
72573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72574 ac_cv_prog_DOXYGEN="yes"
72575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72576 break 2
72577 fi
72578 done
72579 done
72580 IFS=$as_save_IFS
72581
72582 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72583 fi
72584 fi
72585 DOXYGEN=$ac_cv_prog_DOXYGEN
72586 if test -n "$DOXYGEN"; then
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72588 $as_echo "$DOXYGEN" >&6; }
72589 else
72590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72591 $as_echo "no" >&6; }
72592 fi
72593
72594
72595 # Extract the first word of "dot", so it can be a program name with args.
72596 set dummy dot; ac_word=$2
72597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72598 $as_echo_n "checking for $ac_word... " >&6; }
72599 if test "${ac_cv_prog_DOT+set}" = set; then :
72600 $as_echo_n "(cached) " >&6
72601 else
72602 if test -n "$DOT"; then
72603 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72604 else
72605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72606 for as_dir in $PATH
72607 do
72608 IFS=$as_save_IFS
72609 test -z "$as_dir" && as_dir=.
72610 for ac_exec_ext in '' $ac_executable_extensions; do
72611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72612 ac_cv_prog_DOT="yes"
72613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72614 break 2
72615 fi
72616 done
72617 done
72618 IFS=$as_save_IFS
72619
72620 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72621 fi
72622 fi
72623 DOT=$ac_cv_prog_DOT
72624 if test -n "$DOT"; then
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72626 $as_echo "$DOT" >&6; }
72627 else
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72629 $as_echo "no" >&6; }
72630 fi
72631
72632
72633
72634 # Check for docbook
72635 # Extract the first word of "xsltproc", so it can be a program name with args.
72636 set dummy xsltproc; ac_word=$2
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72638 $as_echo_n "checking for $ac_word... " >&6; }
72639 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72640 $as_echo_n "(cached) " >&6
72641 else
72642 if test -n "$XSLTPROC"; then
72643 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72644 else
72645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72646 for as_dir in $PATH
72647 do
72648 IFS=$as_save_IFS
72649 test -z "$as_dir" && as_dir=.
72650 for ac_exec_ext in '' $ac_executable_extensions; do
72651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72652 ac_cv_prog_XSLTPROC="yes"
72653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72654 break 2
72655 fi
72656 done
72657 done
72658 IFS=$as_save_IFS
72659
72660 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72661 fi
72662 fi
72663 XSLTPROC=$ac_cv_prog_XSLTPROC
72664 if test -n "$XSLTPROC"; then
72665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72666 $as_echo "$XSLTPROC" >&6; }
72667 else
72668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72669 $as_echo "no" >&6; }
72670 fi
72671
72672
72673 # Extract the first word of "xmllint", so it can be a program name with args.
72674 set dummy xmllint; ac_word=$2
72675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72676 $as_echo_n "checking for $ac_word... " >&6; }
72677 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72678 $as_echo_n "(cached) " >&6
72679 else
72680 if test -n "$XMLLINT"; then
72681 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72682 else
72683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72684 for as_dir in $PATH
72685 do
72686 IFS=$as_save_IFS
72687 test -z "$as_dir" && as_dir=.
72688 for ac_exec_ext in '' $ac_executable_extensions; do
72689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72690 ac_cv_prog_XMLLINT="yes"
72691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72692 break 2
72693 fi
72694 done
72695 done
72696 IFS=$as_save_IFS
72697
72698 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72699 fi
72700 fi
72701 XMLLINT=$ac_cv_prog_XMLLINT
72702 if test -n "$XMLLINT"; then
72703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72704 $as_echo "$XMLLINT" >&6; }
72705 else
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72707 $as_echo "no" >&6; }
72708 fi
72709
72710
72711
72712
72713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72714 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72715 glibcxx_stylesheets=no
72716 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
72717 glibcxx_stylesheets=yes
72718 fi
72719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72720 $as_echo "$glibcxx_stylesheets" >&6; }
72721
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72723 $as_echo_n "checking for local stylesheet directory... " >&6; }
72724 glibcxx_local_stylesheets=no
72725 if test x"$glibcxx_stylesheets" = x"yes"; then
72726 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72727 glibcxx_local_stylesheets=yes
72728 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72729 fi
72730 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72731 glibcxx_local_stylesheets=yes
72732 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72733 fi
72734 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72735 glibcxx_local_stylesheets=yes
72736 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72737 fi
72738 fi
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72740 $as_echo "$glibcxx_local_stylesheets" >&6; }
72741
72742 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72743
72744 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72745 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72746 else
72747 glibcxx_stylesheets=no
72748 fi
72749
72750 # Check for epub3 dependencies.
72751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72752 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72753 glibcxx_epub_stylesheets=no
72754 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72755 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72756 glibcxx_epub_stylesheets=yes
72757 fi
72758 fi
72759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72760 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72761 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72762 BUILD_EPUB_TRUE=
72763 BUILD_EPUB_FALSE='#'
72764 else
72765 BUILD_EPUB_TRUE='#'
72766 BUILD_EPUB_FALSE=
72767 fi
72768
72769
72770
72771
72772 # Check for xml/html dependencies.
72773 if test $ac_cv_prog_DOXYGEN = "yes" &&
72774 test $ac_cv_prog_DOT = "yes" &&
72775 test $ac_cv_prog_XSLTPROC = "yes" &&
72776 test $ac_cv_prog_XMLLINT = "yes" &&
72777 test $glibcxx_stylesheets = "yes"; then
72778 BUILD_XML_TRUE=
72779 BUILD_XML_FALSE='#'
72780 else
72781 BUILD_XML_TRUE='#'
72782 BUILD_XML_FALSE=
72783 fi
72784
72785
72786 if test $ac_cv_prog_DOXYGEN = "yes" &&
72787 test $ac_cv_prog_DOT = "yes" &&
72788 test $ac_cv_prog_XSLTPROC = "yes" &&
72789 test $ac_cv_prog_XMLLINT = "yes" &&
72790 test $glibcxx_stylesheets = "yes"; then
72791 BUILD_HTML_TRUE=
72792 BUILD_HTML_FALSE='#'
72793 else
72794 BUILD_HTML_TRUE='#'
72795 BUILD_HTML_FALSE=
72796 fi
72797
72798
72799 # Check for man dependencies.
72800 if test $ac_cv_prog_DOXYGEN = "yes" &&
72801 test $ac_cv_prog_DOT = "yes"; then
72802 BUILD_MAN_TRUE=
72803 BUILD_MAN_FALSE='#'
72804 else
72805 BUILD_MAN_TRUE='#'
72806 BUILD_MAN_FALSE=
72807 fi
72808
72809
72810 # Check for pdf dependencies.
72811 # Extract the first word of "dblatex", so it can be a program name with args.
72812 set dummy dblatex; ac_word=$2
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72814 $as_echo_n "checking for $ac_word... " >&6; }
72815 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72816 $as_echo_n "(cached) " >&6
72817 else
72818 if test -n "$DBLATEX"; then
72819 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72820 else
72821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72822 for as_dir in $PATH
72823 do
72824 IFS=$as_save_IFS
72825 test -z "$as_dir" && as_dir=.
72826 for ac_exec_ext in '' $ac_executable_extensions; do
72827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72828 ac_cv_prog_DBLATEX="yes"
72829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72830 break 2
72831 fi
72832 done
72833 done
72834 IFS=$as_save_IFS
72835
72836 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72837 fi
72838 fi
72839 DBLATEX=$ac_cv_prog_DBLATEX
72840 if test -n "$DBLATEX"; then
72841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72842 $as_echo "$DBLATEX" >&6; }
72843 else
72844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72845 $as_echo "no" >&6; }
72846 fi
72847
72848
72849 # Extract the first word of "pdflatex", so it can be a program name with args.
72850 set dummy pdflatex; ac_word=$2
72851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72852 $as_echo_n "checking for $ac_word... " >&6; }
72853 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72854 $as_echo_n "(cached) " >&6
72855 else
72856 if test -n "$PDFLATEX"; then
72857 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72858 else
72859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72860 for as_dir in $PATH
72861 do
72862 IFS=$as_save_IFS
72863 test -z "$as_dir" && as_dir=.
72864 for ac_exec_ext in '' $ac_executable_extensions; do
72865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72866 ac_cv_prog_PDFLATEX="yes"
72867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72868 break 2
72869 fi
72870 done
72871 done
72872 IFS=$as_save_IFS
72873
72874 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72875 fi
72876 fi
72877 PDFLATEX=$ac_cv_prog_PDFLATEX
72878 if test -n "$PDFLATEX"; then
72879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72880 $as_echo "$PDFLATEX" >&6; }
72881 else
72882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72883 $as_echo "no" >&6; }
72884 fi
72885
72886
72887 if test $ac_cv_prog_DBLATEX = "yes" &&
72888 test $ac_cv_prog_PDFLATEX = "yes"; then
72889 BUILD_PDF_TRUE=
72890 BUILD_PDF_FALSE='#'
72891 else
72892 BUILD_PDF_TRUE='#'
72893 BUILD_PDF_FALSE=
72894 fi
72895
72896
72897
72898 # Propagate the target-specific source directories through the build chain.
72899 ATOMICITY_SRCDIR=config/${atomicity_dir}
72900 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72901 ATOMIC_FLAGS=${atomic_flags}
72902 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72903 OS_INC_SRCDIR=config/${os_include_dir}
72904 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72905 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72906 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72907 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72908
72909
72910
72911
72912
72913
72914
72915
72916
72917
72918
72919 # Determine cross-compile flags and AM_CONDITIONALs.
72920 #AC_SUBST(GLIBCXX_IS_NATIVE)
72921 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72922 if test $is_hosted = yes; then
72923 GLIBCXX_HOSTED_TRUE=
72924 GLIBCXX_HOSTED_FALSE='#'
72925 else
72926 GLIBCXX_HOSTED_TRUE='#'
72927 GLIBCXX_HOSTED_FALSE=
72928 fi
72929
72930
72931 if test $enable_libstdcxx_pch = yes; then
72932 GLIBCXX_BUILD_PCH_TRUE=
72933 GLIBCXX_BUILD_PCH_FALSE='#'
72934 else
72935 GLIBCXX_BUILD_PCH_TRUE='#'
72936 GLIBCXX_BUILD_PCH_FALSE=
72937 fi
72938
72939
72940 if test $enable_cheaders = c; then
72941 GLIBCXX_C_HEADERS_C_TRUE=
72942 GLIBCXX_C_HEADERS_C_FALSE='#'
72943 else
72944 GLIBCXX_C_HEADERS_C_TRUE='#'
72945 GLIBCXX_C_HEADERS_C_FALSE=
72946 fi
72947
72948
72949 if test $enable_cheaders = c_std; then
72950 GLIBCXX_C_HEADERS_C_STD_TRUE=
72951 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72952 else
72953 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72954 GLIBCXX_C_HEADERS_C_STD_FALSE=
72955 fi
72956
72957
72958 if test $enable_cheaders = c_global; then
72959 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72960 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72961 else
72962 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72963 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72964 fi
72965
72966
72967 if test $c_compatibility = yes; then
72968 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72969 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72970 else
72971 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72972 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72973 fi
72974
72975
72976 if test $enable_libstdcxx_debug = yes; then
72977 GLIBCXX_BUILD_DEBUG_TRUE=
72978 GLIBCXX_BUILD_DEBUG_FALSE='#'
72979 else
72980 GLIBCXX_BUILD_DEBUG_TRUE='#'
72981 GLIBCXX_BUILD_DEBUG_FALSE=
72982 fi
72983
72984
72985 if test $enable_extern_template = yes; then
72986 ENABLE_EXTERN_TEMPLATE_TRUE=
72987 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72988 else
72989 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72990 ENABLE_EXTERN_TEMPLATE_FALSE=
72991 fi
72992
72993
72994 if test $python_mod_dir != no; then
72995 ENABLE_PYTHONDIR_TRUE=
72996 ENABLE_PYTHONDIR_FALSE='#'
72997 else
72998 ENABLE_PYTHONDIR_TRUE='#'
72999 ENABLE_PYTHONDIR_FALSE=
73000 fi
73001
73002
73003 if test $enable_werror = yes; then
73004 ENABLE_WERROR_TRUE=
73005 ENABLE_WERROR_FALSE='#'
73006 else
73007 ENABLE_WERROR_TRUE='#'
73008 ENABLE_WERROR_FALSE=
73009 fi
73010
73011
73012 if test $enable_vtable_verify = yes; then
73013 ENABLE_VTABLE_VERIFY_TRUE=
73014 ENABLE_VTABLE_VERIFY_FALSE='#'
73015 else
73016 ENABLE_VTABLE_VERIFY_TRUE='#'
73017 ENABLE_VTABLE_VERIFY_FALSE=
73018 fi
73019
73020
73021 if test $enable_symvers != no; then
73022 ENABLE_SYMVERS_TRUE=
73023 ENABLE_SYMVERS_FALSE='#'
73024 else
73025 ENABLE_SYMVERS_TRUE='#'
73026 ENABLE_SYMVERS_FALSE=
73027 fi
73028
73029
73030 if test $enable_symvers = gnu; then
73031 ENABLE_SYMVERS_GNU_TRUE=
73032 ENABLE_SYMVERS_GNU_FALSE='#'
73033 else
73034 ENABLE_SYMVERS_GNU_TRUE='#'
73035 ENABLE_SYMVERS_GNU_FALSE=
73036 fi
73037
73038
73039 if test $enable_symvers = gnu-versioned-namespace; then
73040 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73041 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73042 else
73043 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73044 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73045 fi
73046
73047
73048 if test $enable_symvers = darwin; then
73049 ENABLE_SYMVERS_DARWIN_TRUE=
73050 ENABLE_SYMVERS_DARWIN_FALSE='#'
73051 else
73052 ENABLE_SYMVERS_DARWIN_TRUE='#'
73053 ENABLE_SYMVERS_DARWIN_FALSE=
73054 fi
73055
73056
73057 if test $enable_symvers = sun; then
73058 ENABLE_SYMVERS_SUN_TRUE=
73059 ENABLE_SYMVERS_SUN_FALSE='#'
73060 else
73061 ENABLE_SYMVERS_SUN_TRUE='#'
73062 ENABLE_SYMVERS_SUN_FALSE=
73063 fi
73064
73065
73066 if test $enable_libstdcxx_visibility = yes; then
73067 ENABLE_VISIBILITY_TRUE=
73068 ENABLE_VISIBILITY_FALSE='#'
73069 else
73070 ENABLE_VISIBILITY_TRUE='#'
73071 ENABLE_VISIBILITY_FALSE=
73072 fi
73073
73074
73075 if test $ac_ldbl_compat = yes; then
73076 GLIBCXX_LDBL_COMPAT_TRUE=
73077 GLIBCXX_LDBL_COMPAT_FALSE='#'
73078 else
73079 GLIBCXX_LDBL_COMPAT_TRUE='#'
73080 GLIBCXX_LDBL_COMPAT_FALSE=
73081 fi
73082
73083
73084
73085
73086 cat >confcache <<\_ACEOF
73087 # This file is a shell script that caches the results of configure
73088 # tests run on this system so they can be shared between configure
73089 # scripts and configure runs, see configure's option --config-cache.
73090 # It is not useful on other systems. If it contains results you don't
73091 # want to keep, you may remove or edit it.
73092 #
73093 # config.status only pays attention to the cache file if you give it
73094 # the --recheck option to rerun configure.
73095 #
73096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73098 # following values.
73099
73100 _ACEOF
73101
73102 # The following way of writing the cache mishandles newlines in values,
73103 # but we know of no workaround that is simple, portable, and efficient.
73104 # So, we kill variables containing newlines.
73105 # Ultrix sh set writes to stderr and can't be redirected directly,
73106 # and sets the high bit in the cache file unless we assign to the vars.
73107 (
73108 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73109 eval ac_val=\$$ac_var
73110 case $ac_val in #(
73111 *${as_nl}*)
73112 case $ac_var in #(
73113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73115 esac
73116 case $ac_var in #(
73117 _ | IFS | as_nl) ;; #(
73118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73119 *) { eval $ac_var=; unset $ac_var;} ;;
73120 esac ;;
73121 esac
73122 done
73123
73124 (set) 2>&1 |
73125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73126 *${as_nl}ac_space=\ *)
73127 # `set' does not quote correctly, so add quotes: double-quote
73128 # substitution turns \\\\ into \\, and sed turns \\ into \.
73129 sed -n \
73130 "s/'/'\\\\''/g;
73131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73132 ;; #(
73133 *)
73134 # `set' quotes correctly as required by POSIX, so do not add quotes.
73135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73136 ;;
73137 esac |
73138 sort
73139 ) |
73140 sed '
73141 /^ac_cv_env_/b end
73142 t clear
73143 :clear
73144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73145 t end
73146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73147 :end' >>confcache
73148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73149 if test -w "$cache_file"; then
73150 test "x$cache_file" != "x/dev/null" &&
73151 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73152 $as_echo "$as_me: updating cache $cache_file" >&6;}
73153 cat confcache >$cache_file
73154 else
73155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73157 fi
73158 fi
73159 rm -f confcache
73160
73161 if test ${multilib} = yes; then
73162 multilib_arg="--enable-multilib"
73163 else
73164 multilib_arg=
73165 fi
73166
73167 # Export all the install information.
73168
73169 glibcxx_toolexecdir=no
73170 glibcxx_toolexeclibdir=no
73171 glibcxx_prefixdir=$prefix
73172
73173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73174 $as_echo_n "checking for gxx-include-dir... " >&6; }
73175
73176 # Check whether --with-gxx-include-dir was given.
73177 if test "${with_gxx_include_dir+set}" = set; then :
73178 withval=$with_gxx_include_dir; case "$withval" in
73179 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73180 no) gxx_include_dir=no ;;
73181 *) gxx_include_dir=$withval ;;
73182 esac
73183 else
73184 gxx_include_dir=no
73185 fi
73186
73187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73188 $as_echo "$gxx_include_dir" >&6; }
73189
73190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73191 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73192 # Check whether --enable-version-specific-runtime-libs was given.
73193 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73194 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73195 yes) version_specific_libs=yes ;;
73196 no) version_specific_libs=no ;;
73197 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73198 esac
73199 else
73200 version_specific_libs=no
73201 fi
73202
73203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73204 $as_echo "$version_specific_libs" >&6; }
73205
73206 # Default case for install directory for include files.
73207 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73208 gxx_include_dir='include/c++/${gcc_version}'
73209 if test -n "$with_cross_host" &&
73210 test x"$with_cross_host" != x"no"; then
73211 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73212 else
73213 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73214 fi
73215 fi
73216
73217 # Version-specific runtime libs processing.
73218 if test $version_specific_libs = yes; then
73219 # Need the gcc compiler version to know where to install libraries
73220 # and header files if --enable-version-specific-runtime-libs option
73221 # is selected. FIXME: these variables are misnamed, there are
73222 # no executables installed in _toolexecdir or _toolexeclibdir.
73223 if test x"$gxx_include_dir" = x"no"; then
73224 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73225 fi
73226 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73227 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73228 fi
73229
73230 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73231 # Install a library built with a cross compiler in tooldir, not libdir.
73232 if test x"$glibcxx_toolexecdir" = x"no"; then
73233 if test -n "$with_cross_host" &&
73234 test x"$with_cross_host" != x"no"; then
73235 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73236 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73237 else
73238 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73239 glibcxx_toolexeclibdir='${libdir}'
73240 fi
73241 multi_os_directory=`$CXX -print-multi-os-directory`
73242 case $multi_os_directory in
73243 .) ;; # Avoid trailing /.
73244 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73245 esac
73246 fi
73247
73248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73249 $as_echo_n "checking for install location... " >&6; }
73250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73251 $as_echo "$gxx_include_dir" >&6; }
73252
73253
73254
73255
73256
73257
73258
73259 # Export all the include and flag information to Makefiles.
73260
73261 # Used for every C++ compile we perform.
73262 GLIBCXX_INCLUDES="\
73263 -I$glibcxx_builddir/include/$host_alias \
73264 -I$glibcxx_builddir/include \
73265 -I$glibcxx_srcdir/libsupc++"
73266
73267 # For Canadian crosses, pick this up too.
73268 if test $CANADIAN = yes; then
73269 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73270 fi
73271
73272 # Stuff in the actual top level. Currently only used by libsupc++ to
73273 # get unwind* headers from the libgcc dir.
73274 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73275 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73276
73277 # Now, export this to all the little Makefiles....
73278
73279
73280
73281
73282 # Optimization flags that are probably a good idea for thrill-seekers. Just
73283 # uncomment the lines below and make, everything else is ready to go...
73284 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73285 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73286
73287
73288 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73289
73290
73291
73292 ac_config_files="$ac_config_files Makefile"
73293
73294 ac_config_files="$ac_config_files scripts/testsuite_flags"
73295
73296 ac_config_files="$ac_config_files scripts/extract_symvers"
73297
73298 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73299
73300
73301 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73302 # that multilib installs will end up installed in the correct place.
73303 # The testsuite needs it for multilib-aware ABI baseline files.
73304 # To work around this not being passed down from config-ml.in ->
73305 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73306 # append it here. Only modify Makefiles that have just been created.
73307 #
73308 # Also, get rid of this simulated-VPATH thing that automake does.
73309 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73310
73311
73312 ac_config_commands="$ac_config_commands generate-headers"
73313
73314
73315 cat >confcache <<\_ACEOF
73316 # This file is a shell script that caches the results of configure
73317 # tests run on this system so they can be shared between configure
73318 # scripts and configure runs, see configure's option --config-cache.
73319 # It is not useful on other systems. If it contains results you don't
73320 # want to keep, you may remove or edit it.
73321 #
73322 # config.status only pays attention to the cache file if you give it
73323 # the --recheck option to rerun configure.
73324 #
73325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73327 # following values.
73328
73329 _ACEOF
73330
73331 # The following way of writing the cache mishandles newlines in values,
73332 # but we know of no workaround that is simple, portable, and efficient.
73333 # So, we kill variables containing newlines.
73334 # Ultrix sh set writes to stderr and can't be redirected directly,
73335 # and sets the high bit in the cache file unless we assign to the vars.
73336 (
73337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73338 eval ac_val=\$$ac_var
73339 case $ac_val in #(
73340 *${as_nl}*)
73341 case $ac_var in #(
73342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73343 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73344 esac
73345 case $ac_var in #(
73346 _ | IFS | as_nl) ;; #(
73347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73348 *) { eval $ac_var=; unset $ac_var;} ;;
73349 esac ;;
73350 esac
73351 done
73352
73353 (set) 2>&1 |
73354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73355 *${as_nl}ac_space=\ *)
73356 # `set' does not quote correctly, so add quotes: double-quote
73357 # substitution turns \\\\ into \\, and sed turns \\ into \.
73358 sed -n \
73359 "s/'/'\\\\''/g;
73360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73361 ;; #(
73362 *)
73363 # `set' quotes correctly as required by POSIX, so do not add quotes.
73364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73365 ;;
73366 esac |
73367 sort
73368 ) |
73369 sed '
73370 /^ac_cv_env_/b end
73371 t clear
73372 :clear
73373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73374 t end
73375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73376 :end' >>confcache
73377 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73378 if test -w "$cache_file"; then
73379 test "x$cache_file" != "x/dev/null" &&
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73381 $as_echo "$as_me: updating cache $cache_file" >&6;}
73382 cat confcache >$cache_file
73383 else
73384 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73386 fi
73387 fi
73388 rm -f confcache
73389
73390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73391 # Let make expand exec_prefix.
73392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73393
73394 DEFS=-DHAVE_CONFIG_H
73395
73396 ac_libobjs=
73397 ac_ltlibobjs=
73398 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73399 # 1. Remove the extension, and $U if already installed.
73400 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73401 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73402 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73403 # will be set to the directory where LIBOBJS objects are built.
73404 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73405 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73406 done
73407 LIBOBJS=$ac_libobjs
73408
73409 LTLIBOBJS=$ac_ltlibobjs
73410
73411
73412 if test -n "$EXEEXT"; then
73413 am__EXEEXT_TRUE=
73414 am__EXEEXT_FALSE='#'
73415 else
73416 am__EXEEXT_TRUE='#'
73417 am__EXEEXT_FALSE=
73418 fi
73419
73420 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73421 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73423 fi
73424 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73425 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73427 fi
73428 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73429 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73431 fi
73432 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73433 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73435 fi
73436 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73437 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73439 fi
73440 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73441 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73443 fi
73444 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73445 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73447 fi
73448 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73449 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73451 fi
73452 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73453 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73455 fi
73456 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73457 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73459 fi
73460 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73461 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73463 fi
73464 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73465 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73467 fi
73468 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73469 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73471 fi
73472 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73473 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73475 fi
73476 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73477 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73479 fi
73480 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73481 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73483 fi
73484 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73485 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73487 fi
73488 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73489 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73491 fi
73492 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73493 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73495 fi
73496 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73497 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73499 fi
73500 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73501 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73503 fi
73504 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73505 as_fn_error "conditional \"BUILD_XML\" was never defined.
73506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73507 fi
73508 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73509 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73511 fi
73512 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73513 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73515 fi
73516 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73517 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73519 fi
73520
73521 : ${CONFIG_STATUS=./config.status}
73522 ac_write_fail=0
73523 ac_clean_files_save=$ac_clean_files
73524 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73526 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73527 as_write_fail=0
73528 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73529 #! $SHELL
73530 # Generated by $as_me.
73531 # Run this file to recreate the current configuration.
73532 # Compiler output produced by configure, useful for debugging
73533 # configure, is in config.log if it exists.
73534
73535 debug=false
73536 ac_cs_recheck=false
73537 ac_cs_silent=false
73538
73539 SHELL=\${CONFIG_SHELL-$SHELL}
73540 export SHELL
73541 _ASEOF
73542 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73543 ## -------------------- ##
73544 ## M4sh Initialization. ##
73545 ## -------------------- ##
73546
73547 # Be more Bourne compatible
73548 DUALCASE=1; export DUALCASE # for MKS sh
73549 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73550 emulate sh
73551 NULLCMD=:
73552 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73553 # is contrary to our usage. Disable this feature.
73554 alias -g '${1+"$@"}'='"$@"'
73555 setopt NO_GLOB_SUBST
73556 else
73557 case `(set -o) 2>/dev/null` in #(
73558 *posix*) :
73559 set -o posix ;; #(
73560 *) :
73561 ;;
73562 esac
73563 fi
73564
73565
73566 as_nl='
73567 '
73568 export as_nl
73569 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73570 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73573 # Prefer a ksh shell builtin over an external printf program on Solaris,
73574 # but without wasting forks for bash or zsh.
73575 if test -z "$BASH_VERSION$ZSH_VERSION" \
73576 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73577 as_echo='print -r --'
73578 as_echo_n='print -rn --'
73579 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73580 as_echo='printf %s\n'
73581 as_echo_n='printf %s'
73582 else
73583 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73584 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73585 as_echo_n='/usr/ucb/echo -n'
73586 else
73587 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73588 as_echo_n_body='eval
73589 arg=$1;
73590 case $arg in #(
73591 *"$as_nl"*)
73592 expr "X$arg" : "X\\(.*\\)$as_nl";
73593 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73594 esac;
73595 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73596 '
73597 export as_echo_n_body
73598 as_echo_n='sh -c $as_echo_n_body as_echo'
73599 fi
73600 export as_echo_body
73601 as_echo='sh -c $as_echo_body as_echo'
73602 fi
73603
73604 # The user is always right.
73605 if test "${PATH_SEPARATOR+set}" != set; then
73606 PATH_SEPARATOR=:
73607 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73608 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73609 PATH_SEPARATOR=';'
73610 }
73611 fi
73612
73613
73614 # IFS
73615 # We need space, tab and new line, in precisely that order. Quoting is
73616 # there to prevent editors from complaining about space-tab.
73617 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73618 # splitting by setting IFS to empty value.)
73619 IFS=" "" $as_nl"
73620
73621 # Find who we are. Look in the path if we contain no directory separator.
73622 case $0 in #((
73623 *[\\/]* ) as_myself=$0 ;;
73624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73625 for as_dir in $PATH
73626 do
73627 IFS=$as_save_IFS
73628 test -z "$as_dir" && as_dir=.
73629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73630 done
73631 IFS=$as_save_IFS
73632
73633 ;;
73634 esac
73635 # We did not find ourselves, most probably we were run as `sh COMMAND'
73636 # in which case we are not to be found in the path.
73637 if test "x$as_myself" = x; then
73638 as_myself=$0
73639 fi
73640 if test ! -f "$as_myself"; then
73641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73642 exit 1
73643 fi
73644
73645 # Unset variables that we do not need and which cause bugs (e.g. in
73646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73647 # suppresses any "Segmentation fault" message there. '((' could
73648 # trigger a bug in pdksh 5.2.14.
73649 for as_var in BASH_ENV ENV MAIL MAILPATH
73650 do eval test x\${$as_var+set} = xset \
73651 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73652 done
73653 PS1='$ '
73654 PS2='> '
73655 PS4='+ '
73656
73657 # NLS nuisances.
73658 LC_ALL=C
73659 export LC_ALL
73660 LANGUAGE=C
73661 export LANGUAGE
73662
73663 # CDPATH.
73664 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73665
73666
73667 # as_fn_error ERROR [LINENO LOG_FD]
73668 # ---------------------------------
73669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73671 # script with status $?, using 1 if that was 0.
73672 as_fn_error ()
73673 {
73674 as_status=$?; test $as_status -eq 0 && as_status=1
73675 if test "$3"; then
73676 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73678 fi
73679 $as_echo "$as_me: error: $1" >&2
73680 as_fn_exit $as_status
73681 } # as_fn_error
73682
73683
73684 # as_fn_set_status STATUS
73685 # -----------------------
73686 # Set $? to STATUS, without forking.
73687 as_fn_set_status ()
73688 {
73689 return $1
73690 } # as_fn_set_status
73691
73692 # as_fn_exit STATUS
73693 # -----------------
73694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73695 as_fn_exit ()
73696 {
73697 set +e
73698 as_fn_set_status $1
73699 exit $1
73700 } # as_fn_exit
73701
73702 # as_fn_unset VAR
73703 # ---------------
73704 # Portably unset VAR.
73705 as_fn_unset ()
73706 {
73707 { eval $1=; unset $1;}
73708 }
73709 as_unset=as_fn_unset
73710 # as_fn_append VAR VALUE
73711 # ----------------------
73712 # Append the text in VALUE to the end of the definition contained in VAR. Take
73713 # advantage of any shell optimizations that allow amortized linear growth over
73714 # repeated appends, instead of the typical quadratic growth present in naive
73715 # implementations.
73716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73717 eval 'as_fn_append ()
73718 {
73719 eval $1+=\$2
73720 }'
73721 else
73722 as_fn_append ()
73723 {
73724 eval $1=\$$1\$2
73725 }
73726 fi # as_fn_append
73727
73728 # as_fn_arith ARG...
73729 # ------------------
73730 # Perform arithmetic evaluation on the ARGs, and store the result in the
73731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73732 # must be portable across $(()) and expr.
73733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73734 eval 'as_fn_arith ()
73735 {
73736 as_val=$(( $* ))
73737 }'
73738 else
73739 as_fn_arith ()
73740 {
73741 as_val=`expr "$@" || test $? -eq 1`
73742 }
73743 fi # as_fn_arith
73744
73745
73746 if expr a : '\(a\)' >/dev/null 2>&1 &&
73747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73748 as_expr=expr
73749 else
73750 as_expr=false
73751 fi
73752
73753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73754 as_basename=basename
73755 else
73756 as_basename=false
73757 fi
73758
73759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73760 as_dirname=dirname
73761 else
73762 as_dirname=false
73763 fi
73764
73765 as_me=`$as_basename -- "$0" ||
73766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73767 X"$0" : 'X\(//\)$' \| \
73768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73769 $as_echo X/"$0" |
73770 sed '/^.*\/\([^/][^/]*\)\/*$/{
73771 s//\1/
73772 q
73773 }
73774 /^X\/\(\/\/\)$/{
73775 s//\1/
73776 q
73777 }
73778 /^X\/\(\/\).*/{
73779 s//\1/
73780 q
73781 }
73782 s/.*/./; q'`
73783
73784 # Avoid depending upon Character Ranges.
73785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73788 as_cr_digits='0123456789'
73789 as_cr_alnum=$as_cr_Letters$as_cr_digits
73790
73791 ECHO_C= ECHO_N= ECHO_T=
73792 case `echo -n x` in #(((((
73793 -n*)
73794 case `echo 'xy\c'` in
73795 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73796 xy) ECHO_C='\c';;
73797 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73798 ECHO_T=' ';;
73799 esac;;
73800 *)
73801 ECHO_N='-n';;
73802 esac
73803
73804 rm -f conf$$ conf$$.exe conf$$.file
73805 if test -d conf$$.dir; then
73806 rm -f conf$$.dir/conf$$.file
73807 else
73808 rm -f conf$$.dir
73809 mkdir conf$$.dir 2>/dev/null
73810 fi
73811 if (echo >conf$$.file) 2>/dev/null; then
73812 if ln -s conf$$.file conf$$ 2>/dev/null; then
73813 as_ln_s='ln -s'
73814 # ... but there are two gotchas:
73815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73817 # In both cases, we have to default to `cp -p'.
73818 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73819 as_ln_s='cp -p'
73820 elif ln conf$$.file conf$$ 2>/dev/null; then
73821 as_ln_s=ln
73822 else
73823 as_ln_s='cp -p'
73824 fi
73825 else
73826 as_ln_s='cp -p'
73827 fi
73828 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73829 rmdir conf$$.dir 2>/dev/null
73830
73831
73832 # as_fn_mkdir_p
73833 # -------------
73834 # Create "$as_dir" as a directory, including parents if necessary.
73835 as_fn_mkdir_p ()
73836 {
73837
73838 case $as_dir in #(
73839 -*) as_dir=./$as_dir;;
73840 esac
73841 test -d "$as_dir" || eval $as_mkdir_p || {
73842 as_dirs=
73843 while :; do
73844 case $as_dir in #(
73845 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73846 *) as_qdir=$as_dir;;
73847 esac
73848 as_dirs="'$as_qdir' $as_dirs"
73849 as_dir=`$as_dirname -- "$as_dir" ||
73850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73851 X"$as_dir" : 'X\(//\)[^/]' \| \
73852 X"$as_dir" : 'X\(//\)$' \| \
73853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73854 $as_echo X"$as_dir" |
73855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73856 s//\1/
73857 q
73858 }
73859 /^X\(\/\/\)[^/].*/{
73860 s//\1/
73861 q
73862 }
73863 /^X\(\/\/\)$/{
73864 s//\1/
73865 q
73866 }
73867 /^X\(\/\).*/{
73868 s//\1/
73869 q
73870 }
73871 s/.*/./; q'`
73872 test -d "$as_dir" && break
73873 done
73874 test -z "$as_dirs" || eval "mkdir $as_dirs"
73875 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73876
73877
73878 } # as_fn_mkdir_p
73879 if mkdir -p . 2>/dev/null; then
73880 as_mkdir_p='mkdir -p "$as_dir"'
73881 else
73882 test -d ./-p && rmdir ./-p
73883 as_mkdir_p=false
73884 fi
73885
73886 if test -x / >/dev/null 2>&1; then
73887 as_test_x='test -x'
73888 else
73889 if ls -dL / >/dev/null 2>&1; then
73890 as_ls_L_option=L
73891 else
73892 as_ls_L_option=
73893 fi
73894 as_test_x='
73895 eval sh -c '\''
73896 if test -d "$1"; then
73897 test -d "$1/.";
73898 else
73899 case $1 in #(
73900 -*)set "./$1";;
73901 esac;
73902 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73903 ???[sx]*):;;*)false;;esac;fi
73904 '\'' sh
73905 '
73906 fi
73907 as_executable_p=$as_test_x
73908
73909 # Sed expression to map a string onto a valid CPP name.
73910 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73911
73912 # Sed expression to map a string onto a valid variable name.
73913 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73914
73915
73916 exec 6>&1
73917 ## ----------------------------------- ##
73918 ## Main body of $CONFIG_STATUS script. ##
73919 ## ----------------------------------- ##
73920 _ASEOF
73921 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73922
73923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73924 # Save the log message, to keep $0 and so on meaningful, and to
73925 # report actual input values of CONFIG_FILES etc. instead of their
73926 # values after options handling.
73927 ac_log="
73928 This file was extended by package-unused $as_me version-unused, which was
73929 generated by GNU Autoconf 2.64. Invocation command line was
73930
73931 CONFIG_FILES = $CONFIG_FILES
73932 CONFIG_HEADERS = $CONFIG_HEADERS
73933 CONFIG_LINKS = $CONFIG_LINKS
73934 CONFIG_COMMANDS = $CONFIG_COMMANDS
73935 $ $0 $@
73936
73937 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73938 "
73939
73940 _ACEOF
73941
73942 case $ac_config_files in *"
73943 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73944 esac
73945
73946 case $ac_config_headers in *"
73947 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73948 esac
73949
73950
73951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73952 # Files that config.status was made for.
73953 config_files="$ac_config_files"
73954 config_headers="$ac_config_headers"
73955 config_commands="$ac_config_commands"
73956
73957 _ACEOF
73958
73959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73960 ac_cs_usage="\
73961 \`$as_me' instantiates files and other configuration actions
73962 from templates according to the current configuration. Unless the files
73963 and actions are specified as TAGs, all are instantiated by default.
73964
73965 Usage: $0 [OPTION]... [TAG]...
73966
73967 -h, --help print this help, then exit
73968 -V, --version print version number and configuration settings, then exit
73969 -q, --quiet, --silent
73970 do not print progress messages
73971 -d, --debug don't remove temporary files
73972 --recheck update $as_me by reconfiguring in the same conditions
73973 --file=FILE[:TEMPLATE]
73974 instantiate the configuration file FILE
73975 --header=FILE[:TEMPLATE]
73976 instantiate the configuration header FILE
73977
73978 Configuration files:
73979 $config_files
73980
73981 Configuration headers:
73982 $config_headers
73983
73984 Configuration commands:
73985 $config_commands
73986
73987 Report bugs to the package provider."
73988
73989 _ACEOF
73990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73991 ac_cs_version="\\
73992 package-unused config.status version-unused
73993 configured by $0, generated by GNU Autoconf 2.64,
73994 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73995
73996 Copyright (C) 2009 Free Software Foundation, Inc.
73997 This config.status script is free software; the Free Software Foundation
73998 gives unlimited permission to copy, distribute and modify it."
73999
74000 ac_pwd='$ac_pwd'
74001 srcdir='$srcdir'
74002 INSTALL='$INSTALL'
74003 MKDIR_P='$MKDIR_P'
74004 AWK='$AWK'
74005 test -n "\$AWK" || AWK=awk
74006 _ACEOF
74007
74008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74009 # The default lists apply if the user does not specify any file.
74010 ac_need_defaults=:
74011 while test $# != 0
74012 do
74013 case $1 in
74014 --*=*)
74015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74017 ac_shift=:
74018 ;;
74019 *)
74020 ac_option=$1
74021 ac_optarg=$2
74022 ac_shift=shift
74023 ;;
74024 esac
74025
74026 case $ac_option in
74027 # Handling of the options.
74028 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74029 ac_cs_recheck=: ;;
74030 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74031 $as_echo "$ac_cs_version"; exit ;;
74032 --debug | --debu | --deb | --de | --d | -d )
74033 debug=: ;;
74034 --file | --fil | --fi | --f )
74035 $ac_shift
74036 case $ac_optarg in
74037 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74038 esac
74039 as_fn_append CONFIG_FILES " '$ac_optarg'"
74040 ac_need_defaults=false;;
74041 --header | --heade | --head | --hea )
74042 $ac_shift
74043 case $ac_optarg in
74044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74045 esac
74046 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74047 ac_need_defaults=false;;
74048 --he | --h)
74049 # Conflict between --help and --header
74050 as_fn_error "ambiguous option: \`$1'
74051 Try \`$0 --help' for more information.";;
74052 --help | --hel | -h )
74053 $as_echo "$ac_cs_usage"; exit ;;
74054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74056 ac_cs_silent=: ;;
74057
74058 # This is an error.
74059 -*) as_fn_error "unrecognized option: \`$1'
74060 Try \`$0 --help' for more information." ;;
74061
74062 *) as_fn_append ac_config_targets " $1"
74063 ac_need_defaults=false ;;
74064
74065 esac
74066 shift
74067 done
74068
74069 ac_configure_extra_args=
74070
74071 if $ac_cs_silent; then
74072 exec 6>/dev/null
74073 ac_configure_extra_args="$ac_configure_extra_args --silent"
74074 fi
74075
74076 _ACEOF
74077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74078 if \$ac_cs_recheck; then
74079 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74080 shift
74081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74082 CONFIG_SHELL='$SHELL'
74083 export CONFIG_SHELL
74084 exec "\$@"
74085 fi
74086
74087 _ACEOF
74088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74089 exec 5>>config.log
74090 {
74091 echo
74092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74093 ## Running $as_me. ##
74094 _ASBOX
74095 $as_echo "$ac_log"
74096 } >&5
74097
74098 _ACEOF
74099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74100 #
74101 # INIT-COMMANDS
74102 #
74103
74104 srcdir="$srcdir"
74105 host="$host"
74106 target="$target"
74107 with_multisubdir="$with_multisubdir"
74108 with_multisrctop="$with_multisrctop"
74109 with_target_subdir="$with_target_subdir"
74110 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74111 multi_basedir="$multi_basedir"
74112 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74113 CC="$CC"
74114 CXX="$CXX"
74115 GFORTRAN="$GFORTRAN"
74116 GCJ="$GCJ"
74117
74118
74119 # The HP-UX ksh and POSIX shell print the target directory to stdout
74120 # if CDPATH is set.
74121 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74122
74123 sed_quote_subst='$sed_quote_subst'
74124 double_quote_subst='$double_quote_subst'
74125 delay_variable_subst='$delay_variable_subst'
74126 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74127 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74128 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74129 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74130 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74131 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74132 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74133 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74134 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74135 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74136 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74137 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74138 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74139 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74140 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74141 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74142 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74143 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74144 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74145 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74146 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74147 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74148 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74149 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74150 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74151 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74152 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74153 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74154 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74155 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74156 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74157 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74158 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74159 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74160 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74161 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74162 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74163 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74164 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74165 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74166 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74167 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74168 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74169 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74170 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74171 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74172 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74173 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74174 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"`'
74175 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74176 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74177 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74178 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74179 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74180 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74181 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74182 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74183 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74184 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74185 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74186 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74187 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74188 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74189 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74190 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74191 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74192 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74193 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74194 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74195 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74196 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74197 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74198 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74199 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74200 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74201 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74202 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74203 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74204 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74205 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74206 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74207 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74208 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74209 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74210 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74211 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74212 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74213 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74214 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74215 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74216 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74217 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74218 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74219 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74220 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74221 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74222 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74223 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74224 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74225 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74226 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74227 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74228 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74229 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74230 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74231 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74232 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74233 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74234 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74235 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74236 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74237 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74238 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74239 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74240 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74241 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74242 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74243 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74244 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74245 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74246 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74247 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74248 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74249 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74250 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74251 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74252 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74253 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74254 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74255 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74256 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74257 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74258 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74259 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74260 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74261 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74262 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74263 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74264 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74265 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74266 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74267 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74268 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74269 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74270 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74271 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74272 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74273 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74274 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74275 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74276 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74277 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74278 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74279 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74280 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74281 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74282 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74283 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74284 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74285 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74286 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74287 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74288 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74289 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74290 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74291 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74292 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74293 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74294 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74295 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74296 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74297 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74298 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74299 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74300 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74301
74302 LTCC='$LTCC'
74303 LTCFLAGS='$LTCFLAGS'
74304 compiler='$compiler_DEFAULT'
74305
74306 # A function that is used when there is no print builtin or printf.
74307 func_fallback_echo ()
74308 {
74309 eval 'cat <<_LTECHO_EOF
74310 \$1
74311 _LTECHO_EOF'
74312 }
74313
74314 # Quote evaled strings.
74315 for var in SHELL \
74316 ECHO \
74317 SED \
74318 GREP \
74319 EGREP \
74320 FGREP \
74321 LD \
74322 NM \
74323 LN_S \
74324 lt_SP2NL \
74325 lt_NL2SP \
74326 reload_flag \
74327 OBJDUMP \
74328 deplibs_check_method \
74329 file_magic_cmd \
74330 AR \
74331 AR_FLAGS \
74332 STRIP \
74333 RANLIB \
74334 CC \
74335 CFLAGS \
74336 compiler \
74337 lt_cv_sys_global_symbol_pipe \
74338 lt_cv_sys_global_symbol_to_cdecl \
74339 lt_cv_sys_global_symbol_to_c_name_address \
74340 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74341 lt_prog_compiler_no_builtin_flag \
74342 lt_prog_compiler_wl \
74343 lt_prog_compiler_pic \
74344 lt_prog_compiler_static \
74345 lt_cv_prog_compiler_c_o \
74346 need_locks \
74347 DSYMUTIL \
74348 NMEDIT \
74349 LIPO \
74350 OTOOL \
74351 OTOOL64 \
74352 shrext_cmds \
74353 export_dynamic_flag_spec \
74354 whole_archive_flag_spec \
74355 compiler_needs_object \
74356 with_gnu_ld \
74357 allow_undefined_flag \
74358 no_undefined_flag \
74359 hardcode_libdir_flag_spec \
74360 hardcode_libdir_flag_spec_ld \
74361 hardcode_libdir_separator \
74362 fix_srcfile_path \
74363 exclude_expsyms \
74364 include_expsyms \
74365 file_list_spec \
74366 variables_saved_for_relink \
74367 libname_spec \
74368 library_names_spec \
74369 soname_spec \
74370 install_override_mode \
74371 finish_eval \
74372 old_striplib \
74373 striplib \
74374 compiler_lib_search_dirs \
74375 predep_objects \
74376 postdep_objects \
74377 predeps \
74378 postdeps \
74379 compiler_lib_search_path \
74380 LD_CXX \
74381 reload_flag_CXX \
74382 compiler_CXX \
74383 lt_prog_compiler_no_builtin_flag_CXX \
74384 lt_prog_compiler_wl_CXX \
74385 lt_prog_compiler_pic_CXX \
74386 lt_prog_compiler_static_CXX \
74387 lt_cv_prog_compiler_c_o_CXX \
74388 export_dynamic_flag_spec_CXX \
74389 whole_archive_flag_spec_CXX \
74390 compiler_needs_object_CXX \
74391 with_gnu_ld_CXX \
74392 allow_undefined_flag_CXX \
74393 no_undefined_flag_CXX \
74394 hardcode_libdir_flag_spec_CXX \
74395 hardcode_libdir_flag_spec_ld_CXX \
74396 hardcode_libdir_separator_CXX \
74397 fix_srcfile_path_CXX \
74398 exclude_expsyms_CXX \
74399 include_expsyms_CXX \
74400 file_list_spec_CXX \
74401 compiler_lib_search_dirs_CXX \
74402 predep_objects_CXX \
74403 postdep_objects_CXX \
74404 predeps_CXX \
74405 postdeps_CXX \
74406 compiler_lib_search_path_CXX; do
74407 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74408 *[\\\\\\\`\\"\\\$]*)
74409 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74410 ;;
74411 *)
74412 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74413 ;;
74414 esac
74415 done
74416
74417 # Double-quote double-evaled strings.
74418 for var in reload_cmds \
74419 old_postinstall_cmds \
74420 old_postuninstall_cmds \
74421 old_archive_cmds \
74422 extract_expsyms_cmds \
74423 old_archive_from_new_cmds \
74424 old_archive_from_expsyms_cmds \
74425 archive_cmds \
74426 archive_expsym_cmds \
74427 module_cmds \
74428 module_expsym_cmds \
74429 export_symbols_cmds \
74430 prelink_cmds \
74431 postinstall_cmds \
74432 postuninstall_cmds \
74433 finish_cmds \
74434 sys_lib_search_path_spec \
74435 sys_lib_dlsearch_path_spec \
74436 reload_cmds_CXX \
74437 old_archive_cmds_CXX \
74438 old_archive_from_new_cmds_CXX \
74439 old_archive_from_expsyms_cmds_CXX \
74440 archive_cmds_CXX \
74441 archive_expsym_cmds_CXX \
74442 module_cmds_CXX \
74443 module_expsym_cmds_CXX \
74444 export_symbols_cmds_CXX \
74445 prelink_cmds_CXX; do
74446 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74447 *[\\\\\\\`\\"\\\$]*)
74448 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74449 ;;
74450 *)
74451 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74452 ;;
74453 esac
74454 done
74455
74456 ac_aux_dir='$ac_aux_dir'
74457 xsi_shell='$xsi_shell'
74458 lt_shell_append='$lt_shell_append'
74459
74460 # See if we are running on zsh, and set the options which allow our
74461 # commands through without removal of \ escapes INIT.
74462 if test -n "\${ZSH_VERSION+set}" ; then
74463 setopt NO_GLOB_SUBST
74464 fi
74465
74466
74467 PACKAGE='$PACKAGE'
74468 VERSION='$VERSION'
74469 TIMESTAMP='$TIMESTAMP'
74470 RM='$RM'
74471 ofile='$ofile'
74472
74473
74474
74475
74476
74477
74478 GCC="$GCC"
74479 CC="$CC"
74480 acx_cv_header_stdint="$acx_cv_header_stdint"
74481 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74482 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74483 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74484 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74485 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74486 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74487 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74488 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74489 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74490 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74491 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74492 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74493 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74494
74495
74496 _ACEOF
74497
74498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74499
74500 # Handling of arguments.
74501 for ac_config_target in $ac_config_targets
74502 do
74503 case $ac_config_target in
74504 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74505 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74506 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74507 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74508 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74509 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74510 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74511 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74512 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74513 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74514 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74515 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74516 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74517 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74518 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74519 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74520 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74521 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74522
74523 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74524 esac
74525 done
74526
74527
74528 # If the user did not use the arguments to specify the items to instantiate,
74529 # then the envvar interface is used. Set only those that are not.
74530 # We use the long form for the default assignment because of an extremely
74531 # bizarre bug on SunOS 4.1.3.
74532 if $ac_need_defaults; then
74533 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74534 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74535 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74536 fi
74537
74538 # Have a temporary directory for convenience. Make it in the build tree
74539 # simply because there is no reason against having it here, and in addition,
74540 # creating and moving files from /tmp can sometimes cause problems.
74541 # Hook for its removal unless debugging.
74542 # Note that there is a small window in which the directory will not be cleaned:
74543 # after its creation but before its name has been assigned to `$tmp'.
74544 $debug ||
74545 {
74546 tmp=
74547 trap 'exit_status=$?
74548 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74549 ' 0
74550 trap 'as_fn_exit 1' 1 2 13 15
74551 }
74552 # Create a (secure) tmp directory for tmp files.
74553
74554 {
74555 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74556 test -n "$tmp" && test -d "$tmp"
74557 } ||
74558 {
74559 tmp=./conf$$-$RANDOM
74560 (umask 077 && mkdir "$tmp")
74561 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74562
74563 # Set up the scripts for CONFIG_FILES section.
74564 # No need to generate them if there are no CONFIG_FILES.
74565 # This happens for instance with `./config.status config.h'.
74566 if test -n "$CONFIG_FILES"; then
74567
74568
74569 ac_cr=`echo X | tr X '\015'`
74570 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74571 # But we know of no other shell where ac_cr would be empty at this
74572 # point, so we can use a bashism as a fallback.
74573 if test "x$ac_cr" = x; then
74574 eval ac_cr=\$\'\\r\'
74575 fi
74576 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74577 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74578 ac_cs_awk_cr='\r'
74579 else
74580 ac_cs_awk_cr=$ac_cr
74581 fi
74582
74583 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74584 _ACEOF
74585
74586
74587 {
74588 echo "cat >conf$$subs.awk <<_ACEOF" &&
74589 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74590 echo "_ACEOF"
74591 } >conf$$subs.sh ||
74592 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74593 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74594 ac_delim='%!_!# '
74595 for ac_last_try in false false false false false :; do
74596 . ./conf$$subs.sh ||
74597 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74598
74599 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74600 if test $ac_delim_n = $ac_delim_num; then
74601 break
74602 elif $ac_last_try; then
74603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74604 else
74605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74606 fi
74607 done
74608 rm -f conf$$subs.sh
74609
74610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74611 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74612 _ACEOF
74613 sed -n '
74614 h
74615 s/^/S["/; s/!.*/"]=/
74616 p
74617 g
74618 s/^[^!]*!//
74619 :repl
74620 t repl
74621 s/'"$ac_delim"'$//
74622 t delim
74623 :nl
74624 h
74625 s/\(.\{148\}\).*/\1/
74626 t more1
74627 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74628 p
74629 n
74630 b repl
74631 :more1
74632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74633 p
74634 g
74635 s/.\{148\}//
74636 t nl
74637 :delim
74638 h
74639 s/\(.\{148\}\).*/\1/
74640 t more2
74641 s/["\\]/\\&/g; s/^/"/; s/$/"/
74642 p
74643 b
74644 :more2
74645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74646 p
74647 g
74648 s/.\{148\}//
74649 t delim
74650 ' <conf$$subs.awk | sed '
74651 /^[^""]/{
74652 N
74653 s/\n//
74654 }
74655 ' >>$CONFIG_STATUS || ac_write_fail=1
74656 rm -f conf$$subs.awk
74657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74658 _ACAWK
74659 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74660 for (key in S) S_is_set[key] = 1
74661 FS = "\a"
74662
74663 }
74664 {
74665 line = $ 0
74666 nfields = split(line, field, "@")
74667 substed = 0
74668 len = length(field[1])
74669 for (i = 2; i < nfields; i++) {
74670 key = field[i]
74671 keylen = length(key)
74672 if (S_is_set[key]) {
74673 value = S[key]
74674 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74675 len += length(value) + length(field[++i])
74676 substed = 1
74677 } else
74678 len += 1 + keylen
74679 }
74680
74681 print line
74682 }
74683
74684 _ACAWK
74685 _ACEOF
74686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74687 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74688 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74689 else
74690 cat
74691 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74692 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74693 _ACEOF
74694
74695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74697 # trailing colons and then remove the whole line if VPATH becomes empty
74698 # (actually we leave an empty line to preserve line numbers).
74699 if test "x$srcdir" = x.; then
74700 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74701 s/:*\$(srcdir):*/:/
74702 s/:*\${srcdir}:*/:/
74703 s/:*@srcdir@:*/:/
74704 s/^\([^=]*=[ ]*\):*/\1/
74705 s/:*$//
74706 s/^[^=]*=[ ]*$//
74707 }'
74708 fi
74709
74710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74711 fi # test -n "$CONFIG_FILES"
74712
74713 # Set up the scripts for CONFIG_HEADERS section.
74714 # No need to generate them if there are no CONFIG_HEADERS.
74715 # This happens for instance with `./config.status Makefile'.
74716 if test -n "$CONFIG_HEADERS"; then
74717 cat >"$tmp/defines.awk" <<\_ACAWK ||
74718 BEGIN {
74719 _ACEOF
74720
74721 # Transform confdefs.h into an awk script `defines.awk', embedded as
74722 # here-document in config.status, that substitutes the proper values into
74723 # config.h.in to produce config.h.
74724
74725 # Create a delimiter string that does not exist in confdefs.h, to ease
74726 # handling of long lines.
74727 ac_delim='%!_!# '
74728 for ac_last_try in false false :; do
74729 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74730 if test -z "$ac_t"; then
74731 break
74732 elif $ac_last_try; then
74733 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74734 else
74735 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74736 fi
74737 done
74738
74739 # For the awk script, D is an array of macro values keyed by name,
74740 # likewise P contains macro parameters if any. Preserve backslash
74741 # newline sequences.
74742
74743 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74744 sed -n '
74745 s/.\{148\}/&'"$ac_delim"'/g
74746 t rset
74747 :rset
74748 s/^[ ]*#[ ]*define[ ][ ]*/ /
74749 t def
74750 d
74751 :def
74752 s/\\$//
74753 t bsnl
74754 s/["\\]/\\&/g
74755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74756 D["\1"]=" \3"/p
74757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74758 d
74759 :bsnl
74760 s/["\\]/\\&/g
74761 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74762 D["\1"]=" \3\\\\\\n"\\/p
74763 t cont
74764 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74765 t cont
74766 d
74767 :cont
74768 n
74769 s/.\{148\}/&'"$ac_delim"'/g
74770 t clear
74771 :clear
74772 s/\\$//
74773 t bsnlc
74774 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74775 d
74776 :bsnlc
74777 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74778 b cont
74779 ' <confdefs.h | sed '
74780 s/'"$ac_delim"'/"\\\
74781 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74782
74783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74784 for (key in D) D_is_set[key] = 1
74785 FS = "\a"
74786 }
74787 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74788 line = \$ 0
74789 split(line, arg, " ")
74790 if (arg[1] == "#") {
74791 defundef = arg[2]
74792 mac1 = arg[3]
74793 } else {
74794 defundef = substr(arg[1], 2)
74795 mac1 = arg[2]
74796 }
74797 split(mac1, mac2, "(") #)
74798 macro = mac2[1]
74799 prefix = substr(line, 1, index(line, defundef) - 1)
74800 if (D_is_set[macro]) {
74801 # Preserve the white space surrounding the "#".
74802 print prefix "define", macro P[macro] D[macro]
74803 next
74804 } else {
74805 # Replace #undef with comments. This is necessary, for example,
74806 # in the case of _POSIX_SOURCE, which is predefined and required
74807 # on some systems where configure will not decide to define it.
74808 if (defundef == "undef") {
74809 print "/*", prefix defundef, macro, "*/"
74810 next
74811 }
74812 }
74813 }
74814 { print }
74815 _ACAWK
74816 _ACEOF
74817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74818 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74819 fi # test -n "$CONFIG_HEADERS"
74820
74821
74822 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74823 shift
74824 for ac_tag
74825 do
74826 case $ac_tag in
74827 :[FHLC]) ac_mode=$ac_tag; continue;;
74828 esac
74829 case $ac_mode$ac_tag in
74830 :[FHL]*:*);;
74831 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74832 :[FH]-) ac_tag=-:-;;
74833 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74834 esac
74835 ac_save_IFS=$IFS
74836 IFS=:
74837 set x $ac_tag
74838 IFS=$ac_save_IFS
74839 shift
74840 ac_file=$1
74841 shift
74842
74843 case $ac_mode in
74844 :L) ac_source=$1;;
74845 :[FH])
74846 ac_file_inputs=
74847 for ac_f
74848 do
74849 case $ac_f in
74850 -) ac_f="$tmp/stdin";;
74851 *) # Look for the file first in the build tree, then in the source tree
74852 # (if the path is not absolute). The absolute path cannot be DOS-style,
74853 # because $ac_f cannot contain `:'.
74854 test -f "$ac_f" ||
74855 case $ac_f in
74856 [\\/$]*) false;;
74857 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74858 esac ||
74859 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74860 esac
74861 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74862 as_fn_append ac_file_inputs " '$ac_f'"
74863 done
74864
74865 # Let's still pretend it is `configure' which instantiates (i.e., don't
74866 # use $as_me), people would be surprised to read:
74867 # /* config.h. Generated by config.status. */
74868 configure_input='Generated from '`
74869 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74870 `' by configure.'
74871 if test x"$ac_file" != x-; then
74872 configure_input="$ac_file. $configure_input"
74873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74874 $as_echo "$as_me: creating $ac_file" >&6;}
74875 fi
74876 # Neutralize special characters interpreted by sed in replacement strings.
74877 case $configure_input in #(
74878 *\&* | *\|* | *\\* )
74879 ac_sed_conf_input=`$as_echo "$configure_input" |
74880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74881 *) ac_sed_conf_input=$configure_input;;
74882 esac
74883
74884 case $ac_tag in
74885 *:-:* | *:-) cat >"$tmp/stdin" \
74886 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74887 esac
74888 ;;
74889 esac
74890
74891 ac_dir=`$as_dirname -- "$ac_file" ||
74892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74893 X"$ac_file" : 'X\(//\)[^/]' \| \
74894 X"$ac_file" : 'X\(//\)$' \| \
74895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74896 $as_echo X"$ac_file" |
74897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74898 s//\1/
74899 q
74900 }
74901 /^X\(\/\/\)[^/].*/{
74902 s//\1/
74903 q
74904 }
74905 /^X\(\/\/\)$/{
74906 s//\1/
74907 q
74908 }
74909 /^X\(\/\).*/{
74910 s//\1/
74911 q
74912 }
74913 s/.*/./; q'`
74914 as_dir="$ac_dir"; as_fn_mkdir_p
74915 ac_builddir=.
74916
74917 case "$ac_dir" in
74918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74919 *)
74920 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74921 # A ".." for each directory in $ac_dir_suffix.
74922 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74923 case $ac_top_builddir_sub in
74924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74926 esac ;;
74927 esac
74928 ac_abs_top_builddir=$ac_pwd
74929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74930 # for backward compatibility:
74931 ac_top_builddir=$ac_top_build_prefix
74932
74933 case $srcdir in
74934 .) # We are building in place.
74935 ac_srcdir=.
74936 ac_top_srcdir=$ac_top_builddir_sub
74937 ac_abs_top_srcdir=$ac_pwd ;;
74938 [\\/]* | ?:[\\/]* ) # Absolute name.
74939 ac_srcdir=$srcdir$ac_dir_suffix;
74940 ac_top_srcdir=$srcdir
74941 ac_abs_top_srcdir=$srcdir ;;
74942 *) # Relative name.
74943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74944 ac_top_srcdir=$ac_top_build_prefix$srcdir
74945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74946 esac
74947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74948
74949
74950 case $ac_mode in
74951 :F)
74952 #
74953 # CONFIG_FILE
74954 #
74955
74956 case $INSTALL in
74957 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74958 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74959 esac
74960 ac_MKDIR_P=$MKDIR_P
74961 case $MKDIR_P in
74962 [\\/$]* | ?:[\\/]* ) ;;
74963 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74964 esac
74965 _ACEOF
74966
74967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74968 # If the template does not know about datarootdir, expand it.
74969 # FIXME: This hack should be removed a few years after 2.60.
74970 ac_datarootdir_hack=; ac_datarootdir_seen=
74971 ac_sed_dataroot='
74972 /datarootdir/ {
74973 p
74974 q
74975 }
74976 /@datadir@/p
74977 /@docdir@/p
74978 /@infodir@/p
74979 /@localedir@/p
74980 /@mandir@/p'
74981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74982 *datarootdir*) ac_datarootdir_seen=yes;;
74983 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74986 _ACEOF
74987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74988 ac_datarootdir_hack='
74989 s&@datadir@&$datadir&g
74990 s&@docdir@&$docdir&g
74991 s&@infodir@&$infodir&g
74992 s&@localedir@&$localedir&g
74993 s&@mandir@&$mandir&g
74994 s&\\\${datarootdir}&$datarootdir&g' ;;
74995 esac
74996 _ACEOF
74997
74998 # Neutralize VPATH when `$srcdir' = `.'.
74999 # Shell code in configure.ac might set extrasub.
75000 # FIXME: do we really want to maintain this feature?
75001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75002 ac_sed_extra="$ac_vpsub
75003 $extrasub
75004 _ACEOF
75005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75006 :t
75007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75008 s|@configure_input@|$ac_sed_conf_input|;t t
75009 s&@top_builddir@&$ac_top_builddir_sub&;t t
75010 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75011 s&@srcdir@&$ac_srcdir&;t t
75012 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75013 s&@top_srcdir@&$ac_top_srcdir&;t t
75014 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75015 s&@builddir@&$ac_builddir&;t t
75016 s&@abs_builddir@&$ac_abs_builddir&;t t
75017 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75018 s&@INSTALL@&$ac_INSTALL&;t t
75019 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75020 $ac_datarootdir_hack
75021 "
75022 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75023 || as_fn_error "could not create $ac_file" "$LINENO" 5
75024
75025 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75026 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75027 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75029 which seems to be undefined. Please make sure it is defined." >&5
75030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75031 which seems to be undefined. Please make sure it is defined." >&2;}
75032
75033 rm -f "$tmp/stdin"
75034 case $ac_file in
75035 -) cat "$tmp/out" && rm -f "$tmp/out";;
75036 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75037 esac \
75038 || as_fn_error "could not create $ac_file" "$LINENO" 5
75039 ;;
75040 :H)
75041 #
75042 # CONFIG_HEADER
75043 #
75044 if test x"$ac_file" != x-; then
75045 {
75046 $as_echo "/* $configure_input */" \
75047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75048 } >"$tmp/config.h" \
75049 || as_fn_error "could not create $ac_file" "$LINENO" 5
75050 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75052 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75053 else
75054 rm -f "$ac_file"
75055 mv "$tmp/config.h" "$ac_file" \
75056 || as_fn_error "could not create $ac_file" "$LINENO" 5
75057 fi
75058 else
75059 $as_echo "/* $configure_input */" \
75060 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75061 || as_fn_error "could not create -" "$LINENO" 5
75062 fi
75063 # Compute "$ac_file"'s index in $config_headers.
75064 _am_arg="$ac_file"
75065 _am_stamp_count=1
75066 for _am_header in $config_headers :; do
75067 case $_am_header in
75068 $_am_arg | $_am_arg:* )
75069 break ;;
75070 * )
75071 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75072 esac
75073 done
75074 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75075 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75076 X"$_am_arg" : 'X\(//\)[^/]' \| \
75077 X"$_am_arg" : 'X\(//\)$' \| \
75078 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75079 $as_echo X"$_am_arg" |
75080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75081 s//\1/
75082 q
75083 }
75084 /^X\(\/\/\)[^/].*/{
75085 s//\1/
75086 q
75087 }
75088 /^X\(\/\/\)$/{
75089 s//\1/
75090 q
75091 }
75092 /^X\(\/\).*/{
75093 s//\1/
75094 q
75095 }
75096 s/.*/./; q'`/stamp-h$_am_stamp_count
75097 ;;
75098
75099 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75100 $as_echo "$as_me: executing $ac_file commands" >&6;}
75101 ;;
75102 esac
75103
75104
75105 case $ac_file$ac_mode in
75106 "default-1":C)
75107 # Only add multilib support code if we just rebuilt the top-level
75108 # Makefile.
75109 case " $CONFIG_FILES " in
75110 *" Makefile "*)
75111 ac_file=Makefile . ${multi_basedir}/config-ml.in
75112 ;;
75113 esac ;;
75114 "libtool":C)
75115
75116 # See if we are running on zsh, and set the options which allow our
75117 # commands through without removal of \ escapes.
75118 if test -n "${ZSH_VERSION+set}" ; then
75119 setopt NO_GLOB_SUBST
75120 fi
75121
75122 cfgfile="${ofile}T"
75123 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75124 $RM "$cfgfile"
75125
75126 cat <<_LT_EOF >> "$cfgfile"
75127 #! $SHELL
75128
75129 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75130 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75131 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75132 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75133 #
75134 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75135 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75136 # Written by Gordon Matzigkeit, 1996
75137 #
75138 # This file is part of GNU Libtool.
75139 #
75140 # GNU Libtool is free software; you can redistribute it and/or
75141 # modify it under the terms of the GNU General Public License as
75142 # published by the Free Software Foundation; either version 2 of
75143 # the License, or (at your option) any later version.
75144 #
75145 # As a special exception to the GNU General Public License,
75146 # if you distribute this file as part of a program or library that
75147 # is built using GNU Libtool, you may include this file under the
75148 # same distribution terms that you use for the rest of that program.
75149 #
75150 # GNU Libtool is distributed in the hope that it will be useful,
75151 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75152 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75153 # GNU General Public License for more details.
75154 #
75155 # You should have received a copy of the GNU General Public License
75156 # along with GNU Libtool; see the file COPYING. If not, a copy
75157 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75158 # obtained by writing to the Free Software Foundation, Inc.,
75159 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75160
75161
75162 # The names of the tagged configurations supported by this script.
75163 available_tags="CXX "
75164
75165 # ### BEGIN LIBTOOL CONFIG
75166
75167 # Which release of libtool.m4 was used?
75168 macro_version=$macro_version
75169 macro_revision=$macro_revision
75170
75171 # Whether or not to build shared libraries.
75172 build_libtool_libs=$enable_shared
75173
75174 # Whether or not to build static libraries.
75175 build_old_libs=$enable_static
75176
75177 # What type of objects to build.
75178 pic_mode=$pic_mode
75179
75180 # Whether or not to optimize for fast installation.
75181 fast_install=$enable_fast_install
75182
75183 # Shell to use when invoking shell scripts.
75184 SHELL=$lt_SHELL
75185
75186 # An echo program that protects backslashes.
75187 ECHO=$lt_ECHO
75188
75189 # The host system.
75190 host_alias=$host_alias
75191 host=$host
75192 host_os=$host_os
75193
75194 # The build system.
75195 build_alias=$build_alias
75196 build=$build
75197 build_os=$build_os
75198
75199 # A sed program that does not truncate output.
75200 SED=$lt_SED
75201
75202 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75203 Xsed="\$SED -e 1s/^X//"
75204
75205 # A grep program that handles long lines.
75206 GREP=$lt_GREP
75207
75208 # An ERE matcher.
75209 EGREP=$lt_EGREP
75210
75211 # A literal string matcher.
75212 FGREP=$lt_FGREP
75213
75214 # A BSD- or MS-compatible name lister.
75215 NM=$lt_NM
75216
75217 # Whether we need soft or hard links.
75218 LN_S=$lt_LN_S
75219
75220 # What is the maximum length of a command?
75221 max_cmd_len=$max_cmd_len
75222
75223 # Object file suffix (normally "o").
75224 objext=$ac_objext
75225
75226 # Executable file suffix (normally "").
75227 exeext=$exeext
75228
75229 # whether the shell understands "unset".
75230 lt_unset=$lt_unset
75231
75232 # turn spaces into newlines.
75233 SP2NL=$lt_lt_SP2NL
75234
75235 # turn newlines into spaces.
75236 NL2SP=$lt_lt_NL2SP
75237
75238 # An object symbol dumper.
75239 OBJDUMP=$lt_OBJDUMP
75240
75241 # Method to check whether dependent libraries are shared objects.
75242 deplibs_check_method=$lt_deplibs_check_method
75243
75244 # Command to use when deplibs_check_method == "file_magic".
75245 file_magic_cmd=$lt_file_magic_cmd
75246
75247 # The archiver.
75248 AR=$lt_AR
75249 AR_FLAGS=$lt_AR_FLAGS
75250
75251 # A symbol stripping program.
75252 STRIP=$lt_STRIP
75253
75254 # Commands used to install an old-style archive.
75255 RANLIB=$lt_RANLIB
75256 old_postinstall_cmds=$lt_old_postinstall_cmds
75257 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75258
75259 # Whether to use a lock for old archive extraction.
75260 lock_old_archive_extraction=$lock_old_archive_extraction
75261
75262 # A C compiler.
75263 LTCC=$lt_CC
75264
75265 # LTCC compiler flags.
75266 LTCFLAGS=$lt_CFLAGS
75267
75268 # Take the output of nm and produce a listing of raw symbols and C names.
75269 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75270
75271 # Transform the output of nm in a proper C declaration.
75272 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75273
75274 # Transform the output of nm in a C name address pair.
75275 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75276
75277 # Transform the output of nm in a C name address pair when lib prefix is needed.
75278 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75279
75280 # The name of the directory that contains temporary libtool files.
75281 objdir=$objdir
75282
75283 # Used to examine libraries when file_magic_cmd begins with "file".
75284 MAGIC_CMD=$MAGIC_CMD
75285
75286 # Must we lock files when doing compilation?
75287 need_locks=$lt_need_locks
75288
75289 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75290 DSYMUTIL=$lt_DSYMUTIL
75291
75292 # Tool to change global to local symbols on Mac OS X.
75293 NMEDIT=$lt_NMEDIT
75294
75295 # Tool to manipulate fat objects and archives on Mac OS X.
75296 LIPO=$lt_LIPO
75297
75298 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75299 OTOOL=$lt_OTOOL
75300
75301 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75302 OTOOL64=$lt_OTOOL64
75303
75304 # Old archive suffix (normally "a").
75305 libext=$libext
75306
75307 # Shared library suffix (normally ".so").
75308 shrext_cmds=$lt_shrext_cmds
75309
75310 # The commands to extract the exported symbol list from a shared archive.
75311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75312
75313 # Variables whose values should be saved in libtool wrapper scripts and
75314 # restored at link time.
75315 variables_saved_for_relink=$lt_variables_saved_for_relink
75316
75317 # Do we need the "lib" prefix for modules?
75318 need_lib_prefix=$need_lib_prefix
75319
75320 # Do we need a version for libraries?
75321 need_version=$need_version
75322
75323 # Library versioning type.
75324 version_type=$version_type
75325
75326 # Shared library runtime path variable.
75327 runpath_var=$runpath_var
75328
75329 # Shared library path variable.
75330 shlibpath_var=$shlibpath_var
75331
75332 # Is shlibpath searched before the hard-coded library search path?
75333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75334
75335 # Format of library name prefix.
75336 libname_spec=$lt_libname_spec
75337
75338 # List of archive names. First name is the real one, the rest are links.
75339 # The last name is the one that the linker finds with -lNAME
75340 library_names_spec=$lt_library_names_spec
75341
75342 # The coded name of the library, if different from the real name.
75343 soname_spec=$lt_soname_spec
75344
75345 # Permission mode override for installation of shared libraries.
75346 install_override_mode=$lt_install_override_mode
75347
75348 # Command to use after installation of a shared archive.
75349 postinstall_cmds=$lt_postinstall_cmds
75350
75351 # Command to use after uninstallation of a shared archive.
75352 postuninstall_cmds=$lt_postuninstall_cmds
75353
75354 # Commands used to finish a libtool library installation in a directory.
75355 finish_cmds=$lt_finish_cmds
75356
75357 # As "finish_cmds", except a single script fragment to be evaled but
75358 # not shown.
75359 finish_eval=$lt_finish_eval
75360
75361 # Whether we should hardcode library paths into libraries.
75362 hardcode_into_libs=$hardcode_into_libs
75363
75364 # Compile-time system search path for libraries.
75365 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75366
75367 # Run-time system search path for libraries.
75368 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75369
75370 # Whether dlopen is supported.
75371 dlopen_support=$enable_dlopen
75372
75373 # Whether dlopen of programs is supported.
75374 dlopen_self=$enable_dlopen_self
75375
75376 # Whether dlopen of statically linked programs is supported.
75377 dlopen_self_static=$enable_dlopen_self_static
75378
75379 # Commands to strip libraries.
75380 old_striplib=$lt_old_striplib
75381 striplib=$lt_striplib
75382
75383
75384 # The linker used to build libraries.
75385 LD=$lt_LD
75386
75387 # How to create reloadable object files.
75388 reload_flag=$lt_reload_flag
75389 reload_cmds=$lt_reload_cmds
75390
75391 # Commands used to build an old-style archive.
75392 old_archive_cmds=$lt_old_archive_cmds
75393
75394 # A language specific compiler.
75395 CC=$lt_compiler
75396
75397 # Is the compiler the GNU compiler?
75398 with_gcc=$GCC
75399
75400 # Compiler flag to turn off builtin functions.
75401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75402
75403 # How to pass a linker flag through the compiler.
75404 wl=$lt_lt_prog_compiler_wl
75405
75406 # Additional compiler flags for building library objects.
75407 pic_flag=$lt_lt_prog_compiler_pic
75408
75409 # Compiler flag to prevent dynamic linking.
75410 link_static_flag=$lt_lt_prog_compiler_static
75411
75412 # Does compiler simultaneously support -c and -o options?
75413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75414
75415 # Whether or not to add -lc for building shared libraries.
75416 build_libtool_need_lc=$archive_cmds_need_lc
75417
75418 # Whether or not to disallow shared libs when runtime libs are static.
75419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75420
75421 # Compiler flag to allow reflexive dlopens.
75422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75423
75424 # Compiler flag to generate shared objects directly from archives.
75425 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75426
75427 # Whether the compiler copes with passing no objects directly.
75428 compiler_needs_object=$lt_compiler_needs_object
75429
75430 # Create an old-style archive from a shared archive.
75431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75432
75433 # Create a temporary old-style archive to link instead of a shared archive.
75434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75435
75436 # Commands used to build a shared archive.
75437 archive_cmds=$lt_archive_cmds
75438 archive_expsym_cmds=$lt_archive_expsym_cmds
75439
75440 # Commands used to build a loadable module if different from building
75441 # a shared archive.
75442 module_cmds=$lt_module_cmds
75443 module_expsym_cmds=$lt_module_expsym_cmds
75444
75445 # Whether we are building with GNU ld or not.
75446 with_gnu_ld=$lt_with_gnu_ld
75447
75448 # Flag that allows shared libraries with undefined symbols to be built.
75449 allow_undefined_flag=$lt_allow_undefined_flag
75450
75451 # Flag that enforces no undefined symbols.
75452 no_undefined_flag=$lt_no_undefined_flag
75453
75454 # Flag to hardcode \$libdir into a binary during linking.
75455 # This must work even if \$libdir does not exist
75456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75457
75458 # If ld is used when linking, flag to hardcode \$libdir into a binary
75459 # during linking. This must work even if \$libdir does not exist.
75460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75461
75462 # Whether we need a single "-rpath" flag with a separated argument.
75463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75464
75465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75466 # DIR into the resulting binary.
75467 hardcode_direct=$hardcode_direct
75468
75469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75470 # DIR into the resulting binary and the resulting library dependency is
75471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75472 # library is relocated.
75473 hardcode_direct_absolute=$hardcode_direct_absolute
75474
75475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75476 # into the resulting binary.
75477 hardcode_minus_L=$hardcode_minus_L
75478
75479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75480 # into the resulting binary.
75481 hardcode_shlibpath_var=$hardcode_shlibpath_var
75482
75483 # Set to "yes" if building a shared library automatically hardcodes DIR
75484 # into the library and all subsequent libraries and executables linked
75485 # against it.
75486 hardcode_automatic=$hardcode_automatic
75487
75488 # Set to yes if linker adds runtime paths of dependent libraries
75489 # to runtime path list.
75490 inherit_rpath=$inherit_rpath
75491
75492 # Whether libtool must link a program against all its dependency libraries.
75493 link_all_deplibs=$link_all_deplibs
75494
75495 # Fix the shell variable \$srcfile for the compiler.
75496 fix_srcfile_path=$lt_fix_srcfile_path
75497
75498 # Set to "yes" if exported symbols are required.
75499 always_export_symbols=$always_export_symbols
75500
75501 # The commands to list exported symbols.
75502 export_symbols_cmds=$lt_export_symbols_cmds
75503
75504 # Symbols that should not be listed in the preloaded symbols.
75505 exclude_expsyms=$lt_exclude_expsyms
75506
75507 # Symbols that must always be exported.
75508 include_expsyms=$lt_include_expsyms
75509
75510 # Commands necessary for linking programs (against libraries) with templates.
75511 prelink_cmds=$lt_prelink_cmds
75512
75513 # Specify filename containing input files.
75514 file_list_spec=$lt_file_list_spec
75515
75516 # How to hardcode a shared library path into an executable.
75517 hardcode_action=$hardcode_action
75518
75519 # The directories searched by this compiler when creating a shared library.
75520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75521
75522 # Dependencies to place before and after the objects being linked to
75523 # create a shared library.
75524 predep_objects=$lt_predep_objects
75525 postdep_objects=$lt_postdep_objects
75526 predeps=$lt_predeps
75527 postdeps=$lt_postdeps
75528
75529 # The library search path used internally by the compiler when linking
75530 # a shared library.
75531 compiler_lib_search_path=$lt_compiler_lib_search_path
75532
75533 # ### END LIBTOOL CONFIG
75534
75535 _LT_EOF
75536
75537 case $host_os in
75538 aix3*)
75539 cat <<\_LT_EOF >> "$cfgfile"
75540 # AIX sometimes has problems with the GCC collect2 program. For some
75541 # reason, if we set the COLLECT_NAMES environment variable, the problems
75542 # vanish in a puff of smoke.
75543 if test "X${COLLECT_NAMES+set}" != Xset; then
75544 COLLECT_NAMES=
75545 export COLLECT_NAMES
75546 fi
75547 _LT_EOF
75548 ;;
75549 esac
75550
75551
75552 ltmain="$ac_aux_dir/ltmain.sh"
75553
75554
75555 # We use sed instead of cat because bash on DJGPP gets confused if
75556 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75557 # text mode, it properly converts lines to CR/LF. This bash problem
75558 # is reportedly fixed, but why not run on old versions too?
75559 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75560 || (rm -f "$cfgfile"; exit 1)
75561
75562 case $xsi_shell in
75563 yes)
75564 cat << \_LT_EOF >> "$cfgfile"
75565
75566 # func_dirname file append nondir_replacement
75567 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75568 # otherwise set result to NONDIR_REPLACEMENT.
75569 func_dirname ()
75570 {
75571 case ${1} in
75572 */*) func_dirname_result="${1%/*}${2}" ;;
75573 * ) func_dirname_result="${3}" ;;
75574 esac
75575 }
75576
75577 # func_basename file
75578 func_basename ()
75579 {
75580 func_basename_result="${1##*/}"
75581 }
75582
75583 # func_dirname_and_basename file append nondir_replacement
75584 # perform func_basename and func_dirname in a single function
75585 # call:
75586 # dirname: Compute the dirname of FILE. If nonempty,
75587 # add APPEND to the result, otherwise set result
75588 # to NONDIR_REPLACEMENT.
75589 # value returned in "$func_dirname_result"
75590 # basename: Compute filename of FILE.
75591 # value retuned in "$func_basename_result"
75592 # Implementation must be kept synchronized with func_dirname
75593 # and func_basename. For efficiency, we do not delegate to
75594 # those functions but instead duplicate the functionality here.
75595 func_dirname_and_basename ()
75596 {
75597 case ${1} in
75598 */*) func_dirname_result="${1%/*}${2}" ;;
75599 * ) func_dirname_result="${3}" ;;
75600 esac
75601 func_basename_result="${1##*/}"
75602 }
75603
75604 # func_stripname prefix suffix name
75605 # strip PREFIX and SUFFIX off of NAME.
75606 # PREFIX and SUFFIX must not contain globbing or regex special
75607 # characters, hashes, percent signs, but SUFFIX may contain a leading
75608 # dot (in which case that matches only a dot).
75609 func_stripname ()
75610 {
75611 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75612 # positional parameters, so assign one to ordinary parameter first.
75613 func_stripname_result=${3}
75614 func_stripname_result=${func_stripname_result#"${1}"}
75615 func_stripname_result=${func_stripname_result%"${2}"}
75616 }
75617
75618 # func_opt_split
75619 func_opt_split ()
75620 {
75621 func_opt_split_opt=${1%%=*}
75622 func_opt_split_arg=${1#*=}
75623 }
75624
75625 # func_lo2o object
75626 func_lo2o ()
75627 {
75628 case ${1} in
75629 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75630 *) func_lo2o_result=${1} ;;
75631 esac
75632 }
75633
75634 # func_xform libobj-or-source
75635 func_xform ()
75636 {
75637 func_xform_result=${1%.*}.lo
75638 }
75639
75640 # func_arith arithmetic-term...
75641 func_arith ()
75642 {
75643 func_arith_result=$(( $* ))
75644 }
75645
75646 # func_len string
75647 # STRING may not start with a hyphen.
75648 func_len ()
75649 {
75650 func_len_result=${#1}
75651 }
75652
75653 _LT_EOF
75654 ;;
75655 *) # Bourne compatible functions.
75656 cat << \_LT_EOF >> "$cfgfile"
75657
75658 # func_dirname file append nondir_replacement
75659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75660 # otherwise set result to NONDIR_REPLACEMENT.
75661 func_dirname ()
75662 {
75663 # Extract subdirectory from the argument.
75664 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75665 if test "X$func_dirname_result" = "X${1}"; then
75666 func_dirname_result="${3}"
75667 else
75668 func_dirname_result="$func_dirname_result${2}"
75669 fi
75670 }
75671
75672 # func_basename file
75673 func_basename ()
75674 {
75675 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75676 }
75677
75678
75679 # func_stripname prefix suffix name
75680 # strip PREFIX and SUFFIX off of NAME.
75681 # PREFIX and SUFFIX must not contain globbing or regex special
75682 # characters, hashes, percent signs, but SUFFIX may contain a leading
75683 # dot (in which case that matches only a dot).
75684 # func_strip_suffix prefix name
75685 func_stripname ()
75686 {
75687 case ${2} in
75688 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75689 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75690 esac
75691 }
75692
75693 # sed scripts:
75694 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75695 my_sed_long_arg='1s/^-[^=]*=//'
75696
75697 # func_opt_split
75698 func_opt_split ()
75699 {
75700 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75701 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75702 }
75703
75704 # func_lo2o object
75705 func_lo2o ()
75706 {
75707 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75708 }
75709
75710 # func_xform libobj-or-source
75711 func_xform ()
75712 {
75713 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75714 }
75715
75716 # func_arith arithmetic-term...
75717 func_arith ()
75718 {
75719 func_arith_result=`expr "$@"`
75720 }
75721
75722 # func_len string
75723 # STRING may not start with a hyphen.
75724 func_len ()
75725 {
75726 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75727 }
75728
75729 _LT_EOF
75730 esac
75731
75732 case $lt_shell_append in
75733 yes)
75734 cat << \_LT_EOF >> "$cfgfile"
75735
75736 # func_append var value
75737 # Append VALUE to the end of shell variable VAR.
75738 func_append ()
75739 {
75740 eval "$1+=\$2"
75741 }
75742 _LT_EOF
75743 ;;
75744 *)
75745 cat << \_LT_EOF >> "$cfgfile"
75746
75747 # func_append var value
75748 # Append VALUE to the end of shell variable VAR.
75749 func_append ()
75750 {
75751 eval "$1=\$$1\$2"
75752 }
75753
75754 _LT_EOF
75755 ;;
75756 esac
75757
75758
75759 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75760 || (rm -f "$cfgfile"; exit 1)
75761
75762 mv -f "$cfgfile" "$ofile" ||
75763 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75764 chmod +x "$ofile"
75765
75766
75767 cat <<_LT_EOF >> "$ofile"
75768
75769 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75770
75771 # The linker used to build libraries.
75772 LD=$lt_LD_CXX
75773
75774 # How to create reloadable object files.
75775 reload_flag=$lt_reload_flag_CXX
75776 reload_cmds=$lt_reload_cmds_CXX
75777
75778 # Commands used to build an old-style archive.
75779 old_archive_cmds=$lt_old_archive_cmds_CXX
75780
75781 # A language specific compiler.
75782 CC=$lt_compiler_CXX
75783
75784 # Is the compiler the GNU compiler?
75785 with_gcc=$GCC_CXX
75786
75787 # Compiler flag to turn off builtin functions.
75788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75789
75790 # How to pass a linker flag through the compiler.
75791 wl=$lt_lt_prog_compiler_wl_CXX
75792
75793 # Additional compiler flags for building library objects.
75794 pic_flag=$lt_lt_prog_compiler_pic_CXX
75795
75796 # Compiler flag to prevent dynamic linking.
75797 link_static_flag=$lt_lt_prog_compiler_static_CXX
75798
75799 # Does compiler simultaneously support -c and -o options?
75800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75801
75802 # Whether or not to add -lc for building shared libraries.
75803 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75804
75805 # Whether or not to disallow shared libs when runtime libs are static.
75806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75807
75808 # Compiler flag to allow reflexive dlopens.
75809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75810
75811 # Compiler flag to generate shared objects directly from archives.
75812 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75813
75814 # Whether the compiler copes with passing no objects directly.
75815 compiler_needs_object=$lt_compiler_needs_object_CXX
75816
75817 # Create an old-style archive from a shared archive.
75818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75819
75820 # Create a temporary old-style archive to link instead of a shared archive.
75821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75822
75823 # Commands used to build a shared archive.
75824 archive_cmds=$lt_archive_cmds_CXX
75825 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75826
75827 # Commands used to build a loadable module if different from building
75828 # a shared archive.
75829 module_cmds=$lt_module_cmds_CXX
75830 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75831
75832 # Whether we are building with GNU ld or not.
75833 with_gnu_ld=$lt_with_gnu_ld_CXX
75834
75835 # Flag that allows shared libraries with undefined symbols to be built.
75836 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75837
75838 # Flag that enforces no undefined symbols.
75839 no_undefined_flag=$lt_no_undefined_flag_CXX
75840
75841 # Flag to hardcode \$libdir into a binary during linking.
75842 # This must work even if \$libdir does not exist
75843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75844
75845 # If ld is used when linking, flag to hardcode \$libdir into a binary
75846 # during linking. This must work even if \$libdir does not exist.
75847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75848
75849 # Whether we need a single "-rpath" flag with a separated argument.
75850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75851
75852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75853 # DIR into the resulting binary.
75854 hardcode_direct=$hardcode_direct_CXX
75855
75856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75857 # DIR into the resulting binary and the resulting library dependency is
75858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75859 # library is relocated.
75860 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75861
75862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75863 # into the resulting binary.
75864 hardcode_minus_L=$hardcode_minus_L_CXX
75865
75866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75867 # into the resulting binary.
75868 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75869
75870 # Set to "yes" if building a shared library automatically hardcodes DIR
75871 # into the library and all subsequent libraries and executables linked
75872 # against it.
75873 hardcode_automatic=$hardcode_automatic_CXX
75874
75875 # Set to yes if linker adds runtime paths of dependent libraries
75876 # to runtime path list.
75877 inherit_rpath=$inherit_rpath_CXX
75878
75879 # Whether libtool must link a program against all its dependency libraries.
75880 link_all_deplibs=$link_all_deplibs_CXX
75881
75882 # Fix the shell variable \$srcfile for the compiler.
75883 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75884
75885 # Set to "yes" if exported symbols are required.
75886 always_export_symbols=$always_export_symbols_CXX
75887
75888 # The commands to list exported symbols.
75889 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75890
75891 # Symbols that should not be listed in the preloaded symbols.
75892 exclude_expsyms=$lt_exclude_expsyms_CXX
75893
75894 # Symbols that must always be exported.
75895 include_expsyms=$lt_include_expsyms_CXX
75896
75897 # Commands necessary for linking programs (against libraries) with templates.
75898 prelink_cmds=$lt_prelink_cmds_CXX
75899
75900 # Specify filename containing input files.
75901 file_list_spec=$lt_file_list_spec_CXX
75902
75903 # How to hardcode a shared library path into an executable.
75904 hardcode_action=$hardcode_action_CXX
75905
75906 # The directories searched by this compiler when creating a shared library.
75907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75908
75909 # Dependencies to place before and after the objects being linked to
75910 # create a shared library.
75911 predep_objects=$lt_predep_objects_CXX
75912 postdep_objects=$lt_postdep_objects_CXX
75913 predeps=$lt_predeps_CXX
75914 postdeps=$lt_postdeps_CXX
75915
75916 # The library search path used internally by the compiler when linking
75917 # a shared library.
75918 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75919
75920 # ### END LIBTOOL TAG CONFIG: CXX
75921 _LT_EOF
75922
75923 ;;
75924 "include/gstdint.h":C)
75925 if test "$GCC" = yes; then
75926 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75927 else
75928 echo "/* generated for $CC */" > tmp-stdint.h
75929 fi
75930
75931 sed 's/^ *//' >> tmp-stdint.h <<EOF
75932
75933 #ifndef GCC_GENERATED_STDINT_H
75934 #define GCC_GENERATED_STDINT_H 1
75935
75936 #include <sys/types.h>
75937 EOF
75938
75939 if test "$acx_cv_header_stdint" != stdint.h; then
75940 echo "#include <stddef.h>" >> tmp-stdint.h
75941 fi
75942 if test "$acx_cv_header_stdint" != stddef.h; then
75943 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75944 fi
75945
75946 sed 's/^ *//' >> tmp-stdint.h <<EOF
75947 /* glibc uses these symbols as guards to prevent redefinitions. */
75948 #ifdef __int8_t_defined
75949 #define _INT8_T
75950 #define _INT16_T
75951 #define _INT32_T
75952 #endif
75953 #ifdef __uint32_t_defined
75954 #define _UINT32_T
75955 #endif
75956
75957 EOF
75958
75959 # ----------------- done header, emit basic int types -------------
75960 if test "$acx_cv_header_stdint" = stddef.h; then
75961 sed 's/^ *//' >> tmp-stdint.h <<EOF
75962
75963 #ifndef _UINT8_T
75964 #define _UINT8_T
75965 #ifndef __uint8_t_defined
75966 #define __uint8_t_defined
75967 #ifndef uint8_t
75968 typedef unsigned $acx_cv_type_int8_t uint8_t;
75969 #endif
75970 #endif
75971 #endif
75972
75973 #ifndef _UINT16_T
75974 #define _UINT16_T
75975 #ifndef __uint16_t_defined
75976 #define __uint16_t_defined
75977 #ifndef uint16_t
75978 typedef unsigned $acx_cv_type_int16_t uint16_t;
75979 #endif
75980 #endif
75981 #endif
75982
75983 #ifndef _UINT32_T
75984 #define _UINT32_T
75985 #ifndef __uint32_t_defined
75986 #define __uint32_t_defined
75987 #ifndef uint32_t
75988 typedef unsigned $acx_cv_type_int32_t uint32_t;
75989 #endif
75990 #endif
75991 #endif
75992
75993 #ifndef _INT8_T
75994 #define _INT8_T
75995 #ifndef __int8_t_defined
75996 #define __int8_t_defined
75997 #ifndef int8_t
75998 typedef $acx_cv_type_int8_t int8_t;
75999 #endif
76000 #endif
76001 #endif
76002
76003 #ifndef _INT16_T
76004 #define _INT16_T
76005 #ifndef __int16_t_defined
76006 #define __int16_t_defined
76007 #ifndef int16_t
76008 typedef $acx_cv_type_int16_t int16_t;
76009 #endif
76010 #endif
76011 #endif
76012
76013 #ifndef _INT32_T
76014 #define _INT32_T
76015 #ifndef __int32_t_defined
76016 #define __int32_t_defined
76017 #ifndef int32_t
76018 typedef $acx_cv_type_int32_t int32_t;
76019 #endif
76020 #endif
76021 #endif
76022 EOF
76023 elif test "$ac_cv_type_u_int32_t" = yes; then
76024 sed 's/^ *//' >> tmp-stdint.h <<EOF
76025
76026 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76027 #ifndef _INT8_T
76028 #define _INT8_T
76029 #endif
76030 #ifndef _INT16_T
76031 #define _INT16_T
76032 #endif
76033 #ifndef _INT32_T
76034 #define _INT32_T
76035 #endif
76036
76037 #ifndef _UINT8_T
76038 #define _UINT8_T
76039 #ifndef __uint8_t_defined
76040 #define __uint8_t_defined
76041 #ifndef uint8_t
76042 typedef u_int8_t uint8_t;
76043 #endif
76044 #endif
76045 #endif
76046
76047 #ifndef _UINT16_T
76048 #define _UINT16_T
76049 #ifndef __uint16_t_defined
76050 #define __uint16_t_defined
76051 #ifndef uint16_t
76052 typedef u_int16_t uint16_t;
76053 #endif
76054 #endif
76055 #endif
76056
76057 #ifndef _UINT32_T
76058 #define _UINT32_T
76059 #ifndef __uint32_t_defined
76060 #define __uint32_t_defined
76061 #ifndef uint32_t
76062 typedef u_int32_t uint32_t;
76063 #endif
76064 #endif
76065 #endif
76066 EOF
76067 else
76068 sed 's/^ *//' >> tmp-stdint.h <<EOF
76069
76070 /* Some systems have guard macros to prevent redefinitions, define them. */
76071 #ifndef _INT8_T
76072 #define _INT8_T
76073 #endif
76074 #ifndef _INT16_T
76075 #define _INT16_T
76076 #endif
76077 #ifndef _INT32_T
76078 #define _INT32_T
76079 #endif
76080 #ifndef _UINT8_T
76081 #define _UINT8_T
76082 #endif
76083 #ifndef _UINT16_T
76084 #define _UINT16_T
76085 #endif
76086 #ifndef _UINT32_T
76087 #define _UINT32_T
76088 #endif
76089 EOF
76090 fi
76091
76092 # ------------- done basic int types, emit int64_t types ------------
76093 if test "$ac_cv_type_uint64_t" = yes; then
76094 sed 's/^ *//' >> tmp-stdint.h <<EOF
76095
76096 /* system headers have good uint64_t and int64_t */
76097 #ifndef _INT64_T
76098 #define _INT64_T
76099 #endif
76100 #ifndef _UINT64_T
76101 #define _UINT64_T
76102 #endif
76103 EOF
76104 elif test "$ac_cv_type_u_int64_t" = yes; then
76105 sed 's/^ *//' >> tmp-stdint.h <<EOF
76106
76107 /* system headers have an u_int64_t (and int64_t) */
76108 #ifndef _INT64_T
76109 #define _INT64_T
76110 #endif
76111 #ifndef _UINT64_T
76112 #define _UINT64_T
76113 #ifndef __uint64_t_defined
76114 #define __uint64_t_defined
76115 #ifndef uint64_t
76116 typedef u_int64_t uint64_t;
76117 #endif
76118 #endif
76119 #endif
76120 EOF
76121 elif test -n "$acx_cv_type_int64_t"; then
76122 sed 's/^ *//' >> tmp-stdint.h <<EOF
76123
76124 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76125 #ifndef _INT64_T
76126 #define _INT64_T
76127 #ifndef int64_t
76128 typedef $acx_cv_type_int64_t int64_t;
76129 #endif
76130 #endif
76131 #ifndef _UINT64_T
76132 #define _UINT64_T
76133 #ifndef __uint64_t_defined
76134 #define __uint64_t_defined
76135 #ifndef uint64_t
76136 typedef unsigned $acx_cv_type_int64_t uint64_t;
76137 #endif
76138 #endif
76139 #endif
76140 EOF
76141 else
76142 sed 's/^ *//' >> tmp-stdint.h <<EOF
76143
76144 /* some common heuristics for int64_t, using compiler-specific tests */
76145 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76146 #ifndef _INT64_T
76147 #define _INT64_T
76148 #ifndef __int64_t_defined
76149 #ifndef int64_t
76150 typedef long long int64_t;
76151 #endif
76152 #endif
76153 #endif
76154 #ifndef _UINT64_T
76155 #define _UINT64_T
76156 #ifndef uint64_t
76157 typedef unsigned long long uint64_t;
76158 #endif
76159 #endif
76160
76161 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76162 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76163 does not implement __extension__. But that compiler doesn't define
76164 __GNUC_MINOR__. */
76165 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76166 # define __extension__
76167 # endif
76168
76169 # ifndef _INT64_T
76170 # define _INT64_T
76171 # ifndef int64_t
76172 __extension__ typedef long long int64_t;
76173 # endif
76174 # endif
76175 # ifndef _UINT64_T
76176 # define _UINT64_T
76177 # ifndef uint64_t
76178 __extension__ typedef unsigned long long uint64_t;
76179 # endif
76180 # endif
76181
76182 #elif !defined __STRICT_ANSI__
76183 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76184
76185 # ifndef _INT64_T
76186 # define _INT64_T
76187 # ifndef int64_t
76188 typedef __int64 int64_t;
76189 # endif
76190 # endif
76191 # ifndef _UINT64_T
76192 # define _UINT64_T
76193 # ifndef uint64_t
76194 typedef unsigned __int64 uint64_t;
76195 # endif
76196 # endif
76197 # endif /* compiler */
76198
76199 #endif /* ANSI version */
76200 EOF
76201 fi
76202
76203 # ------------- done int64_t types, emit intptr types ------------
76204 if test "$ac_cv_type_uintptr_t" != yes; then
76205 sed 's/^ *//' >> tmp-stdint.h <<EOF
76206
76207 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76208 #ifndef __uintptr_t_defined
76209 #ifndef uintptr_t
76210 typedef u$acx_cv_type_intptr_t uintptr_t;
76211 #endif
76212 #endif
76213 #ifndef __intptr_t_defined
76214 #ifndef intptr_t
76215 typedef $acx_cv_type_intptr_t intptr_t;
76216 #endif
76217 #endif
76218 EOF
76219 fi
76220
76221 # ------------- done intptr types, emit int_least types ------------
76222 if test "$ac_cv_type_int_least32_t" != yes; then
76223 sed 's/^ *//' >> tmp-stdint.h <<EOF
76224
76225 /* Define int_least types */
76226 typedef int8_t int_least8_t;
76227 typedef int16_t int_least16_t;
76228 typedef int32_t int_least32_t;
76229 #ifdef _INT64_T
76230 typedef int64_t int_least64_t;
76231 #endif
76232
76233 typedef uint8_t uint_least8_t;
76234 typedef uint16_t uint_least16_t;
76235 typedef uint32_t uint_least32_t;
76236 #ifdef _UINT64_T
76237 typedef uint64_t uint_least64_t;
76238 #endif
76239 EOF
76240 fi
76241
76242 # ------------- done intptr types, emit int_fast types ------------
76243 if test "$ac_cv_type_int_fast32_t" != yes; then
76244 sed 's/^ *//' >> tmp-stdint.h <<EOF
76245
76246 /* Define int_fast types. short is often slow */
76247 typedef int8_t int_fast8_t;
76248 typedef int int_fast16_t;
76249 typedef int32_t int_fast32_t;
76250 #ifdef _INT64_T
76251 typedef int64_t int_fast64_t;
76252 #endif
76253
76254 typedef uint8_t uint_fast8_t;
76255 typedef unsigned int uint_fast16_t;
76256 typedef uint32_t uint_fast32_t;
76257 #ifdef _UINT64_T
76258 typedef uint64_t uint_fast64_t;
76259 #endif
76260 EOF
76261 fi
76262
76263 if test "$ac_cv_type_uintmax_t" != yes; then
76264 sed 's/^ *//' >> tmp-stdint.h <<EOF
76265
76266 /* Define intmax based on what we found */
76267 #ifndef intmax_t
76268 #ifdef _INT64_T
76269 typedef int64_t intmax_t;
76270 #else
76271 typedef long intmax_t;
76272 #endif
76273 #endif
76274 #ifndef uintmax_t
76275 #ifdef _UINT64_T
76276 typedef uint64_t uintmax_t;
76277 #else
76278 typedef unsigned long uintmax_t;
76279 #endif
76280 #endif
76281 EOF
76282 fi
76283
76284 sed 's/^ *//' >> tmp-stdint.h <<EOF
76285
76286 #endif /* GCC_GENERATED_STDINT_H */
76287 EOF
76288
76289 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76290 rm -f tmp-stdint.h
76291 else
76292 mv -f tmp-stdint.h include/gstdint.h
76293 fi
76294
76295 ;;
76296 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76297 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76298 "include/Makefile":F) cat > vpsed$$ << \_EOF
76299 s!`test -f '$<' || echo '$(srcdir)/'`!!
76300 _EOF
76301 sed -f vpsed$$ $ac_file > tmp$$
76302 mv tmp$$ $ac_file
76303 rm vpsed$$
76304 echo 'MULTISUBDIR =' >> $ac_file
76305 ml_norecursion=yes
76306 . ${multi_basedir}/config-ml.in
76307 { ml_norecursion=; unset ml_norecursion;}
76308 ;;
76309 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76310 s!`test -f '$<' || echo '$(srcdir)/'`!!
76311 _EOF
76312 sed -f vpsed$$ $ac_file > tmp$$
76313 mv tmp$$ $ac_file
76314 rm vpsed$$
76315 echo 'MULTISUBDIR =' >> $ac_file
76316 ml_norecursion=yes
76317 . ${multi_basedir}/config-ml.in
76318 { ml_norecursion=; unset ml_norecursion;}
76319 ;;
76320 "python/Makefile":F) cat > vpsed$$ << \_EOF
76321 s!`test -f '$<' || echo '$(srcdir)/'`!!
76322 _EOF
76323 sed -f vpsed$$ $ac_file > tmp$$
76324 mv tmp$$ $ac_file
76325 rm vpsed$$
76326 echo 'MULTISUBDIR =' >> $ac_file
76327 ml_norecursion=yes
76328 . ${multi_basedir}/config-ml.in
76329 { ml_norecursion=; unset ml_norecursion;}
76330 ;;
76331 "src/Makefile":F) cat > vpsed$$ << \_EOF
76332 s!`test -f '$<' || echo '$(srcdir)/'`!!
76333 _EOF
76334 sed -f vpsed$$ $ac_file > tmp$$
76335 mv tmp$$ $ac_file
76336 rm vpsed$$
76337 echo 'MULTISUBDIR =' >> $ac_file
76338 ml_norecursion=yes
76339 . ${multi_basedir}/config-ml.in
76340 { ml_norecursion=; unset ml_norecursion;}
76341 ;;
76342 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76343 s!`test -f '$<' || echo '$(srcdir)/'`!!
76344 _EOF
76345 sed -f vpsed$$ $ac_file > tmp$$
76346 mv tmp$$ $ac_file
76347 rm vpsed$$
76348 echo 'MULTISUBDIR =' >> $ac_file
76349 ml_norecursion=yes
76350 . ${multi_basedir}/config-ml.in
76351 { ml_norecursion=; unset ml_norecursion;}
76352 ;;
76353 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76354 s!`test -f '$<' || echo '$(srcdir)/'`!!
76355 _EOF
76356 sed -f vpsed$$ $ac_file > tmp$$
76357 mv tmp$$ $ac_file
76358 rm vpsed$$
76359 echo 'MULTISUBDIR =' >> $ac_file
76360 ml_norecursion=yes
76361 . ${multi_basedir}/config-ml.in
76362 { ml_norecursion=; unset ml_norecursion;}
76363 ;;
76364 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76365 s!`test -f '$<' || echo '$(srcdir)/'`!!
76366 _EOF
76367 sed -f vpsed$$ $ac_file > tmp$$
76368 mv tmp$$ $ac_file
76369 rm vpsed$$
76370 echo 'MULTISUBDIR =' >> $ac_file
76371 ml_norecursion=yes
76372 . ${multi_basedir}/config-ml.in
76373 { ml_norecursion=; unset ml_norecursion;}
76374 ;;
76375 "po/Makefile":F) cat > vpsed$$ << \_EOF
76376 s!`test -f '$<' || echo '$(srcdir)/'`!!
76377 _EOF
76378 sed -f vpsed$$ $ac_file > tmp$$
76379 mv tmp$$ $ac_file
76380 rm vpsed$$
76381 echo 'MULTISUBDIR =' >> $ac_file
76382 ml_norecursion=yes
76383 . ${multi_basedir}/config-ml.in
76384 { ml_norecursion=; unset ml_norecursion;}
76385 ;;
76386 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76387 s!`test -f '$<' || echo '$(srcdir)/'`!!
76388 _EOF
76389 sed -f vpsed$$ $ac_file > tmp$$
76390 mv tmp$$ $ac_file
76391 rm vpsed$$
76392 echo 'MULTISUBDIR =' >> $ac_file
76393 ml_norecursion=yes
76394 . ${multi_basedir}/config-ml.in
76395 { ml_norecursion=; unset ml_norecursion;}
76396 ;;
76397 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76398
76399 esac
76400 done # for ac_tag
76401
76402
76403 as_fn_exit 0
76404 _ACEOF
76405 ac_clean_files=$ac_clean_files_save
76406
76407 test $ac_write_fail = 0 ||
76408 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76409
76410
76411 # configure is writing to config.log, and then calls config.status.
76412 # config.status does its own redirection, appending to config.log.
76413 # Unfortunately, on DOS this fails, as config.log is still kept open
76414 # by configure, so config.status won't be able to write to it; its
76415 # output is simply discarded. So we exec the FD to /dev/null,
76416 # effectively closing config.log, so it can be properly (re)opened and
76417 # appended to by config.status. When coming back to configure, we
76418 # need to make the FD available again.
76419 if test "$no_create" != yes; then
76420 ac_cs_success=:
76421 ac_config_status_args=
76422 test "$silent" = yes &&
76423 ac_config_status_args="$ac_config_status_args --quiet"
76424 exec 5>/dev/null
76425 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76426 exec 5>>config.log
76427 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76428 # would make configure fail if this is the last instruction.
76429 $ac_cs_success || as_fn_exit $?
76430 fi
76431 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76433 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76434 fi
76435