future (promise): Add constructors for uses-allocator construction from rvalue promise.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_thread_h
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
748 CXX
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
755 CC
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
761 AWK
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
945 fi
946
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
951
952 # Accept the important Cygnus configure options, so we can diagnose typos.
953
954 case $ac_dashdash$ac_option in
955 --)
956 ac_dashdash=yes ;;
957
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
962
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
967
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
974
975 --config-cache | -C)
976 cache_file=config.cache ;;
977
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
982
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
989
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
998 *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1005
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1010
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1015
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1040
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1044
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1051
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1069
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1074
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1079
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1098
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1103
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1107
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1111
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1115
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1124
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1129
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1136
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1143
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1174
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1180
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1191
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1196
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1201
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1208
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1213
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1216
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1219
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1228 *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1235
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1244 *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1251
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1255
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1262
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1269
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272 ;;
1273
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1283
1284 *)
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 ;;
1291
1292 esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1313 do
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1344 fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1373 q
1374 }
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)$/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\).*/{
1384 s//\1/
1385 q
1386 }
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1391 fi
1392 else
1393 ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1481
1482 cat <<\_ACEOF
1483
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1501
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-visibility enables visibility safe usage [default=yes]
1558 --enable-version-specific-runtime-libs
1559 Specify that runtime libraries should be installed
1560 in a compiler-specific directory
1561
1562 Optional Packages:
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-target-subdir=SUBDIR
1566 configuring in a subdirectory
1567 --with-cross-host=HOST configuring with a cross compiler
1568 --with-newlib assume newlib as a system C library
1569 --with-pic try to use only PIC/non-PIC objects [default=use
1570 both]
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-gnu-ld assume the C compiler uses GNU ld default=no
1573 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1574 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1575 --with-system-libunwind use installed libunwind
1576 --with-gxx-include-dir=DIR
1577 installation directory for include files
1578
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CXX C++ compiler command
1588 CXXFLAGS C++ compiler flags
1589 CPP C preprocessor
1590 CXXCPP C++ preprocessor
1591 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1592 `c++filt', `gc++filt' on PATH.
1593
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1596
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1600 fi
1601
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 continue
1608 ac_builddir=.
1609
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *)
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1625
1626 case $srcdir in
1627 .) # We are building in place.
1628 ac_srcdir=.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1635 *) # Relative name.
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1645 echo &&
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1650 else
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 fi || ac_status=$?
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1654 done
1655 fi
1656
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659 cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1662
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667 exit
1668 fi
1669
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1673
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1678 {
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1694 fi
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705 ac_retval=1
1706 fi
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1709
1710 } # ac_fn_c_try_compile
1711
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_cxx_try_compile
1749
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1769 fi
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } >/dev/null && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780 ac_retval=1
1781 fi
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1784
1785 } # ac_fn_c_try_cpp
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821 ac_retval=1
1822 fi
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1830
1831 } # ac_fn_c_try_link
1832
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1838 {
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1847 $4
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
1862 } # ac_fn_c_check_header_compile
1863
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1869 {
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898 ac_retval=$ac_status
1899 fi
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 return $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1910 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test x$gcc_no_link = xyes; then
1918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 fi
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1925
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1930
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1936
1937 #undef $2
1938
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1952
1953 int
1954 main ()
1955 {
1956 return $2 ();
1957 ;
1958 return 0;
1959 }
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1968 fi
1969 eval ac_res=\$$3
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973
1974 } # ac_fn_c_check_func
1975
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 ac_status=$?
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1995 fi
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2005
2006 ac_retval=1
2007 fi
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 return $ac_retval
2010
2011 } # ac_fn_cxx_try_cpp
2012
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2017 {
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 rm -f conftest.$ac_objext conftest$ac_exeext
2020 if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_link") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && {
2036 test -z "$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 } && test -s conftest$ac_exeext && {
2039 test "$cross_compiling" = yes ||
2040 $as_test_x conftest$ac_exeext
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047 ac_retval=1
2048 fi
2049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051 # interfere with the next link command; also delete a directory that is
2052 # left behind by Apple's compiler. We do this before executing the actions.
2053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 return $ac_retval
2056
2057 } # ac_fn_cxx_try_link
2058
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2065 {
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2072 fi
2073 eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2082 $4
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2087 else
2088 ac_header_compiler=no
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2093
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2103 else
2104 ac_header_preproc=no
2105 fi
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2109
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 yes:no: )
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117 ;;
2118 no:yes:* )
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 ;;
2130 esac
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134 $as_echo_n "(cached) " >&6
2135 else
2136 eval "$3=\$ac_header_compiler"
2137 fi
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 fi
2142 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143
2144 } # ac_fn_c_check_header_mongrel
2145
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2152 {
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
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 fi
2160 eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164 # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2169 $4
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173 ac_header_compiler=yes
2174 else
2175 ac_header_compiler=no
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2180
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189 ac_header_preproc=yes
2190 else
2191 ac_header_preproc=no
2192 fi
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2196
2197 # So? What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 yes:no: )
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204 ;;
2205 no:yes:* )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 ;;
2217 esac
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 eval "$3=\$ac_header_compiler"
2224 fi
2225 eval ac_res=\$$3
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 fi
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230
2231 } # ac_fn_cxx_check_header_mongrel
2232
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2239 {
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2245 $4
2246 int
2247 main ()
2248 {
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2251
2252 ;
2253 return 0;
2254 }
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_lo=0 ac_mid=0
2258 while :; do
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2261 $4
2262 int
2263 main ()
2264 {
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2267
2268 ;
2269 return 0;
2270 }
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_hi=$ac_mid; break
2274 else
2275 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276 if test $ac_lo -le $ac_mid; then
2277 ac_lo= ac_hi=
2278 break
2279 fi
2280 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 fi
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 done
2284 else
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2287 $4
2288 int
2289 main ()
2290 {
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2293
2294 ;
2295 return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_hi=-1 ac_mid=-1
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2309
2310 ;
2311 return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_lo=$ac_mid; break
2316 else
2317 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318 if test $ac_mid -le $ac_hi; then
2319 ac_lo= ac_hi=
2320 break
2321 fi
2322 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 ac_lo= ac_hi=
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 fi
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2337 $4
2338 int
2339 main ()
2340 {
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2343
2344 ;
2345 return 0;
2346 }
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=$ac_mid
2350 else
2351 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2362 $4
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2367 int
2368 main ()
2369 {
2370
2371 FILE *f = fopen ("conftest.val", "w");
2372 if (! f)
2373 return 1;
2374 if (($2) < 0)
2375 {
2376 long int i = longval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%ld", i);
2380 }
2381 else
2382 {
2383 unsigned long int i = ulongval ();
2384 if (i != ($2))
2385 return 1;
2386 fprintf (f, "%lu", i);
2387 }
2388 /* Do not output a trailing newline, as this causes \r\n confusion
2389 on some platforms. */
2390 return ferror (f) || fclose (f) != 0;
2391
2392 ;
2393 return 0;
2394 }
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399 ac_retval=1
2400 fi
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402 conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2404
2405 fi
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 return $ac_retval
2408
2409 } # ac_fn_c_compute_int
2410
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2416 {
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 eval "$3=no"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2426 $4
2427 int
2428 main ()
2429 {
2430 if (sizeof ($2))
2431 return 0;
2432 ;
2433 return 0;
2434 }
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2439 $4
2440 int
2441 main ()
2442 {
2443 if (sizeof (($2)))
2444 return 0;
2445 ;
2446 return 0;
2447 }
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450
2451 else
2452 eval "$3=yes"
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 fi
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 fi
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2467
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64. Invocation command line was
2470
2471 $ $0 $@
2472
2473 _ACEOF
2474 exec 5>>config.log
2475 {
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2480
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489
2490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2497
2498 _ASUNAME
2499
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2506 done
2507 IFS=$as_save_IFS
2508
2509 } >&5
2510
2511 cat >&5 <<_ACEOF
2512
2513
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2517
2518 _ACEOF
2519
2520
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2531 do
2532 for ac_arg
2533 do
2534 case $ac_arg in
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2538 continue ;;
2539 *\'*)
2540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 esac
2542 case $ac_pass in
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 2)
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2548 else
2549 case $ac_arg in
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 esac
2557 ;;
2558 -* ) ac_must_keep_next=true ;;
2559 esac
2560 fi
2561 as_fn_append ac_configure_args " '$ac_arg'"
2562 ;;
2563 esac
2564 done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2568
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2576 {
2577 echo
2578
2579 cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584 echo
2585 # The following way of writing the cache mishandles newlines in values,
2586 (
2587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in #(
2590 *${as_nl}*)
2591 case $ac_var in #(
2592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 esac
2595 case $ac_var in #(
2596 _ | IFS | as_nl) ;; #(
2597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598 *) { eval $ac_var=; unset $ac_var;} ;;
2599 esac ;;
2600 esac
2601 done
2602 (set) 2>&1 |
2603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604 *${as_nl}ac_space=\ *)
2605 sed -n \
2606 "s/'\''/'\''\\\\'\'''\''/g;
2607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 ;; #(
2609 *)
2610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611 ;;
2612 esac |
2613 sort
2614 )
2615 echo
2616
2617 cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622 echo
2623 for ac_var in $ac_subst_vars
2624 do
2625 eval ac_val=\$$ac_var
2626 case $ac_val in
2627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 esac
2629 $as_echo "$ac_var='\''$ac_val'\''"
2630 done | sort
2631 echo
2632
2633 if test -n "$ac_subst_files"; then
2634 cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_files
2641 do
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2649 fi
2650
2651 if test -s confdefs.h; then
2652 cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657 echo
2658 cat confdefs.h
2659 echo
2660 fi
2661 test "$ac_signal" != 0 &&
2662 $as_echo "$as_me: caught signal $ac_signal"
2663 $as_echo "$as_me: exit $exit_status"
2664 } >&5
2665 rm -f core *.core core.conftest.* &&
2666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 exit $exit_status
2668 ' 0
2669 for ac_signal in 1 2 13 15; do
2670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2673
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2676
2677 $as_echo "/* confdefs.h */" > confdefs.h
2678
2679 # Predefined preprocessor variables.
2680
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2704
2705
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711 ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713 ac_site_file1=$prefix/share/config.site
2714 ac_site_file2=$prefix/etc/config.site
2715 else
2716 ac_site_file1=$ac_default_prefix/share/config.site
2717 ac_site_file2=$ac_default_prefix/etc/config.site
2718 fi
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 do
2721 test "x$ac_site_file" = xNONE && continue
2722 if test -r "$ac_site_file"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725 sed 's/^/| /' "$ac_site_file" >&5
2726 . "$ac_site_file"
2727 fi
2728 done
2729
2730 if test -r "$cache_file"; then
2731 # Some versions of bash will fail to source /dev/null (special
2732 # files actually), so we avoid doing that.
2733 if test -f "$cache_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 case $cache_file in
2737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738 *) . "./$cache_file";;
2739 esac
2740 fi
2741 else
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744 >$cache_file
2745 fi
2746
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2756 set,)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,set)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2764 ,);;
2765 *)
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x $ac_old_val`
2769 ac_new_val_w=`echo x $ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773 ac_cache_corrupted=:
2774 else
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2778 fi
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 fi;;
2784 esac
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2787 case $ac_new_val in
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2790 esac
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794 esac
2795 fi
2796 done
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 fi
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2807
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813
2814
2815
2816
2817
2818
2819 ac_config_headers="$ac_config_headers config.h"
2820
2821
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported. Only used at the end of this file.
2826 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827
2828 # Find the rest of the source tree framework.
2829 # Default to --enable-multilib
2830 # Check whether --enable-multilib was given.
2831 if test "${enable_multilib+set}" = set; then :
2832 enableval=$enable_multilib; case "$enableval" in
2833 yes) multilib=yes ;;
2834 no) multilib=no ;;
2835 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2836 esac
2837 else
2838 multilib=yes
2839 fi
2840
2841
2842 # We may get other options which we leave undocumented:
2843 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2844 # See config-ml.in if you want the gory details.
2845
2846 if test "$srcdir" = "."; then
2847 if test "$with_target_subdir" != "."; then
2848 multi_basedir="$srcdir/$with_multisrctop../.."
2849 else
2850 multi_basedir="$srcdir/$with_multisrctop.."
2851 fi
2852 else
2853 multi_basedir="$srcdir/.."
2854 fi
2855
2856
2857 # Even if the default multilib is not a cross compilation,
2858 # it may be that some of the other multilibs are.
2859 if test $cross_compiling = no && test $multilib = yes \
2860 && test "x${with_multisubdir}" != x ; then
2861 cross_compiling=maybe
2862 fi
2863
2864 ac_config_commands="$ac_config_commands default-1"
2865
2866
2867 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2868 #
2869 # You will slowly go insane if you do not grok the following fact: when
2870 # building v3 as part of the compiler, the top-level /target/ becomes the
2871 # library's /host/. configure then causes --target to default to --host,
2872 # exactly like any other package using autoconf. Therefore, 'target' and
2873 # 'host' will always be the same. This makes sense both for native and
2874 # cross compilers, just think about it for a little while. :-)
2875 #
2876 # Also, if v3 is being configured as part of a cross compiler, the top-level
2877 # configure script will pass the "real" host as $with_cross_host.
2878 #
2879 # Do not delete or change the following two lines. For why, see
2880 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 ac_aux_dir=
2882 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2883 for ac_t in install-sh install.sh shtool; do
2884 if test -f "$ac_dir/$ac_t"; then
2885 ac_aux_dir=$ac_dir
2886 ac_install_sh="$ac_aux_dir/$ac_t -c"
2887 break 2
2888 fi
2889 done
2890 done
2891 if test -z "$ac_aux_dir"; then
2892 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2893 fi
2894
2895 # These three variables are undocumented and unsupported,
2896 # and are intended to be withdrawn in a future Autoconf release.
2897 # They can cause serious problems if a builder's source tree is in a directory
2898 # whose full name contains unusual characters.
2899 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2900 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2901 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2902
2903
2904 # Make sure we can run config.sub.
2905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2906 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2909 $as_echo_n "checking build system type... " >&6; }
2910 if test "${ac_cv_build+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2912 else
2913 ac_build_alias=$build_alias
2914 test "x$ac_build_alias" = x &&
2915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2916 test "x$ac_build_alias" = x &&
2917 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2919 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2923 $as_echo "$ac_cv_build" >&6; }
2924 case $ac_cv_build in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2927 esac
2928 build=$ac_cv_build
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_build
2931 shift
2932 build_cpu=$1
2933 build_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 build_os=$*
2938 IFS=$ac_save_IFS
2939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2943 $as_echo_n "checking host system type... " >&6; }
2944 if test "${ac_cv_host+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$host_alias" = x; then
2948 ac_cv_host=$ac_cv_build
2949 else
2950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2956 $as_echo "$ac_cv_host" >&6; }
2957 case $ac_cv_host in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2960 esac
2961 host=$ac_cv_host
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_host
2964 shift
2965 host_cpu=$1
2966 host_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 host_os=$*
2971 IFS=$ac_save_IFS
2972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2976 $as_echo_n "checking target system type... " >&6; }
2977 if test "${ac_cv_target+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 if test "x$target_alias" = x; then
2981 ac_cv_target=$ac_cv_host
2982 else
2983 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2984 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 fi
2986
2987 fi
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2989 $as_echo "$ac_cv_target" >&6; }
2990 case $ac_cv_target in
2991 *-*-*) ;;
2992 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 esac
2994 target=$ac_cv_target
2995 ac_save_IFS=$IFS; IFS='-'
2996 set x $ac_cv_target
2997 shift
2998 target_cpu=$1
2999 target_vendor=$2
3000 shift; shift
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3003 target_os=$*
3004 IFS=$ac_save_IFS
3005 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3006
3007
3008 # The aliases save the names the user supplied, while $host etc.
3009 # will get canonicalized.
3010 test -n "$target_alias" &&
3011 test "$program_prefix$program_suffix$program_transform_name" = \
3012 NONENONEs,x,x, &&
3013 program_prefix=${target_alias}-
3014
3015 target_alias=${target_alias-$host_alias}
3016
3017 # Handy for debugging:
3018 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3019
3020 if test "$build" != "$host"; then
3021 # We are being configured with some form of cross compiler.
3022 GLIBCXX_IS_NATIVE=false
3023 case "$host","$target" in
3024 # Darwin crosses can use the host system's libraries and headers,
3025 # because of the fat library support. Of course, it must be the
3026 # same version of Darwin on both sides. Allow the user to
3027 # just say --target=foo-darwin without a version number to mean
3028 # "the version on this system".
3029 *-*-darwin*,*-*-darwin*)
3030 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3031 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3032 if test $hostos = $targetos -o $targetos = darwin ; then
3033 GLIBCXX_IS_NATIVE=true
3034 fi
3035 ;;
3036
3037 *)
3038
3039 ;;
3040 esac
3041 else
3042 GLIBCXX_IS_NATIVE=true
3043 fi
3044
3045 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3046 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3047 # 1.x: minimum required version
3048 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3049 # of other PACKAGE_* variables will, however, and there's nothing
3050 # we can do about that; they come from AC_INIT).
3051 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3052 # file in the top srcdir, etc, etc), so stop complaining.
3053 # no-dependencies: turns off auto dependency generation (just for now)
3054 # no-dist: we don't want 'dist' and related rules.
3055 # -Wall: turns on all automake warnings...
3056 # -Wno-portability: ...except this one, since GNU make is now required.
3057 am__api_version='1.11'
3058
3059 # Find a good install program. We prefer a C program (faster),
3060 # so one script is as good as another. But avoid the broken or
3061 # incompatible versions:
3062 # SysV /etc/install, /usr/sbin/install
3063 # SunOS /usr/etc/install
3064 # IRIX /sbin/install
3065 # AIX /bin/install
3066 # AmigaOS /C/install, which installs bootblocks on floppy discs
3067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3070 # OS/2's system install, which has a completely different semantic
3071 # ./install, which can be erroneously created by make from ./install.sh.
3072 # Reject install programs that cannot install multiple files.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3075 if test -z "$INSTALL"; then
3076 if test "${ac_cv_path_install+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 # Account for people who put trailing slashes in PATH elements.
3085 case $as_dir/ in #((
3086 ./ | .// | /[cC]/* | \
3087 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3088 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3089 /usr/ucb/* ) ;;
3090 *)
3091 # OSF1 and SCO ODT 3.0 have their own names for install.
3092 # Don't use installbsd from OSF since it installs stuff as root
3093 # by default.
3094 for ac_prog in ginstall scoinst install; do
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3097 if test $ac_prog = install &&
3098 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3099 # AIX install. It has an incompatible calling convention.
3100 :
3101 elif test $ac_prog = install &&
3102 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # program-specific install script used by HP pwplus--don't use.
3104 :
3105 else
3106 rm -rf conftest.one conftest.two conftest.dir
3107 echo one > conftest.one
3108 echo two > conftest.two
3109 mkdir conftest.dir
3110 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3111 test -s conftest.one && test -s conftest.two &&
3112 test -s conftest.dir/conftest.one &&
3113 test -s conftest.dir/conftest.two
3114 then
3115 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3116 break 3
3117 fi
3118 fi
3119 fi
3120 done
3121 done
3122 ;;
3123 esac
3124
3125 done
3126 IFS=$as_save_IFS
3127
3128 rm -rf conftest.one conftest.two conftest.dir
3129
3130 fi
3131 if test "${ac_cv_path_install+set}" = set; then
3132 INSTALL=$ac_cv_path_install
3133 else
3134 # As a last resort, use the slow shell script. Don't cache a
3135 # value for INSTALL within a source directory, because that will
3136 # break other packages using the cache if that directory is
3137 # removed, or if the value is a relative name.
3138 INSTALL=$ac_install_sh
3139 fi
3140 fi
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3142 $as_echo "$INSTALL" >&6; }
3143
3144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3145 # It thinks the first close brace ends the variable substitution.
3146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3147
3148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3149
3150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3151
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3153 $as_echo_n "checking whether build environment is sane... " >&6; }
3154 # Just in case
3155 sleep 1
3156 echo timestamp > conftest.file
3157 # Reject unsafe characters in $srcdir or the absolute working directory
3158 # name. Accept space and tab only in the latter.
3159 am_lf='
3160 '
3161 case `pwd` in
3162 *[\\\"\#\$\&\'\`$am_lf]*)
3163 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3164 esac
3165 case $srcdir in
3166 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3167 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3168 esac
3169
3170 # Do `set' in a subshell so we don't clobber the current shell's
3171 # arguments. Must try -L first in case configure is actually a
3172 # symlink; some systems play weird games with the mod time of symlinks
3173 # (eg FreeBSD returns the mod time of the symlink's containing
3174 # directory).
3175 if (
3176 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3177 if test "$*" = "X"; then
3178 # -L didn't work.
3179 set X `ls -t "$srcdir/configure" conftest.file`
3180 fi
3181 rm -f conftest.file
3182 if test "$*" != "X $srcdir/configure conftest.file" \
3183 && test "$*" != "X conftest.file $srcdir/configure"; then
3184
3185 # If neither matched, then we have a broken ls. This can happen
3186 # if, for instance, CONFIG_SHELL is bash and it inherits a
3187 # broken ls alias from the environment. This has actually
3188 # happened. Such a system could not be considered "sane".
3189 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3190 alias in your environment" "$LINENO" 5
3191 fi
3192
3193 test "$2" = conftest.file
3194 )
3195 then
3196 # Ok.
3197 :
3198 else
3199 as_fn_error "newly created file is older than distributed files!
3200 Check your system clock" "$LINENO" 5
3201 fi
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3204 test "$program_prefix" != NONE &&
3205 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3206 # Use a double $ so make ignores it.
3207 test "$program_suffix" != NONE &&
3208 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3209 # Double any \ or $.
3210 # By default was `s,x,x', remove it if useless.
3211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3212 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3213
3214 # expand $ac_aux_dir to an absolute path
3215 am_aux_dir=`cd $ac_aux_dir && pwd`
3216
3217 if test x"${MISSING+set}" != xset; then
3218 case $am_aux_dir in
3219 *\ * | *\ *)
3220 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3221 *)
3222 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3223 esac
3224 fi
3225 # Use eval to expand $SHELL
3226 if eval "$MISSING --run true"; then
3227 am_missing_run="$MISSING --run "
3228 else
3229 am_missing_run=
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3231 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3232 fi
3233
3234 if test x"${install_sh}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3238 *)
3239 install_sh="\${SHELL} $am_aux_dir/install-sh"
3240 esac
3241 fi
3242
3243 # Installed binaries are usually stripped using `strip' when the user
3244 # run `make install-strip'. However `strip' might not be the right
3245 # tool to use in cross-compilation environments, therefore Automake
3246 # will honor the `STRIP' environment variable to overrule this program.
3247 if test "$cross_compiling" != no; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}strip; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_STRIP+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 if test -n "$STRIP"; then
3257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3269 fi
3270 done
3271 done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 STRIP=$ac_cv_prog_STRIP
3277 if test -n "$STRIP"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3279 $as_echo "$STRIP" >&6; }
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285
3286 fi
3287 if test -z "$ac_cv_prog_STRIP"; then
3288 ac_ct_STRIP=$STRIP
3289 # Extract the first word of "strip", so it can be a program name with args.
3290 set dummy strip; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 if test -n "$ac_ct_STRIP"; then
3297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306 ac_cv_prog_ac_ct_STRIP="strip"
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 break 2
3309 fi
3310 done
3311 done
3312 IFS=$as_save_IFS
3313
3314 fi
3315 fi
3316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3317 if test -n "$ac_ct_STRIP"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3319 $as_echo "$ac_ct_STRIP" >&6; }
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 fi
3324
3325 if test "x$ac_ct_STRIP" = x; then
3326 STRIP=":"
3327 else
3328 case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334 STRIP=$ac_ct_STRIP
3335 fi
3336 else
3337 STRIP="$ac_cv_prog_STRIP"
3338 fi
3339
3340 fi
3341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3342
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3344 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3345 if test -z "$MKDIR_P"; then
3346 if test "${ac_cv_path_mkdir+set}" = set; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3351 do
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 for ac_prog in mkdir gmkdir; do
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3357 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3358 'mkdir (GNU coreutils) '* | \
3359 'mkdir (coreutils) '* | \
3360 'mkdir (fileutils) '4.1*)
3361 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362 break 3;;
3363 esac
3364 done
3365 done
3366 done
3367 IFS=$as_save_IFS
3368
3369 fi
3370
3371 if test "${ac_cv_path_mkdir+set}" = set; then
3372 MKDIR_P="$ac_cv_path_mkdir -p"
3373 else
3374 # As a last resort, use the slow shell script. Don't cache a
3375 # value for MKDIR_P within a source directory, because that will
3376 # break other packages using the cache if that directory is
3377 # removed, or if the value is a relative name.
3378 test -d ./--version && rmdir ./--version
3379 MKDIR_P="$ac_install_sh -d"
3380 fi
3381 fi
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3383 $as_echo "$MKDIR_P" >&6; }
3384
3385 mkdir_p="$MKDIR_P"
3386 case $mkdir_p in
3387 [\\/$]* | ?:[\\/]*) ;;
3388 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3389 esac
3390
3391 for ac_prog in gawk mawk nawk awk
3392 do
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_AWK+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_AWK="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3413 fi
3414 done
3415 done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 AWK=$ac_cv_prog_AWK
3421 if test -n "$AWK"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429
3430 test -n "$AWK" && break
3431 done
3432
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 set x ${MAKE-make}
3436 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 cat >conftest.make <<\_ACEOF
3441 SHELL = /bin/sh
3442 all:
3443 @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 _ACEOF
3445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447 *@@@%%%=?*=@@@%%%*)
3448 eval ac_cv_prog_make_${ac_make}_set=yes;;
3449 *)
3450 eval ac_cv_prog_make_${ac_make}_set=no;;
3451 esac
3452 rm -f conftest.make
3453 fi
3454 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3457 SET_MAKE=
3458 else
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 SET_MAKE="MAKE=${MAKE-make}"
3462 fi
3463
3464 rm -rf .tst 2>/dev/null
3465 mkdir .tst 2>/dev/null
3466 if test -d .tst; then
3467 am__leading_dot=.
3468 else
3469 am__leading_dot=_
3470 fi
3471 rmdir .tst 2>/dev/null
3472
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475 # is not polluted with repeated "-I."
3476 am__isrc=' -I$(srcdir)'
3477 # test to see if srcdir already configured
3478 if test -f $srcdir/config.status; then
3479 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480 fi
3481 fi
3482
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485 if (cygpath --version) >/dev/null 2>/dev/null; then
3486 CYGPATH_W='cygpath -w'
3487 else
3488 CYGPATH_W=echo
3489 fi
3490 fi
3491
3492
3493 # Define the identity of the package.
3494 PACKAGE='libstdc++'
3495 VERSION='version-unused'
3496
3497
3498 # Some tools Automake needs.
3499
3500 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3501
3502
3503 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3504
3505
3506 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3507
3508
3509 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3510
3511
3512 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3513
3514 # We need awk for the "check" target. The system "awk" is bad on
3515 # some platforms.
3516 # Always define AMTAR for backward compatibility.
3517
3518 AMTAR=${AMTAR-"${am_missing_run}tar"}
3519
3520 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3521
3522
3523
3524
3525
3526
3527
3528
3529 # -fno-builtin must be present here so that a non-conflicting form of
3530 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3531
3532 save_CXXFLAGS="$CXXFLAGS"
3533 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3560 fi
3561 done
3562 done
3563 IFS=$as_save_IFS
3564
3565 fi
3566 fi
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 fi
3575
3576
3577 fi
3578 if test -z "$ac_cv_prog_CC"; then
3579 ac_ct_CC=$CC
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3600 fi
3601 done
3602 done
3603 IFS=$as_save_IFS
3604
3605 fi
3606 fi
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 fi
3615
3616 if test "x$ac_ct_CC" = x; then
3617 CC=""
3618 else
3619 case $cross_compiling:$ac_tool_warned in
3620 yes:)
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 CC=$ac_ct_CC
3626 fi
3627 else
3628 CC="$ac_cv_prog_CC"
3629 fi
3630
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3645 do
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3653 fi
3654 done
3655 done
3656 IFS=$as_save_IFS
3657
3658 fi
3659 fi
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3667 fi
3668
3669
3670 fi
3671 fi
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3682 else
3683 ac_prog_rejected=no
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3686 do
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected=yes
3693 continue
3694 fi
3695 ac_cv_prog_CC="cc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3698 fi
3699 done
3700 done
3701 IFS=$as_save_IFS
3702
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy $ac_cv_prog_CC
3706 shift
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3711 shift
3712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3713 fi
3714 fi
3715 fi
3716 fi
3717 CC=$ac_cv_prog_CC
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3724 fi
3725
3726
3727 fi
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in cl.exe
3731 do
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3744 do
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3752 fi
3753 done
3754 done
3755 IFS=$as_save_IFS
3756
3757 fi
3758 fi
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3766 fi
3767
3768
3769 test -n "$CC" && break
3770 done
3771 fi
3772 if test -z "$CC"; then
3773 ac_ct_CC=$CC
3774 for ac_prog in cl.exe
3775 do
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3788 do
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3796 fi
3797 done
3798 done
3799 IFS=$as_save_IFS
3800
3801 fi
3802 fi
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 fi
3811
3812
3813 test -n "$ac_ct_CC" && break
3814 done
3815
3816 if test "x$ac_ct_CC" = x; then
3817 CC=""
3818 else
3819 case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825 CC=$ac_ct_CC
3826 fi
3827 fi
3828
3829 fi
3830
3831
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details." "$LINENO" 5; }
3836
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3839 set X $ac_compile
3840 ac_compiler=$2
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 ac_status=$?
3851 if test -s conftest.err; then
3852 sed '10a\
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3857 fi
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 done
3861
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3864
3865 int
3866 main ()
3867 {
3868
3869 ;
3870 return 0;
3871 }
3872 _ACEOF
3873 # FIXME: Cleanup?
3874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3875 (eval $ac_link) 2>&5
3876 ac_status=$?
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 gcc_no_link=no
3880 else
3881 gcc_no_link=yes
3882 fi
3883 if test x$gcc_no_link = xyes; then
3884 # Setting cross_compile will disable run tests; it will
3885 # also disable AC_CHECK_FILE but that's generally
3886 # correct if we can't link.
3887 cross_compiling=yes
3888 EXEEXT=
3889 else
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3892
3893 int
3894 main ()
3895 {
3896
3897 ;
3898 return 0;
3899 }
3900 _ACEOF
3901 ac_clean_files_save=$ac_clean_files
3902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3903 # Try to create an executable without -o first, disregard a.out.
3904 # It will help us diagnose broken compilers, and finding out an intuition
3905 # of exeext.
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3909
3910 # The possible output files:
3911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3912
3913 ac_rmfiles=
3914 for ac_file in $ac_files
3915 do
3916 case $ac_file in
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 esac
3920 done
3921 rm -f $ac_rmfiles
3922
3923 if { { ac_try="$ac_link_default"
3924 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link_default") 2>&5
3931 ac_status=$?
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3937 # so that the user can short-circuit this test for compilers unknown to
3938 # Autoconf.
3939 for ac_file in $ac_files ''
3940 do
3941 test -f "$ac_file" || continue
3942 case $ac_file in
3943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3944 ;;
3945 [ab].out )
3946 # We found the default executable, but exeext='' is most
3947 # certainly right.
3948 break;;
3949 *.* )
3950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 then :; else
3952 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 fi
3954 # We set ac_cv_exeext here because the later test for it is not
3955 # safe: cross compilers may not add the suffix if given an `-o'
3956 # argument, so we may need to know it at that point already.
3957 # Even if this section looks crufty: it has the advantage of
3958 # actually working.
3959 break;;
3960 * )
3961 break;;
3962 esac
3963 done
3964 test "$ac_cv_exeext" = no && ac_cv_exeext=
3965
3966 else
3967 ac_file=''
3968 fi
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 if test -z "$ac_file"; then :
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3974
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 { as_fn_set_status 77
3978 as_fn_error "C compiler cannot create executables
3979 See \`config.log' for more details." "$LINENO" 5; }; }
3980 fi
3981 ac_exeext=$ac_cv_exeext
3982
3983 # Check that the compiler produces executables we can run. If not, either
3984 # the compiler is broken, or we cross compile.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3986 $as_echo_n "checking whether the C compiler works... " >&6; }
3987 # If not cross compiling, check that we can run a simple program.
3988 if test "$cross_compiling" != yes; then
3989 if { ac_try='./$ac_file'
3990 { { case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_try") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; }; then
4000 cross_compiling=no
4001 else
4002 if test "$cross_compiling" = maybe; then
4003 cross_compiling=yes
4004 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error "cannot run C compiled programs.
4008 If you meant to cross compile, use \`--host'.
4009 See \`config.log' for more details." "$LINENO" 5; }
4010 fi
4011 fi
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4015
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4017 ac_clean_files=$ac_clean_files_save
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4021 $as_echo_n "checking whether we are cross compiling... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4024
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 # `rm'.
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4044 case $ac_file in
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 break;;
4048 * ) break;;
4049 esac
4050 done
4051 else
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details." "$LINENO" 5; }
4056 fi
4057 rm -f conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4060
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4063 ac_exeext=$EXEEXT
4064 fi
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if test "${ac_cv_objext+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4072
4073 int
4074 main ()
4075 {
4076
4077 ;
4078 return 0;
4079 }
4080 _ACEOF
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4090 ac_status=$?
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 break;;
4099 esac
4100 done
4101 else
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4104
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot compute suffix of object files: cannot compile
4108 See \`config.log' for more details." "$LINENO" 5; }
4109 fi
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4111 fi
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4115 ac_objext=$OBJEXT
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4123
4124 int
4125 main ()
4126 {
4127 #ifndef __GNUC__
4128 choke me
4129 #endif
4130
4131 ;
4132 return 0;
4133 }
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_compiler_gnu=yes
4137 else
4138 ac_compiler_gnu=no
4139 fi
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4142
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4147 GCC=yes
4148 else
4149 GCC=
4150 fi
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if test "${ac_cv_prog_cc_g+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4160 ac_cv_prog_cc_g=no
4161 CFLAGS="-g"
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_prog_cc_g=yes
4175 else
4176 CFLAGS=""
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4179
4180 int
4181 main ()
4182 {
4183
4184 ;
4185 return 0;
4186 }
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4189
4190 else
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4192 CFLAGS="-g"
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195
4196 int
4197 main ()
4198 {
4199
4200 ;
4201 return 0;
4202 }
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_prog_cc_g=yes
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 fi
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4213 fi
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4220 CFLAGS="-g -O2"
4221 else
4222 CFLAGS="-g"
4223 fi
4224 else
4225 if test "$GCC" = yes; then
4226 CFLAGS="-O2"
4227 else
4228 CFLAGS=
4229 fi
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 ac_cv_prog_cc_c89=no
4237 ac_save_CC=$CC
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <stdarg.h>
4241 #include <stdio.h>
4242 #include <sys/types.h>
4243 #include <sys/stat.h>
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4248 char **p;
4249 int i;
4250 {
4251 return p[i];
4252 }
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4254 {
4255 char *s;
4256 va_list v;
4257 va_start (v,p);
4258 s = g (p, va_arg (v,int));
4259 va_end (v);
4260 return s;
4261 }
4262
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4271
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4274 #define FOO(x) 'x'
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4276
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 int argc;
4282 char **argv;
4283 int
4284 main ()
4285 {
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4287 ;
4288 return 0;
4289 }
4290 _ACEOF
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 do
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 done
4301 rm -f conftest.$ac_ext
4302 CC=$ac_save_CC
4303
4304 fi
4305 # AC_CACHE_VAL
4306 case "x$ac_cv_prog_cc_c89" in
4307 x)
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4310 xno)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4313 *)
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 esac
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4319
4320 fi
4321
4322 ac_ext=c
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327
4328 ac_ext=cpp
4329 ac_cpp='$CXXCPP $CPPFLAGS'
4330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4333 if test -z "$CXX"; then
4334 if test -n "$CCC"; then
4335 CXX=$CCC
4336 else
4337 if test -n "$ac_tool_prefix"; then
4338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4339 do
4340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CXX+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$CXX"; then
4348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4352 do
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4360 fi
4361 done
4362 done
4363 IFS=$as_save_IFS
4364
4365 fi
4366 fi
4367 CXX=$ac_cv_prog_CXX
4368 if test -n "$CXX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4370 $as_echo "$CXX" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4374 fi
4375
4376
4377 test -n "$CXX" && break
4378 done
4379 fi
4380 if test -z "$CXX"; then
4381 ac_ct_CXX=$CXX
4382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4383 do
4384 # Extract the first word of "$ac_prog", so it can be a program name with args.
4385 set dummy $ac_prog; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 if test -n "$ac_ct_CXX"; then
4392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4396 do
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_ac_ct_CXX="$ac_prog"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4404 fi
4405 done
4406 done
4407 IFS=$as_save_IFS
4408
4409 fi
4410 fi
4411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4412 if test -n "$ac_ct_CXX"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4414 $as_echo "$ac_ct_CXX" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4418 fi
4419
4420
4421 test -n "$ac_ct_CXX" && break
4422 done
4423
4424 if test "x$ac_ct_CXX" = x; then
4425 CXX="g++"
4426 else
4427 case $cross_compiling:$ac_tool_warned in
4428 yes:)
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4431 ac_tool_warned=yes ;;
4432 esac
4433 CXX=$ac_ct_CXX
4434 fi
4435 fi
4436
4437 fi
4438 fi
4439 # Provide some information about the compiler.
4440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4441 set X $ac_compile
4442 ac_compiler=$2
4443 for ac_option in --version -v -V -qversion; do
4444 { { ac_try="$ac_compiler $ac_option >&5"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 ac_status=$?
4453 if test -s conftest.err; then
4454 sed '10a\
4455 ... rest of stderr output deleted ...
4456 10q' conftest.err >conftest.er1
4457 cat conftest.er1 >&5
4458 rm -f conftest.er1 conftest.err
4459 fi
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }
4462 done
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4466 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4471
4472 int
4473 main ()
4474 {
4475 #ifndef __GNUC__
4476 choke me
4477 #endif
4478
4479 ;
4480 return 0;
4481 }
4482 _ACEOF
4483 if ac_fn_cxx_try_compile "$LINENO"; then :
4484 ac_compiler_gnu=yes
4485 else
4486 ac_compiler_gnu=no
4487 fi
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4490
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4495 GXX=yes
4496 else
4497 GXX=
4498 fi
4499 ac_test_CXXFLAGS=${CXXFLAGS+set}
4500 ac_save_CXXFLAGS=$CXXFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4503 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4507 ac_cxx_werror_flag=yes
4508 ac_cv_prog_cxx_g=no
4509 CXXFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4512
4513 int
4514 main ()
4515 {
4516
4517 ;
4518 return 0;
4519 }
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_cv_prog_cxx_g=yes
4523 else
4524 CXXFLAGS=""
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4527
4528 int
4529 main ()
4530 {
4531
4532 ;
4533 return 0;
4534 }
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4537
4538 else
4539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4540 CXXFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4543
4544 int
4545 main ()
4546 {
4547
4548 ;
4549 return 0;
4550 }
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 ac_cv_prog_cxx_g=yes
4554 fi
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 fi
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 fi
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4561 fi
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4564 if test "$ac_test_CXXFLAGS" = set; then
4565 CXXFLAGS=$ac_save_CXXFLAGS
4566 elif test $ac_cv_prog_cxx_g = yes; then
4567 if test "$GXX" = yes; then
4568 CXXFLAGS="-g -O2"
4569 else
4570 CXXFLAGS="-g"
4571 fi
4572 else
4573 if test "$GXX" = yes; then
4574 CXXFLAGS="-O2"
4575 else
4576 CXXFLAGS=
4577 fi
4578 fi
4579 ac_ext=c
4580 ac_cpp='$CPP $CPPFLAGS'
4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584
4585 CXXFLAGS="$save_CXXFLAGS"
4586
4587 # Runs configure.host, and assorted other critical bits. Sets
4588 # up critical shell variables.
4589
4590 ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4597 # On Suns, sometimes $CPP names a directory.
4598 if test -n "$CPP" && test -d "$CPP"; then
4599 CPP=
4600 fi
4601 if test -z "$CPP"; then
4602 if test "${ac_cv_prog_CPP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 # Double quotes because CPP needs to be expanded
4606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4607 do
4608 ac_preproc_ok=false
4609 for ac_c_preproc_warn_flag in '' yes
4610 do
4611 # Use a header file that comes with gcc, so configuring glibc
4612 # with a fresh cross-compiler works.
4613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4614 # <limits.h> exists even on freestanding compilers.
4615 # On the NeXT, cc -E runs the code through the compiler's parser,
4616 # not just through cpp. "Syntax error" is here to catch this case.
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619 #ifdef __STDC__
4620 # include <limits.h>
4621 #else
4622 # include <assert.h>
4623 #endif
4624 Syntax error
4625 _ACEOF
4626 if ac_fn_c_try_cpp "$LINENO"; then :
4627
4628 else
4629 # Broken: fails on valid input.
4630 continue
4631 fi
4632 rm -f conftest.err conftest.$ac_ext
4633
4634 # OK, works on sane cases. Now check whether nonexistent headers
4635 # can be detected and how.
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638 #include <ac_nonexistent.h>
4639 _ACEOF
4640 if ac_fn_c_try_cpp "$LINENO"; then :
4641 # Broken: success on invalid input.
4642 continue
4643 else
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4647 fi
4648 rm -f conftest.err conftest.$ac_ext
4649
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then :
4654 break
4655 fi
4656
4657 done
4658 ac_cv_prog_CPP=$CPP
4659
4660 fi
4661 CPP=$ac_cv_prog_CPP
4662 else
4663 ac_cv_prog_CPP=$CPP
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4666 $as_echo "$CPP" >&6; }
4667 ac_preproc_ok=false
4668 for ac_c_preproc_warn_flag in '' yes
4669 do
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #ifdef __STDC__
4679 # include <limits.h>
4680 #else
4681 # include <assert.h>
4682 #endif
4683 Syntax error
4684 _ACEOF
4685 if ac_fn_c_try_cpp "$LINENO"; then :
4686
4687 else
4688 # Broken: fails on valid input.
4689 continue
4690 fi
4691 rm -f conftest.err conftest.$ac_ext
4692
4693 # OK, works on sane cases. Now check whether nonexistent headers
4694 # can be detected and how.
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <ac_nonexistent.h>
4698 _ACEOF
4699 if ac_fn_c_try_cpp "$LINENO"; then :
4700 # Broken: success on invalid input.
4701 continue
4702 else
4703 # Passes both tests.
4704 ac_preproc_ok=:
4705 break
4706 fi
4707 rm -f conftest.err conftest.$ac_ext
4708
4709 done
4710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711 rm -f conftest.err conftest.$ac_ext
4712 if $ac_preproc_ok; then :
4713
4714 else
4715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4718 See \`config.log' for more details." "$LINENO" 5; }
4719 fi
4720
4721 ac_ext=c
4722 ac_cpp='$CPP $CPPFLAGS'
4723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4726
4727
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4729 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4730 if test "${ac_cv_path_GREP+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -z "$GREP"; then
4734 ac_path_GREP_found=false
4735 # Loop through the user's path and test for each of PROGNAME-LIST
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4738 do
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_prog in grep ggrep; do
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4745 # Check for GNU ac_path_GREP and select it if it is found.
4746 # Check for GNU $ac_path_GREP
4747 case `"$ac_path_GREP" --version 2>&1` in
4748 *GNU*)
4749 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4750 *)
4751 ac_count=0
4752 $as_echo_n 0123456789 >"conftest.in"
4753 while :
4754 do
4755 cat "conftest.in" "conftest.in" >"conftest.tmp"
4756 mv "conftest.tmp" "conftest.in"
4757 cp "conftest.in" "conftest.nl"
4758 $as_echo 'GREP' >> "conftest.nl"
4759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4761 as_fn_arith $ac_count + 1 && ac_count=$as_val
4762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4763 # Best one so far, save it but keep looking for a better one
4764 ac_cv_path_GREP="$ac_path_GREP"
4765 ac_path_GREP_max=$ac_count
4766 fi
4767 # 10*(2^10) chars as input seems more than enough
4768 test $ac_count -gt 10 && break
4769 done
4770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4771 esac
4772
4773 $ac_path_GREP_found && break 3
4774 done
4775 done
4776 done
4777 IFS=$as_save_IFS
4778 if test -z "$ac_cv_path_GREP"; then
4779 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4780 fi
4781 else
4782 ac_cv_path_GREP=$GREP
4783 fi
4784
4785 fi
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4787 $as_echo "$ac_cv_path_GREP" >&6; }
4788 GREP="$ac_cv_path_GREP"
4789
4790
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4792 $as_echo_n "checking for egrep... " >&6; }
4793 if test "${ac_cv_path_EGREP+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4797 then ac_cv_path_EGREP="$GREP -E"
4798 else
4799 if test -z "$EGREP"; then
4800 ac_path_EGREP_found=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4804 do
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_prog in egrep; do
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4811 # Check for GNU ac_path_EGREP and select it if it is found.
4812 # Check for GNU $ac_path_EGREP
4813 case `"$ac_path_EGREP" --version 2>&1` in
4814 *GNU*)
4815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4816 *)
4817 ac_count=0
4818 $as_echo_n 0123456789 >"conftest.in"
4819 while :
4820 do
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'EGREP' >> "conftest.nl"
4825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4827 as_fn_arith $ac_count + 1 && ac_count=$as_val
4828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_EGREP="$ac_path_EGREP"
4831 ac_path_EGREP_max=$ac_count
4832 fi
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4835 done
4836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 esac
4838
4839 $ac_path_EGREP_found && break 3
4840 done
4841 done
4842 done
4843 IFS=$as_save_IFS
4844 if test -z "$ac_cv_path_EGREP"; then
4845 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4846 fi
4847 else
4848 ac_cv_path_EGREP=$EGREP
4849 fi
4850
4851 fi
4852 fi
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4854 $as_echo "$ac_cv_path_EGREP" >&6; }
4855 EGREP="$ac_cv_path_EGREP"
4856
4857
4858
4859 # Keep these sync'd with the list in Makefile.am. The first provides an
4860 # expandable list at autoconf time; the second provides an expandable list
4861 # (i.e., shell variable) at configure time.
4862
4863 SUBDIRS='include libsupc++ python src doc po testsuite'
4864
4865 # These need to be absolute paths, yet at the same time need to
4866 # canonicalize only relative paths, because then amd will not unmount
4867 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4868 glibcxx_builddir=`${PWDCMD-pwd}`
4869 case $srcdir in
4870 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4871 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4872 esac
4873 toplevel_srcdir=${glibcxx_srcdir}/..
4874
4875
4876
4877
4878 # We use these options to decide which functions to include. They are
4879 # set from the top level.
4880
4881 # Check whether --with-target-subdir was given.
4882 if test "${with_target_subdir+set}" = set; then :
4883 withval=$with_target_subdir;
4884 fi
4885
4886
4887
4888 # Check whether --with-cross-host was given.
4889 if test "${with_cross_host+set}" = set; then :
4890 withval=$with_cross_host;
4891 fi
4892
4893
4894
4895 # Check whether --with-newlib was given.
4896 if test "${with_newlib+set}" = set; then :
4897 withval=$with_newlib;
4898 fi
4899
4900
4901 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4902 # available). Uncomment the next line to force a particular method.
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4904 $as_echo_n "checking whether ln -s works... " >&6; }
4905 LN_S=$as_ln_s
4906 if test "$LN_S" = "ln -s"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4911 $as_echo "no, using $LN_S" >&6; }
4912 fi
4913
4914 #LN_S='cp -p'
4915
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4918 set dummy ${ac_tool_prefix}as; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if test "${ac_cv_prog_AS+set}" = set; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$AS"; then
4925 ac_cv_prog_AS="$AS" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4929 do
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_prog_AS="${ac_tool_prefix}as"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4937 fi
4938 done
4939 done
4940 IFS=$as_save_IFS
4941
4942 fi
4943 fi
4944 AS=$ac_cv_prog_AS
4945 if test -n "$AS"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4947 $as_echo "$AS" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 fi
4952
4953
4954 fi
4955 if test -z "$ac_cv_prog_AS"; then
4956 ac_ct_AS=$AS
4957 # Extract the first word of "as", so it can be a program name with args.
4958 set dummy as; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$ac_ct_AS"; then
4965 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4969 do
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_ac_ct_AS="as"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4977 fi
4978 done
4979 done
4980 IFS=$as_save_IFS
4981
4982 fi
4983 fi
4984 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4985 if test -n "$ac_ct_AS"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4987 $as_echo "$ac_ct_AS" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4991 fi
4992
4993 if test "x$ac_ct_AS" = x; then
4994 AS=""
4995 else
4996 case $cross_compiling:$ac_tool_warned in
4997 yes:)
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned=yes ;;
5001 esac
5002 AS=$ac_ct_AS
5003 fi
5004 else
5005 AS="$ac_cv_prog_AS"
5006 fi
5007
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ar; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_AR+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR="$AR" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5021 do
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_AR="${ac_tool_prefix}ar"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5029 fi
5030 done
5031 done
5032 IFS=$as_save_IFS
5033
5034 fi
5035 fi
5036 AR=$ac_cv_prog_AR
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 fi
5044
5045
5046 fi
5047 if test -z "$ac_cv_prog_AR"; then
5048 ac_ct_AR=$AR
5049 # Extract the first word of "ar", so it can be a program name with args.
5050 set dummy ar; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$ac_ct_AR"; then
5057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5061 do
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_ac_ct_AR="ar"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5069 fi
5070 done
5071 done
5072 IFS=$as_save_IFS
5073
5074 fi
5075 fi
5076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5077 if test -n "$ac_ct_AR"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5079 $as_echo "$ac_ct_AR" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 fi
5084
5085 if test "x$ac_ct_AR" = x; then
5086 AR=""
5087 else
5088 case $cross_compiling:$ac_tool_warned in
5089 yes:)
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5093 esac
5094 AR=$ac_ct_AR
5095 fi
5096 else
5097 AR="$ac_cv_prog_AR"
5098 fi
5099
5100 if test -n "$ac_tool_prefix"; then
5101 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5108 if test -n "$RANLIB"; then
5109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5113 do
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5121 fi
5122 done
5123 done
5124 IFS=$as_save_IFS
5125
5126 fi
5127 fi
5128 RANLIB=$ac_cv_prog_RANLIB
5129 if test -n "$RANLIB"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5131 $as_echo "$RANLIB" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5135 fi
5136
5137
5138 fi
5139 if test -z "$ac_cv_prog_RANLIB"; then
5140 ac_ct_RANLIB=$RANLIB
5141 # Extract the first word of "ranlib", so it can be a program name with args.
5142 set dummy ranlib; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5147 else
5148 if test -n "$ac_ct_RANLIB"; then
5149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5153 do
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_RANLIB="ranlib"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5161 fi
5162 done
5163 done
5164 IFS=$as_save_IFS
5165
5166 fi
5167 fi
5168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5169 if test -n "$ac_ct_RANLIB"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5171 $as_echo "$ac_ct_RANLIB" >&6; }
5172 else
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5175 fi
5176
5177 if test "x$ac_ct_RANLIB" = x; then
5178 RANLIB="ranlib-not-found-in-path-error"
5179 else
5180 case $cross_compiling:$ac_tool_warned in
5181 yes:)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5184 ac_tool_warned=yes ;;
5185 esac
5186 RANLIB=$ac_ct_RANLIB
5187 fi
5188 else
5189 RANLIB="$ac_cv_prog_RANLIB"
5190 fi
5191
5192
5193
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5195 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5196 # Check whether --enable-maintainer-mode was given.
5197 if test "${enable_maintainer_mode+set}" = set; then :
5198 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5199 else
5200 USE_MAINTAINER_MODE=no
5201 fi
5202
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5204 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5205 if test $USE_MAINTAINER_MODE = yes; then
5206 MAINTAINER_MODE_TRUE=
5207 MAINTAINER_MODE_FALSE='#'
5208 else
5209 MAINTAINER_MODE_TRUE='#'
5210 MAINTAINER_MODE_FALSE=
5211 fi
5212
5213 MAINT=$MAINTAINER_MODE_TRUE
5214
5215
5216
5217 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5218 # which are themselves conditionally expanded.
5219 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5220 ## other macros from doing the same. This should be automated.) -pme
5221
5222 # Check for C library flavor since GNU/Linux platforms use different
5223 # configuration directories depending on the C library in use.
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5226
5227 #include <stdio.h>
5228 #if __UCLIBC__
5229 _using_uclibc
5230 #endif
5231
5232 _ACEOF
5233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5234 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5235 uclibc=yes
5236 else
5237 uclibc=no
5238 fi
5239 rm -f conftest*
5240
5241
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244
5245 #include <stdio.h>
5246 #if __BIONIC__
5247 _using_bionic
5248 #endif
5249
5250 _ACEOF
5251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5252 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5253 bionic=yes
5254 else
5255 bionic=no
5256 fi
5257 rm -f conftest*
5258
5259
5260 # Find platform-specific directories containing configuration info.
5261 # Also possibly modify flags used elsewhere, as needed by the platform.
5262
5263 . $glibcxx_srcdir/configure.host
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5265 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5267 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5268
5269
5270
5271 if test "x${with_newlib}" != "xyes"; then
5272 enable_dlopen=yes
5273
5274
5275
5276 fi
5277 case `pwd` in
5278 *\ * | *\ *)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5281 esac
5282
5283
5284
5285 macro_version='2.2.7a'
5286 macro_revision='1.3134'
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300 ltmain="$ac_aux_dir/ltmain.sh"
5301
5302 # Backslashify metacharacters that are still active within
5303 # double-quoted strings.
5304 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5305
5306 # Same as above, but do not quote variable references.
5307 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5308
5309 # Sed substitution to delay expansion of an escaped shell variable in a
5310 # double_quote_subst'ed string.
5311 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5312
5313 # Sed substitution to delay expansion of an escaped single quote.
5314 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5315
5316 # Sed substitution to avoid accidental globbing in evaled expressions
5317 no_glob_subst='s/\*/\\\*/g'
5318
5319 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5322
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5324 $as_echo_n "checking how to print strings... " >&6; }
5325 # Test print first, because it will be a builtin if present.
5326 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5327 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5328 ECHO='print -r --'
5329 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5330 ECHO='printf %s\n'
5331 else
5332 # Use this function as a fallback that always works.
5333 func_fallback_echo ()
5334 {
5335 eval 'cat <<_LTECHO_EOF
5336 $1
5337 _LTECHO_EOF'
5338 }
5339 ECHO='func_fallback_echo'
5340 fi
5341
5342 # func_echo_all arg...
5343 # Invoke $ECHO with all args, space-separated.
5344 func_echo_all ()
5345 {
5346 $ECHO ""
5347 }
5348
5349 case "$ECHO" in
5350 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5351 $as_echo "printf" >&6; } ;;
5352 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5353 $as_echo "print -r" >&6; } ;;
5354 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5355 $as_echo "cat" >&6; } ;;
5356 esac
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5372 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5373 if test "${ac_cv_path_SED+set}" = set; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5377 for ac_i in 1 2 3 4 5 6 7; do
5378 ac_script="$ac_script$as_nl$ac_script"
5379 done
5380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5381 { ac_script=; unset ac_script;}
5382 if test -z "$SED"; then
5383 ac_path_SED_found=false
5384 # Loop through the user's path and test for each of PROGNAME-LIST
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5387 do
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_prog in sed gsed; do
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5393 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5394 # Check for GNU ac_path_SED and select it if it is found.
5395 # Check for GNU $ac_path_SED
5396 case `"$ac_path_SED" --version 2>&1` in
5397 *GNU*)
5398 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5399 *)
5400 ac_count=0
5401 $as_echo_n 0123456789 >"conftest.in"
5402 while :
5403 do
5404 cat "conftest.in" "conftest.in" >"conftest.tmp"
5405 mv "conftest.tmp" "conftest.in"
5406 cp "conftest.in" "conftest.nl"
5407 $as_echo '' >> "conftest.nl"
5408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5410 as_fn_arith $ac_count + 1 && ac_count=$as_val
5411 if test $ac_count -gt ${ac_path_SED_max-0}; then
5412 # Best one so far, save it but keep looking for a better one
5413 ac_cv_path_SED="$ac_path_SED"
5414 ac_path_SED_max=$ac_count
5415 fi
5416 # 10*(2^10) chars as input seems more than enough
5417 test $ac_count -gt 10 && break
5418 done
5419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420 esac
5421
5422 $ac_path_SED_found && break 3
5423 done
5424 done
5425 done
5426 IFS=$as_save_IFS
5427 if test -z "$ac_cv_path_SED"; then
5428 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5429 fi
5430 else
5431 ac_cv_path_SED=$SED
5432 fi
5433
5434 fi
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5436 $as_echo "$ac_cv_path_SED" >&6; }
5437 SED="$ac_cv_path_SED"
5438 rm -f conftest.sed
5439
5440 test -z "$SED" && SED=sed
5441 Xsed="$SED -e 1s/^X//"
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5454 $as_echo_n "checking for fgrep... " >&6; }
5455 if test "${ac_cv_path_FGREP+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5459 then ac_cv_path_FGREP="$GREP -F"
5460 else
5461 if test -z "$FGREP"; then
5462 ac_path_FGREP_found=false
5463 # Loop through the user's path and test for each of PROGNAME-LIST
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5466 do
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_prog in fgrep; do
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5472 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5473 # Check for GNU ac_path_FGREP and select it if it is found.
5474 # Check for GNU $ac_path_FGREP
5475 case `"$ac_path_FGREP" --version 2>&1` in
5476 *GNU*)
5477 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5478 *)
5479 ac_count=0
5480 $as_echo_n 0123456789 >"conftest.in"
5481 while :
5482 do
5483 cat "conftest.in" "conftest.in" >"conftest.tmp"
5484 mv "conftest.tmp" "conftest.in"
5485 cp "conftest.in" "conftest.nl"
5486 $as_echo 'FGREP' >> "conftest.nl"
5487 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5489 as_fn_arith $ac_count + 1 && ac_count=$as_val
5490 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5491 # Best one so far, save it but keep looking for a better one
5492 ac_cv_path_FGREP="$ac_path_FGREP"
5493 ac_path_FGREP_max=$ac_count
5494 fi
5495 # 10*(2^10) chars as input seems more than enough
5496 test $ac_count -gt 10 && break
5497 done
5498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5499 esac
5500
5501 $ac_path_FGREP_found && break 3
5502 done
5503 done
5504 done
5505 IFS=$as_save_IFS
5506 if test -z "$ac_cv_path_FGREP"; then
5507 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5508 fi
5509 else
5510 ac_cv_path_FGREP=$FGREP
5511 fi
5512
5513 fi
5514 fi
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5516 $as_echo "$ac_cv_path_FGREP" >&6; }
5517 FGREP="$ac_cv_path_FGREP"
5518
5519
5520 test -z "$GREP" && GREP=grep
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540 # Check whether --with-gnu-ld was given.
5541 if test "${with_gnu_ld+set}" = set; then :
5542 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5543 else
5544 with_gnu_ld=no
5545 fi
5546
5547 ac_prog=ld
5548 if test "$GCC" = yes; then
5549 # Check if gcc -print-prog-name=ld gives a path.
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5551 $as_echo_n "checking for ld used by $CC... " >&6; }
5552 case $host in
5553 *-*-mingw*)
5554 # gcc leaves a trailing carriage return which upsets mingw
5555 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5556 *)
5557 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5558 esac
5559 case $ac_prog in
5560 # Accept absolute paths.
5561 [\\/]* | ?:[\\/]*)
5562 re_direlt='/[^/][^/]*/\.\./'
5563 # Canonicalize the pathname of ld
5564 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5565 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5566 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5567 done
5568 test -z "$LD" && LD="$ac_prog"
5569 ;;
5570 "")
5571 # If it fails, then pretend we aren't using GCC.
5572 ac_prog=ld
5573 ;;
5574 *)
5575 # If it is relative, then search for the first ld in PATH.
5576 with_gnu_ld=unknown
5577 ;;
5578 esac
5579 elif test "$with_gnu_ld" = yes; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5581 $as_echo_n "checking for GNU ld... " >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5584 $as_echo_n "checking for non-GNU ld... " >&6; }
5585 fi
5586 if test "${lt_cv_path_LD+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -z "$LD"; then
5590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5591 for ac_dir in $PATH; do
5592 IFS="$lt_save_ifs"
5593 test -z "$ac_dir" && ac_dir=.
5594 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5595 lt_cv_path_LD="$ac_dir/$ac_prog"
5596 # Check to see if the program is GNU ld. I'd rather use --version,
5597 # but apparently some variants of GNU ld only accept -v.
5598 # Break only if it was the GNU/non-GNU ld that we prefer.
5599 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5600 *GNU* | *'with BFD'*)
5601 test "$with_gnu_ld" != no && break
5602 ;;
5603 *)
5604 test "$with_gnu_ld" != yes && break
5605 ;;
5606 esac
5607 fi
5608 done
5609 IFS="$lt_save_ifs"
5610 else
5611 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5612 fi
5613 fi
5614
5615 LD="$lt_cv_path_LD"
5616 if test -n "$LD"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5618 $as_echo "$LD" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5622 fi
5623 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5625 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5626 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5630 case `$LD -v 2>&1 </dev/null` in
5631 *GNU* | *'with BFD'*)
5632 lt_cv_prog_gnu_ld=yes
5633 ;;
5634 *)
5635 lt_cv_prog_gnu_ld=no
5636 ;;
5637 esac
5638 fi
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5640 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5641 with_gnu_ld=$lt_cv_prog_gnu_ld
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5652 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5653 if test "${lt_cv_path_NM+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -n "$NM"; then
5657 # Let the user override the test.
5658 lt_cv_path_NM="$NM"
5659 else
5660 lt_nm_to_check="${ac_tool_prefix}nm"
5661 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5662 lt_nm_to_check="$lt_nm_to_check nm"
5663 fi
5664 for lt_tmp_nm in $lt_nm_to_check; do
5665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5666 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5667 IFS="$lt_save_ifs"
5668 test -z "$ac_dir" && ac_dir=.
5669 tmp_nm="$ac_dir/$lt_tmp_nm"
5670 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5671 # Check to see if the nm accepts a BSD-compat flag.
5672 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5673 # nm: unknown option "B" ignored
5674 # Tru64's nm complains that /dev/null is an invalid object file
5675 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5676 */dev/null* | *'Invalid file or object type'*)
5677 lt_cv_path_NM="$tmp_nm -B"
5678 break
5679 ;;
5680 *)
5681 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5682 */dev/null*)
5683 lt_cv_path_NM="$tmp_nm -p"
5684 break
5685 ;;
5686 *)
5687 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5688 continue # so that we can try to find one that supports BSD flags
5689 ;;
5690 esac
5691 ;;
5692 esac
5693 fi
5694 done
5695 IFS="$lt_save_ifs"
5696 done
5697 : ${lt_cv_path_NM=no}
5698 fi
5699 fi
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5701 $as_echo "$lt_cv_path_NM" >&6; }
5702 if test "$lt_cv_path_NM" != "no"; then
5703 NM="$lt_cv_path_NM"
5704 else
5705 # Didn't find any BSD compatible name lister, look for dumpbin.
5706 if test -n "$DUMPBIN"; then :
5707 # Let the user override the test.
5708 else
5709 if test -n "$ac_tool_prefix"; then
5710 for ac_prog in dumpbin "link -dump"
5711 do
5712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$DUMPBIN"; then
5720 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5724 do
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5732 fi
5733 done
5734 done
5735 IFS=$as_save_IFS
5736
5737 fi
5738 fi
5739 DUMPBIN=$ac_cv_prog_DUMPBIN
5740 if test -n "$DUMPBIN"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5742 $as_echo "$DUMPBIN" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5746 fi
5747
5748
5749 test -n "$DUMPBIN" && break
5750 done
5751 fi
5752 if test -z "$DUMPBIN"; then
5753 ac_ct_DUMPBIN=$DUMPBIN
5754 for ac_prog in dumpbin "link -dump"
5755 do
5756 # Extract the first word of "$ac_prog", so it can be a program name with args.
5757 set dummy $ac_prog; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$ac_ct_DUMPBIN"; then
5764 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5768 do
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5776 fi
5777 done
5778 done
5779 IFS=$as_save_IFS
5780
5781 fi
5782 fi
5783 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5784 if test -n "$ac_ct_DUMPBIN"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5786 $as_echo "$ac_ct_DUMPBIN" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5790 fi
5791
5792
5793 test -n "$ac_ct_DUMPBIN" && break
5794 done
5795
5796 if test "x$ac_ct_DUMPBIN" = x; then
5797 DUMPBIN=":"
5798 else
5799 case $cross_compiling:$ac_tool_warned in
5800 yes:)
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 DUMPBIN=$ac_ct_DUMPBIN
5806 fi
5807 fi
5808
5809 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5810 *COFF*)
5811 DUMPBIN="$DUMPBIN -symbols"
5812 ;;
5813 *)
5814 DUMPBIN=:
5815 ;;
5816 esac
5817 fi
5818
5819 if test "$DUMPBIN" != ":"; then
5820 NM="$DUMPBIN"
5821 fi
5822 fi
5823 test -z "$NM" && NM=nm
5824
5825
5826
5827
5828
5829
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5831 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5832 if test "${lt_cv_nm_interface+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 lt_cv_nm_interface="BSD nm"
5836 echo "int some_variable = 0;" > conftest.$ac_ext
5837 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5838 (eval "$ac_compile" 2>conftest.err)
5839 cat conftest.err >&5
5840 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5841 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5844 cat conftest.out >&5
5845 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5846 lt_cv_nm_interface="MS dumpbin"
5847 fi
5848 rm -f conftest*
5849 fi
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5851 $as_echo "$lt_cv_nm_interface" >&6; }
5852
5853 # find the maximum length of command line arguments
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5855 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5856 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 i=0
5860 teststring="ABCD"
5861
5862 case $build_os in
5863 msdosdjgpp*)
5864 # On DJGPP, this test can blow up pretty badly due to problems in libc
5865 # (any single argument exceeding 2000 bytes causes a buffer overrun
5866 # during glob expansion). Even if it were fixed, the result of this
5867 # check would be larger than it should be.
5868 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5869 ;;
5870
5871 gnu*)
5872 # Under GNU Hurd, this test is not required because there is
5873 # no limit to the length of command line arguments.
5874 # Libtool will interpret -1 as no limit whatsoever
5875 lt_cv_sys_max_cmd_len=-1;
5876 ;;
5877
5878 cygwin* | mingw* | cegcc*)
5879 # On Win9x/ME, this test blows up -- it succeeds, but takes
5880 # about 5 minutes as the teststring grows exponentially.
5881 # Worse, since 9x/ME are not pre-emptively multitasking,
5882 # you end up with a "frozen" computer, even though with patience
5883 # the test eventually succeeds (with a max line length of 256k).
5884 # Instead, let's just punt: use the minimum linelength reported by
5885 # all of the supported platforms: 8192 (on NT/2K/XP).
5886 lt_cv_sys_max_cmd_len=8192;
5887 ;;
5888
5889 mint*)
5890 # On MiNT this can take a long time and run out of memory.
5891 lt_cv_sys_max_cmd_len=8192;
5892 ;;
5893
5894 amigaos*)
5895 # On AmigaOS with pdksh, this test takes hours, literally.
5896 # So we just punt and use a minimum line length of 8192.
5897 lt_cv_sys_max_cmd_len=8192;
5898 ;;
5899
5900 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5901 # This has been around since 386BSD, at least. Likely further.
5902 if test -x /sbin/sysctl; then
5903 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5904 elif test -x /usr/sbin/sysctl; then
5905 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5906 else
5907 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5908 fi
5909 # And add a safety zone
5910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5912 ;;
5913
5914 interix*)
5915 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5916 lt_cv_sys_max_cmd_len=196608
5917 ;;
5918
5919 osf*)
5920 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5921 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5922 # nice to cause kernel panics so lets avoid the loop below.
5923 # First set a reasonable default.
5924 lt_cv_sys_max_cmd_len=16384
5925 #
5926 if test -x /sbin/sysconfig; then
5927 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5928 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5929 esac
5930 fi
5931 ;;
5932 sco3.2v5*)
5933 lt_cv_sys_max_cmd_len=102400
5934 ;;
5935 sysv5* | sco5v6* | sysv4.2uw2*)
5936 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5937 if test -n "$kargmax"; then
5938 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5939 else
5940 lt_cv_sys_max_cmd_len=32768
5941 fi
5942 ;;
5943 *)
5944 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5945 if test -n "$lt_cv_sys_max_cmd_len"; then
5946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5948 else
5949 # Make teststring a little bigger before we do anything with it.
5950 # a 1K string should be a reasonable start.
5951 for i in 1 2 3 4 5 6 7 8 ; do
5952 teststring=$teststring$teststring
5953 done
5954 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5955 # If test is not a shell built-in, we'll probably end up computing a
5956 # maximum length that is only half of the actual maximum length, but
5957 # we can't tell.
5958 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5959 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5960 test $i != 17 # 1/2 MB should be enough
5961 do
5962 i=`expr $i + 1`
5963 teststring=$teststring$teststring
5964 done
5965 # Only check the string length outside the loop.
5966 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5967 teststring=
5968 # Add a significant safety factor because C++ compilers can tack on
5969 # massive amounts of additional arguments before passing them to the
5970 # linker. It appears as though 1/2 is a usable value.
5971 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5972 fi
5973 ;;
5974 esac
5975
5976 fi
5977
5978 if test -n $lt_cv_sys_max_cmd_len ; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5980 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5983 $as_echo "none" >&6; }
5984 fi
5985 max_cmd_len=$lt_cv_sys_max_cmd_len
5986
5987
5988
5989
5990
5991
5992 : ${CP="cp -f"}
5993 : ${MV="mv -f"}
5994 : ${RM="rm -f"}
5995
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5997 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5998 # Try some XSI features
5999 xsi_shell=no
6000 ( _lt_dummy="a/b/c"
6001 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6002 = c,a/b,, \
6003 && eval 'test $(( 1 + 1 )) -eq 2 \
6004 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6005 && xsi_shell=yes
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6007 $as_echo "$xsi_shell" >&6; }
6008
6009
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6011 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6012 lt_shell_append=no
6013 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6014 >/dev/null 2>&1 \
6015 && lt_shell_append=yes
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6017 $as_echo "$lt_shell_append" >&6; }
6018
6019
6020 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6021 lt_unset=unset
6022 else
6023 lt_unset=false
6024 fi
6025
6026
6027
6028
6029
6030 # test EBCDIC or ASCII
6031 case `echo X|tr X '\101'` in
6032 A) # ASCII based system
6033 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6034 lt_SP2NL='tr \040 \012'
6035 lt_NL2SP='tr \015\012 \040\040'
6036 ;;
6037 *) # EBCDIC based system
6038 lt_SP2NL='tr \100 \n'
6039 lt_NL2SP='tr \r\n \100\100'
6040 ;;
6041 esac
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6052 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6053 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 lt_cv_ld_reload_flag='-r'
6057 fi
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6059 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6060 reload_flag=$lt_cv_ld_reload_flag
6061 case $reload_flag in
6062 "" | " "*) ;;
6063 *) reload_flag=" $reload_flag" ;;
6064 esac
6065 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6066 case $host_os in
6067 darwin*)
6068 if test "$GCC" = yes; then
6069 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6070 else
6071 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6072 fi
6073 ;;
6074 esac
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$OBJDUMP"; then
6093 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6097 do
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6105 fi
6106 done
6107 done
6108 IFS=$as_save_IFS
6109
6110 fi
6111 fi
6112 OBJDUMP=$ac_cv_prog_OBJDUMP
6113 if test -n "$OBJDUMP"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6115 $as_echo "$OBJDUMP" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6119 fi
6120
6121
6122 fi
6123 if test -z "$ac_cv_prog_OBJDUMP"; then
6124 ac_ct_OBJDUMP=$OBJDUMP
6125 # Extract the first word of "objdump", so it can be a program name with args.
6126 set dummy objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$ac_ct_OBJDUMP"; then
6133 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6137 do
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6145 fi
6146 done
6147 done
6148 IFS=$as_save_IFS
6149
6150 fi
6151 fi
6152 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6153 if test -n "$ac_ct_OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6155 $as_echo "$ac_ct_OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6159 fi
6160
6161 if test "x$ac_ct_OBJDUMP" = x; then
6162 OBJDUMP="false"
6163 else
6164 case $cross_compiling:$ac_tool_warned in
6165 yes:)
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6168 ac_tool_warned=yes ;;
6169 esac
6170 OBJDUMP=$ac_ct_OBJDUMP
6171 fi
6172 else
6173 OBJDUMP="$ac_cv_prog_OBJDUMP"
6174 fi
6175
6176 test -z "$OBJDUMP" && OBJDUMP=objdump
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6187 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6188 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 lt_cv_file_magic_cmd='$MAGIC_CMD'
6192 lt_cv_file_magic_test_file=
6193 lt_cv_deplibs_check_method='unknown'
6194 # Need to set the preceding variable on all platforms that support
6195 # interlibrary dependencies.
6196 # 'none' -- dependencies not supported.
6197 # `unknown' -- same as none, but documents that we really don't know.
6198 # 'pass_all' -- all dependencies passed with no checks.
6199 # 'test_compile' -- check by making test program.
6200 # 'file_magic [[regex]]' -- check by looking for files in library path
6201 # which responds to the $file_magic_cmd with a given extended regex.
6202 # If you have `file' or equivalent on your system and you're not sure
6203 # whether `pass_all' will *always* work, you probably want this one.
6204
6205 case $host_os in
6206 aix[4-9]*)
6207 lt_cv_deplibs_check_method=pass_all
6208 ;;
6209
6210 beos*)
6211 lt_cv_deplibs_check_method=pass_all
6212 ;;
6213
6214 bsdi[45]*)
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6216 lt_cv_file_magic_cmd='/usr/bin/file -L'
6217 lt_cv_file_magic_test_file=/shlib/libc.so
6218 ;;
6219
6220 cygwin*)
6221 # func_win32_libid is a shell function defined in ltmain.sh
6222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6223 lt_cv_file_magic_cmd='func_win32_libid'
6224 ;;
6225
6226 mingw* | pw32*)
6227 # Base MSYS/MinGW do not provide the 'file' command needed by
6228 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6229 # unless we find 'file', for example because we are cross-compiling.
6230 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6231 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6233 lt_cv_file_magic_cmd='func_win32_libid'
6234 else
6235 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6236 lt_cv_file_magic_cmd='$OBJDUMP -f'
6237 fi
6238 ;;
6239
6240 cegcc*)
6241 # use the weaker test based on 'objdump'. See mingw*.
6242 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6243 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 ;;
6245
6246 darwin* | rhapsody*)
6247 lt_cv_deplibs_check_method=pass_all
6248 ;;
6249
6250 freebsd* | dragonfly*)
6251 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6252 case $host_cpu in
6253 i*86 )
6254 # Not sure whether the presence of OpenBSD here was a mistake.
6255 # Let's accept both of them until this is cleared up.
6256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6257 lt_cv_file_magic_cmd=/usr/bin/file
6258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6259 ;;
6260 esac
6261 else
6262 lt_cv_deplibs_check_method=pass_all
6263 fi
6264 ;;
6265
6266 gnu*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 haiku*)
6271 lt_cv_deplibs_check_method=pass_all
6272 ;;
6273
6274 hpux10.20* | hpux11*)
6275 lt_cv_file_magic_cmd=/usr/bin/file
6276 case $host_cpu in
6277 ia64*)
6278 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6279 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6280 ;;
6281 hppa*64*)
6282 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]'
6283 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6284 ;;
6285 *)
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6287 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6288 ;;
6289 esac
6290 ;;
6291
6292 interix[3-9]*)
6293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6295 ;;
6296
6297 irix5* | irix6* | nonstopux*)
6298 case $LD in
6299 *-32|*"-32 ") libmagic=32-bit;;
6300 *-n32|*"-n32 ") libmagic=N32;;
6301 *-64|*"-64 ") libmagic=64-bit;;
6302 *) libmagic=never-match;;
6303 esac
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 # This must be Linux ELF.
6308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6309 lt_cv_deplibs_check_method=pass_all
6310 ;;
6311
6312 netbsd*)
6313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6315 else
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6317 fi
6318 ;;
6319
6320 newos6*)
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6322 lt_cv_file_magic_cmd=/usr/bin/file
6323 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6324 ;;
6325
6326 *nto* | *qnx*)
6327 lt_cv_deplibs_check_method=pass_all
6328 ;;
6329
6330 openbsd*)
6331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6333 else
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 fi
6336 ;;
6337
6338 osf3* | osf4* | osf5*)
6339 lt_cv_deplibs_check_method=pass_all
6340 ;;
6341
6342 rdos*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345
6346 solaris*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 sysv4 | sysv4.3*)
6355 case $host_vendor in
6356 motorola)
6357 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]'
6358 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6359 ;;
6360 ncr)
6361 lt_cv_deplibs_check_method=pass_all
6362 ;;
6363 sequent)
6364 lt_cv_file_magic_cmd='/bin/file'
6365 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6366 ;;
6367 sni)
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6370 lt_cv_file_magic_test_file=/lib/libc.so
6371 ;;
6372 siemens)
6373 lt_cv_deplibs_check_method=pass_all
6374 ;;
6375 pc)
6376 lt_cv_deplibs_check_method=pass_all
6377 ;;
6378 esac
6379 ;;
6380
6381 tpf*)
6382 lt_cv_deplibs_check_method=pass_all
6383 ;;
6384 esac
6385
6386 fi
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6388 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6389 file_magic_cmd=$lt_cv_file_magic_cmd
6390 deplibs_check_method=$lt_cv_deplibs_check_method
6391 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}ar; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if test "${ac_cv_prog_AR+set}" = set; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$AR"; then
6413 ac_cv_prog_AR="$AR" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6417 do
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_AR="${ac_tool_prefix}ar"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6425 fi
6426 done
6427 done
6428 IFS=$as_save_IFS
6429
6430 fi
6431 fi
6432 AR=$ac_cv_prog_AR
6433 if test -n "$AR"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6435 $as_echo "$AR" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6439 fi
6440
6441
6442 fi
6443 if test -z "$ac_cv_prog_AR"; then
6444 ac_ct_AR=$AR
6445 # Extract the first word of "ar", so it can be a program name with args.
6446 set dummy ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$ac_ct_AR"; then
6453 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_ac_ct_AR="ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6465 fi
6466 done
6467 done
6468 IFS=$as_save_IFS
6469
6470 fi
6471 fi
6472 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6473 if test -n "$ac_ct_AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6475 $as_echo "$ac_ct_AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6479 fi
6480
6481 if test "x$ac_ct_AR" = x; then
6482 AR="false"
6483 else
6484 case $cross_compiling:$ac_tool_warned in
6485 yes:)
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned=yes ;;
6489 esac
6490 AR=$ac_ct_AR
6491 fi
6492 else
6493 AR="$ac_cv_prog_AR"
6494 fi
6495
6496 test -z "$AR" && AR=ar
6497 test -z "$AR_FLAGS" && AR_FLAGS=cru
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509 if test -n "$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}strip; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if test "${ac_cv_prog_STRIP+set}" = set; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$STRIP"; then
6518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6522 do
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6530 fi
6531 done
6532 done
6533 IFS=$as_save_IFS
6534
6535 fi
6536 fi
6537 STRIP=$ac_cv_prog_STRIP
6538 if test -n "$STRIP"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6540 $as_echo "$STRIP" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6544 fi
6545
6546
6547 fi
6548 if test -z "$ac_cv_prog_STRIP"; then
6549 ac_ct_STRIP=$STRIP
6550 # Extract the first word of "strip", so it can be a program name with args.
6551 set dummy strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$ac_ct_STRIP"; then
6558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6562 do
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_ac_ct_STRIP="strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573 IFS=$as_save_IFS
6574
6575 fi
6576 fi
6577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6578 if test -n "$ac_ct_STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6580 $as_echo "$ac_ct_STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6584 fi
6585
6586 if test "x$ac_ct_STRIP" = x; then
6587 STRIP=":"
6588 else
6589 case $cross_compiling:$ac_tool_warned in
6590 yes:)
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6593 ac_tool_warned=yes ;;
6594 esac
6595 STRIP=$ac_ct_STRIP
6596 fi
6597 else
6598 STRIP="$ac_cv_prog_STRIP"
6599 fi
6600
6601 test -z "$STRIP" && STRIP=:
6602
6603
6604
6605
6606
6607
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 if test -n "$RANLIB"; then
6617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6618 else
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 for as_dir in $PATH
6621 do
6622 IFS=$as_save_IFS
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 break 2
6629 fi
6630 done
6631 done
6632 IFS=$as_save_IFS
6633
6634 fi
6635 fi
6636 RANLIB=$ac_cv_prog_RANLIB
6637 if test -n "$RANLIB"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6639 $as_echo "$RANLIB" >&6; }
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6643 fi
6644
6645
6646 fi
6647 if test -z "$ac_cv_prog_RANLIB"; then
6648 ac_ct_RANLIB=$RANLIB
6649 # Extract the first word of "ranlib", so it can be a program name with args.
6650 set dummy ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$ac_ct_RANLIB"; then
6657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6661 do
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_ac_ct_RANLIB="ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6669 fi
6670 done
6671 done
6672 IFS=$as_save_IFS
6673
6674 fi
6675 fi
6676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6677 if test -n "$ac_ct_RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6679 $as_echo "$ac_ct_RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6683 fi
6684
6685 if test "x$ac_ct_RANLIB" = x; then
6686 RANLIB=":"
6687 else
6688 case $cross_compiling:$ac_tool_warned in
6689 yes:)
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692 ac_tool_warned=yes ;;
6693 esac
6694 RANLIB=$ac_ct_RANLIB
6695 fi
6696 else
6697 RANLIB="$ac_cv_prog_RANLIB"
6698 fi
6699
6700 test -z "$RANLIB" && RANLIB=:
6701
6702
6703
6704
6705
6706
6707 # Determine commands to create old-style static archives.
6708 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6709 old_postinstall_cmds='chmod 644 $oldlib'
6710 old_postuninstall_cmds=
6711
6712 if test -n "$RANLIB"; then
6713 case $host_os in
6714 openbsd*)
6715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6716 ;;
6717 *)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6719 ;;
6720 esac
6721 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6722 fi
6723
6724 case $host_os in
6725 darwin*)
6726 lock_old_archive_extraction=yes ;;
6727 *)
6728 lock_old_archive_extraction=no ;;
6729 esac
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769 # If no C compiler was specified, use CC.
6770 LTCC=${LTCC-"$CC"}
6771
6772 # If no C compiler flags were specified, use CFLAGS.
6773 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6774
6775 # Allow CC to be a program name with arguments.
6776 compiler=$CC
6777
6778
6779 # Check for command to grab the raw symbol name followed by C symbol from nm.
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6781 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6782 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785
6786 # These are sane defaults that work on at least a few old systems.
6787 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6788
6789 # Character class describing NM global symbol codes.
6790 symcode='[BCDEGRST]'
6791
6792 # Regexp to match symbols that can be accessed directly from C.
6793 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6794
6795 # Define system-specific variables.
6796 case $host_os in
6797 aix*)
6798 symcode='[BCDT]'
6799 ;;
6800 cygwin* | mingw* | pw32* | cegcc*)
6801 symcode='[ABCDGISTW]'
6802 ;;
6803 hpux*)
6804 if test "$host_cpu" = ia64; then
6805 symcode='[ABCDEGRST]'
6806 fi
6807 ;;
6808 irix* | nonstopux*)
6809 symcode='[BCDEGRST]'
6810 ;;
6811 osf*)
6812 symcode='[BCDEGQRST]'
6813 ;;
6814 solaris*)
6815 symcode='[BDRT]'
6816 ;;
6817 sco3.2v5*)
6818 symcode='[DT]'
6819 ;;
6820 sysv4.2uw2*)
6821 symcode='[DT]'
6822 ;;
6823 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6824 symcode='[ABDT]'
6825 ;;
6826 sysv4)
6827 symcode='[DFNSTU]'
6828 ;;
6829 esac
6830
6831 # If we're using GNU nm, then use its standard symbol codes.
6832 case `$NM -V 2>&1` in
6833 *GNU* | *'with BFD'*)
6834 symcode='[ABCDGIRSTW]' ;;
6835 esac
6836
6837 # Transform an extracted symbol line into a proper C declaration.
6838 # Some systems (esp. on ia64) link data and code symbols differently,
6839 # so use this general approach.
6840 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6841
6842 # Transform an extracted symbol line into symbol name and symbol address
6843 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6844 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'"
6845
6846 # Handle CRLF in mingw tool chain
6847 opt_cr=
6848 case $build_os in
6849 mingw*)
6850 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6851 ;;
6852 esac
6853
6854 # Try without a prefix underscore, then with it.
6855 for ac_symprfx in "" "_"; do
6856
6857 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6858 symxfrm="\\1 $ac_symprfx\\2 \\2"
6859
6860 # Write the raw and C identifiers.
6861 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6862 # Fake it for dumpbin and say T for any non-static function
6863 # and D for any global variable.
6864 # Also find C++ and __fastcall symbols from MSVC++,
6865 # which start with @ or ?.
6866 lt_cv_sys_global_symbol_pipe="$AWK '"\
6867 " {last_section=section; section=\$ 3};"\
6868 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6869 " \$ 0!~/External *\|/{next};"\
6870 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6871 " {if(hide[section]) next};"\
6872 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6873 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6874 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6875 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6876 " ' prfx=^$ac_symprfx"
6877 else
6878 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6879 fi
6880
6881 # Check to see that the pipe works correctly.
6882 pipe_works=no
6883
6884 rm -f conftest*
6885 cat > conftest.$ac_ext <<_LT_EOF
6886 #ifdef __cplusplus
6887 extern "C" {
6888 #endif
6889 char nm_test_var;
6890 void nm_test_func(void);
6891 void nm_test_func(void){}
6892 #ifdef __cplusplus
6893 }
6894 #endif
6895 int main(){nm_test_var='a';nm_test_func();return(0);}
6896 _LT_EOF
6897
6898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899 (eval $ac_compile) 2>&5
6900 ac_status=$?
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 # Now try to grab the symbols.
6904 nlist=conftest.nm
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6906 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6907 ac_status=$?
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 test $ac_status = 0; } && test -s "$nlist"; then
6910 # Try sorting and uniquifying the output.
6911 if sort "$nlist" | uniq > "$nlist"T; then
6912 mv -f "$nlist"T "$nlist"
6913 else
6914 rm -f "$nlist"T
6915 fi
6916
6917 # Make sure that we snagged all the symbols we need.
6918 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6919 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6920 cat <<_LT_EOF > conftest.$ac_ext
6921 #ifdef __cplusplus
6922 extern "C" {
6923 #endif
6924
6925 _LT_EOF
6926 # Now generate the symbol file.
6927 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6928
6929 cat <<_LT_EOF >> conftest.$ac_ext
6930
6931 /* The mapping between symbol names and symbols. */
6932 const struct {
6933 const char *name;
6934 void *address;
6935 }
6936 lt__PROGRAM__LTX_preloaded_symbols[] =
6937 {
6938 { "@PROGRAM@", (void *) 0 },
6939 _LT_EOF
6940 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6941 cat <<\_LT_EOF >> conftest.$ac_ext
6942 {0, (void *) 0}
6943 };
6944
6945 /* This works around a problem in FreeBSD linker */
6946 #ifdef FREEBSD_WORKAROUND
6947 static const void *lt_preloaded_setup() {
6948 return lt__PROGRAM__LTX_preloaded_symbols;
6949 }
6950 #endif
6951
6952 #ifdef __cplusplus
6953 }
6954 #endif
6955 _LT_EOF
6956 # Now try linking the two files.
6957 mv conftest.$ac_objext conftstm.$ac_objext
6958 lt_save_LIBS="$LIBS"
6959 lt_save_CFLAGS="$CFLAGS"
6960 LIBS="conftstm.$ac_objext"
6961 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6963 (eval $ac_link) 2>&5
6964 ac_status=$?
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6966 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6967 pipe_works=yes
6968 fi
6969 LIBS="$lt_save_LIBS"
6970 CFLAGS="$lt_save_CFLAGS"
6971 else
6972 echo "cannot find nm_test_func in $nlist" >&5
6973 fi
6974 else
6975 echo "cannot find nm_test_var in $nlist" >&5
6976 fi
6977 else
6978 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6979 fi
6980 else
6981 echo "$progname: failed program was:" >&5
6982 cat conftest.$ac_ext >&5
6983 fi
6984 rm -rf conftest* conftst*
6985
6986 # Do not use the global_symbol_pipe unless it works.
6987 if test "$pipe_works" = yes; then
6988 break
6989 else
6990 lt_cv_sys_global_symbol_pipe=
6991 fi
6992 done
6993
6994 fi
6995
6996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6997 lt_cv_sys_global_symbol_to_cdecl=
6998 fi
6999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7001 $as_echo "failed" >&6; }
7002 else
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7004 $as_echo "ok" >&6; }
7005 fi
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028 # Check whether --enable-libtool-lock was given.
7029 if test "${enable_libtool_lock+set}" = set; then :
7030 enableval=$enable_libtool_lock;
7031 fi
7032
7033 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7034
7035 # Some flags need to be propagated to the compiler or linker for good
7036 # libtool support.
7037 case $host in
7038 ia64-*-hpux*)
7039 # Find out which ABI we are using.
7040 echo 'int i;' > conftest.$ac_ext
7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7042 (eval $ac_compile) 2>&5
7043 ac_status=$?
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7045 test $ac_status = 0; }; then
7046 case `/usr/bin/file conftest.$ac_objext` in
7047 *ELF-32*)
7048 HPUX_IA64_MODE="32"
7049 ;;
7050 *ELF-64*)
7051 HPUX_IA64_MODE="64"
7052 ;;
7053 esac
7054 fi
7055 rm -rf conftest*
7056 ;;
7057 *-*-irix6*)
7058 # Find out which ABI we are using.
7059 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7061 (eval $ac_compile) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; }; then
7065 if test "$lt_cv_prog_gnu_ld" = yes; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *32-bit*)
7068 LD="${LD-ld} -melf32bsmip"
7069 ;;
7070 *N32*)
7071 LD="${LD-ld} -melf32bmipn32"
7072 ;;
7073 *64-bit*)
7074 LD="${LD-ld} -melf64bmip"
7075 ;;
7076 esac
7077 else
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -32"
7081 ;;
7082 *N32*)
7083 LD="${LD-ld} -n32"
7084 ;;
7085 *64-bit*)
7086 LD="${LD-ld} -64"
7087 ;;
7088 esac
7089 fi
7090 fi
7091 rm -rf conftest*
7092 ;;
7093
7094 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7095 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7096 # Find out which ABI we are using.
7097 echo 'int i;' > conftest.$ac_ext
7098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099 (eval $ac_compile) 2>&5
7100 ac_status=$?
7101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 test $ac_status = 0; }; then
7103 case `/usr/bin/file conftest.o` in
7104 *32-bit*)
7105 case $host in
7106 x86_64-*kfreebsd*-gnu)
7107 LD="${LD-ld} -m elf_i386_fbsd"
7108 ;;
7109 x86_64-*linux*)
7110 LD="${LD-ld} -m elf_i386"
7111 ;;
7112 ppc64-*linux*|powerpc64-*linux*)
7113 LD="${LD-ld} -m elf32ppclinux"
7114 ;;
7115 s390x-*linux*)
7116 LD="${LD-ld} -m elf_s390"
7117 ;;
7118 sparc64-*linux*)
7119 LD="${LD-ld} -m elf32_sparc"
7120 ;;
7121 esac
7122 ;;
7123 *64-bit*)
7124 case $host in
7125 x86_64-*kfreebsd*-gnu)
7126 LD="${LD-ld} -m elf_x86_64_fbsd"
7127 ;;
7128 x86_64-*linux*)
7129 LD="${LD-ld} -m elf_x86_64"
7130 ;;
7131 ppc*-*linux*|powerpc*-*linux*)
7132 LD="${LD-ld} -m elf64ppc"
7133 ;;
7134 s390*-*linux*|s390*-*tpf*)
7135 LD="${LD-ld} -m elf64_s390"
7136 ;;
7137 sparc*-*linux*)
7138 LD="${LD-ld} -m elf64_sparc"
7139 ;;
7140 esac
7141 ;;
7142 esac
7143 fi
7144 rm -rf conftest*
7145 ;;
7146
7147 *-*-sco3.2v5*)
7148 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7149 SAVE_CFLAGS="$CFLAGS"
7150 CFLAGS="$CFLAGS -belf"
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7152 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7153 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7154 $as_echo_n "(cached) " >&6
7155 else
7156 ac_ext=c
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7161
7162 if test x$gcc_no_link = xyes; then
7163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7164 fi
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167
7168 int
7169 main ()
7170 {
7171
7172 ;
7173 return 0;
7174 }
7175 _ACEOF
7176 if ac_fn_c_try_link "$LINENO"; then :
7177 lt_cv_cc_needs_belf=yes
7178 else
7179 lt_cv_cc_needs_belf=no
7180 fi
7181 rm -f core conftest.err conftest.$ac_objext \
7182 conftest$ac_exeext conftest.$ac_ext
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189 fi
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7191 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7192 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7194 CFLAGS="$SAVE_CFLAGS"
7195 fi
7196 ;;
7197 sparc*-*solaris*)
7198 # Find out which ABI we are using.
7199 echo 'int i;' > conftest.$ac_ext
7200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7201 (eval $ac_compile) 2>&5
7202 ac_status=$?
7203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7204 test $ac_status = 0; }; then
7205 case `/usr/bin/file conftest.o` in
7206 *64-bit*)
7207 case $lt_cv_prog_gnu_ld in
7208 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7209 *)
7210 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7211 LD="${LD-ld} -64"
7212 fi
7213 ;;
7214 esac
7215 ;;
7216 esac
7217 fi
7218 rm -rf conftest*
7219 ;;
7220 esac
7221
7222 need_locks="$enable_libtool_lock"
7223
7224
7225 case $host_os in
7226 rhapsody* | darwin*)
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7229 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 if test -n "$DSYMUTIL"; then
7236 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7240 do
7241 IFS=$as_save_IFS
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 break 2
7248 fi
7249 done
7250 done
7251 IFS=$as_save_IFS
7252
7253 fi
7254 fi
7255 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7256 if test -n "$DSYMUTIL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7258 $as_echo "$DSYMUTIL" >&6; }
7259 else
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7262 fi
7263
7264
7265 fi
7266 if test -z "$ac_cv_prog_DSYMUTIL"; then
7267 ac_ct_DSYMUTIL=$DSYMUTIL
7268 # Extract the first word of "dsymutil", so it can be a program name with args.
7269 set dummy dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$ac_ct_DSYMUTIL"; then
7276 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7288 fi
7289 done
7290 done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7296 if test -n "$ac_ct_DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7298 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304 if test "x$ac_ct_DSYMUTIL" = x; then
7305 DSYMUTIL=":"
7306 else
7307 case $cross_compiling:$ac_tool_warned in
7308 yes:)
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned=yes ;;
7312 esac
7313 DSYMUTIL=$ac_ct_DSYMUTIL
7314 fi
7315 else
7316 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7317 fi
7318
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 if test -n "$NMEDIT"; then
7328 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7332 do
7333 IFS=$as_save_IFS
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 break 2
7340 fi
7341 done
7342 done
7343 IFS=$as_save_IFS
7344
7345 fi
7346 fi
7347 NMEDIT=$ac_cv_prog_NMEDIT
7348 if test -n "$NMEDIT"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7350 $as_echo "$NMEDIT" >&6; }
7351 else
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7354 fi
7355
7356
7357 fi
7358 if test -z "$ac_cv_prog_NMEDIT"; then
7359 ac_ct_NMEDIT=$NMEDIT
7360 # Extract the first word of "nmedit", so it can be a program name with args.
7361 set dummy nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$ac_ct_NMEDIT"; then
7368 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7380 fi
7381 done
7382 done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7388 if test -n "$ac_ct_NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7390 $as_echo "$ac_ct_NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396 if test "x$ac_ct_NMEDIT" = x; then
7397 NMEDIT=":"
7398 else
7399 case $cross_compiling:$ac_tool_warned in
7400 yes:)
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned=yes ;;
7404 esac
7405 NMEDIT=$ac_ct_NMEDIT
7406 fi
7407 else
7408 NMEDIT="$ac_cv_prog_NMEDIT"
7409 fi
7410
7411 if test -n "$ac_tool_prefix"; then
7412 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if test "${ac_cv_prog_LIPO+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7418 else
7419 if test -n "$LIPO"; then
7420 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7424 do
7425 IFS=$as_save_IFS
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 break 2
7432 fi
7433 done
7434 done
7435 IFS=$as_save_IFS
7436
7437 fi
7438 fi
7439 LIPO=$ac_cv_prog_LIPO
7440 if test -n "$LIPO"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7442 $as_echo "$LIPO" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 fi
7447
7448
7449 fi
7450 if test -z "$ac_cv_prog_LIPO"; then
7451 ac_ct_LIPO=$LIPO
7452 # Extract the first word of "lipo", so it can be a program name with args.
7453 set dummy lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$ac_ct_LIPO"; then
7460 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_ac_ct_LIPO="lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7472 fi
7473 done
7474 done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7480 if test -n "$ac_ct_LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7482 $as_echo "$ac_ct_LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488 if test "x$ac_ct_LIPO" = x; then
7489 LIPO=":"
7490 else
7491 case $cross_compiling:$ac_tool_warned in
7492 yes:)
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7496 esac
7497 LIPO=$ac_ct_LIPO
7498 fi
7499 else
7500 LIPO="$ac_cv_prog_LIPO"
7501 fi
7502
7503 if test -n "$ac_tool_prefix"; then
7504 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7505 set dummy ${ac_tool_prefix}otool; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 if test -n "$OTOOL"; then
7512 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7513 else
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 for as_dir in $PATH
7516 do
7517 IFS=$as_save_IFS
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 break 2
7524 fi
7525 done
7526 done
7527 IFS=$as_save_IFS
7528
7529 fi
7530 fi
7531 OTOOL=$ac_cv_prog_OTOOL
7532 if test -n "$OTOOL"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7534 $as_echo "$OTOOL" >&6; }
7535 else
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7538 fi
7539
7540
7541 fi
7542 if test -z "$ac_cv_prog_OTOOL"; then
7543 ac_ct_OTOOL=$OTOOL
7544 # Extract the first word of "otool", so it can be a program name with args.
7545 set dummy otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$ac_ct_OTOOL"; then
7552 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_ac_ct_OTOOL="otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7564 fi
7565 done
7566 done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7572 if test -n "$ac_ct_OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7574 $as_echo "$ac_ct_OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580 if test "x$ac_ct_OTOOL" = x; then
7581 OTOOL=":"
7582 else
7583 case $cross_compiling:$ac_tool_warned in
7584 yes:)
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7587 ac_tool_warned=yes ;;
7588 esac
7589 OTOOL=$ac_ct_OTOOL
7590 fi
7591 else
7592 OTOOL="$ac_cv_prog_OTOOL"
7593 fi
7594
7595 if test -n "$ac_tool_prefix"; then
7596 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7597 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7601 $as_echo_n "(cached) " >&6
7602 else
7603 if test -n "$OTOOL64"; then
7604 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7605 else
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 for as_dir in $PATH
7608 do
7609 IFS=$as_save_IFS
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 break 2
7616 fi
7617 done
7618 done
7619 IFS=$as_save_IFS
7620
7621 fi
7622 fi
7623 OTOOL64=$ac_cv_prog_OTOOL64
7624 if test -n "$OTOOL64"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7626 $as_echo "$OTOOL64" >&6; }
7627 else
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7630 fi
7631
7632
7633 fi
7634 if test -z "$ac_cv_prog_OTOOL64"; then
7635 ac_ct_OTOOL64=$OTOOL64
7636 # Extract the first word of "otool64", so it can be a program name with args.
7637 set dummy otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$ac_ct_OTOOL64"; then
7644 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7648 do
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_ac_ct_OTOOL64="otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7656 fi
7657 done
7658 done
7659 IFS=$as_save_IFS
7660
7661 fi
7662 fi
7663 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7664 if test -n "$ac_ct_OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7666 $as_echo "$ac_ct_OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7670 fi
7671
7672 if test "x$ac_ct_OTOOL64" = x; then
7673 OTOOL64=":"
7674 else
7675 case $cross_compiling:$ac_tool_warned in
7676 yes:)
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7679 ac_tool_warned=yes ;;
7680 esac
7681 OTOOL64=$ac_ct_OTOOL64
7682 fi
7683 else
7684 OTOOL64="$ac_cv_prog_OTOOL64"
7685 fi
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7714 $as_echo_n "checking for -single_module linker flag... " >&6; }
7715 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 lt_cv_apple_cc_single_mod=no
7719 if test -z "${LT_MULTI_MODULE}"; then
7720 # By default we will add the -single_module flag. You can override
7721 # by either setting the environment variable LT_MULTI_MODULE
7722 # non-empty at configure time, or by adding -multi_module to the
7723 # link flags.
7724 rm -rf libconftest.dylib*
7725 echo "int foo(void){return 1;}" > conftest.c
7726 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7727 -dynamiclib -Wl,-single_module conftest.c" >&5
7728 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7730 _lt_result=$?
7731 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7732 lt_cv_apple_cc_single_mod=yes
7733 else
7734 cat conftest.err >&5
7735 fi
7736 rm -rf libconftest.dylib*
7737 rm -f conftest.*
7738 fi
7739 fi
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7741 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7743 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7744 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 lt_cv_ld_exported_symbols_list=no
7748 save_LDFLAGS=$LDFLAGS
7749 echo "_main" > conftest.sym
7750 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7751 if test x$gcc_no_link = xyes; then
7752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7753 fi
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756
7757 int
7758 main ()
7759 {
7760
7761 ;
7762 return 0;
7763 }
7764 _ACEOF
7765 if ac_fn_c_try_link "$LINENO"; then :
7766 lt_cv_ld_exported_symbols_list=yes
7767 else
7768 lt_cv_ld_exported_symbols_list=no
7769 fi
7770 rm -f core conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772 LDFLAGS="$save_LDFLAGS"
7773
7774 fi
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7776 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7778 $as_echo_n "checking for -force_load linker flag... " >&6; }
7779 if test "${lt_cv_ld_force_load+set}" = set; then :
7780 $as_echo_n "(cached) " >&6
7781 else
7782 lt_cv_ld_force_load=no
7783 cat > conftest.c << _LT_EOF
7784 int forced_loaded() { return 2;}
7785 _LT_EOF
7786 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7787 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7788 echo "$AR cru libconftest.a conftest.o" >&5
7789 $AR cru libconftest.a conftest.o 2>&5
7790 cat > conftest.c << _LT_EOF
7791 int main() { return 0;}
7792 _LT_EOF
7793 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7794 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7795 _lt_result=$?
7796 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7797 lt_cv_ld_force_load=yes
7798 else
7799 cat conftest.err >&5
7800 fi
7801 rm -f conftest.err libconftest.a conftest conftest.c
7802 rm -rf conftest.dSYM
7803
7804 fi
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7806 $as_echo "$lt_cv_ld_force_load" >&6; }
7807 case $host_os in
7808 rhapsody* | darwin1.[012])
7809 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7810 darwin1.*)
7811 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7812 darwin*) # darwin 5.x on
7813 # if running on 10.5 or later, the deployment target defaults
7814 # to the OS version, if on x86, and 10.4, the deployment
7815 # target defaults to 10.4. Don't you love it?
7816 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7817 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7818 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7819 10.[012]*)
7820 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7821 10.*)
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 esac
7824 ;;
7825 esac
7826 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7827 _lt_dar_single_mod='$single_module'
7828 fi
7829 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7830 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7831 else
7832 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7833 fi
7834 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7835 _lt_dsymutil='~$DSYMUTIL $lib || :'
7836 else
7837 _lt_dsymutil=
7838 fi
7839 ;;
7840 esac
7841
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7843 $as_echo_n "checking for ANSI C header files... " >&6; }
7844 if test "${ac_cv_header_stdc+set}" = set; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 #include <stdlib.h>
7850 #include <stdarg.h>
7851 #include <string.h>
7852 #include <float.h>
7853
7854 int
7855 main ()
7856 {
7857
7858 ;
7859 return 0;
7860 }
7861 _ACEOF
7862 if ac_fn_c_try_compile "$LINENO"; then :
7863 ac_cv_header_stdc=yes
7864 else
7865 ac_cv_header_stdc=no
7866 fi
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7868
7869 if test $ac_cv_header_stdc = yes; then
7870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 #include <string.h>
7874
7875 _ACEOF
7876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7877 $EGREP "memchr" >/dev/null 2>&1; then :
7878
7879 else
7880 ac_cv_header_stdc=no
7881 fi
7882 rm -f conftest*
7883
7884 fi
7885
7886 if test $ac_cv_header_stdc = yes; then
7887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 #include <stdlib.h>
7891
7892 _ACEOF
7893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7894 $EGREP "free" >/dev/null 2>&1; then :
7895
7896 else
7897 ac_cv_header_stdc=no
7898 fi
7899 rm -f conftest*
7900
7901 fi
7902
7903 if test $ac_cv_header_stdc = yes; then
7904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7905 if test "$cross_compiling" = yes; then :
7906 :
7907 else
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7910 #include <ctype.h>
7911 #include <stdlib.h>
7912 #if ((' ' & 0x0FF) == 0x020)
7913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7915 #else
7916 # define ISLOWER(c) \
7917 (('a' <= (c) && (c) <= 'i') \
7918 || ('j' <= (c) && (c) <= 'r') \
7919 || ('s' <= (c) && (c) <= 'z'))
7920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7921 #endif
7922
7923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7924 int
7925 main ()
7926 {
7927 int i;
7928 for (i = 0; i < 256; i++)
7929 if (XOR (islower (i), ISLOWER (i))
7930 || toupper (i) != TOUPPER (i))
7931 return 2;
7932 return 0;
7933 }
7934 _ACEOF
7935 if ac_fn_c_try_run "$LINENO"; then :
7936
7937 else
7938 ac_cv_header_stdc=no
7939 fi
7940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7941 conftest.$ac_objext conftest.beam conftest.$ac_ext
7942 fi
7943
7944 fi
7945 fi
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7947 $as_echo "$ac_cv_header_stdc" >&6; }
7948 if test $ac_cv_header_stdc = yes; then
7949
7950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7951
7952 fi
7953
7954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7955 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7956 inttypes.h stdint.h unistd.h
7957 do :
7958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7960 "
7961 eval as_val=\$$as_ac_Header
7962 if test "x$as_val" = x""yes; then :
7963 cat >>confdefs.h <<_ACEOF
7964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7965 _ACEOF
7966
7967 fi
7968
7969 done
7970
7971
7972 for ac_header in dlfcn.h
7973 do :
7974 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7975 "
7976 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7977 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DLFCN_H 1
7979 _ACEOF
7980
7981 fi
7982
7983 done
7984
7985
7986
7987
7988
7989
7990 # Set options
7991
7992
7993
7994
7995 enable_win32_dll=no
7996
7997
7998 # Check whether --enable-shared was given.
7999 if test "${enable_shared+set}" = set; then :
8000 enableval=$enable_shared; p=${PACKAGE-default}
8001 case $enableval in
8002 yes) enable_shared=yes ;;
8003 no) enable_shared=no ;;
8004 *)
8005 enable_shared=no
8006 # Look at the argument we got. We use all the common list separators.
8007 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8008 for pkg in $enableval; do
8009 IFS="$lt_save_ifs"
8010 if test "X$pkg" = "X$p"; then
8011 enable_shared=yes
8012 fi
8013 done
8014 IFS="$lt_save_ifs"
8015 ;;
8016 esac
8017 else
8018 enable_shared=yes
8019 fi
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031 enableval=$enable_static; p=${PACKAGE-default}
8032 case $enableval in
8033 yes) enable_static=yes ;;
8034 no) enable_static=no ;;
8035 *)
8036 enable_static=no
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for pkg in $enableval; do
8040 IFS="$lt_save_ifs"
8041 if test "X$pkg" = "X$p"; then
8042 enable_static=yes
8043 fi
8044 done
8045 IFS="$lt_save_ifs"
8046 ;;
8047 esac
8048 else
8049 enable_static=yes
8050 fi
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061 # Check whether --with-pic was given.
8062 if test "${with_pic+set}" = set; then :
8063 withval=$with_pic; pic_mode="$withval"
8064 else
8065 pic_mode=default
8066 fi
8067
8068
8069 test -z "$pic_mode" && pic_mode=default
8070
8071
8072
8073
8074
8075
8076
8077 # Check whether --enable-fast-install was given.
8078 if test "${enable_fast_install+set}" = set; then :
8079 enableval=$enable_fast_install; p=${PACKAGE-default}
8080 case $enableval in
8081 yes) enable_fast_install=yes ;;
8082 no) enable_fast_install=no ;;
8083 *)
8084 enable_fast_install=no
8085 # Look at the argument we got. We use all the common list separators.
8086 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8087 for pkg in $enableval; do
8088 IFS="$lt_save_ifs"
8089 if test "X$pkg" = "X$p"; then
8090 enable_fast_install=yes
8091 fi
8092 done
8093 IFS="$lt_save_ifs"
8094 ;;
8095 esac
8096 else
8097 enable_fast_install=yes
8098 fi
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110 # This can be used to rebuild libtool when needed
8111 LIBTOOL_DEPS="$ltmain"
8112
8113 # Always use our own libtool.
8114 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141 test -z "$LN_S" && LN_S="ln -s"
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156 if test -n "${ZSH_VERSION+set}" ; then
8157 setopt NO_GLOB_SUBST
8158 fi
8159
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8161 $as_echo_n "checking for objdir... " >&6; }
8162 if test "${lt_cv_objdir+set}" = set; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 rm -f .libs 2>/dev/null
8166 mkdir .libs 2>/dev/null
8167 if test -d .libs; then
8168 lt_cv_objdir=.libs
8169 else
8170 # MS-DOS does not allow filenames that begin with a dot.
8171 lt_cv_objdir=_libs
8172 fi
8173 rmdir .libs 2>/dev/null
8174 fi
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8176 $as_echo "$lt_cv_objdir" >&6; }
8177 objdir=$lt_cv_objdir
8178
8179
8180
8181
8182
8183 cat >>confdefs.h <<_ACEOF
8184 #define LT_OBJDIR "$lt_cv_objdir/"
8185 _ACEOF
8186
8187
8188
8189
8190 case $host_os in
8191 aix3*)
8192 # AIX sometimes has problems with the GCC collect2 program. For some
8193 # reason, if we set the COLLECT_NAMES environment variable, the problems
8194 # vanish in a puff of smoke.
8195 if test "X${COLLECT_NAMES+set}" != Xset; then
8196 COLLECT_NAMES=
8197 export COLLECT_NAMES
8198 fi
8199 ;;
8200 esac
8201
8202 # Global variables:
8203 ofile=libtool
8204 can_build_shared=yes
8205
8206 # All known linkers require a `.a' archive for static linking (except MSVC,
8207 # which needs '.lib').
8208 libext=a
8209
8210 with_gnu_ld="$lt_cv_prog_gnu_ld"
8211
8212 old_CC="$CC"
8213 old_CFLAGS="$CFLAGS"
8214
8215 # Set sane defaults for various variables
8216 test -z "$CC" && CC=cc
8217 test -z "$LTCC" && LTCC=$CC
8218 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8219 test -z "$LD" && LD=ld
8220 test -z "$ac_objext" && ac_objext=o
8221
8222 for cc_temp in $compiler""; do
8223 case $cc_temp in
8224 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8225 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8226 \-*) ;;
8227 *) break;;
8228 esac
8229 done
8230 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8231
8232
8233 # Only perform the check for file, if the check method requires it
8234 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8235 case $deplibs_check_method in
8236 file_magic*)
8237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8239 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 case $MAGIC_CMD in
8244 [\\/*] | ?:[\\/]*)
8245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8246 ;;
8247 *)
8248 lt_save_MAGIC_CMD="$MAGIC_CMD"
8249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8250 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8251 for ac_dir in $ac_dummy; do
8252 IFS="$lt_save_ifs"
8253 test -z "$ac_dir" && ac_dir=.
8254 if test -f $ac_dir/${ac_tool_prefix}file; then
8255 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8256 if test -n "$file_magic_test_file"; then
8257 case $deplibs_check_method in
8258 "file_magic "*)
8259 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8260 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8261 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8262 $EGREP "$file_magic_regex" > /dev/null; then
8263 :
8264 else
8265 cat <<_LT_EOF 1>&2
8266
8267 *** Warning: the command libtool uses to detect shared libraries,
8268 *** $file_magic_cmd, produces output that libtool cannot recognize.
8269 *** The result is that libtool may fail to recognize shared libraries
8270 *** as such. This will affect the creation of libtool libraries that
8271 *** depend on shared libraries, but programs linked with such libtool
8272 *** libraries will work regardless of this problem. Nevertheless, you
8273 *** may want to report the problem to your system manager and/or to
8274 *** bug-libtool@gnu.org
8275
8276 _LT_EOF
8277 fi ;;
8278 esac
8279 fi
8280 break
8281 fi
8282 done
8283 IFS="$lt_save_ifs"
8284 MAGIC_CMD="$lt_save_MAGIC_CMD"
8285 ;;
8286 esac
8287 fi
8288
8289 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290 if test -n "$MAGIC_CMD"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8292 $as_echo "$MAGIC_CMD" >&6; }
8293 else
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8296 fi
8297
8298
8299
8300
8301
8302 if test -z "$lt_cv_path_MAGIC_CMD"; then
8303 if test -n "$ac_tool_prefix"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8305 $as_echo_n "checking for file... " >&6; }
8306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 case $MAGIC_CMD in
8310 [\\/*] | ?:[\\/]*)
8311 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8312 ;;
8313 *)
8314 lt_save_MAGIC_CMD="$MAGIC_CMD"
8315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8316 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8317 for ac_dir in $ac_dummy; do
8318 IFS="$lt_save_ifs"
8319 test -z "$ac_dir" && ac_dir=.
8320 if test -f $ac_dir/file; then
8321 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8322 if test -n "$file_magic_test_file"; then
8323 case $deplibs_check_method in
8324 "file_magic "*)
8325 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8328 $EGREP "$file_magic_regex" > /dev/null; then
8329 :
8330 else
8331 cat <<_LT_EOF 1>&2
8332
8333 *** Warning: the command libtool uses to detect shared libraries,
8334 *** $file_magic_cmd, produces output that libtool cannot recognize.
8335 *** The result is that libtool may fail to recognize shared libraries
8336 *** as such. This will affect the creation of libtool libraries that
8337 *** depend on shared libraries, but programs linked with such libtool
8338 *** libraries will work regardless of this problem. Nevertheless, you
8339 *** may want to report the problem to your system manager and/or to
8340 *** bug-libtool@gnu.org
8341
8342 _LT_EOF
8343 fi ;;
8344 esac
8345 fi
8346 break
8347 fi
8348 done
8349 IFS="$lt_save_ifs"
8350 MAGIC_CMD="$lt_save_MAGIC_CMD"
8351 ;;
8352 esac
8353 fi
8354
8355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8356 if test -n "$MAGIC_CMD"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8358 $as_echo "$MAGIC_CMD" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8362 fi
8363
8364
8365 else
8366 MAGIC_CMD=:
8367 fi
8368 fi
8369
8370 fi
8371 ;;
8372 esac
8373
8374 # Use C for the default configuration in the libtool script
8375
8376 lt_save_CC="$CC"
8377 ac_ext=c
8378 ac_cpp='$CPP $CPPFLAGS'
8379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8382
8383
8384 # Source file extension for C test sources.
8385 ac_ext=c
8386
8387 # Object file extension for compiled C test sources.
8388 objext=o
8389 objext=$objext
8390
8391 # Code to be used in simple compile tests
8392 lt_simple_compile_test_code="int some_variable = 0;"
8393
8394 # Code to be used in simple link tests
8395 lt_simple_link_test_code='int main(){return(0);}'
8396
8397
8398
8399
8400
8401
8402
8403 # If no C compiler was specified, use CC.
8404 LTCC=${LTCC-"$CC"}
8405
8406 # If no C compiler flags were specified, use CFLAGS.
8407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8408
8409 # Allow CC to be a program name with arguments.
8410 compiler=$CC
8411
8412 # Save the default compiler, since it gets overwritten when the other
8413 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8414 compiler_DEFAULT=$CC
8415
8416 # save warnings/boilerplate of simple test code
8417 ac_outfile=conftest.$ac_objext
8418 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8419 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8420 _lt_compiler_boilerplate=`cat conftest.err`
8421 $RM conftest*
8422
8423 ac_outfile=conftest.$ac_objext
8424 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8425 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8426 _lt_linker_boilerplate=`cat conftest.err`
8427 $RM -r conftest*
8428
8429
8430 ## CAVEAT EMPTOR:
8431 ## There is no encapsulation within the following macros, do not change
8432 ## the running order or otherwise move them around unless you know exactly
8433 ## what you are doing...
8434 if test -n "$compiler"; then
8435
8436 lt_prog_compiler_no_builtin_flag=
8437
8438 if test "$GCC" = yes; then
8439 case $cc_basename in
8440 nvcc*)
8441 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8442 *)
8443 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8444 esac
8445
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8447 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8448 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 lt_cv_prog_compiler_rtti_exceptions=no
8452 ac_outfile=conftest.$ac_objext
8453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8454 lt_compiler_flag="-fno-rtti -fno-exceptions"
8455 # Insert the option either (1) after the last *FLAGS variable, or
8456 # (2) before a word containing "conftest.", or (3) at the end.
8457 # Note that $ac_compile itself does not contain backslashes and begins
8458 # with a dollar sign (not a hyphen), so the echo should work correctly.
8459 # The option is referenced via a variable to avoid confusing sed.
8460 lt_compile=`echo "$ac_compile" | $SED \
8461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8463 -e 's:$: $lt_compiler_flag:'`
8464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8465 (eval "$lt_compile" 2>conftest.err)
8466 ac_status=$?
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 if (exit $ac_status) && test -s "$ac_outfile"; then
8470 # The compiler can only warn and ignore the option if not recognized
8471 # So say no if there are warnings other than the usual output.
8472 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8473 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8474 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8475 lt_cv_prog_compiler_rtti_exceptions=yes
8476 fi
8477 fi
8478 $RM conftest*
8479
8480 fi
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8482 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8483
8484 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8485 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8486 else
8487 :
8488 fi
8489
8490 fi
8491
8492
8493
8494
8495
8496
8497 lt_prog_compiler_wl=
8498 lt_prog_compiler_pic=
8499 lt_prog_compiler_static=
8500
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8502 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8503
8504 if test "$GCC" = yes; then
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_static='-static'
8507
8508 case $host_os in
8509 aix*)
8510 # All AIX code is PIC.
8511 if test "$host_cpu" = ia64; then
8512 # AIX 5 now supports IA64 processor
8513 lt_prog_compiler_static='-Bstatic'
8514 fi
8515 ;;
8516
8517 amigaos*)
8518 case $host_cpu in
8519 powerpc)
8520 # see comment about AmigaOS4 .so support
8521 lt_prog_compiler_pic='-fPIC'
8522 ;;
8523 m68k)
8524 # FIXME: we need at least 68020 code to build shared libraries, but
8525 # adding the `-m68020' flag to GCC prevents building anything better,
8526 # like `-m68040'.
8527 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8528 ;;
8529 esac
8530 ;;
8531
8532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533 # PIC is the default for these OSes.
8534 ;;
8535
8536 mingw* | cygwin* | pw32* | os2* | cegcc*)
8537 # This hack is so that the source file can tell whether it is being
8538 # built for inclusion in a dll (and should export symbols for example).
8539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540 # (--disable-auto-import) libraries
8541 lt_prog_compiler_pic='-DDLL_EXPORT'
8542 ;;
8543
8544 darwin* | rhapsody*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic='-fno-common'
8548 ;;
8549
8550 haiku*)
8551 # PIC is the default for Haiku.
8552 # The "-static" flag exists, but is broken.
8553 lt_prog_compiler_static=
8554 ;;
8555
8556 hpux*)
8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8559 # sets the default TLS model and affects inlining.
8560 case $host_cpu in
8561 hppa*64*)
8562 # +Z the default
8563 ;;
8564 *)
8565 lt_prog_compiler_pic='-fPIC'
8566 ;;
8567 esac
8568 ;;
8569
8570 interix[3-9]*)
8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572 # Instead, we relocate shared libraries at runtime.
8573 ;;
8574
8575 msdosdjgpp*)
8576 # Just because we use GCC doesn't mean we suddenly get shared libraries
8577 # on systems that don't support them.
8578 lt_prog_compiler_can_build_shared=no
8579 enable_shared=no
8580 ;;
8581
8582 *nto* | *qnx*)
8583 # QNX uses GNU C++, but need to define -shared option too, otherwise
8584 # it will coredump.
8585 lt_prog_compiler_pic='-fPIC -shared'
8586 ;;
8587
8588 sysv4*MP*)
8589 if test -d /usr/nec; then
8590 lt_prog_compiler_pic=-Kconform_pic
8591 fi
8592 ;;
8593
8594 *)
8595 lt_prog_compiler_pic='-fPIC'
8596 ;;
8597 esac
8598
8599 case $cc_basename in
8600 nvcc*) # Cuda Compiler Driver 2.2
8601 lt_prog_compiler_wl='-Xlinker '
8602 lt_prog_compiler_pic='-Xcompiler -fPIC'
8603 ;;
8604 esac
8605 else
8606 # PORTME Check for flag to pass linker flags through the system compiler.
8607 case $host_os in
8608 aix*)
8609 lt_prog_compiler_wl='-Wl,'
8610 if test "$host_cpu" = ia64; then
8611 # AIX 5 now supports IA64 processor
8612 lt_prog_compiler_static='-Bstatic'
8613 else
8614 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8615 fi
8616 ;;
8617
8618 mingw* | cygwin* | pw32* | os2* | cegcc*)
8619 # This hack is so that the source file can tell whether it is being
8620 # built for inclusion in a dll (and should export symbols for example).
8621 lt_prog_compiler_pic='-DDLL_EXPORT'
8622 ;;
8623
8624 hpux9* | hpux10* | hpux11*)
8625 lt_prog_compiler_wl='-Wl,'
8626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8627 # not for PA HP-UX.
8628 case $host_cpu in
8629 hppa*64*|ia64*)
8630 # +Z the default
8631 ;;
8632 *)
8633 lt_prog_compiler_pic='+Z'
8634 ;;
8635 esac
8636 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8637 lt_prog_compiler_static='${wl}-a ${wl}archive'
8638 ;;
8639
8640 irix5* | irix6* | nonstopux*)
8641 lt_prog_compiler_wl='-Wl,'
8642 # PIC (with -KPIC) is the default.
8643 lt_prog_compiler_static='-non_shared'
8644 ;;
8645
8646 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8647 case $cc_basename in
8648 # old Intel for x86_64 which still supported -KPIC.
8649 ecc*)
8650 lt_prog_compiler_wl='-Wl,'
8651 lt_prog_compiler_pic='-KPIC'
8652 lt_prog_compiler_static='-static'
8653 ;;
8654 # icc used to be incompatible with GCC.
8655 # ICC 10 doesn't accept -KPIC any more.
8656 icc* | ifort*)
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-fPIC'
8659 lt_prog_compiler_static='-static'
8660 ;;
8661 # Lahey Fortran 8.1.
8662 lf95*)
8663 lt_prog_compiler_wl='-Wl,'
8664 lt_prog_compiler_pic='--shared'
8665 lt_prog_compiler_static='--static'
8666 ;;
8667 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8668 # Portland Group compilers (*not* the Pentium gcc compiler,
8669 # which looks to be a dead project)
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_pic='-fpic'
8672 lt_prog_compiler_static='-Bstatic'
8673 ;;
8674 ccc*)
8675 lt_prog_compiler_wl='-Wl,'
8676 # All Alpha code is PIC.
8677 lt_prog_compiler_static='-non_shared'
8678 ;;
8679 xl* | bgxl* | bgf* | mpixl*)
8680 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='-qpic'
8683 lt_prog_compiler_static='-qstaticlink'
8684 ;;
8685 *)
8686 case `$CC -V 2>&1 | sed 5q` in
8687 *Sun\ F* | *Sun*Fortran*)
8688 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_wl=''
8692 ;;
8693 *Sun\ C*)
8694 # Sun C 5.9
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8698 ;;
8699 esac
8700 ;;
8701 esac
8702 ;;
8703
8704 newsos6)
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8707 ;;
8708
8709 *nto* | *qnx*)
8710 # QNX uses GNU C++, but need to define -shared option too, otherwise
8711 # it will coredump.
8712 lt_prog_compiler_pic='-fPIC -shared'
8713 ;;
8714
8715 osf3* | osf4* | osf5*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All OSF/1 code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8719 ;;
8720
8721 rdos*)
8722 lt_prog_compiler_static='-non_shared'
8723 ;;
8724
8725 solaris*)
8726 lt_prog_compiler_pic='-KPIC'
8727 lt_prog_compiler_static='-Bstatic'
8728 case $cc_basename in
8729 f77* | f90* | f95*)
8730 lt_prog_compiler_wl='-Qoption ld ';;
8731 *)
8732 lt_prog_compiler_wl='-Wl,';;
8733 esac
8734 ;;
8735
8736 sunos4*)
8737 lt_prog_compiler_wl='-Qoption ld '
8738 lt_prog_compiler_pic='-PIC'
8739 lt_prog_compiler_static='-Bstatic'
8740 ;;
8741
8742 sysv4 | sysv4.2uw2* | sysv4.3*)
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_pic='-KPIC'
8745 lt_prog_compiler_static='-Bstatic'
8746 ;;
8747
8748 sysv4*MP*)
8749 if test -d /usr/nec ;then
8750 lt_prog_compiler_pic='-Kconform_pic'
8751 lt_prog_compiler_static='-Bstatic'
8752 fi
8753 ;;
8754
8755 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8759 ;;
8760
8761 unicos*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_can_build_shared=no
8764 ;;
8765
8766 uts4*)
8767 lt_prog_compiler_pic='-pic'
8768 lt_prog_compiler_static='-Bstatic'
8769 ;;
8770
8771 *)
8772 lt_prog_compiler_can_build_shared=no
8773 ;;
8774 esac
8775 fi
8776
8777 case $host_os in
8778 # For platforms which do not support PIC, -DPIC is meaningless:
8779 *djgpp*)
8780 lt_prog_compiler_pic=
8781 ;;
8782 *)
8783 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8784 ;;
8785 esac
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8787 $as_echo "$lt_prog_compiler_pic" >&6; }
8788
8789
8790
8791
8792
8793
8794 #
8795 # Check to make sure the PIC flag actually works.
8796 #
8797 if test -n "$lt_prog_compiler_pic"; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8799 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8800 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 lt_cv_prog_compiler_pic_works=no
8804 ac_outfile=conftest.$ac_objext
8805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8806 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8807 # Insert the option either (1) after the last *FLAGS variable, or
8808 # (2) before a word containing "conftest.", or (3) at the end.
8809 # Note that $ac_compile itself does not contain backslashes and begins
8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8811 # The option is referenced via a variable to avoid confusing sed.
8812 lt_compile=`echo "$ac_compile" | $SED \
8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8815 -e 's:$: $lt_compiler_flag:'`
8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8817 (eval "$lt_compile" 2>conftest.err)
8818 ac_status=$?
8819 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 if (exit $ac_status) && test -s "$ac_outfile"; then
8822 # The compiler can only warn and ignore the option if not recognized
8823 # So say no if there are warnings other than the usual output.
8824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8826 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8827 lt_cv_prog_compiler_pic_works=yes
8828 fi
8829 fi
8830 $RM conftest*
8831
8832 fi
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8834 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8835
8836 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8837 case $lt_prog_compiler_pic in
8838 "" | " "*) ;;
8839 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8840 esac
8841 else
8842 lt_prog_compiler_pic=
8843 lt_prog_compiler_can_build_shared=no
8844 fi
8845
8846 fi
8847
8848
8849
8850
8851
8852
8853 #
8854 # Check to make sure the static flag actually works.
8855 #
8856 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8858 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8859 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 lt_cv_prog_compiler_static_works=no
8863 save_LDFLAGS="$LDFLAGS"
8864 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8865 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8866 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8867 # The linker can only warn and ignore the option if not recognized
8868 # So say no if there are warnings
8869 if test -s conftest.err; then
8870 # Append any errors to the config.log.
8871 cat conftest.err 1>&5
8872 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8873 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8874 if diff conftest.exp conftest.er2 >/dev/null; then
8875 lt_cv_prog_compiler_static_works=yes
8876 fi
8877 else
8878 lt_cv_prog_compiler_static_works=yes
8879 fi
8880 fi
8881 $RM -r conftest*
8882 LDFLAGS="$save_LDFLAGS"
8883
8884 fi
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8886 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8887
8888 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8889 :
8890 else
8891 lt_prog_compiler_static=
8892 fi
8893
8894
8895
8896
8897
8898
8899
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8901 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8902 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 lt_cv_prog_compiler_c_o=no
8906 $RM -r conftest 2>/dev/null
8907 mkdir conftest
8908 cd conftest
8909 mkdir out
8910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8911
8912 lt_compiler_flag="-o out/conftest2.$ac_objext"
8913 # Insert the option either (1) after the last *FLAGS variable, or
8914 # (2) before a word containing "conftest.", or (3) at the end.
8915 # Note that $ac_compile itself does not contain backslashes and begins
8916 # with a dollar sign (not a hyphen), so the echo should work correctly.
8917 lt_compile=`echo "$ac_compile" | $SED \
8918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8920 -e 's:$: $lt_compiler_flag:'`
8921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8922 (eval "$lt_compile" 2>out/conftest.err)
8923 ac_status=$?
8924 cat out/conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8927 then
8928 # The compiler can only warn and ignore the option if not recognized
8929 # So say no if there are warnings
8930 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8931 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8932 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8933 lt_cv_prog_compiler_c_o=yes
8934 fi
8935 fi
8936 chmod u+w . 2>&5
8937 $RM conftest*
8938 # SGI C++ compiler will create directory out/ii_files/ for
8939 # template instantiation
8940 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8941 $RM out/* && rmdir out
8942 cd ..
8943 $RM -r conftest
8944 $RM conftest*
8945
8946 fi
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8948 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8949
8950
8951
8952
8953
8954
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8956 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8957 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8958 $as_echo_n "(cached) " >&6
8959 else
8960 lt_cv_prog_compiler_c_o=no
8961 $RM -r conftest 2>/dev/null
8962 mkdir conftest
8963 cd conftest
8964 mkdir out
8965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966
8967 lt_compiler_flag="-o out/conftest2.$ac_objext"
8968 # Insert the option either (1) after the last *FLAGS variable, or
8969 # (2) before a word containing "conftest.", or (3) at the end.
8970 # Note that $ac_compile itself does not contain backslashes and begins
8971 # with a dollar sign (not a hyphen), so the echo should work correctly.
8972 lt_compile=`echo "$ac_compile" | $SED \
8973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975 -e 's:$: $lt_compiler_flag:'`
8976 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8977 (eval "$lt_compile" 2>out/conftest.err)
8978 ac_status=$?
8979 cat out/conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8982 then
8983 # The compiler can only warn and ignore the option if not recognized
8984 # So say no if there are warnings
8985 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8986 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8987 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8988 lt_cv_prog_compiler_c_o=yes
8989 fi
8990 fi
8991 chmod u+w . 2>&5
8992 $RM conftest*
8993 # SGI C++ compiler will create directory out/ii_files/ for
8994 # template instantiation
8995 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8996 $RM out/* && rmdir out
8997 cd ..
8998 $RM -r conftest
8999 $RM conftest*
9000
9001 fi
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9003 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9004
9005
9006
9007
9008 hard_links="nottested"
9009 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9010 # do not overwrite the value of need_locks provided by the user
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9012 $as_echo_n "checking if we can lock with hard links... " >&6; }
9013 hard_links=yes
9014 $RM conftest*
9015 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9016 touch conftest.a
9017 ln conftest.a conftest.b 2>&5 || hard_links=no
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9020 $as_echo "$hard_links" >&6; }
9021 if test "$hard_links" = no; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9023 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9024 need_locks=warn
9025 fi
9026 else
9027 need_locks=no
9028 fi
9029
9030
9031
9032
9033
9034
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9037
9038 runpath_var=
9039 allow_undefined_flag=
9040 always_export_symbols=no
9041 archive_cmds=
9042 archive_expsym_cmds=
9043 compiler_needs_object=no
9044 enable_shared_with_static_runtimes=no
9045 export_dynamic_flag_spec=
9046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9047 hardcode_automatic=no
9048 hardcode_direct=no
9049 hardcode_direct_absolute=no
9050 hardcode_libdir_flag_spec=
9051 hardcode_libdir_flag_spec_ld=
9052 hardcode_libdir_separator=
9053 hardcode_minus_L=no
9054 hardcode_shlibpath_var=unsupported
9055 inherit_rpath=no
9056 link_all_deplibs=unknown
9057 module_cmds=
9058 module_expsym_cmds=
9059 old_archive_from_new_cmds=
9060 old_archive_from_expsyms_cmds=
9061 thread_safe_flag_spec=
9062 whole_archive_flag_spec=
9063 # include_expsyms should be a list of space-separated symbols to be *always*
9064 # included in the symbol list
9065 include_expsyms=
9066 # exclude_expsyms can be an extended regexp of symbols to exclude
9067 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9068 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9069 # as well as any symbol that contains `d'.
9070 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9071 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9072 # platforms (ab)use it in PIC code, but their linkers get confused if
9073 # the symbol is explicitly referenced. Since portable code cannot
9074 # rely on this symbol name, it's probably fine to never include it in
9075 # preloaded symbol tables.
9076 # Exclude shared library initialization/finalization symbols.
9077 extract_expsyms_cmds=
9078
9079 case $host_os in
9080 cygwin* | mingw* | pw32* | cegcc*)
9081 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9082 # When not using gcc, we currently assume that we are using
9083 # Microsoft Visual C++.
9084 if test "$GCC" != yes; then
9085 with_gnu_ld=no
9086 fi
9087 ;;
9088 interix*)
9089 # we just hope/assume this is gcc and not c89 (= MSVC++)
9090 with_gnu_ld=yes
9091 ;;
9092 openbsd*)
9093 with_gnu_ld=no
9094 ;;
9095 esac
9096
9097 ld_shlibs=yes
9098
9099 # On some targets, GNU ld is compatible enough with the native linker
9100 # that we're better off using the native interface for both.
9101 lt_use_gnu_ld_interface=no
9102 if test "$with_gnu_ld" = yes; then
9103 case $host_os in
9104 aix*)
9105 # The AIX port of GNU ld has always aspired to compatibility
9106 # with the native linker. However, as the warning in the GNU ld
9107 # block says, versions before 2.19.5* couldn't really create working
9108 # shared libraries, regardless of the interface used.
9109 case `$LD -v 2>&1` in
9110 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9111 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9112 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9113 *)
9114 lt_use_gnu_ld_interface=yes
9115 ;;
9116 esac
9117 ;;
9118 *)
9119 lt_use_gnu_ld_interface=yes
9120 ;;
9121 esac
9122 fi
9123
9124 if test "$lt_use_gnu_ld_interface" = yes; then
9125 # If archive_cmds runs LD, not CC, wlarc should be empty
9126 wlarc='${wl}'
9127
9128 # Set some defaults for GNU ld with shared library support. These
9129 # are reset later if shared libraries are not supported. Putting them
9130 # here allows them to be overridden if necessary.
9131 runpath_var=LD_RUN_PATH
9132 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9133 export_dynamic_flag_spec='${wl}--export-dynamic'
9134 # ancient GNU ld didn't support --whole-archive et. al.
9135 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9136 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9137 else
9138 whole_archive_flag_spec=
9139 fi
9140 supports_anon_versioning=no
9141 case `$LD -v 2>&1` in
9142 *GNU\ gold*) supports_anon_versioning=yes ;;
9143 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9144 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9145 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9146 *\ 2.11.*) ;; # other 2.11 versions
9147 *) supports_anon_versioning=yes ;;
9148 esac
9149
9150 # See if GNU ld supports shared libraries.
9151 case $host_os in
9152 aix[3-9]*)
9153 # On AIX/PPC, the GNU linker is very broken
9154 if test "$host_cpu" != ia64; then
9155 ld_shlibs=no
9156 cat <<_LT_EOF 1>&2
9157
9158 *** Warning: the GNU linker, at least up to release 2.19, is reported
9159 *** to be unable to reliably create shared libraries on AIX.
9160 *** Therefore, libtool is disabling shared libraries support. If you
9161 *** really care for shared libraries, you may want to install binutils
9162 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9163 *** You will then need to restart the configuration process.
9164
9165 _LT_EOF
9166 fi
9167 ;;
9168
9169 amigaos*)
9170 case $host_cpu in
9171 powerpc)
9172 # see comment about AmigaOS4 .so support
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds=''
9175 ;;
9176 m68k)
9177 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)'
9178 hardcode_libdir_flag_spec='-L$libdir'
9179 hardcode_minus_L=yes
9180 ;;
9181 esac
9182 ;;
9183
9184 beos*)
9185 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186 allow_undefined_flag=unsupported
9187 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9188 # support --undefined. This deserves some investigation. FIXME
9189 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 else
9191 ld_shlibs=no
9192 fi
9193 ;;
9194
9195 cygwin* | mingw* | pw32* | cegcc*)
9196 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9197 # as there is no search path for DLLs.
9198 hardcode_libdir_flag_spec='-L$libdir'
9199 export_dynamic_flag_spec='${wl}--export-all-symbols'
9200 allow_undefined_flag=unsupported
9201 always_export_symbols=no
9202 enable_shared_with_static_runtimes=yes
9203 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9204
9205 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9207 # If the export-symbols file already is a .def file (1st line
9208 # is EXPORTS), use it as is; otherwise, prepend...
9209 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9210 cp $export_symbols $output_objdir/$soname.def;
9211 else
9212 echo EXPORTS > $output_objdir/$soname.def;
9213 cat $export_symbols >> $output_objdir/$soname.def;
9214 fi~
9215 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9216 else
9217 ld_shlibs=no
9218 fi
9219 ;;
9220
9221 haiku*)
9222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 link_all_deplibs=yes
9224 ;;
9225
9226 interix[3-9]*)
9227 hardcode_direct=no
9228 hardcode_shlibpath_var=no
9229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9230 export_dynamic_flag_spec='${wl}-E'
9231 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9232 # Instead, shared libraries are loaded at an image base (0x10000000 by
9233 # default) and relocated if they conflict, which is a slow very memory
9234 # consuming and fragmenting process. To avoid this, we pick a random,
9235 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9236 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9237 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9238 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'
9239 ;;
9240
9241 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9242 tmp_diet=no
9243 if test "$host_os" = linux-dietlibc; then
9244 case $cc_basename in
9245 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9246 esac
9247 fi
9248 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9249 && test "$tmp_diet" = no
9250 then
9251 tmp_addflag=
9252 tmp_sharedflag='-shared'
9253 case $cc_basename,$host_cpu in
9254 pgcc*) # Portland Group C compiler
9255 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'
9256 tmp_addflag=' $pic_flag'
9257 ;;
9258 pgf77* | pgf90* | pgf95* | pgfortran*)
9259 # Portland Group f77 and f90 compilers
9260 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'
9261 tmp_addflag=' $pic_flag -Mnomain' ;;
9262 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9263 tmp_addflag=' -i_dynamic' ;;
9264 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9265 tmp_addflag=' -i_dynamic -nofor_main' ;;
9266 ifc* | ifort*) # Intel Fortran compiler
9267 tmp_addflag=' -nofor_main' ;;
9268 lf95*) # Lahey Fortran 8.1
9269 whole_archive_flag_spec=
9270 tmp_sharedflag='--shared' ;;
9271 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9272 tmp_sharedflag='-qmkshrobj'
9273 tmp_addflag= ;;
9274 nvcc*) # Cuda Compiler Driver 2.2
9275 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'
9276 compiler_needs_object=yes
9277 ;;
9278 esac
9279 case `$CC -V 2>&1 | sed 5q` in
9280 *Sun\ C*) # Sun C 5.9
9281 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'
9282 compiler_needs_object=yes
9283 tmp_sharedflag='-G' ;;
9284 *Sun\ F*) # Sun Fortran 8.3
9285 tmp_sharedflag='-G' ;;
9286 esac
9287 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9288
9289 if test "x$supports_anon_versioning" = xyes; then
9290 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9292 echo "local: *; };" >> $output_objdir/$libname.ver~
9293 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9294 fi
9295
9296 case $cc_basename in
9297 xlf* | bgf* | bgxlf* | mpixlf*)
9298 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9299 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9300 hardcode_libdir_flag_spec=
9301 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9302 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9303 if test "x$supports_anon_versioning" = xyes; then
9304 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9305 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306 echo "local: *; };" >> $output_objdir/$libname.ver~
9307 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9308 fi
9309 ;;
9310 esac
9311 else
9312 ld_shlibs=no
9313 fi
9314 ;;
9315
9316 netbsd*)
9317 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9318 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9319 wlarc=
9320 else
9321 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323 fi
9324 ;;
9325
9326 solaris*)
9327 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9328 ld_shlibs=no
9329 cat <<_LT_EOF 1>&2
9330
9331 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9332 *** create shared libraries on Solaris systems. Therefore, libtool
9333 *** is disabling shared libraries support. We urge you to upgrade GNU
9334 *** binutils to release 2.9.1 or newer. Another option is to modify
9335 *** your PATH or compiler configuration so that the native linker is
9336 *** used, and then restart.
9337
9338 _LT_EOF
9339 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9342 else
9343 ld_shlibs=no
9344 fi
9345 ;;
9346
9347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9348 case `$LD -v 2>&1` in
9349 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9350 ld_shlibs=no
9351 cat <<_LT_EOF 1>&2
9352
9353 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9354 *** reliably create shared libraries on SCO systems. Therefore, libtool
9355 *** is disabling shared libraries support. We urge you to upgrade GNU
9356 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9357 *** your PATH or compiler configuration so that the native linker is
9358 *** used, and then restart.
9359
9360 _LT_EOF
9361 ;;
9362 *)
9363 # For security reasons, it is highly recommended that you always
9364 # use absolute paths for naming shared libraries, and exclude the
9365 # DT_RUNPATH tag from executables and libraries. But doing so
9366 # requires that you compile everything twice, which is a pain.
9367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 else
9372 ld_shlibs=no
9373 fi
9374 ;;
9375 esac
9376 ;;
9377
9378 sunos4*)
9379 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9380 wlarc=
9381 hardcode_direct=yes
9382 hardcode_shlibpath_var=no
9383 ;;
9384
9385 *)
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389 else
9390 ld_shlibs=no
9391 fi
9392 ;;
9393 esac
9394
9395 if test "$ld_shlibs" = no; then
9396 runpath_var=
9397 hardcode_libdir_flag_spec=
9398 export_dynamic_flag_spec=
9399 whole_archive_flag_spec=
9400 fi
9401 else
9402 # PORTME fill in a description of your system's linker (not GNU ld)
9403 case $host_os in
9404 aix3*)
9405 allow_undefined_flag=unsupported
9406 always_export_symbols=yes
9407 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'
9408 # Note: this linker hardcodes the directories in LIBPATH if there
9409 # are no directories specified by -L.
9410 hardcode_minus_L=yes
9411 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9412 # Neither direct hardcoding nor static linking is supported with a
9413 # broken collect2.
9414 hardcode_direct=unsupported
9415 fi
9416 ;;
9417
9418 aix[4-9]*)
9419 if test "$host_cpu" = ia64; then
9420 # On IA64, the linker does run time linking by default, so we don't
9421 # have to do anything special.
9422 aix_use_runtimelinking=no
9423 exp_sym_flag='-Bexport'
9424 no_entry_flag=""
9425 else
9426 # If we're using GNU nm, then we don't want the "-C" option.
9427 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9428 # Also, AIX nm treats weak defined symbols like other global
9429 # defined symbols, whereas GNU nm marks them as "W".
9430 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9431 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'
9432 else
9433 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'
9434 fi
9435 aix_use_runtimelinking=no
9436
9437 # Test if we are trying to use run time linking or normal
9438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9439 # need to do runtime linking.
9440 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9441 for ld_flag in $LDFLAGS; do
9442 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9443 aix_use_runtimelinking=yes
9444 break
9445 fi
9446 done
9447 ;;
9448 esac
9449
9450 exp_sym_flag='-bexport'
9451 no_entry_flag='-bnoentry'
9452 fi
9453
9454 # When large executables or shared objects are built, AIX ld can
9455 # have problems creating the table of contents. If linking a library
9456 # or program results in "error TOC overflow" add -mminimal-toc to
9457 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9458 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9459
9460 archive_cmds=''
9461 hardcode_direct=yes
9462 hardcode_direct_absolute=yes
9463 hardcode_libdir_separator=':'
9464 link_all_deplibs=yes
9465 file_list_spec='${wl}-f,'
9466
9467 if test "$GCC" = yes; then
9468 case $host_os in aix4.[012]|aix4.[012].*)
9469 # We only want to do this on AIX 4.2 and lower, the check
9470 # below for broken collect2 doesn't work under 4.3+
9471 collect2name=`${CC} -print-prog-name=collect2`
9472 if test -f "$collect2name" &&
9473 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9474 then
9475 # We have reworked collect2
9476 :
9477 else
9478 # We have old collect2
9479 hardcode_direct=unsupported
9480 # It fails to find uninstalled libraries when the uninstalled
9481 # path is not listed in the libpath. Setting hardcode_minus_L
9482 # to unsupported forces relinking
9483 hardcode_minus_L=yes
9484 hardcode_libdir_flag_spec='-L$libdir'
9485 hardcode_libdir_separator=
9486 fi
9487 ;;
9488 esac
9489 shared_flag='-shared'
9490 if test "$aix_use_runtimelinking" = yes; then
9491 shared_flag="$shared_flag "'${wl}-G'
9492 fi
9493 else
9494 # not using gcc
9495 if test "$host_cpu" = ia64; then
9496 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9497 # chokes on -Wl,-G. The following line is correct:
9498 shared_flag='-G'
9499 else
9500 if test "$aix_use_runtimelinking" = yes; then
9501 shared_flag='${wl}-G'
9502 else
9503 shared_flag='${wl}-bM:SRE'
9504 fi
9505 fi
9506 fi
9507
9508 export_dynamic_flag_spec='${wl}-bexpall'
9509 # It seems that -bexpall does not export symbols beginning with
9510 # underscore (_), so it is better to generate a list of symbols to export.
9511 always_export_symbols=yes
9512 if test "$aix_use_runtimelinking" = yes; then
9513 # Warning - without using the other runtime loading flags (-brtl),
9514 # -berok will link without error, but may produce a broken library.
9515 allow_undefined_flag='-berok'
9516 # Determine the default libpath from the value encoded in an
9517 # empty executable.
9518 if test x$gcc_no_link = xyes; then
9519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9520 fi
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523
9524 int
9525 main ()
9526 {
9527
9528 ;
9529 return 0;
9530 }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533
9534 lt_aix_libpath_sed='
9535 /Import File Strings/,/^$/ {
9536 /^0/ {
9537 s/^0 *\(.*\)$/\1/
9538 p
9539 }
9540 }'
9541 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 # Check for a 64-bit object if we didn't find anything.
9543 if test -z "$aix_libpath"; then
9544 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 fi
9546 fi
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9550
9551 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9552 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"
9553 else
9554 if test "$host_cpu" = ia64; then
9555 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9556 allow_undefined_flag="-z nodefs"
9557 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"
9558 else
9559 # Determine the default libpath from the value encoded in an
9560 # empty executable.
9561 if test x$gcc_no_link = xyes; then
9562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9563 fi
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566
9567 int
9568 main ()
9569 {
9570
9571 ;
9572 return 0;
9573 }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576
9577 lt_aix_libpath_sed='
9578 /Import File Strings/,/^$/ {
9579 /^0/ {
9580 s/^0 *\(.*\)$/\1/
9581 p
9582 }
9583 }'
9584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 # Check for a 64-bit object if we didn't find anything.
9586 if test -z "$aix_libpath"; then
9587 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 fi
9589 fi
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9593
9594 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9595 # Warning - without using the other run time loading flags,
9596 # -berok will link without error, but may produce a broken library.
9597 no_undefined_flag=' ${wl}-bernotok'
9598 allow_undefined_flag=' ${wl}-berok'
9599 if test "$with_gnu_ld" = yes; then
9600 # We only use this code for GNU lds that support --whole-archive.
9601 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9602 else
9603 # Exported symbols can be pulled into shared objects from archives
9604 whole_archive_flag_spec='$convenience'
9605 fi
9606 archive_cmds_need_lc=yes
9607 # This is similar to how AIX traditionally builds its shared libraries.
9608 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'
9609 fi
9610 fi
9611 ;;
9612
9613 amigaos*)
9614 case $host_cpu in
9615 powerpc)
9616 # see comment about AmigaOS4 .so support
9617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618 archive_expsym_cmds=''
9619 ;;
9620 m68k)
9621 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)'
9622 hardcode_libdir_flag_spec='-L$libdir'
9623 hardcode_minus_L=yes
9624 ;;
9625 esac
9626 ;;
9627
9628 bsdi[45]*)
9629 export_dynamic_flag_spec=-rdynamic
9630 ;;
9631
9632 cygwin* | mingw* | pw32* | cegcc*)
9633 # When not using gcc, we currently assume that we are using
9634 # Microsoft Visual C++.
9635 # hardcode_libdir_flag_spec is actually meaningless, as there is
9636 # no search path for DLLs.
9637 hardcode_libdir_flag_spec=' '
9638 allow_undefined_flag=unsupported
9639 # Tell ltmain to make .lib files, not .a files.
9640 libext=lib
9641 # Tell ltmain to make .dll files, not .so files.
9642 shrext_cmds=".dll"
9643 # FIXME: Setting linknames here is a bad hack.
9644 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9645 # The linker will automatically build a .lib file if we build a DLL.
9646 old_archive_from_new_cmds='true'
9647 # FIXME: Should let the user specify the lib program.
9648 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9649 fix_srcfile_path='`cygpath -w "$srcfile"`'
9650 enable_shared_with_static_runtimes=yes
9651 ;;
9652
9653 darwin* | rhapsody*)
9654
9655
9656 archive_cmds_need_lc=no
9657 hardcode_direct=no
9658 hardcode_automatic=yes
9659 hardcode_shlibpath_var=unsupported
9660 if test "$lt_cv_ld_force_load" = "yes"; then
9661 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\"`'
9662 else
9663 whole_archive_flag_spec=''
9664 fi
9665 link_all_deplibs=yes
9666 allow_undefined_flag="$_lt_dar_allow_undefined"
9667 case $cc_basename in
9668 ifort*) _lt_dar_can_shared=yes ;;
9669 *) _lt_dar_can_shared=$GCC ;;
9670 esac
9671 if test "$_lt_dar_can_shared" = "yes"; then
9672 output_verbose_link_cmd=func_echo_all
9673 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9674 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9675 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}"
9676 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}"
9677
9678 else
9679 ld_shlibs=no
9680 fi
9681
9682 ;;
9683
9684 dgux*)
9685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_libdir_flag_spec='-L$libdir'
9687 hardcode_shlibpath_var=no
9688 ;;
9689
9690 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9691 # support. Future versions do this automatically, but an explicit c++rt0.o
9692 # does not break anything, and helps significantly (at the cost of a little
9693 # extra space).
9694 freebsd2.2*)
9695 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9696 hardcode_libdir_flag_spec='-R$libdir'
9697 hardcode_direct=yes
9698 hardcode_shlibpath_var=no
9699 ;;
9700
9701 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9702 freebsd2*)
9703 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_direct=yes
9705 hardcode_minus_L=yes
9706 hardcode_shlibpath_var=no
9707 ;;
9708
9709 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9710 freebsd* | dragonfly*)
9711 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9712 hardcode_libdir_flag_spec='-R$libdir'
9713 hardcode_direct=yes
9714 hardcode_shlibpath_var=no
9715 ;;
9716
9717 hpux9*)
9718 if test "$GCC" = yes; then
9719 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'
9720 else
9721 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'
9722 fi
9723 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9724 hardcode_libdir_separator=:
9725 hardcode_direct=yes
9726
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9730 export_dynamic_flag_spec='${wl}-E'
9731 ;;
9732
9733 hpux10*)
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9736 else
9737 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9738 fi
9739 if test "$with_gnu_ld" = no; then
9740 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9741 hardcode_libdir_flag_spec_ld='+b $libdir'
9742 hardcode_libdir_separator=:
9743 hardcode_direct=yes
9744 hardcode_direct_absolute=yes
9745 export_dynamic_flag_spec='${wl}-E'
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9749 fi
9750 ;;
9751
9752 hpux11*)
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754 case $host_cpu in
9755 hppa*64*)
9756 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 ;;
9758 ia64*)
9759 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9760 ;;
9761 *)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 ;;
9764 esac
9765 else
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 ;;
9770 ia64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 *)
9774
9775 # Older versions of the 11.00 compiler do not understand -b yet
9776 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9778 $as_echo_n "checking if $CC understands -b... " >&6; }
9779 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 lt_cv_prog_compiler__b=no
9783 save_LDFLAGS="$LDFLAGS"
9784 LDFLAGS="$LDFLAGS -b"
9785 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9786 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9787 # The linker can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 if test -s conftest.err; then
9790 # Append any errors to the config.log.
9791 cat conftest.err 1>&5
9792 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9794 if diff conftest.exp conftest.er2 >/dev/null; then
9795 lt_cv_prog_compiler__b=yes
9796 fi
9797 else
9798 lt_cv_prog_compiler__b=yes
9799 fi
9800 fi
9801 $RM -r conftest*
9802 LDFLAGS="$save_LDFLAGS"
9803
9804 fi
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9806 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9807
9808 if test x"$lt_cv_prog_compiler__b" = xyes; then
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 else
9811 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9812 fi
9813
9814 ;;
9815 esac
9816 fi
9817 if test "$with_gnu_ld" = no; then
9818 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819 hardcode_libdir_separator=:
9820
9821 case $host_cpu in
9822 hppa*64*|ia64*)
9823 hardcode_direct=no
9824 hardcode_shlibpath_var=no
9825 ;;
9826 *)
9827 hardcode_direct=yes
9828 hardcode_direct_absolute=yes
9829 export_dynamic_flag_spec='${wl}-E'
9830
9831 # hardcode_minus_L: Not really in the search PATH,
9832 # but as the default location of the library.
9833 hardcode_minus_L=yes
9834 ;;
9835 esac
9836 fi
9837 ;;
9838
9839 irix5* | irix6* | nonstopux*)
9840 if test "$GCC" = yes; then
9841 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'
9842 # Try to use the -exported_symbol ld option, if it does not
9843 # work, assume that -exports_file does not work either and
9844 # implicitly export all symbols.
9845 save_LDFLAGS="$LDFLAGS"
9846 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9847 if test x$gcc_no_link = xyes; then
9848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9849 fi
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9852 int foo(void) {}
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 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'
9856
9857 fi
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LDFLAGS="$save_LDFLAGS"
9861 else
9862 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'
9863 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'
9864 fi
9865 archive_cmds_need_lc='no'
9866 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9867 hardcode_libdir_separator=:
9868 inherit_rpath=yes
9869 link_all_deplibs=yes
9870 ;;
9871
9872 netbsd*)
9873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9875 else
9876 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9877 fi
9878 hardcode_libdir_flag_spec='-R$libdir'
9879 hardcode_direct=yes
9880 hardcode_shlibpath_var=no
9881 ;;
9882
9883 newsos6)
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_direct=yes
9886 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9887 hardcode_libdir_separator=:
9888 hardcode_shlibpath_var=no
9889 ;;
9890
9891 *nto* | *qnx*)
9892 ;;
9893
9894 openbsd*)
9895 if test -f /usr/libexec/ld.so; then
9896 hardcode_direct=yes
9897 hardcode_shlibpath_var=no
9898 hardcode_direct_absolute=yes
9899 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9902 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 export_dynamic_flag_spec='${wl}-E'
9904 else
9905 case $host_os in
9906 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_libdir_flag_spec='-R$libdir'
9909 ;;
9910 *)
9911 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9912 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913 ;;
9914 esac
9915 fi
9916 else
9917 ld_shlibs=no
9918 fi
9919 ;;
9920
9921 os2*)
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 hardcode_minus_L=yes
9924 allow_undefined_flag=unsupported
9925 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'
9926 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9927 ;;
9928
9929 osf3*)
9930 if test "$GCC" = yes; then
9931 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9932 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'
9933 else
9934 allow_undefined_flag=' -expect_unresolved \*'
9935 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'
9936 fi
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9940 ;;
9941
9942 osf4* | osf5*) # as osf3* with the addition of -msym flag
9943 if test "$GCC" = yes; then
9944 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9945 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'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 else
9948 allow_undefined_flag=' -expect_unresolved \*'
9949 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'
9950 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~
9951 $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'
9952
9953 # Both c and cxx compiler support -rpath directly
9954 hardcode_libdir_flag_spec='-rpath $libdir'
9955 fi
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_separator=:
9958 ;;
9959
9960 solaris*)
9961 no_undefined_flag=' -z defs'
9962 if test "$GCC" = yes; then
9963 wlarc='${wl}'
9964 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9966 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9967 else
9968 case `$CC -V 2>&1` in
9969 *"Compilers 5.0"*)
9970 wlarc=''
9971 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9974 ;;
9975 *)
9976 wlarc='${wl}'
9977 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9980 ;;
9981 esac
9982 fi
9983 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_shlibpath_var=no
9985 case $host_os in
9986 solaris2.[0-5] | solaris2.[0-5].*) ;;
9987 *)
9988 # The compiler driver will combine and reorder linker options,
9989 # but understands `-z linker_flag'. GCC discards it without `$wl',
9990 # but is careful enough not to reorder.
9991 # Supported since Solaris 2.6 (maybe 2.5.1?)
9992 if test "$GCC" = yes; then
9993 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9994 else
9995 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9996 fi
9997 ;;
9998 esac
9999 link_all_deplibs=yes
10000 ;;
10001
10002 sunos4*)
10003 if test "x$host_vendor" = xsequent; then
10004 # Use $CC to link under sequent, because it throws in some extra .o
10005 # files that make .init and .fini sections work.
10006 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 else
10008 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10009 fi
10010 hardcode_libdir_flag_spec='-L$libdir'
10011 hardcode_direct=yes
10012 hardcode_minus_L=yes
10013 hardcode_shlibpath_var=no
10014 ;;
10015
10016 sysv4)
10017 case $host_vendor in
10018 sni)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct=yes # is this really true???
10021 ;;
10022 siemens)
10023 ## LD is ld it makes a PLAMLIB
10024 ## CC just makes a GrossModule.
10025 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10026 reload_cmds='$CC -r -o $output$reload_objs'
10027 hardcode_direct=no
10028 ;;
10029 motorola)
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10032 ;;
10033 esac
10034 runpath_var='LD_RUN_PATH'
10035 hardcode_shlibpath_var=no
10036 ;;
10037
10038 sysv4.3*)
10039 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_shlibpath_var=no
10041 export_dynamic_flag_spec='-Bexport'
10042 ;;
10043
10044 sysv4*MP*)
10045 if test -d /usr/nec; then
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 runpath_var=LD_RUN_PATH
10049 hardcode_runpath_var=yes
10050 ld_shlibs=yes
10051 fi
10052 ;;
10053
10054 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10055 no_undefined_flag='${wl}-z,text'
10056 archive_cmds_need_lc=no
10057 hardcode_shlibpath_var=no
10058 runpath_var='LD_RUN_PATH'
10059
10060 if test "$GCC" = yes; then
10061 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 else
10064 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 fi
10067 ;;
10068
10069 sysv5* | sco3.2v5* | sco5v6*)
10070 # Note: We can NOT use -z defs as we might desire, because we do not
10071 # link with -lc, and that would cause any symbols used from libc to
10072 # always be unresolved, which means just about no library would
10073 # ever link correctly. If we're not using GNU ld we use -z text
10074 # though, which does catch some bad symbols but isn't as heavy-handed
10075 # as -z defs.
10076 no_undefined_flag='${wl}-z,text'
10077 allow_undefined_flag='${wl}-z,nodefs'
10078 archive_cmds_need_lc=no
10079 hardcode_shlibpath_var=no
10080 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10081 hardcode_libdir_separator=':'
10082 link_all_deplibs=yes
10083 export_dynamic_flag_spec='${wl}-Bexport'
10084 runpath_var='LD_RUN_PATH'
10085
10086 if test "$GCC" = yes; then
10087 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 else
10090 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 fi
10093 ;;
10094
10095 uts4*)
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_libdir_flag_spec='-L$libdir'
10098 hardcode_shlibpath_var=no
10099 ;;
10100
10101 *)
10102 ld_shlibs=no
10103 ;;
10104 esac
10105
10106 if test x$host_vendor = xsni; then
10107 case $host in
10108 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10109 export_dynamic_flag_spec='${wl}-Blargedynsym'
10110 ;;
10111 esac
10112 fi
10113 fi
10114
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10116 $as_echo "$ld_shlibs" >&6; }
10117 test "$ld_shlibs" = no && can_build_shared=no
10118
10119 with_gnu_ld=$with_gnu_ld
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135 #
10136 # Do we need to explicitly link libc?
10137 #
10138 case "x$archive_cmds_need_lc" in
10139 x|xyes)
10140 # Assume -lc should be added
10141 archive_cmds_need_lc=yes
10142
10143 if test "$enable_shared" = yes && test "$GCC" = yes; then
10144 case $archive_cmds in
10145 *'~'*)
10146 # FIXME: we may have to deal with multi-command sequences.
10147 ;;
10148 '$CC '*)
10149 # Test whether the compiler implicitly links with -lc since on some
10150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10151 # to ld, don't add -lc before -lgcc.
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10154 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 $RM conftest*
10158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10159
10160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10161 (eval $ac_compile) 2>&5
10162 ac_status=$?
10163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10164 test $ac_status = 0; } 2>conftest.err; then
10165 soname=conftest
10166 lib=conftest
10167 libobjs=conftest.$ac_objext
10168 deplibs=
10169 wl=$lt_prog_compiler_wl
10170 pic_flag=$lt_prog_compiler_pic
10171 compiler_flags=-v
10172 linker_flags=-v
10173 verstring=
10174 output_objdir=.
10175 libname=conftest
10176 lt_save_allow_undefined_flag=$allow_undefined_flag
10177 allow_undefined_flag=
10178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10179 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10180 ac_status=$?
10181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10182 test $ac_status = 0; }
10183 then
10184 lt_cv_archive_cmds_need_lc=no
10185 else
10186 lt_cv_archive_cmds_need_lc=yes
10187 fi
10188 allow_undefined_flag=$lt_save_allow_undefined_flag
10189 else
10190 cat conftest.err 1>&5
10191 fi
10192 $RM conftest*
10193
10194 fi
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10196 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10197 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198 ;;
10199 esac
10200 fi
10201 ;;
10202 esac
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10361 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10362
10363 if test "$GCC" = yes; then
10364 case $host_os in
10365 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10366 *) lt_awk_arg="/^libraries:/" ;;
10367 esac
10368 case $host_os in
10369 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10370 *) lt_sed_strip_eq="s,=/,/,g" ;;
10371 esac
10372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10373 case $lt_search_path_spec in
10374 *\;*)
10375 # if the path contains ";" then we assume it to be the separator
10376 # otherwise default to the standard path separator (i.e. ":") - it is
10377 # assumed that no part of a normal pathname contains ";" but that should
10378 # okay in the real world where ";" in dirpaths is itself problematic.
10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10380 ;;
10381 *)
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10383 ;;
10384 esac
10385 # Ok, now we have the path, separated by spaces, we can step through it
10386 # and add multilib dir if necessary.
10387 lt_tmp_lt_search_path_spec=
10388 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10389 for lt_sys_path in $lt_search_path_spec; do
10390 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10392 else
10393 test -d "$lt_sys_path" && \
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10395 fi
10396 done
10397 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10398 BEGIN {RS=" "; FS="/|\n";} {
10399 lt_foo="";
10400 lt_count=0;
10401 for (lt_i = NF; lt_i > 0; lt_i--) {
10402 if ($lt_i != "" && $lt_i != ".") {
10403 if ($lt_i == "..") {
10404 lt_count++;
10405 } else {
10406 if (lt_count == 0) {
10407 lt_foo="/" $lt_i lt_foo;
10408 } else {
10409 lt_count--;
10410 }
10411 }
10412 }
10413 }
10414 if (lt_foo != "") { lt_freq[lt_foo]++; }
10415 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10416 }'`
10417 # AWK program above erroneously prepends '/' to C:/dos/paths
10418 # for these hosts.
10419 case $host_os in
10420 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10421 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10422 esac
10423 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10424 else
10425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10426 fi
10427 library_names_spec=
10428 libname_spec='lib$name'
10429 soname_spec=
10430 shrext_cmds=".so"
10431 postinstall_cmds=
10432 postuninstall_cmds=
10433 finish_cmds=
10434 finish_eval=
10435 shlibpath_var=
10436 shlibpath_overrides_runpath=unknown
10437 version_type=none
10438 dynamic_linker="$host_os ld.so"
10439 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10440 need_lib_prefix=unknown
10441 hardcode_into_libs=no
10442
10443 # when you set need_version to no, make sure it does not cause -set_version
10444 # flags to be left without arguments
10445 need_version=unknown
10446
10447 case $host_os in
10448 aix3*)
10449 version_type=linux
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10451 shlibpath_var=LIBPATH
10452
10453 # AIX 3 has no versioning support, so we append a major version to the name.
10454 soname_spec='${libname}${release}${shared_ext}$major'
10455 ;;
10456
10457 aix[4-9]*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 hardcode_into_libs=yes
10462 if test "$host_cpu" = ia64; then
10463 # AIX 5 supports IA64
10464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10465 shlibpath_var=LD_LIBRARY_PATH
10466 else
10467 # With GCC up to 2.95.x, collect2 would create an import file
10468 # for dependence libraries. The import file would start with
10469 # the line `#! .'. This would cause the generated library to
10470 # depend on `.', always an invalid library. This was fixed in
10471 # development snapshots of GCC prior to 3.0.
10472 case $host_os in
10473 aix4 | aix4.[01] | aix4.[01].*)
10474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10475 echo ' yes '
10476 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10477 :
10478 else
10479 can_build_shared=no
10480 fi
10481 ;;
10482 esac
10483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10484 # soname into executable. Probably we can add versioning support to
10485 # collect2, so additional links can be useful in future.
10486 if test "$aix_use_runtimelinking" = yes; then
10487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10488 # instead of lib<name>.a to let people know that these are not
10489 # typical AIX shared libraries.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 else
10492 # We preserve .a as extension for shared libraries through AIX4.2
10493 # and later when we are not doing run time linking.
10494 library_names_spec='${libname}${release}.a $libname.a'
10495 soname_spec='${libname}${release}${shared_ext}$major'
10496 fi
10497 shlibpath_var=LIBPATH
10498 fi
10499 ;;
10500
10501 amigaos*)
10502 case $host_cpu in
10503 powerpc)
10504 # Since July 2007 AmigaOS4 officially supports .so libraries.
10505 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 ;;
10508 m68k)
10509 library_names_spec='$libname.ixlibrary $libname.a'
10510 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10511 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'
10512 ;;
10513 esac
10514 ;;
10515
10516 beos*)
10517 library_names_spec='${libname}${shared_ext}'
10518 dynamic_linker="$host_os ld.so"
10519 shlibpath_var=LIBRARY_PATH
10520 ;;
10521
10522 bsdi[45]*)
10523 version_type=linux
10524 need_version=no
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec='${libname}${release}${shared_ext}$major'
10527 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10530 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10531 # the default ld.so.conf also contains /usr/contrib/lib and
10532 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10533 # libtool to hard-code these into programs
10534 ;;
10535
10536 cygwin* | mingw* | pw32* | cegcc*)
10537 version_type=windows
10538 shrext_cmds=".dll"
10539 need_version=no
10540 need_lib_prefix=no
10541
10542 case $GCC,$host_os in
10543 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10544 library_names_spec='$libname.dll.a'
10545 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10546 postinstall_cmds='base_file=`basename \${file}`~
10547 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10548 dldir=$destdir/`dirname \$dlpath`~
10549 test -d \$dldir || mkdir -p \$dldir~
10550 $install_prog $dir/$dlname \$dldir/$dlname~
10551 chmod a+x \$dldir/$dlname~
10552 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10553 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10554 fi'
10555 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10556 dlpath=$dir/\$dldll~
10557 $RM \$dlpath'
10558 shlibpath_overrides_runpath=yes
10559
10560 case $host_os in
10561 cygwin*)
10562 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10563 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10564
10565 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10566 ;;
10567 mingw* | cegcc*)
10568 # MinGW DLLs use traditional 'lib' prefix
10569 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10570 ;;
10571 pw32*)
10572 # pw32 DLLs use 'pw' prefix rather than 'lib'
10573 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 ;;
10575 esac
10576 ;;
10577
10578 *)
10579 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10580 ;;
10581 esac
10582 dynamic_linker='Win32 ld.exe'
10583 # FIXME: first we should search . and the directory the executable is in
10584 shlibpath_var=PATH
10585 ;;
10586
10587 darwin* | rhapsody*)
10588 dynamic_linker="$host_os dyld"
10589 version_type=darwin
10590 need_lib_prefix=no
10591 need_version=no
10592 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10593 soname_spec='${libname}${release}${major}$shared_ext'
10594 shlibpath_overrides_runpath=yes
10595 shlibpath_var=DYLD_LIBRARY_PATH
10596 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10597
10598 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10599 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10600 ;;
10601
10602 dgux*)
10603 version_type=linux
10604 need_lib_prefix=no
10605 need_version=no
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 ;;
10610
10611 freebsd* | dragonfly*)
10612 # DragonFly does not have aout. When/if they implement a new
10613 # versioning mechanism, adjust this.
10614 if test -x /usr/bin/objformat; then
10615 objformat=`/usr/bin/objformat`
10616 else
10617 case $host_os in
10618 freebsd[123]*) objformat=aout ;;
10619 *) objformat=elf ;;
10620 esac
10621 fi
10622 version_type=freebsd-$objformat
10623 case $version_type in
10624 freebsd-elf*)
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10626 need_version=no
10627 need_lib_prefix=no
10628 ;;
10629 freebsd-*)
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10631 need_version=yes
10632 ;;
10633 esac
10634 shlibpath_var=LD_LIBRARY_PATH
10635 case $host_os in
10636 freebsd2*)
10637 shlibpath_overrides_runpath=yes
10638 ;;
10639 freebsd3.[01]* | freebsdelf3.[01]*)
10640 shlibpath_overrides_runpath=yes
10641 hardcode_into_libs=yes
10642 ;;
10643 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10644 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10645 shlibpath_overrides_runpath=no
10646 hardcode_into_libs=yes
10647 ;;
10648 *) # from 4.6 on, and DragonFly
10649 shlibpath_overrides_runpath=yes
10650 hardcode_into_libs=yes
10651 ;;
10652 esac
10653 ;;
10654
10655 gnu*)
10656 version_type=linux
10657 need_lib_prefix=no
10658 need_version=no
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 shlibpath_var=LD_LIBRARY_PATH
10662 hardcode_into_libs=yes
10663 ;;
10664
10665 haiku*)
10666 version_type=linux
10667 need_lib_prefix=no
10668 need_version=no
10669 dynamic_linker="$host_os runtime_loader"
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes
10674 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10675 hardcode_into_libs=yes
10676 ;;
10677
10678 hpux9* | hpux10* | hpux11*)
10679 # Give a soname corresponding to the major version so that dld.sl refuses to
10680 # link against other versions.
10681 version_type=sunos
10682 need_lib_prefix=no
10683 need_version=no
10684 case $host_cpu in
10685 ia64*)
10686 shrext_cmds='.so'
10687 hardcode_into_libs=yes
10688 dynamic_linker="$host_os dld.so"
10689 shlibpath_var=LD_LIBRARY_PATH
10690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 if test "X$HPUX_IA64_MODE" = X32; then
10694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10695 else
10696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10697 fi
10698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10699 ;;
10700 hppa*64*)
10701 shrext_cmds='.sl'
10702 hardcode_into_libs=yes
10703 dynamic_linker="$host_os dld.sl"
10704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10710 ;;
10711 *)
10712 shrext_cmds='.sl'
10713 dynamic_linker="$host_os dld.sl"
10714 shlibpath_var=SHLIB_PATH
10715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 ;;
10719 esac
10720 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10721 postinstall_cmds='chmod 555 $lib'
10722 # or fails outright, so override atomically:
10723 install_override_mode=555
10724 ;;
10725
10726 interix[3-9]*)
10727 version_type=linux
10728 need_lib_prefix=no
10729 need_version=no
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath=no
10735 hardcode_into_libs=yes
10736 ;;
10737
10738 irix5* | irix6* | nonstopux*)
10739 case $host_os in
10740 nonstopux*) version_type=nonstopux ;;
10741 *)
10742 if test "$lt_cv_prog_gnu_ld" = yes; then
10743 version_type=linux
10744 else
10745 version_type=irix
10746 fi ;;
10747 esac
10748 need_lib_prefix=no
10749 need_version=no
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10752 case $host_os in
10753 irix5* | nonstopux*)
10754 libsuff= shlibsuff=
10755 ;;
10756 *)
10757 case $LD in # libtool.m4 will add one of these switches to LD
10758 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10759 libsuff= shlibsuff= libmagic=32-bit;;
10760 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10761 libsuff=32 shlibsuff=N32 libmagic=N32;;
10762 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10763 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10764 *) libsuff= shlibsuff= libmagic=never-match;;
10765 esac
10766 ;;
10767 esac
10768 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10769 shlibpath_overrides_runpath=no
10770 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10771 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10772 hardcode_into_libs=yes
10773 ;;
10774
10775 # No shared lib support for Linux oldld, aout, or coff.
10776 linux*oldld* | linux*aout* | linux*coff*)
10777 dynamic_linker=no
10778 ;;
10779
10780 # This must be Linux ELF.
10781 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10782 version_type=linux
10783 need_lib_prefix=no
10784 need_version=no
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10788 shlibpath_var=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath=no
10790
10791 # Some binutils ld are patched to set DT_RUNPATH
10792 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 lt_cv_shlibpath_overrides_runpath=no
10796 save_LDFLAGS=$LDFLAGS
10797 save_libdir=$libdir
10798 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10799 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10800 if test x$gcc_no_link = xyes; then
10801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10802 fi
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10805
10806 int
10807 main ()
10808 {
10809
10810 ;
10811 return 0;
10812 }
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10816 lt_cv_shlibpath_overrides_runpath=yes
10817 fi
10818 fi
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LDFLAGS=$save_LDFLAGS
10822 libdir=$save_libdir
10823
10824 fi
10825
10826 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10827
10828 # This implies no fast_install, which is unacceptable.
10829 # Some rework will be needed to allow for fast_install
10830 # before this can be enabled.
10831 hardcode_into_libs=yes
10832
10833 # Append ld.so.conf contents to the search path
10834 if test -f /etc/ld.so.conf; then
10835 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' ' '`
10836 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10837 fi
10838
10839 # We used to test for /lib/ld.so.1 and disable shared libraries on
10840 # powerpc, because MkLinux only supported shared libraries with the
10841 # GNU dynamic linker. Since this was broken with cross compilers,
10842 # most powerpc-linux boxes support dynamic linking these days and
10843 # people can always --disable-shared, the test was removed, and we
10844 # assume the GNU/Linux dynamic linker is in use.
10845 dynamic_linker='GNU/Linux ld.so'
10846 ;;
10847
10848 netbsd*)
10849 version_type=sunos
10850 need_lib_prefix=no
10851 need_version=no
10852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855 dynamic_linker='NetBSD (a.out) ld.so'
10856 else
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 dynamic_linker='NetBSD ld.elf_so'
10860 fi
10861 shlibpath_var=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath=yes
10863 hardcode_into_libs=yes
10864 ;;
10865
10866 newsos6)
10867 version_type=linux
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=yes
10871 ;;
10872
10873 *nto* | *qnx*)
10874 version_type=qnx
10875 need_lib_prefix=no
10876 need_version=no
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10882 dynamic_linker='ldqnx.so'
10883 ;;
10884
10885 openbsd*)
10886 version_type=sunos
10887 sys_lib_dlsearch_path_spec="/usr/lib"
10888 need_lib_prefix=no
10889 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10890 case $host_os in
10891 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10892 *) need_version=no ;;
10893 esac
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10898 case $host_os in
10899 openbsd2.[89] | openbsd2.[89].*)
10900 shlibpath_overrides_runpath=no
10901 ;;
10902 *)
10903 shlibpath_overrides_runpath=yes
10904 ;;
10905 esac
10906 else
10907 shlibpath_overrides_runpath=yes
10908 fi
10909 ;;
10910
10911 os2*)
10912 libname_spec='$name'
10913 shrext_cmds=".dll"
10914 need_lib_prefix=no
10915 library_names_spec='$libname${shared_ext} $libname.a'
10916 dynamic_linker='OS/2 ld.exe'
10917 shlibpath_var=LIBPATH
10918 ;;
10919
10920 osf3* | osf4* | osf5*)
10921 version_type=osf
10922 need_lib_prefix=no
10923 need_version=no
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10928 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10929 ;;
10930
10931 rdos*)
10932 dynamic_linker=no
10933 ;;
10934
10935 solaris*)
10936 version_type=linux
10937 need_lib_prefix=no
10938 need_version=no
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath=yes
10943 hardcode_into_libs=yes
10944 # ldd complains unless libraries are executable
10945 postinstall_cmds='chmod +x $lib'
10946 ;;
10947
10948 sunos4*)
10949 version_type=sunos
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10951 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes
10954 if test "$with_gnu_ld" = yes; then
10955 need_lib_prefix=no
10956 fi
10957 need_version=yes
10958 ;;
10959
10960 sysv4 | sysv4.3*)
10961 version_type=linux
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 case $host_vendor in
10966 sni)
10967 shlibpath_overrides_runpath=no
10968 need_lib_prefix=no
10969 runpath_var=LD_RUN_PATH
10970 ;;
10971 siemens)
10972 need_lib_prefix=no
10973 ;;
10974 motorola)
10975 need_lib_prefix=no
10976 need_version=no
10977 shlibpath_overrides_runpath=no
10978 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10979 ;;
10980 esac
10981 ;;
10982
10983 sysv4*MP*)
10984 if test -d /usr/nec ;then
10985 version_type=linux
10986 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10987 soname_spec='$libname${shared_ext}.$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 fi
10990 ;;
10991
10992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10993 version_type=freebsd-elf
10994 need_lib_prefix=no
10995 need_version=no
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 if test "$with_gnu_ld" = yes; then
11002 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11003 else
11004 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11005 case $host_os in
11006 sco3.2v5*)
11007 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11008 ;;
11009 esac
11010 fi
11011 sys_lib_dlsearch_path_spec='/usr/lib'
11012 ;;
11013
11014 tpf*)
11015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11016 version_type=linux
11017 need_lib_prefix=no
11018 need_version=no
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=no
11022 hardcode_into_libs=yes
11023 ;;
11024
11025 uts4*)
11026 version_type=linux
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 ;;
11031
11032 *)
11033 dynamic_linker=no
11034 ;;
11035 esac
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11037 $as_echo "$dynamic_linker" >&6; }
11038 test "$dynamic_linker" = no && can_build_shared=no
11039
11040 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11041 if test "$GCC" = yes; then
11042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11043 fi
11044
11045 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11046 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11047 fi
11048 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11050 fi
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11144 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11145 hardcode_action=
11146 if test -n "$hardcode_libdir_flag_spec" ||
11147 test -n "$runpath_var" ||
11148 test "X$hardcode_automatic" = "Xyes" ; then
11149
11150 # We can hardcode non-existent directories.
11151 if test "$hardcode_direct" != no &&
11152 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11153 # have to relink, otherwise we might link with an installed library
11154 # when we should be linking with a yet-to-be-installed one
11155 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11156 test "$hardcode_minus_L" != no; then
11157 # Linking always hardcodes the temporary library directory.
11158 hardcode_action=relink
11159 else
11160 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11161 hardcode_action=immediate
11162 fi
11163 else
11164 # We cannot hardcode anything, or else we can only hardcode existing
11165 # directories.
11166 hardcode_action=unsupported
11167 fi
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11169 $as_echo "$hardcode_action" >&6; }
11170
11171 if test "$hardcode_action" = relink ||
11172 test "$inherit_rpath" = yes; then
11173 # Fast installation is not supported
11174 enable_fast_install=no
11175 elif test "$shlibpath_overrides_runpath" = yes ||
11176 test "$enable_shared" = no; then
11177 # Fast installation is not necessary
11178 enable_fast_install=needless
11179 fi
11180
11181
11182
11183
11184
11185
11186 if test "x$enable_dlopen" != xyes; then
11187 enable_dlopen=unknown
11188 enable_dlopen_self=unknown
11189 enable_dlopen_self_static=unknown
11190 else
11191 lt_cv_dlopen=no
11192 lt_cv_dlopen_libs=
11193
11194 case $host_os in
11195 beos*)
11196 lt_cv_dlopen="load_add_on"
11197 lt_cv_dlopen_libs=
11198 lt_cv_dlopen_self=yes
11199 ;;
11200
11201 mingw* | pw32* | cegcc*)
11202 lt_cv_dlopen="LoadLibrary"
11203 lt_cv_dlopen_libs=
11204 ;;
11205
11206 cygwin*)
11207 lt_cv_dlopen="dlopen"
11208 lt_cv_dlopen_libs=
11209 ;;
11210
11211 darwin*)
11212 # if libdl is installed we need to link against it
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11214 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11215 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-ldl $LIBS"
11220 if test x$gcc_no_link = xyes; then
11221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11222 fi
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char dlopen ();
11233 int
11234 main ()
11235 {
11236 return dlopen ();
11237 ;
11238 return 0;
11239 }
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_dl_dlopen=yes
11243 else
11244 ac_cv_lib_dl_dlopen=no
11245 fi
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11252 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11254 else
11255
11256 lt_cv_dlopen="dyld"
11257 lt_cv_dlopen_libs=
11258 lt_cv_dlopen_self=yes
11259
11260 fi
11261
11262 ;;
11263
11264 *)
11265 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11266 if test "x$ac_cv_func_shl_load" = x""yes; then :
11267 lt_cv_dlopen="shl_load"
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11270 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11271 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-ldld $LIBS"
11276 if test x$gcc_no_link = xyes; then
11277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11278 fi
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11281
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char shl_load ();
11289 int
11290 main ()
11291 {
11292 return shl_load ();
11293 ;
11294 return 0;
11295 }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_dld_shl_load=yes
11299 else
11300 ac_cv_lib_dld_shl_load=no
11301 fi
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11305 fi
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11307 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11308 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11309 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11310 else
11311 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11312 if test "x$ac_cv_func_dlopen" = x""yes; then :
11313 lt_cv_dlopen="dlopen"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11316 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11317 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldl $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 fi
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char dlopen ();
11335 int
11336 main ()
11337 {
11338 return dlopen ();
11339 ;
11340 return 0;
11341 }
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dl_dlopen=yes
11345 else
11346 ac_cv_lib_dl_dlopen=no
11347 fi
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11351 fi
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11353 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11354 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11355 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11358 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11359 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lsvld $LIBS"
11364 if test x$gcc_no_link = xyes; then
11365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 fi
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char dlopen ();
11377 int
11378 main ()
11379 {
11380 return dlopen ();
11381 ;
11382 return 0;
11383 }
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_svld_dlopen=yes
11387 else
11388 ac_cv_lib_svld_dlopen=no
11389 fi
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11393 fi
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11395 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11396 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11397 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11398 else
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11400 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11401 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_lib_save_LIBS=$LIBS
11405 LIBS="-ldld $LIBS"
11406 if test x$gcc_no_link = xyes; then
11407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 fi
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char dld_link ();
11419 int
11420 main ()
11421 {
11422 return dld_link ();
11423 ;
11424 return 0;
11425 }
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_dld_dld_link=yes
11429 else
11430 ac_cv_lib_dld_dld_link=no
11431 fi
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11437 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11438 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11439 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11440 fi
11441
11442
11443 fi
11444
11445
11446 fi
11447
11448
11449 fi
11450
11451
11452 fi
11453
11454
11455 fi
11456
11457 ;;
11458 esac
11459
11460 if test "x$lt_cv_dlopen" != xno; then
11461 enable_dlopen=yes
11462 else
11463 enable_dlopen=no
11464 fi
11465
11466 case $lt_cv_dlopen in
11467 dlopen)
11468 save_CPPFLAGS="$CPPFLAGS"
11469 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11470
11471 save_LDFLAGS="$LDFLAGS"
11472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11473
11474 save_LIBS="$LIBS"
11475 LIBS="$lt_cv_dlopen_libs $LIBS"
11476
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11478 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11479 if test "${lt_cv_dlopen_self+set}" = set; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 if test "$cross_compiling" = yes; then :
11483 lt_cv_dlopen_self=cross
11484 else
11485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11486 lt_status=$lt_dlunknown
11487 cat > conftest.$ac_ext <<_LT_EOF
11488 #line 11488 "configure"
11489 #include "confdefs.h"
11490
11491 #if HAVE_DLFCN_H
11492 #include <dlfcn.h>
11493 #endif
11494
11495 #include <stdio.h>
11496
11497 #ifdef RTLD_GLOBAL
11498 # define LT_DLGLOBAL RTLD_GLOBAL
11499 #else
11500 # ifdef DL_GLOBAL
11501 # define LT_DLGLOBAL DL_GLOBAL
11502 # else
11503 # define LT_DLGLOBAL 0
11504 # endif
11505 #endif
11506
11507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11508 find out it does not work in some platform. */
11509 #ifndef LT_DLLAZY_OR_NOW
11510 # ifdef RTLD_LAZY
11511 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11512 # else
11513 # ifdef DL_LAZY
11514 # define LT_DLLAZY_OR_NOW DL_LAZY
11515 # else
11516 # ifdef RTLD_NOW
11517 # define LT_DLLAZY_OR_NOW RTLD_NOW
11518 # else
11519 # ifdef DL_NOW
11520 # define LT_DLLAZY_OR_NOW DL_NOW
11521 # else
11522 # define LT_DLLAZY_OR_NOW 0
11523 # endif
11524 # endif
11525 # endif
11526 # endif
11527 #endif
11528
11529 /* When -fvisbility=hidden is used, assume the code has been annotated
11530 correspondingly for the symbols needed. */
11531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11532 void fnord () __attribute__((visibility("default")));
11533 #endif
11534
11535 void fnord () { int i=42; }
11536 int main ()
11537 {
11538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11539 int status = $lt_dlunknown;
11540
11541 if (self)
11542 {
11543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11544 else
11545 {
11546 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11547 else puts (dlerror ());
11548 }
11549 /* dlclose (self); */
11550 }
11551 else
11552 puts (dlerror ());
11553
11554 return status;
11555 }
11556 _LT_EOF
11557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11558 (eval $ac_link) 2>&5
11559 ac_status=$?
11560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11562 (./conftest; exit; ) >&5 2>/dev/null
11563 lt_status=$?
11564 case x$lt_status in
11565 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11566 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11567 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11568 esac
11569 else :
11570 # compilation failed
11571 lt_cv_dlopen_self=no
11572 fi
11573 fi
11574 rm -fr conftest*
11575
11576
11577 fi
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11579 $as_echo "$lt_cv_dlopen_self" >&6; }
11580
11581 if test "x$lt_cv_dlopen_self" = xyes; then
11582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11584 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11585 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 if test "$cross_compiling" = yes; then :
11589 lt_cv_dlopen_self_static=cross
11590 else
11591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11592 lt_status=$lt_dlunknown
11593 cat > conftest.$ac_ext <<_LT_EOF
11594 #line 11594 "configure"
11595 #include "confdefs.h"
11596
11597 #if HAVE_DLFCN_H
11598 #include <dlfcn.h>
11599 #endif
11600
11601 #include <stdio.h>
11602
11603 #ifdef RTLD_GLOBAL
11604 # define LT_DLGLOBAL RTLD_GLOBAL
11605 #else
11606 # ifdef DL_GLOBAL
11607 # define LT_DLGLOBAL DL_GLOBAL
11608 # else
11609 # define LT_DLGLOBAL 0
11610 # endif
11611 #endif
11612
11613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11614 find out it does not work in some platform. */
11615 #ifndef LT_DLLAZY_OR_NOW
11616 # ifdef RTLD_LAZY
11617 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11618 # else
11619 # ifdef DL_LAZY
11620 # define LT_DLLAZY_OR_NOW DL_LAZY
11621 # else
11622 # ifdef RTLD_NOW
11623 # define LT_DLLAZY_OR_NOW RTLD_NOW
11624 # else
11625 # ifdef DL_NOW
11626 # define LT_DLLAZY_OR_NOW DL_NOW
11627 # else
11628 # define LT_DLLAZY_OR_NOW 0
11629 # endif
11630 # endif
11631 # endif
11632 # endif
11633 #endif
11634
11635 /* When -fvisbility=hidden is used, assume the code has been annotated
11636 correspondingly for the symbols needed. */
11637 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11638 void fnord () __attribute__((visibility("default")));
11639 #endif
11640
11641 void fnord () { int i=42; }
11642 int main ()
11643 {
11644 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11645 int status = $lt_dlunknown;
11646
11647 if (self)
11648 {
11649 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11650 else
11651 {
11652 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11653 else puts (dlerror ());
11654 }
11655 /* dlclose (self); */
11656 }
11657 else
11658 puts (dlerror ());
11659
11660 return status;
11661 }
11662 _LT_EOF
11663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11664 (eval $ac_link) 2>&5
11665 ac_status=$?
11666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11667 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11668 (./conftest; exit; ) >&5 2>/dev/null
11669 lt_status=$?
11670 case x$lt_status in
11671 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11672 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11673 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11674 esac
11675 else :
11676 # compilation failed
11677 lt_cv_dlopen_self_static=no
11678 fi
11679 fi
11680 rm -fr conftest*
11681
11682
11683 fi
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11685 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11686 fi
11687
11688 CPPFLAGS="$save_CPPFLAGS"
11689 LDFLAGS="$save_LDFLAGS"
11690 LIBS="$save_LIBS"
11691 ;;
11692 esac
11693
11694 case $lt_cv_dlopen_self in
11695 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11696 *) enable_dlopen_self=unknown ;;
11697 esac
11698
11699 case $lt_cv_dlopen_self_static in
11700 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11701 *) enable_dlopen_self_static=unknown ;;
11702 esac
11703 fi
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721 striplib=
11722 old_striplib=
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11724 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11725 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11726 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11727 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11730 else
11731 # FIXME - insert some real tests, host_os isn't really good enough
11732 case $host_os in
11733 darwin*)
11734 if test -n "$STRIP" ; then
11735 striplib="$STRIP -x"
11736 old_striplib="$STRIP -S"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11738 $as_echo "yes" >&6; }
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11742 fi
11743 ;;
11744 *)
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11747 ;;
11748 esac
11749 fi
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762 # Report which library types will actually be built
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11764 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11766 $as_echo "$can_build_shared" >&6; }
11767
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11769 $as_echo_n "checking whether to build shared libraries... " >&6; }
11770 test "$can_build_shared" = "no" && enable_shared=no
11771
11772 # On AIX, shared libraries and static libraries use the same namespace, and
11773 # are all built from PIC.
11774 case $host_os in
11775 aix3*)
11776 test "$enable_shared" = yes && enable_static=no
11777 if test -n "$RANLIB"; then
11778 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11779 postinstall_cmds='$RANLIB $lib'
11780 fi
11781 ;;
11782
11783 aix[4-9]*)
11784 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11785 test "$enable_shared" = yes && enable_static=no
11786 fi
11787 ;;
11788 esac
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11790 $as_echo "$enable_shared" >&6; }
11791
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11793 $as_echo_n "checking whether to build static libraries... " >&6; }
11794 # Make sure either enable_shared or enable_static is yes.
11795 test "$enable_shared" = yes || enable_static=yes
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11797 $as_echo "$enable_static" >&6; }
11798
11799
11800
11801
11802 fi
11803 ac_ext=c
11804 ac_cpp='$CPP $CPPFLAGS'
11805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11808
11809 CC="$lt_save_CC"
11810
11811 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11812 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11813 (test "X$CXX" != "Xg++"))) ; then
11814 ac_ext=cpp
11815 ac_cpp='$CXXCPP $CPPFLAGS'
11816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11820 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11821 if test -z "$CXXCPP"; then
11822 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11823 $as_echo_n "(cached) " >&6
11824 else
11825 # Double quotes because CXXCPP needs to be expanded
11826 for CXXCPP in "$CXX -E" "/lib/cpp"
11827 do
11828 ac_preproc_ok=false
11829 for ac_cxx_preproc_warn_flag in '' yes
11830 do
11831 # Use a header file that comes with gcc, so configuring glibc
11832 # with a fresh cross-compiler works.
11833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11834 # <limits.h> exists even on freestanding compilers.
11835 # On the NeXT, cc -E runs the code through the compiler's parser,
11836 # not just through cpp. "Syntax error" is here to catch this case.
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 #ifdef __STDC__
11840 # include <limits.h>
11841 #else
11842 # include <assert.h>
11843 #endif
11844 Syntax error
11845 _ACEOF
11846 if ac_fn_cxx_try_cpp "$LINENO"; then :
11847
11848 else
11849 # Broken: fails on valid input.
11850 continue
11851 fi
11852 rm -f conftest.err conftest.$ac_ext
11853
11854 # OK, works on sane cases. Now check whether nonexistent headers
11855 # can be detected and how.
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <ac_nonexistent.h>
11859 _ACEOF
11860 if ac_fn_cxx_try_cpp "$LINENO"; then :
11861 # Broken: success on invalid input.
11862 continue
11863 else
11864 # Passes both tests.
11865 ac_preproc_ok=:
11866 break
11867 fi
11868 rm -f conftest.err conftest.$ac_ext
11869
11870 done
11871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11872 rm -f conftest.err conftest.$ac_ext
11873 if $ac_preproc_ok; then :
11874 break
11875 fi
11876
11877 done
11878 ac_cv_prog_CXXCPP=$CXXCPP
11879
11880 fi
11881 CXXCPP=$ac_cv_prog_CXXCPP
11882 else
11883 ac_cv_prog_CXXCPP=$CXXCPP
11884 fi
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11886 $as_echo "$CXXCPP" >&6; }
11887 ac_preproc_ok=false
11888 for ac_cxx_preproc_warn_flag in '' yes
11889 do
11890 # Use a header file that comes with gcc, so configuring glibc
11891 # with a fresh cross-compiler works.
11892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11893 # <limits.h> exists even on freestanding compilers.
11894 # On the NeXT, cc -E runs the code through the compiler's parser,
11895 # not just through cpp. "Syntax error" is here to catch this case.
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11903 Syntax error
11904 _ACEOF
11905 if ac_fn_cxx_try_cpp "$LINENO"; then :
11906
11907 else
11908 # Broken: fails on valid input.
11909 continue
11910 fi
11911 rm -f conftest.err conftest.$ac_ext
11912
11913 # OK, works on sane cases. Now check whether nonexistent headers
11914 # can be detected and how.
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #include <ac_nonexistent.h>
11918 _ACEOF
11919 if ac_fn_cxx_try_cpp "$LINENO"; then :
11920 # Broken: success on invalid input.
11921 continue
11922 else
11923 # Passes both tests.
11924 ac_preproc_ok=:
11925 break
11926 fi
11927 rm -f conftest.err conftest.$ac_ext
11928
11929 done
11930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11931 rm -f conftest.err conftest.$ac_ext
11932 if $ac_preproc_ok; then :
11933
11934 else
11935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11937 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11938 See \`config.log' for more details." "$LINENO" 5; }
11939 fi
11940
11941 ac_ext=c
11942 ac_cpp='$CPP $CPPFLAGS'
11943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11946
11947 else
11948 _lt_caught_CXX_error=yes
11949 fi
11950
11951 ac_ext=cpp
11952 ac_cpp='$CXXCPP $CPPFLAGS'
11953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11956
11957 archive_cmds_need_lc_CXX=no
11958 allow_undefined_flag_CXX=
11959 always_export_symbols_CXX=no
11960 archive_expsym_cmds_CXX=
11961 compiler_needs_object_CXX=no
11962 export_dynamic_flag_spec_CXX=
11963 hardcode_direct_CXX=no
11964 hardcode_direct_absolute_CXX=no
11965 hardcode_libdir_flag_spec_CXX=
11966 hardcode_libdir_flag_spec_ld_CXX=
11967 hardcode_libdir_separator_CXX=
11968 hardcode_minus_L_CXX=no
11969 hardcode_shlibpath_var_CXX=unsupported
11970 hardcode_automatic_CXX=no
11971 inherit_rpath_CXX=no
11972 module_cmds_CXX=
11973 module_expsym_cmds_CXX=
11974 link_all_deplibs_CXX=unknown
11975 old_archive_cmds_CXX=$old_archive_cmds
11976 reload_flag_CXX=$reload_flag
11977 reload_cmds_CXX=$reload_cmds
11978 no_undefined_flag_CXX=
11979 whole_archive_flag_spec_CXX=
11980 enable_shared_with_static_runtimes_CXX=no
11981
11982 # Source file extension for C++ test sources.
11983 ac_ext=cpp
11984
11985 # Object file extension for compiled C++ test sources.
11986 objext=o
11987 objext_CXX=$objext
11988
11989 # No sense in running all these tests if we already determined that
11990 # the CXX compiler isn't working. Some variables (like enable_shared)
11991 # are currently assumed to apply to all compilers on this platform,
11992 # and will be corrupted by setting them based on a non-working compiler.
11993 if test "$_lt_caught_CXX_error" != yes; then
11994 # Code to be used in simple compile tests
11995 lt_simple_compile_test_code="int some_variable = 0;"
11996
11997 # Code to be used in simple link tests
11998 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11999
12000 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12001
12002
12003
12004
12005
12006
12007 # If no C compiler was specified, use CC.
12008 LTCC=${LTCC-"$CC"}
12009
12010 # If no C compiler flags were specified, use CFLAGS.
12011 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12012
12013 # Allow CC to be a program name with arguments.
12014 compiler=$CC
12015
12016
12017 # save warnings/boilerplate of simple test code
12018 ac_outfile=conftest.$ac_objext
12019 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12020 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12021 _lt_compiler_boilerplate=`cat conftest.err`
12022 $RM conftest*
12023
12024 ac_outfile=conftest.$ac_objext
12025 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12026 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12027 _lt_linker_boilerplate=`cat conftest.err`
12028 $RM -r conftest*
12029
12030
12031 # Allow CC to be a program name with arguments.
12032 lt_save_CC=$CC
12033 lt_save_LD=$LD
12034 lt_save_GCC=$GCC
12035 GCC=$GXX
12036 lt_save_with_gnu_ld=$with_gnu_ld
12037 lt_save_path_LD=$lt_cv_path_LD
12038 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12039 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12040 else
12041 $as_unset lt_cv_prog_gnu_ld
12042 fi
12043 if test -n "${lt_cv_path_LDCXX+set}"; then
12044 lt_cv_path_LD=$lt_cv_path_LDCXX
12045 else
12046 $as_unset lt_cv_path_LD
12047 fi
12048 test -z "${LDCXX+set}" || LD=$LDCXX
12049 CC=${CXX-"c++"}
12050 compiler=$CC
12051 compiler_CXX=$CC
12052 for cc_temp in $compiler""; do
12053 case $cc_temp in
12054 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12055 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12056 \-*) ;;
12057 *) break;;
12058 esac
12059 done
12060 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12061
12062
12063 if test -n "$compiler"; then
12064 # We don't want -fno-exception when compiling C++ code, so set the
12065 # no_builtin_flag separately
12066 if test "$GXX" = yes; then
12067 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12068 else
12069 lt_prog_compiler_no_builtin_flag_CXX=
12070 fi
12071
12072 if test "$GXX" = yes; then
12073 # Set up default GNU C++ configuration
12074
12075
12076
12077 # Check whether --with-gnu-ld was given.
12078 if test "${with_gnu_ld+set}" = set; then :
12079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12080 else
12081 with_gnu_ld=no
12082 fi
12083
12084 ac_prog=ld
12085 if test "$GCC" = yes; then
12086 # Check if gcc -print-prog-name=ld gives a path.
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12088 $as_echo_n "checking for ld used by $CC... " >&6; }
12089 case $host in
12090 *-*-mingw*)
12091 # gcc leaves a trailing carriage return which upsets mingw
12092 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12093 *)
12094 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12095 esac
12096 case $ac_prog in
12097 # Accept absolute paths.
12098 [\\/]* | ?:[\\/]*)
12099 re_direlt='/[^/][^/]*/\.\./'
12100 # Canonicalize the pathname of ld
12101 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12102 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12103 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12104 done
12105 test -z "$LD" && LD="$ac_prog"
12106 ;;
12107 "")
12108 # If it fails, then pretend we aren't using GCC.
12109 ac_prog=ld
12110 ;;
12111 *)
12112 # If it is relative, then search for the first ld in PATH.
12113 with_gnu_ld=unknown
12114 ;;
12115 esac
12116 elif test "$with_gnu_ld" = yes; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12118 $as_echo_n "checking for GNU ld... " >&6; }
12119 else
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12121 $as_echo_n "checking for non-GNU ld... " >&6; }
12122 fi
12123 if test "${lt_cv_path_LD+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 if test -z "$LD"; then
12127 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12128 for ac_dir in $PATH; do
12129 IFS="$lt_save_ifs"
12130 test -z "$ac_dir" && ac_dir=.
12131 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12132 lt_cv_path_LD="$ac_dir/$ac_prog"
12133 # Check to see if the program is GNU ld. I'd rather use --version,
12134 # but apparently some variants of GNU ld only accept -v.
12135 # Break only if it was the GNU/non-GNU ld that we prefer.
12136 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 test "$with_gnu_ld" != no && break
12139 ;;
12140 *)
12141 test "$with_gnu_ld" != yes && break
12142 ;;
12143 esac
12144 fi
12145 done
12146 IFS="$lt_save_ifs"
12147 else
12148 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12149 fi
12150 fi
12151
12152 LD="$lt_cv_path_LD"
12153 if test -n "$LD"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12155 $as_echo "$LD" >&6; }
12156 else
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12159 fi
12160 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12162 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12163 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12167 case `$LD -v 2>&1 </dev/null` in
12168 *GNU* | *'with BFD'*)
12169 lt_cv_prog_gnu_ld=yes
12170 ;;
12171 *)
12172 lt_cv_prog_gnu_ld=no
12173 ;;
12174 esac
12175 fi
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12177 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12178 with_gnu_ld=$lt_cv_prog_gnu_ld
12179
12180
12181
12182
12183
12184
12185
12186 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12187 # archiving commands below assume that GNU ld is being used.
12188 if test "$with_gnu_ld" = yes; then
12189 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12190 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'
12191
12192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12193 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12194
12195 # If archive_cmds runs LD, not CC, wlarc should be empty
12196 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12197 # investigate it a little bit more. (MM)
12198 wlarc='${wl}'
12199
12200 # ancient GNU ld didn't support --whole-archive et. al.
12201 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12202 $GREP 'no-whole-archive' > /dev/null; then
12203 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12204 else
12205 whole_archive_flag_spec_CXX=
12206 fi
12207 else
12208 with_gnu_ld=no
12209 wlarc=
12210
12211 # A generic and very simple default shared library creation
12212 # command for GNU C++ for the case where it uses the native
12213 # linker, instead of GNU ld. If possible, this setting should
12214 # overridden to take advantage of the native linker features on
12215 # the platform it is being used on.
12216 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12217 fi
12218
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12222 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12223
12224 else
12225 GXX=no
12226 with_gnu_ld=no
12227 wlarc=
12228 fi
12229
12230 # PORTME: fill in a description of your system's C++ link characteristics
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12232 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12233 ld_shlibs_CXX=yes
12234 case $host_os in
12235 aix3*)
12236 # FIXME: insert proper C++ library support
12237 ld_shlibs_CXX=no
12238 ;;
12239 aix[4-9]*)
12240 if test "$host_cpu" = ia64; then
12241 # On IA64, the linker does run time linking by default, so we don't
12242 # have to do anything special.
12243 aix_use_runtimelinking=no
12244 exp_sym_flag='-Bexport'
12245 no_entry_flag=""
12246 else
12247 aix_use_runtimelinking=no
12248
12249 # Test if we are trying to use run time linking or normal
12250 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12251 # need to do runtime linking.
12252 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12253 for ld_flag in $LDFLAGS; do
12254 case $ld_flag in
12255 *-brtl*)
12256 aix_use_runtimelinking=yes
12257 break
12258 ;;
12259 esac
12260 done
12261 ;;
12262 esac
12263
12264 exp_sym_flag='-bexport'
12265 no_entry_flag='-bnoentry'
12266 fi
12267
12268 # When large executables or shared objects are built, AIX ld can
12269 # have problems creating the table of contents. If linking a library
12270 # or program results in "error TOC overflow" add -mminimal-toc to
12271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12273
12274 archive_cmds_CXX=''
12275 hardcode_direct_CXX=yes
12276 hardcode_direct_absolute_CXX=yes
12277 hardcode_libdir_separator_CXX=':'
12278 link_all_deplibs_CXX=yes
12279 file_list_spec_CXX='${wl}-f,'
12280
12281 if test "$GXX" = yes; then
12282 case $host_os in aix4.[012]|aix4.[012].*)
12283 # We only want to do this on AIX 4.2 and lower, the check
12284 # below for broken collect2 doesn't work under 4.3+
12285 collect2name=`${CC} -print-prog-name=collect2`
12286 if test -f "$collect2name" &&
12287 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12288 then
12289 # We have reworked collect2
12290 :
12291 else
12292 # We have old collect2
12293 hardcode_direct_CXX=unsupported
12294 # It fails to find uninstalled libraries when the uninstalled
12295 # path is not listed in the libpath. Setting hardcode_minus_L
12296 # to unsupported forces relinking
12297 hardcode_minus_L_CXX=yes
12298 hardcode_libdir_flag_spec_CXX='-L$libdir'
12299 hardcode_libdir_separator_CXX=
12300 fi
12301 esac
12302 shared_flag='-shared'
12303 if test "$aix_use_runtimelinking" = yes; then
12304 shared_flag="$shared_flag "'${wl}-G'
12305 fi
12306 else
12307 # not using gcc
12308 if test "$host_cpu" = ia64; then
12309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12310 # chokes on -Wl,-G. The following line is correct:
12311 shared_flag='-G'
12312 else
12313 if test "$aix_use_runtimelinking" = yes; then
12314 shared_flag='${wl}-G'
12315 else
12316 shared_flag='${wl}-bM:SRE'
12317 fi
12318 fi
12319 fi
12320
12321 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12322 # It seems that -bexpall does not export symbols beginning with
12323 # underscore (_), so it is better to generate a list of symbols to
12324 # export.
12325 always_export_symbols_CXX=yes
12326 if test "$aix_use_runtimelinking" = yes; then
12327 # Warning - without using the other runtime loading flags (-brtl),
12328 # -berok will link without error, but may produce a broken library.
12329 allow_undefined_flag_CXX='-berok'
12330 # Determine the default libpath from the value encoded in an empty
12331 # executable.
12332 if test x$gcc_no_link = xyes; then
12333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12334 fi
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337
12338 int
12339 main ()
12340 {
12341
12342 ;
12343 return 0;
12344 }
12345 _ACEOF
12346 if ac_fn_cxx_try_link "$LINENO"; then :
12347
12348 lt_aix_libpath_sed='
12349 /Import File Strings/,/^$/ {
12350 /^0/ {
12351 s/^0 *\(.*\)$/\1/
12352 p
12353 }
12354 }'
12355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12356 # Check for a 64-bit object if we didn't find anything.
12357 if test -z "$aix_libpath"; then
12358 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 fi
12360 fi
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12364
12365 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12366
12367 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"
12368 else
12369 if test "$host_cpu" = ia64; then
12370 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12371 allow_undefined_flag_CXX="-z nodefs"
12372 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"
12373 else
12374 # Determine the default libpath from the value encoded in an
12375 # empty executable.
12376 if test x$gcc_no_link = xyes; then
12377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12378 fi
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12381
12382 int
12383 main ()
12384 {
12385
12386 ;
12387 return 0;
12388 }
12389 _ACEOF
12390 if ac_fn_cxx_try_link "$LINENO"; then :
12391
12392 lt_aix_libpath_sed='
12393 /Import File Strings/,/^$/ {
12394 /^0/ {
12395 s/^0 *\(.*\)$/\1/
12396 p
12397 }
12398 }'
12399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 # Check for a 64-bit object if we didn't find anything.
12401 if test -z "$aix_libpath"; then
12402 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 fi
12404 fi
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12408
12409 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12410 # Warning - without using the other run time loading flags,
12411 # -berok will link without error, but may produce a broken library.
12412 no_undefined_flag_CXX=' ${wl}-bernotok'
12413 allow_undefined_flag_CXX=' ${wl}-berok'
12414 if test "$with_gnu_ld" = yes; then
12415 # We only use this code for GNU lds that support --whole-archive.
12416 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12417 else
12418 # Exported symbols can be pulled into shared objects from archives
12419 whole_archive_flag_spec_CXX='$convenience'
12420 fi
12421 archive_cmds_need_lc_CXX=yes
12422 # This is similar to how AIX traditionally builds its shared
12423 # libraries.
12424 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'
12425 fi
12426 fi
12427 ;;
12428
12429 beos*)
12430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12431 allow_undefined_flag_CXX=unsupported
12432 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12433 # support --undefined. This deserves some investigation. FIXME
12434 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12435 else
12436 ld_shlibs_CXX=no
12437 fi
12438 ;;
12439
12440 chorus*)
12441 case $cc_basename in
12442 *)
12443 # FIXME: insert proper C++ library support
12444 ld_shlibs_CXX=no
12445 ;;
12446 esac
12447 ;;
12448
12449 cygwin* | mingw* | pw32* | cegcc*)
12450 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12451 # as there is no search path for DLLs.
12452 hardcode_libdir_flag_spec_CXX='-L$libdir'
12453 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12454 allow_undefined_flag_CXX=unsupported
12455 always_export_symbols_CXX=no
12456 enable_shared_with_static_runtimes_CXX=yes
12457
12458 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12459 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'
12460 # If the export-symbols file already is a .def file (1st line
12461 # is EXPORTS), use it as is; otherwise, prepend...
12462 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12463 cp $export_symbols $output_objdir/$soname.def;
12464 else
12465 echo EXPORTS > $output_objdir/$soname.def;
12466 cat $export_symbols >> $output_objdir/$soname.def;
12467 fi~
12468 $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'
12469 else
12470 ld_shlibs_CXX=no
12471 fi
12472 ;;
12473 darwin* | rhapsody*)
12474
12475
12476 archive_cmds_need_lc_CXX=no
12477 hardcode_direct_CXX=no
12478 hardcode_automatic_CXX=yes
12479 hardcode_shlibpath_var_CXX=unsupported
12480 if test "$lt_cv_ld_force_load" = "yes"; then
12481 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\"`'
12482 else
12483 whole_archive_flag_spec_CXX=''
12484 fi
12485 link_all_deplibs_CXX=yes
12486 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12487 case $cc_basename in
12488 ifort*) _lt_dar_can_shared=yes ;;
12489 *) _lt_dar_can_shared=$GCC ;;
12490 esac
12491 if test "$_lt_dar_can_shared" = "yes"; then
12492 output_verbose_link_cmd=func_echo_all
12493 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}"
12494 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12495 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}"
12496 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}"
12497 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12498 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}"
12499 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}"
12500 fi
12501
12502 else
12503 ld_shlibs_CXX=no
12504 fi
12505
12506 ;;
12507
12508 dgux*)
12509 case $cc_basename in
12510 ec++*)
12511 # FIXME: insert proper C++ library support
12512 ld_shlibs_CXX=no
12513 ;;
12514 ghcx*)
12515 # Green Hills C++ Compiler
12516 # FIXME: insert proper C++ library support
12517 ld_shlibs_CXX=no
12518 ;;
12519 *)
12520 # FIXME: insert proper C++ library support
12521 ld_shlibs_CXX=no
12522 ;;
12523 esac
12524 ;;
12525
12526 freebsd[12]*)
12527 # C++ shared libraries reported to be fairly broken before
12528 # switch to ELF
12529 ld_shlibs_CXX=no
12530 ;;
12531
12532 freebsd-elf*)
12533 archive_cmds_need_lc_CXX=no
12534 ;;
12535
12536 freebsd* | dragonfly*)
12537 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12538 # conventions
12539 ld_shlibs_CXX=yes
12540 ;;
12541
12542 gnu*)
12543 ;;
12544
12545 haiku*)
12546 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 link_all_deplibs_CXX=yes
12548 ;;
12549
12550 hpux9*)
12551 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12552 hardcode_libdir_separator_CXX=:
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12554 hardcode_direct_CXX=yes
12555 hardcode_minus_L_CXX=yes # Not in the search PATH,
12556 # but as the default
12557 # location of the library.
12558
12559 case $cc_basename in
12560 CC*)
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12563 ;;
12564 aCC*)
12565 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'
12566 # Commands to make compiler produce verbose output that lists
12567 # what "hidden" libraries, object files and flags are used when
12568 # linking a shared library.
12569 #
12570 # There doesn't appear to be a way to prevent this compiler from
12571 # explicitly linking system object files so we need to strip them
12572 # from the output so that they don't get included in the library
12573 # dependencies.
12574 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"'
12575 ;;
12576 *)
12577 if test "$GXX" = yes; then
12578 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'
12579 else
12580 # FIXME: insert proper C++ library support
12581 ld_shlibs_CXX=no
12582 fi
12583 ;;
12584 esac
12585 ;;
12586
12587 hpux10*|hpux11*)
12588 if test $with_gnu_ld = no; then
12589 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12590 hardcode_libdir_separator_CXX=:
12591
12592 case $host_cpu in
12593 hppa*64*|ia64*)
12594 ;;
12595 *)
12596 export_dynamic_flag_spec_CXX='${wl}-E'
12597 ;;
12598 esac
12599 fi
12600 case $host_cpu in
12601 hppa*64*|ia64*)
12602 hardcode_direct_CXX=no
12603 hardcode_shlibpath_var_CXX=no
12604 ;;
12605 *)
12606 hardcode_direct_CXX=yes
12607 hardcode_direct_absolute_CXX=yes
12608 hardcode_minus_L_CXX=yes # Not in the search PATH,
12609 # but as the default
12610 # location of the library.
12611 ;;
12612 esac
12613
12614 case $cc_basename in
12615 CC*)
12616 # FIXME: insert proper C++ library support
12617 ld_shlibs_CXX=no
12618 ;;
12619 aCC*)
12620 case $host_cpu in
12621 hppa*64*)
12622 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12623 ;;
12624 ia64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 ;;
12627 *)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 ;;
12630 esac
12631 # Commands to make compiler produce verbose output that lists
12632 # what "hidden" libraries, object files and flags are used when
12633 # linking a shared library.
12634 #
12635 # There doesn't appear to be a way to prevent this compiler from
12636 # explicitly linking system object files so we need to strip them
12637 # from the output so that they don't get included in the library
12638 # dependencies.
12639 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"'
12640 ;;
12641 *)
12642 if test "$GXX" = yes; then
12643 if test $with_gnu_ld = no; then
12644 case $host_cpu in
12645 hppa*64*)
12646 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12647 ;;
12648 ia64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ;;
12651 *)
12652 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'
12653 ;;
12654 esac
12655 fi
12656 else
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12659 fi
12660 ;;
12661 esac
12662 ;;
12663
12664 interix[3-9]*)
12665 hardcode_direct_CXX=no
12666 hardcode_shlibpath_var_CXX=no
12667 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12668 export_dynamic_flag_spec_CXX='${wl}-E'
12669 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12670 # Instead, shared libraries are loaded at an image base (0x10000000 by
12671 # default) and relocated if they conflict, which is a slow very memory
12672 # consuming and fragmenting process. To avoid this, we pick a random,
12673 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12674 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12675 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'
12676 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'
12677 ;;
12678 irix5* | irix6*)
12679 case $cc_basename in
12680 CC*)
12681 # SGI C++
12682 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'
12683
12684 # Archives containing C++ object files must be created using
12685 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12686 # necessary to make sure instantiated templates are included
12687 # in the archive.
12688 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12689 ;;
12690 *)
12691 if test "$GXX" = yes; then
12692 if test "$with_gnu_ld" = no; then
12693 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'
12694 else
12695 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'
12696 fi
12697 fi
12698 link_all_deplibs_CXX=yes
12699 ;;
12700 esac
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12703 inherit_rpath_CXX=yes
12704 ;;
12705
12706 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12707 case $cc_basename in
12708 KCC*)
12709 # Kuck and Associates, Inc. (KAI) C++ Compiler
12710
12711 # KCC will only create a shared library if the output file
12712 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12713 # to its proper name (with version) after linking.
12714 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'
12715 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'
12716 # Commands to make compiler produce verbose output that lists
12717 # what "hidden" libraries, object files and flags are used when
12718 # linking a shared library.
12719 #
12720 # There doesn't appear to be a way to prevent this compiler from
12721 # explicitly linking system object files so we need to strip them
12722 # from the output so that they don't get included in the library
12723 # dependencies.
12724 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"'
12725
12726 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12728
12729 # Archives containing C++ object files must be created using
12730 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12731 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12732 ;;
12733 icpc* | ecpc* )
12734 # Intel C++
12735 with_gnu_ld=yes
12736 # version 8.0 and above of icpc choke on multiply defined symbols
12737 # if we add $predep_objects and $postdep_objects, however 7.1 and
12738 # earlier do not add the objects themselves.
12739 case `$CC -V 2>&1` in
12740 *"Version 7."*)
12741 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12742 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'
12743 ;;
12744 *) # Version 8.0 or newer
12745 tmp_idyn=
12746 case $host_cpu in
12747 ia64*) tmp_idyn=' -i_dynamic';;
12748 esac
12749 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 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'
12751 ;;
12752 esac
12753 archive_cmds_need_lc_CXX=no
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12757 ;;
12758 pgCC* | pgcpp*)
12759 # Portland Group C++ compiler
12760 case `$CC -V` in
12761 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12762 prelink_cmds_CXX='tpldir=Template.dir~
12763 rm -rf $tpldir~
12764 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12765 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12766 old_archive_cmds_CXX='tpldir=Template.dir~
12767 rm -rf $tpldir~
12768 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12769 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12770 $RANLIB $oldlib'
12771 archive_cmds_CXX='tpldir=Template.dir~
12772 rm -rf $tpldir~
12773 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12774 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12775 archive_expsym_cmds_CXX='tpldir=Template.dir~
12776 rm -rf $tpldir~
12777 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12778 $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'
12779 ;;
12780 *) # Version 6 and above use weak symbols
12781 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12782 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'
12783 ;;
12784 esac
12785
12786 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12787 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12788 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'
12789 ;;
12790 cxx*)
12791 # Compaq C++
12792 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12793 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'
12794
12795 runpath_var=LD_RUN_PATH
12796 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12797 hardcode_libdir_separator_CXX=:
12798
12799 # Commands to make compiler produce verbose output that lists
12800 # what "hidden" libraries, object files and flags are used when
12801 # linking a shared library.
12802 #
12803 # There doesn't appear to be a way to prevent this compiler from
12804 # explicitly linking system object files so we need to strip them
12805 # from the output so that they don't get included in the library
12806 # dependencies.
12807 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'
12808 ;;
12809 xl* | mpixl* | bgxl*)
12810 # IBM XL 8.0 on PPC, with GNU ld
12811 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12812 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12813 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12814 if test "x$supports_anon_versioning" = xyes; then
12815 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12816 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12817 echo "local: *; };" >> $output_objdir/$libname.ver~
12818 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12819 fi
12820 ;;
12821 *)
12822 case `$CC -V 2>&1 | sed 5q` in
12823 *Sun\ C*)
12824 # Sun C++ 5.9
12825 no_undefined_flag_CXX=' -zdefs'
12826 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 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'
12828 hardcode_libdir_flag_spec_CXX='-R$libdir'
12829 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'
12830 compiler_needs_object_CXX=yes
12831
12832 # Not sure whether something based on
12833 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12834 # would be better.
12835 output_verbose_link_cmd='func_echo_all'
12836
12837 # Archives containing C++ object files must be created using
12838 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12839 # necessary to make sure instantiated templates are included
12840 # in the archive.
12841 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12842 ;;
12843 esac
12844 ;;
12845 esac
12846 ;;
12847
12848 lynxos*)
12849 # FIXME: insert proper C++ library support
12850 ld_shlibs_CXX=no
12851 ;;
12852
12853 m88k*)
12854 # FIXME: insert proper C++ library support
12855 ld_shlibs_CXX=no
12856 ;;
12857
12858 mvs*)
12859 case $cc_basename in
12860 cxx*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12863 ;;
12864 *)
12865 # FIXME: insert proper C++ library support
12866 ld_shlibs_CXX=no
12867 ;;
12868 esac
12869 ;;
12870
12871 netbsd*)
12872 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12873 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12874 wlarc=
12875 hardcode_libdir_flag_spec_CXX='-R$libdir'
12876 hardcode_direct_CXX=yes
12877 hardcode_shlibpath_var_CXX=no
12878 fi
12879 # Workaround some broken pre-1.5 toolchains
12880 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12881 ;;
12882
12883 *nto* | *qnx*)
12884 ld_shlibs_CXX=yes
12885 ;;
12886
12887 openbsd2*)
12888 # C++ shared libraries are fairly broken
12889 ld_shlibs_CXX=no
12890 ;;
12891
12892 openbsd*)
12893 if test -f /usr/libexec/ld.so; then
12894 hardcode_direct_CXX=yes
12895 hardcode_shlibpath_var_CXX=no
12896 hardcode_direct_absolute_CXX=yes
12897 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12899 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12900 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12901 export_dynamic_flag_spec_CXX='${wl}-E'
12902 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12903 fi
12904 output_verbose_link_cmd=func_echo_all
12905 else
12906 ld_shlibs_CXX=no
12907 fi
12908 ;;
12909
12910 osf3* | osf4* | osf5*)
12911 case $cc_basename in
12912 KCC*)
12913 # Kuck and Associates, Inc. (KAI) C++ Compiler
12914
12915 # KCC will only create a shared library if the output file
12916 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12917 # to its proper name (with version) after linking.
12918 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'
12919
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12921 hardcode_libdir_separator_CXX=:
12922
12923 # Archives containing C++ object files must be created using
12924 # the KAI C++ compiler.
12925 case $host in
12926 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12927 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12928 esac
12929 ;;
12930 RCC*)
12931 # Rational C++ 2.4.1
12932 # FIXME: insert proper C++ library support
12933 ld_shlibs_CXX=no
12934 ;;
12935 cxx*)
12936 case $host in
12937 osf3*)
12938 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12941 ;;
12942 *)
12943 allow_undefined_flag_CXX=' -expect_unresolved \*'
12944 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'
12945 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12946 echo "-hidden">> $lib.exp~
12947 $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~
12948 $RM $lib.exp'
12949 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12950 ;;
12951 esac
12952
12953 hardcode_libdir_separator_CXX=:
12954
12955 # Commands to make compiler produce verbose output that lists
12956 # what "hidden" libraries, object files and flags are used when
12957 # linking a shared library.
12958 #
12959 # There doesn't appear to be a way to prevent this compiler from
12960 # explicitly linking system object files so we need to strip them
12961 # from the output so that they don't get included in the library
12962 # dependencies.
12963 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"'
12964 ;;
12965 *)
12966 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12967 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12968 case $host in
12969 osf3*)
12970 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'
12971 ;;
12972 *)
12973 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'
12974 ;;
12975 esac
12976
12977 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12978 hardcode_libdir_separator_CXX=:
12979
12980 # Commands to make compiler produce verbose output that lists
12981 # what "hidden" libraries, object files and flags are used when
12982 # linking a shared library.
12983 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12984
12985 else
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12988 fi
12989 ;;
12990 esac
12991 ;;
12992
12993 psos*)
12994 # FIXME: insert proper C++ library support
12995 ld_shlibs_CXX=no
12996 ;;
12997
12998 sunos4*)
12999 case $cc_basename in
13000 CC*)
13001 # Sun C++ 4.x
13002 # FIXME: insert proper C++ library support
13003 ld_shlibs_CXX=no
13004 ;;
13005 lcc*)
13006 # Lucid
13007 # FIXME: insert proper C++ library support
13008 ld_shlibs_CXX=no
13009 ;;
13010 *)
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13013 ;;
13014 esac
13015 ;;
13016
13017 solaris*)
13018 case $cc_basename in
13019 CC*)
13020 # Sun C++ 4.2, 5.x and Centerline C++
13021 archive_cmds_need_lc_CXX=yes
13022 no_undefined_flag_CXX=' -zdefs'
13023 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13024 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13025 $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'
13026
13027 hardcode_libdir_flag_spec_CXX='-R$libdir'
13028 hardcode_shlibpath_var_CXX=no
13029 case $host_os in
13030 solaris2.[0-5] | solaris2.[0-5].*) ;;
13031 *)
13032 # The compiler driver will combine and reorder linker options,
13033 # but understands `-z linker_flag'.
13034 # Supported since Solaris 2.6 (maybe 2.5.1?)
13035 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13036 ;;
13037 esac
13038 link_all_deplibs_CXX=yes
13039
13040 output_verbose_link_cmd='func_echo_all'
13041
13042 # Archives containing C++ object files must be created using
13043 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13044 # necessary to make sure instantiated templates are included
13045 # in the archive.
13046 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13047 ;;
13048 gcx*)
13049 # Green Hills C++ Compiler
13050 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13051
13052 # The C++ compiler must be used to create the archive.
13053 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13054 ;;
13055 *)
13056 # GNU C++ compiler with Solaris linker
13057 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13058 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13059 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13060 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13061 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13062 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 else
13069 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13070 # platform.
13071 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13072 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13073 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13074
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13078 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13079 fi
13080
13081 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13082 case $host_os in
13083 solaris2.[0-5] | solaris2.[0-5].*) ;;
13084 *)
13085 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13086 ;;
13087 esac
13088 fi
13089 ;;
13090 esac
13091 ;;
13092
13093 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13094 no_undefined_flag_CXX='${wl}-z,text'
13095 archive_cmds_need_lc_CXX=no
13096 hardcode_shlibpath_var_CXX=no
13097 runpath_var='LD_RUN_PATH'
13098
13099 case $cc_basename in
13100 CC*)
13101 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 ;;
13104 *)
13105 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 ;;
13108 esac
13109 ;;
13110
13111 sysv5* | sco3.2v5* | sco5v6*)
13112 # Note: We can NOT use -z defs as we might desire, because we do not
13113 # link with -lc, and that would cause any symbols used from libc to
13114 # always be unresolved, which means just about no library would
13115 # ever link correctly. If we're not using GNU ld we use -z text
13116 # though, which does catch some bad symbols but isn't as heavy-handed
13117 # as -z defs.
13118 no_undefined_flag_CXX='${wl}-z,text'
13119 allow_undefined_flag_CXX='${wl}-z,nodefs'
13120 archive_cmds_need_lc_CXX=no
13121 hardcode_shlibpath_var_CXX=no
13122 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13123 hardcode_libdir_separator_CXX=':'
13124 link_all_deplibs_CXX=yes
13125 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13126 runpath_var='LD_RUN_PATH'
13127
13128 case $cc_basename in
13129 CC*)
13130 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13133 '"$old_archive_cmds_CXX"
13134 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13135 '"$reload_cmds_CXX"
13136 ;;
13137 *)
13138 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 ;;
13141 esac
13142 ;;
13143
13144 tandem*)
13145 case $cc_basename in
13146 NCC*)
13147 # NonStop-UX NCC 3.20
13148 # FIXME: insert proper C++ library support
13149 ld_shlibs_CXX=no
13150 ;;
13151 *)
13152 # FIXME: insert proper C++ library support
13153 ld_shlibs_CXX=no
13154 ;;
13155 esac
13156 ;;
13157
13158 vxworks*)
13159 # FIXME: insert proper C++ library support
13160 ld_shlibs_CXX=no
13161 ;;
13162
13163 *)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13166 ;;
13167 esac
13168
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13170 $as_echo "$ld_shlibs_CXX" >&6; }
13171 test "$ld_shlibs_CXX" = no && can_build_shared=no
13172
13173 GCC_CXX="$GXX"
13174 LD_CXX="$LD"
13175
13176 ## CAVEAT EMPTOR:
13177 ## There is no encapsulation within the following macros, do not change
13178 ## the running order or otherwise move them around unless you know exactly
13179 ## what you are doing...
13180 # Dependencies to place before and after the object being linked:
13181 predep_objects_CXX=
13182 postdep_objects_CXX=
13183 predeps_CXX=
13184 postdeps_CXX=
13185 compiler_lib_search_path_CXX=
13186
13187 cat > conftest.$ac_ext <<_LT_EOF
13188 class Foo
13189 {
13190 public:
13191 Foo (void) { a = 0; }
13192 private:
13193 int a;
13194 };
13195 _LT_EOF
13196
13197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13198 (eval $ac_compile) 2>&5
13199 ac_status=$?
13200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13201 test $ac_status = 0; }; then
13202 # Parse the compiler output and extract the necessary
13203 # objects, libraries and library flags.
13204
13205 # Sentinel used to keep track of whether or not we are before
13206 # the conftest object file.
13207 pre_test_object_deps_done=no
13208
13209 for p in `eval "$output_verbose_link_cmd"`; do
13210 case $p in
13211
13212 -L* | -R* | -l*)
13213 # Some compilers place space between "-{L,R}" and the path.
13214 # Remove the space.
13215 if test $p = "-L" ||
13216 test $p = "-R"; then
13217 prev=$p
13218 continue
13219 else
13220 prev=
13221 fi
13222
13223 if test "$pre_test_object_deps_done" = no; then
13224 case $p in
13225 -L* | -R*)
13226 # Internal compiler library paths should come after those
13227 # provided the user. The postdeps already come after the
13228 # user supplied libs so there is no need to process them.
13229 if test -z "$compiler_lib_search_path_CXX"; then
13230 compiler_lib_search_path_CXX="${prev}${p}"
13231 else
13232 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13233 fi
13234 ;;
13235 # The "-l" case would never come before the object being
13236 # linked, so don't bother handling this case.
13237 esac
13238 else
13239 if test -z "$postdeps_CXX"; then
13240 postdeps_CXX="${prev}${p}"
13241 else
13242 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13243 fi
13244 fi
13245 ;;
13246
13247 *.$objext)
13248 # This assumes that the test object file only shows up
13249 # once in the compiler output.
13250 if test "$p" = "conftest.$objext"; then
13251 pre_test_object_deps_done=yes
13252 continue
13253 fi
13254
13255 if test "$pre_test_object_deps_done" = no; then
13256 if test -z "$predep_objects_CXX"; then
13257 predep_objects_CXX="$p"
13258 else
13259 predep_objects_CXX="$predep_objects_CXX $p"
13260 fi
13261 else
13262 if test -z "$postdep_objects_CXX"; then
13263 postdep_objects_CXX="$p"
13264 else
13265 postdep_objects_CXX="$postdep_objects_CXX $p"
13266 fi
13267 fi
13268 ;;
13269
13270 *) ;; # Ignore the rest.
13271
13272 esac
13273 done
13274
13275 # Clean up.
13276 rm -f a.out a.exe
13277 else
13278 echo "libtool.m4: error: problem compiling CXX test program"
13279 fi
13280
13281 $RM -f confest.$objext
13282
13283 # PORTME: override above test on systems where it is broken
13284 case $host_os in
13285 interix[3-9]*)
13286 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13287 # hack all around it, let's just trust "g++" to DTRT.
13288 predep_objects_CXX=
13289 postdep_objects_CXX=
13290 postdeps_CXX=
13291 ;;
13292
13293 linux*)
13294 case `$CC -V 2>&1 | sed 5q` in
13295 *Sun\ C*)
13296 # Sun C++ 5.9
13297
13298 # The more standards-conforming stlport4 library is
13299 # incompatible with the Cstd library. Avoid specifying
13300 # it if it's in CXXFLAGS. Ignore libCrun as
13301 # -library=stlport4 depends on it.
13302 case " $CXX $CXXFLAGS " in
13303 *" -library=stlport4 "*)
13304 solaris_use_stlport4=yes
13305 ;;
13306 esac
13307
13308 if test "$solaris_use_stlport4" != yes; then
13309 postdeps_CXX='-library=Cstd -library=Crun'
13310 fi
13311 ;;
13312 esac
13313 ;;
13314
13315 solaris*)
13316 case $cc_basename in
13317 CC*)
13318 # The more standards-conforming stlport4 library is
13319 # incompatible with the Cstd library. Avoid specifying
13320 # it if it's in CXXFLAGS. Ignore libCrun as
13321 # -library=stlport4 depends on it.
13322 case " $CXX $CXXFLAGS " in
13323 *" -library=stlport4 "*)
13324 solaris_use_stlport4=yes
13325 ;;
13326 esac
13327
13328 # Adding this requires a known-good setup of shared libraries for
13329 # Sun compiler versions before 5.6, else PIC objects from an old
13330 # archive will be linked into the output, leading to subtle bugs.
13331 if test "$solaris_use_stlport4" != yes; then
13332 postdeps_CXX='-library=Cstd -library=Crun'
13333 fi
13334 ;;
13335 esac
13336 ;;
13337 esac
13338
13339
13340 case " $postdeps_CXX " in
13341 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13342 esac
13343 compiler_lib_search_dirs_CXX=
13344 if test -n "${compiler_lib_search_path_CXX}"; then
13345 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13346 fi
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378 lt_prog_compiler_wl_CXX=
13379 lt_prog_compiler_pic_CXX=
13380 lt_prog_compiler_static_CXX=
13381
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13384
13385 # C++ specific cases for pic, static, wl, etc.
13386 if test "$GXX" = yes; then
13387 lt_prog_compiler_wl_CXX='-Wl,'
13388 lt_prog_compiler_static_CXX='-static'
13389
13390 case $host_os in
13391 aix*)
13392 # All AIX code is PIC.
13393 if test "$host_cpu" = ia64; then
13394 # AIX 5 now supports IA64 processor
13395 lt_prog_compiler_static_CXX='-Bstatic'
13396 fi
13397 ;;
13398
13399 amigaos*)
13400 case $host_cpu in
13401 powerpc)
13402 # see comment about AmigaOS4 .so support
13403 lt_prog_compiler_pic_CXX='-fPIC'
13404 ;;
13405 m68k)
13406 # FIXME: we need at least 68020 code to build shared libraries, but
13407 # adding the `-m68020' flag to GCC prevents building anything better,
13408 # like `-m68040'.
13409 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13410 ;;
13411 esac
13412 ;;
13413
13414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13415 # PIC is the default for these OSes.
13416 ;;
13417 mingw* | cygwin* | os2* | pw32* | cegcc*)
13418 # This hack is so that the source file can tell whether it is being
13419 # built for inclusion in a dll (and should export symbols for example).
13420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13421 # (--disable-auto-import) libraries
13422 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13423 ;;
13424 darwin* | rhapsody*)
13425 # PIC is the default on this platform
13426 # Common symbols not allowed in MH_DYLIB files
13427 lt_prog_compiler_pic_CXX='-fno-common'
13428 ;;
13429 *djgpp*)
13430 # DJGPP does not support shared libraries at all
13431 lt_prog_compiler_pic_CXX=
13432 ;;
13433 haiku*)
13434 # PIC is the default for Haiku.
13435 # The "-static" flag exists, but is broken.
13436 lt_prog_compiler_static_CXX=
13437 ;;
13438 interix[3-9]*)
13439 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13440 # Instead, we relocate shared libraries at runtime.
13441 ;;
13442 sysv4*MP*)
13443 if test -d /usr/nec; then
13444 lt_prog_compiler_pic_CXX=-Kconform_pic
13445 fi
13446 ;;
13447 hpux*)
13448 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13449 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13450 # sets the default TLS model and affects inlining.
13451 case $host_cpu in
13452 hppa*64*)
13453 ;;
13454 *)
13455 lt_prog_compiler_pic_CXX='-fPIC'
13456 ;;
13457 esac
13458 ;;
13459 *qnx* | *nto*)
13460 # QNX uses GNU C++, but need to define -shared option too, otherwise
13461 # it will coredump.
13462 lt_prog_compiler_pic_CXX='-fPIC -shared'
13463 ;;
13464 *)
13465 lt_prog_compiler_pic_CXX='-fPIC'
13466 ;;
13467 esac
13468 else
13469 case $host_os in
13470 aix[4-9]*)
13471 # All AIX code is PIC.
13472 if test "$host_cpu" = ia64; then
13473 # AIX 5 now supports IA64 processor
13474 lt_prog_compiler_static_CXX='-Bstatic'
13475 else
13476 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13477 fi
13478 ;;
13479 chorus*)
13480 case $cc_basename in
13481 cxch68*)
13482 # Green Hills C++ Compiler
13483 # _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"
13484 ;;
13485 esac
13486 ;;
13487 dgux*)
13488 case $cc_basename in
13489 ec++*)
13490 lt_prog_compiler_pic_CXX='-KPIC'
13491 ;;
13492 ghcx*)
13493 # Green Hills C++ Compiler
13494 lt_prog_compiler_pic_CXX='-pic'
13495 ;;
13496 *)
13497 ;;
13498 esac
13499 ;;
13500 freebsd* | dragonfly*)
13501 # FreeBSD uses GNU C++
13502 ;;
13503 hpux9* | hpux10* | hpux11*)
13504 case $cc_basename in
13505 CC*)
13506 lt_prog_compiler_wl_CXX='-Wl,'
13507 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13508 if test "$host_cpu" != ia64; then
13509 lt_prog_compiler_pic_CXX='+Z'
13510 fi
13511 ;;
13512 aCC*)
13513 lt_prog_compiler_wl_CXX='-Wl,'
13514 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13515 case $host_cpu in
13516 hppa*64*|ia64*)
13517 # +Z the default
13518 ;;
13519 *)
13520 lt_prog_compiler_pic_CXX='+Z'
13521 ;;
13522 esac
13523 ;;
13524 *)
13525 ;;
13526 esac
13527 ;;
13528 interix*)
13529 # This is c89, which is MS Visual C++ (no shared libs)
13530 # Anyone wants to do a port?
13531 ;;
13532 irix5* | irix6* | nonstopux*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='-non_shared'
13537 # CC pic flag -KPIC is the default.
13538 ;;
13539 *)
13540 ;;
13541 esac
13542 ;;
13543 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13544 case $cc_basename in
13545 KCC*)
13546 # KAI C++ Compiler
13547 lt_prog_compiler_wl_CXX='--backend -Wl,'
13548 lt_prog_compiler_pic_CXX='-fPIC'
13549 ;;
13550 ecpc* )
13551 # old Intel C++ for x86_64 which still supported -KPIC.
13552 lt_prog_compiler_wl_CXX='-Wl,'
13553 lt_prog_compiler_pic_CXX='-KPIC'
13554 lt_prog_compiler_static_CXX='-static'
13555 ;;
13556 icpc* )
13557 # Intel C++, used to be incompatible with GCC.
13558 # ICC 10 doesn't accept -KPIC any more.
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13561 lt_prog_compiler_static_CXX='-static'
13562 ;;
13563 pgCC* | pgcpp*)
13564 # Portland Group C++ compiler
13565 lt_prog_compiler_wl_CXX='-Wl,'
13566 lt_prog_compiler_pic_CXX='-fpic'
13567 lt_prog_compiler_static_CXX='-Bstatic'
13568 ;;
13569 cxx*)
13570 # Compaq C++
13571 # Make sure the PIC flag is empty. It appears that all Alpha
13572 # Linux and Compaq Tru64 Unix objects are PIC.
13573 lt_prog_compiler_pic_CXX=
13574 lt_prog_compiler_static_CXX='-non_shared'
13575 ;;
13576 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13577 # IBM XL 8.0, 9.0 on PPC and BlueGene
13578 lt_prog_compiler_wl_CXX='-Wl,'
13579 lt_prog_compiler_pic_CXX='-qpic'
13580 lt_prog_compiler_static_CXX='-qstaticlink'
13581 ;;
13582 *)
13583 case `$CC -V 2>&1 | sed 5q` in
13584 *Sun\ C*)
13585 # Sun C++ 5.9
13586 lt_prog_compiler_pic_CXX='-KPIC'
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 lt_prog_compiler_wl_CXX='-Qoption ld '
13589 ;;
13590 esac
13591 ;;
13592 esac
13593 ;;
13594 lynxos*)
13595 ;;
13596 m88k*)
13597 ;;
13598 mvs*)
13599 case $cc_basename in
13600 cxx*)
13601 lt_prog_compiler_pic_CXX='-W c,exportall'
13602 ;;
13603 *)
13604 ;;
13605 esac
13606 ;;
13607 netbsd*)
13608 ;;
13609 *qnx* | *nto*)
13610 # QNX uses GNU C++, but need to define -shared option too, otherwise
13611 # it will coredump.
13612 lt_prog_compiler_pic_CXX='-fPIC -shared'
13613 ;;
13614 osf3* | osf4* | osf5*)
13615 case $cc_basename in
13616 KCC*)
13617 lt_prog_compiler_wl_CXX='--backend -Wl,'
13618 ;;
13619 RCC*)
13620 # Rational C++ 2.4.1
13621 lt_prog_compiler_pic_CXX='-pic'
13622 ;;
13623 cxx*)
13624 # Digital/Compaq C++
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13630 ;;
13631 *)
13632 ;;
13633 esac
13634 ;;
13635 psos*)
13636 ;;
13637 solaris*)
13638 case $cc_basename in
13639 CC*)
13640 # Sun C++ 4.2, 5.x and Centerline C++
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13644 ;;
13645 gcx*)
13646 # Green Hills C++ Compiler
13647 lt_prog_compiler_pic_CXX='-PIC'
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 sunos4*)
13654 case $cc_basename in
13655 CC*)
13656 # Sun C++ 4.x
13657 lt_prog_compiler_pic_CXX='-pic'
13658 lt_prog_compiler_static_CXX='-Bstatic'
13659 ;;
13660 lcc*)
13661 # Lucid
13662 lt_prog_compiler_pic_CXX='-pic'
13663 ;;
13664 *)
13665 ;;
13666 esac
13667 ;;
13668 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13669 case $cc_basename in
13670 CC*)
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-KPIC'
13673 lt_prog_compiler_static_CXX='-Bstatic'
13674 ;;
13675 esac
13676 ;;
13677 tandem*)
13678 case $cc_basename in
13679 NCC*)
13680 # NonStop-UX NCC 3.20
13681 lt_prog_compiler_pic_CXX='-KPIC'
13682 ;;
13683 *)
13684 ;;
13685 esac
13686 ;;
13687 vxworks*)
13688 ;;
13689 *)
13690 lt_prog_compiler_can_build_shared_CXX=no
13691 ;;
13692 esac
13693 fi
13694
13695 case $host_os in
13696 # For platforms which do not support PIC, -DPIC is meaningless:
13697 *djgpp*)
13698 lt_prog_compiler_pic_CXX=
13699 ;;
13700 *)
13701 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13702 ;;
13703 esac
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13705 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13706
13707
13708
13709 #
13710 # Check to make sure the PIC flag actually works.
13711 #
13712 if test -n "$lt_prog_compiler_pic_CXX"; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13714 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13715 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 lt_cv_prog_compiler_pic_works_CXX=no
13719 ac_outfile=conftest.$ac_objext
13720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13721 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13722 # Insert the option either (1) after the last *FLAGS variable, or
13723 # (2) before a word containing "conftest.", or (3) at the end.
13724 # Note that $ac_compile itself does not contain backslashes and begins
13725 # with a dollar sign (not a hyphen), so the echo should work correctly.
13726 # The option is referenced via a variable to avoid confusing sed.
13727 lt_compile=`echo "$ac_compile" | $SED \
13728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13730 -e 's:$: $lt_compiler_flag:'`
13731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13732 (eval "$lt_compile" 2>conftest.err)
13733 ac_status=$?
13734 cat conftest.err >&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 if (exit $ac_status) && test -s "$ac_outfile"; then
13737 # The compiler can only warn and ignore the option if not recognized
13738 # So say no if there are warnings other than the usual output.
13739 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13740 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13741 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13742 lt_cv_prog_compiler_pic_works_CXX=yes
13743 fi
13744 fi
13745 $RM conftest*
13746
13747 fi
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13749 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13750
13751 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13752 case $lt_prog_compiler_pic_CXX in
13753 "" | " "*) ;;
13754 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13755 esac
13756 else
13757 lt_prog_compiler_pic_CXX=
13758 lt_prog_compiler_can_build_shared_CXX=no
13759 fi
13760
13761 fi
13762
13763
13764
13765 #
13766 # Check to make sure the static flag actually works.
13767 #
13768 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13771 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 lt_cv_prog_compiler_static_works_CXX=no
13775 save_LDFLAGS="$LDFLAGS"
13776 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13777 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13778 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13779 # The linker can only warn and ignore the option if not recognized
13780 # So say no if there are warnings
13781 if test -s conftest.err; then
13782 # Append any errors to the config.log.
13783 cat conftest.err 1>&5
13784 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13786 if diff conftest.exp conftest.er2 >/dev/null; then
13787 lt_cv_prog_compiler_static_works_CXX=yes
13788 fi
13789 else
13790 lt_cv_prog_compiler_static_works_CXX=yes
13791 fi
13792 fi
13793 $RM -r conftest*
13794 LDFLAGS="$save_LDFLAGS"
13795
13796 fi
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13798 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13799
13800 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13801 :
13802 else
13803 lt_prog_compiler_static_CXX=
13804 fi
13805
13806
13807
13808
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13811 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 lt_cv_prog_compiler_c_o_CXX=no
13815 $RM -r conftest 2>/dev/null
13816 mkdir conftest
13817 cd conftest
13818 mkdir out
13819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13820
13821 lt_compiler_flag="-o out/conftest2.$ac_objext"
13822 # Insert the option either (1) after the last *FLAGS variable, or
13823 # (2) before a word containing "conftest.", or (3) at the end.
13824 # Note that $ac_compile itself does not contain backslashes and begins
13825 # with a dollar sign (not a hyphen), so the echo should work correctly.
13826 lt_compile=`echo "$ac_compile" | $SED \
13827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13829 -e 's:$: $lt_compiler_flag:'`
13830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13831 (eval "$lt_compile" 2>out/conftest.err)
13832 ac_status=$?
13833 cat out/conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13836 then
13837 # The compiler can only warn and ignore the option if not recognized
13838 # So say no if there are warnings
13839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_c_o_CXX=yes
13843 fi
13844 fi
13845 chmod u+w . 2>&5
13846 $RM conftest*
13847 # SGI C++ compiler will create directory out/ii_files/ for
13848 # template instantiation
13849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13850 $RM out/* && rmdir out
13851 cd ..
13852 $RM -r conftest
13853 $RM conftest*
13854
13855 fi
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13857 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13858
13859
13860
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13863 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 lt_cv_prog_compiler_c_o_CXX=no
13867 $RM -r conftest 2>/dev/null
13868 mkdir conftest
13869 cd conftest
13870 mkdir out
13871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13872
13873 lt_compiler_flag="-o out/conftest2.$ac_objext"
13874 # Insert the option either (1) after the last *FLAGS variable, or
13875 # (2) before a word containing "conftest.", or (3) at the end.
13876 # Note that $ac_compile itself does not contain backslashes and begins
13877 # with a dollar sign (not a hyphen), so the echo should work correctly.
13878 lt_compile=`echo "$ac_compile" | $SED \
13879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13881 -e 's:$: $lt_compiler_flag:'`
13882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13883 (eval "$lt_compile" 2>out/conftest.err)
13884 ac_status=$?
13885 cat out/conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13888 then
13889 # The compiler can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13894 lt_cv_prog_compiler_c_o_CXX=yes
13895 fi
13896 fi
13897 chmod u+w . 2>&5
13898 $RM conftest*
13899 # SGI C++ compiler will create directory out/ii_files/ for
13900 # template instantiation
13901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13902 $RM out/* && rmdir out
13903 cd ..
13904 $RM -r conftest
13905 $RM conftest*
13906
13907 fi
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13909 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13910
13911
13912
13913
13914 hard_links="nottested"
13915 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13916 # do not overwrite the value of need_locks provided by the user
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13918 $as_echo_n "checking if we can lock with hard links... " >&6; }
13919 hard_links=yes
13920 $RM conftest*
13921 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13922 touch conftest.a
13923 ln conftest.a conftest.b 2>&5 || hard_links=no
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13926 $as_echo "$hard_links" >&6; }
13927 if test "$hard_links" = no; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13929 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13930 need_locks=warn
13931 fi
13932 else
13933 need_locks=no
13934 fi
13935
13936
13937
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13939 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13940
13941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13942 case $host_os in
13943 aix[4-9]*)
13944 # If we're using GNU nm, then we don't want the "-C" option.
13945 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13946 # Also, AIX nm treats weak defined symbols like other global defined
13947 # symbols, whereas GNU nm marks them as "W".
13948 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13949 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'
13950 else
13951 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'
13952 fi
13953 ;;
13954 pw32*)
13955 export_symbols_cmds_CXX="$ltdll_cmds"
13956 ;;
13957 cygwin* | mingw* | cegcc*)
13958 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'
13959 ;;
13960 *)
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13962 ;;
13963 esac
13964 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13965
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13967 $as_echo "$ld_shlibs_CXX" >&6; }
13968 test "$ld_shlibs_CXX" = no && can_build_shared=no
13969
13970 with_gnu_ld_CXX=$with_gnu_ld
13971
13972
13973
13974
13975
13976
13977 #
13978 # Do we need to explicitly link libc?
13979 #
13980 case "x$archive_cmds_need_lc_CXX" in
13981 x|xyes)
13982 # Assume -lc should be added
13983 archive_cmds_need_lc_CXX=yes
13984
13985 if test "$enable_shared" = yes && test "$GCC" = yes; then
13986 case $archive_cmds_CXX in
13987 *'~'*)
13988 # FIXME: we may have to deal with multi-command sequences.
13989 ;;
13990 '$CC '*)
13991 # Test whether the compiler implicitly links with -lc since on some
13992 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13993 # to ld, don't add -lc before -lgcc.
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13995 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13996 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 $RM conftest*
14000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14001
14002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14003 (eval $ac_compile) 2>&5
14004 ac_status=$?
14005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14006 test $ac_status = 0; } 2>conftest.err; then
14007 soname=conftest
14008 lib=conftest
14009 libobjs=conftest.$ac_objext
14010 deplibs=
14011 wl=$lt_prog_compiler_wl_CXX
14012 pic_flag=$lt_prog_compiler_pic_CXX
14013 compiler_flags=-v
14014 linker_flags=-v
14015 verstring=
14016 output_objdir=.
14017 libname=conftest
14018 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14019 allow_undefined_flag_CXX=
14020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14021 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14022 ac_status=$?
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }
14025 then
14026 lt_cv_archive_cmds_need_lc_CXX=no
14027 else
14028 lt_cv_archive_cmds_need_lc_CXX=yes
14029 fi
14030 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14031 else
14032 cat conftest.err 1>&5
14033 fi
14034 $RM conftest*
14035
14036 fi
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14038 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14039 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14040 ;;
14041 esac
14042 fi
14043 ;;
14044 esac
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14110 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14111
14112 library_names_spec=
14113 libname_spec='lib$name'
14114 soname_spec=
14115 shrext_cmds=".so"
14116 postinstall_cmds=
14117 postuninstall_cmds=
14118 finish_cmds=
14119 finish_eval=
14120 shlibpath_var=
14121 shlibpath_overrides_runpath=unknown
14122 version_type=none
14123 dynamic_linker="$host_os ld.so"
14124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14125 need_lib_prefix=unknown
14126 hardcode_into_libs=no
14127
14128 # when you set need_version to no, make sure it does not cause -set_version
14129 # flags to be left without arguments
14130 need_version=unknown
14131
14132 case $host_os in
14133 aix3*)
14134 version_type=linux
14135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14136 shlibpath_var=LIBPATH
14137
14138 # AIX 3 has no versioning support, so we append a major version to the name.
14139 soname_spec='${libname}${release}${shared_ext}$major'
14140 ;;
14141
14142 aix[4-9]*)
14143 version_type=linux
14144 need_lib_prefix=no
14145 need_version=no
14146 hardcode_into_libs=yes
14147 if test "$host_cpu" = ia64; then
14148 # AIX 5 supports IA64
14149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14150 shlibpath_var=LD_LIBRARY_PATH
14151 else
14152 # With GCC up to 2.95.x, collect2 would create an import file
14153 # for dependence libraries. The import file would start with
14154 # the line `#! .'. This would cause the generated library to
14155 # depend on `.', always an invalid library. This was fixed in
14156 # development snapshots of GCC prior to 3.0.
14157 case $host_os in
14158 aix4 | aix4.[01] | aix4.[01].*)
14159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14160 echo ' yes '
14161 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14162 :
14163 else
14164 can_build_shared=no
14165 fi
14166 ;;
14167 esac
14168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14169 # soname into executable. Probably we can add versioning support to
14170 # collect2, so additional links can be useful in future.
14171 if test "$aix_use_runtimelinking" = yes; then
14172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14173 # instead of lib<name>.a to let people know that these are not
14174 # typical AIX shared libraries.
14175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 else
14177 # We preserve .a as extension for shared libraries through AIX4.2
14178 # and later when we are not doing run time linking.
14179 library_names_spec='${libname}${release}.a $libname.a'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 fi
14182 shlibpath_var=LIBPATH
14183 fi
14184 ;;
14185
14186 amigaos*)
14187 case $host_cpu in
14188 powerpc)
14189 # Since July 2007 AmigaOS4 officially supports .so libraries.
14190 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192 ;;
14193 m68k)
14194 library_names_spec='$libname.ixlibrary $libname.a'
14195 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14196 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'
14197 ;;
14198 esac
14199 ;;
14200
14201 beos*)
14202 library_names_spec='${libname}${shared_ext}'
14203 dynamic_linker="$host_os ld.so"
14204 shlibpath_var=LIBRARY_PATH
14205 ;;
14206
14207 bsdi[45]*)
14208 version_type=linux
14209 need_version=no
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 soname_spec='${libname}${release}${shared_ext}$major'
14212 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14213 shlibpath_var=LD_LIBRARY_PATH
14214 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14215 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14216 # the default ld.so.conf also contains /usr/contrib/lib and
14217 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14218 # libtool to hard-code these into programs
14219 ;;
14220
14221 cygwin* | mingw* | pw32* | cegcc*)
14222 version_type=windows
14223 shrext_cmds=".dll"
14224 need_version=no
14225 need_lib_prefix=no
14226
14227 case $GCC,$host_os in
14228 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14229 library_names_spec='$libname.dll.a'
14230 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14231 postinstall_cmds='base_file=`basename \${file}`~
14232 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14233 dldir=$destdir/`dirname \$dlpath`~
14234 test -d \$dldir || mkdir -p \$dldir~
14235 $install_prog $dir/$dlname \$dldir/$dlname~
14236 chmod a+x \$dldir/$dlname~
14237 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14238 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14239 fi'
14240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14241 dlpath=$dir/\$dldll~
14242 $RM \$dlpath'
14243 shlibpath_overrides_runpath=yes
14244
14245 case $host_os in
14246 cygwin*)
14247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14248 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14249
14250 ;;
14251 mingw* | cegcc*)
14252 # MinGW DLLs use traditional 'lib' prefix
14253 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 ;;
14255 pw32*)
14256 # pw32 DLLs use 'pw' prefix rather than 'lib'
14257 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 ;;
14259 esac
14260 ;;
14261
14262 *)
14263 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14264 ;;
14265 esac
14266 dynamic_linker='Win32 ld.exe'
14267 # FIXME: first we should search . and the directory the executable is in
14268 shlibpath_var=PATH
14269 ;;
14270
14271 darwin* | rhapsody*)
14272 dynamic_linker="$host_os dyld"
14273 version_type=darwin
14274 need_lib_prefix=no
14275 need_version=no
14276 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14277 soname_spec='${libname}${release}${major}$shared_ext'
14278 shlibpath_overrides_runpath=yes
14279 shlibpath_var=DYLD_LIBRARY_PATH
14280 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14281
14282 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14283 ;;
14284
14285 dgux*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 ;;
14293
14294 freebsd* | dragonfly*)
14295 # DragonFly does not have aout. When/if they implement a new
14296 # versioning mechanism, adjust this.
14297 if test -x /usr/bin/objformat; then
14298 objformat=`/usr/bin/objformat`
14299 else
14300 case $host_os in
14301 freebsd[123]*) objformat=aout ;;
14302 *) objformat=elf ;;
14303 esac
14304 fi
14305 version_type=freebsd-$objformat
14306 case $version_type in
14307 freebsd-elf*)
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14309 need_version=no
14310 need_lib_prefix=no
14311 ;;
14312 freebsd-*)
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14314 need_version=yes
14315 ;;
14316 esac
14317 shlibpath_var=LD_LIBRARY_PATH
14318 case $host_os in
14319 freebsd2*)
14320 shlibpath_overrides_runpath=yes
14321 ;;
14322 freebsd3.[01]* | freebsdelf3.[01]*)
14323 shlibpath_overrides_runpath=yes
14324 hardcode_into_libs=yes
14325 ;;
14326 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14327 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14328 shlibpath_overrides_runpath=no
14329 hardcode_into_libs=yes
14330 ;;
14331 *) # from 4.6 on, and DragonFly
14332 shlibpath_overrides_runpath=yes
14333 hardcode_into_libs=yes
14334 ;;
14335 esac
14336 ;;
14337
14338 gnu*)
14339 version_type=linux
14340 need_lib_prefix=no
14341 need_version=no
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LD_LIBRARY_PATH
14345 hardcode_into_libs=yes
14346 ;;
14347
14348 haiku*)
14349 version_type=linux
14350 need_lib_prefix=no
14351 need_version=no
14352 dynamic_linker="$host_os runtime_loader"
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 shlibpath_var=LIBRARY_PATH
14356 shlibpath_overrides_runpath=yes
14357 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14358 hardcode_into_libs=yes
14359 ;;
14360
14361 hpux9* | hpux10* | hpux11*)
14362 # Give a soname corresponding to the major version so that dld.sl refuses to
14363 # link against other versions.
14364 version_type=sunos
14365 need_lib_prefix=no
14366 need_version=no
14367 case $host_cpu in
14368 ia64*)
14369 shrext_cmds='.so'
14370 hardcode_into_libs=yes
14371 dynamic_linker="$host_os dld.so"
14372 shlibpath_var=LD_LIBRARY_PATH
14373 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 if test "X$HPUX_IA64_MODE" = X32; then
14377 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14378 else
14379 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14380 fi
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14382 ;;
14383 hppa*64*)
14384 shrext_cmds='.sl'
14385 hardcode_into_libs=yes
14386 dynamic_linker="$host_os dld.sl"
14387 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14388 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14392 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14393 ;;
14394 *)
14395 shrext_cmds='.sl'
14396 dynamic_linker="$host_os dld.sl"
14397 shlibpath_var=SHLIB_PATH
14398 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 ;;
14402 esac
14403 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14404 postinstall_cmds='chmod 555 $lib'
14405 # or fails outright, so override atomically:
14406 install_override_mode=555
14407 ;;
14408
14409 interix[3-9]*)
14410 version_type=linux
14411 need_lib_prefix=no
14412 need_version=no
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=no
14418 hardcode_into_libs=yes
14419 ;;
14420
14421 irix5* | irix6* | nonstopux*)
14422 case $host_os in
14423 nonstopux*) version_type=nonstopux ;;
14424 *)
14425 if test "$lt_cv_prog_gnu_ld" = yes; then
14426 version_type=linux
14427 else
14428 version_type=irix
14429 fi ;;
14430 esac
14431 need_lib_prefix=no
14432 need_version=no
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14435 case $host_os in
14436 irix5* | nonstopux*)
14437 libsuff= shlibsuff=
14438 ;;
14439 *)
14440 case $LD in # libtool.m4 will add one of these switches to LD
14441 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14442 libsuff= shlibsuff= libmagic=32-bit;;
14443 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14444 libsuff=32 shlibsuff=N32 libmagic=N32;;
14445 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14446 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14447 *) libsuff= shlibsuff= libmagic=never-match;;
14448 esac
14449 ;;
14450 esac
14451 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14452 shlibpath_overrides_runpath=no
14453 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14454 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 # No shared lib support for Linux oldld, aout, or coff.
14459 linux*oldld* | linux*aout* | linux*coff*)
14460 dynamic_linker=no
14461 ;;
14462
14463 # This must be Linux ELF.
14464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14473
14474 # Some binutils ld are patched to set DT_RUNPATH
14475 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_shlibpath_overrides_runpath=no
14479 save_LDFLAGS=$LDFLAGS
14480 save_libdir=$libdir
14481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14483 if test x$gcc_no_link = xyes; then
14484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14485 fi
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488
14489 int
14490 main ()
14491 {
14492
14493 ;
14494 return 0;
14495 }
14496 _ACEOF
14497 if ac_fn_cxx_try_link "$LINENO"; then :
14498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14499 lt_cv_shlibpath_overrides_runpath=yes
14500 fi
14501 fi
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LDFLAGS=$save_LDFLAGS
14505 libdir=$save_libdir
14506
14507 fi
14508
14509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14510
14511 # This implies no fast_install, which is unacceptable.
14512 # Some rework will be needed to allow for fast_install
14513 # before this can be enabled.
14514 hardcode_into_libs=yes
14515
14516 # Append ld.so.conf contents to the search path
14517 if test -f /etc/ld.so.conf; then
14518 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' ' '`
14519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14520 fi
14521
14522 # We used to test for /lib/ld.so.1 and disable shared libraries on
14523 # powerpc, because MkLinux only supported shared libraries with the
14524 # GNU dynamic linker. Since this was broken with cross compilers,
14525 # most powerpc-linux boxes support dynamic linking these days and
14526 # people can always --disable-shared, the test was removed, and we
14527 # assume the GNU/Linux dynamic linker is in use.
14528 dynamic_linker='GNU/Linux ld.so'
14529 ;;
14530
14531 netbsd*)
14532 version_type=sunos
14533 need_lib_prefix=no
14534 need_version=no
14535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14538 dynamic_linker='NetBSD (a.out) ld.so'
14539 else
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 dynamic_linker='NetBSD ld.elf_so'
14543 fi
14544 shlibpath_var=LD_LIBRARY_PATH
14545 shlibpath_overrides_runpath=yes
14546 hardcode_into_libs=yes
14547 ;;
14548
14549 newsos6)
14550 version_type=linux
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 shlibpath_overrides_runpath=yes
14554 ;;
14555
14556 *nto* | *qnx*)
14557 version_type=qnx
14558 need_lib_prefix=no
14559 need_version=no
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 shlibpath_var=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath=no
14564 hardcode_into_libs=yes
14565 dynamic_linker='ldqnx.so'
14566 ;;
14567
14568 openbsd*)
14569 version_type=sunos
14570 sys_lib_dlsearch_path_spec="/usr/lib"
14571 need_lib_prefix=no
14572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14573 case $host_os in
14574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14575 *) need_version=no ;;
14576 esac
14577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14579 shlibpath_var=LD_LIBRARY_PATH
14580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14581 case $host_os in
14582 openbsd2.[89] | openbsd2.[89].*)
14583 shlibpath_overrides_runpath=no
14584 ;;
14585 *)
14586 shlibpath_overrides_runpath=yes
14587 ;;
14588 esac
14589 else
14590 shlibpath_overrides_runpath=yes
14591 fi
14592 ;;
14593
14594 os2*)
14595 libname_spec='$name'
14596 shrext_cmds=".dll"
14597 need_lib_prefix=no
14598 library_names_spec='$libname${shared_ext} $libname.a'
14599 dynamic_linker='OS/2 ld.exe'
14600 shlibpath_var=LIBPATH
14601 ;;
14602
14603 osf3* | osf4* | osf5*)
14604 version_type=osf
14605 need_lib_prefix=no
14606 need_version=no
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14612 ;;
14613
14614 rdos*)
14615 dynamic_linker=no
14616 ;;
14617
14618 solaris*)
14619 version_type=linux
14620 need_lib_prefix=no
14621 need_version=no
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623 soname_spec='${libname}${release}${shared_ext}$major'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 hardcode_into_libs=yes
14627 # ldd complains unless libraries are executable
14628 postinstall_cmds='chmod +x $lib'
14629 ;;
14630
14631 sunos4*)
14632 version_type=sunos
14633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14635 shlibpath_var=LD_LIBRARY_PATH
14636 shlibpath_overrides_runpath=yes
14637 if test "$with_gnu_ld" = yes; then
14638 need_lib_prefix=no
14639 fi
14640 need_version=yes
14641 ;;
14642
14643 sysv4 | sysv4.3*)
14644 version_type=linux
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 case $host_vendor in
14649 sni)
14650 shlibpath_overrides_runpath=no
14651 need_lib_prefix=no
14652 runpath_var=LD_RUN_PATH
14653 ;;
14654 siemens)
14655 need_lib_prefix=no
14656 ;;
14657 motorola)
14658 need_lib_prefix=no
14659 need_version=no
14660 shlibpath_overrides_runpath=no
14661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14662 ;;
14663 esac
14664 ;;
14665
14666 sysv4*MP*)
14667 if test -d /usr/nec ;then
14668 version_type=linux
14669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14670 soname_spec='$libname${shared_ext}.$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 fi
14673 ;;
14674
14675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14676 version_type=freebsd-elf
14677 need_lib_prefix=no
14678 need_version=no
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14680 soname_spec='${libname}${release}${shared_ext}$major'
14681 shlibpath_var=LD_LIBRARY_PATH
14682 shlibpath_overrides_runpath=yes
14683 hardcode_into_libs=yes
14684 if test "$with_gnu_ld" = yes; then
14685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14686 else
14687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14688 case $host_os in
14689 sco3.2v5*)
14690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14691 ;;
14692 esac
14693 fi
14694 sys_lib_dlsearch_path_spec='/usr/lib'
14695 ;;
14696
14697 tpf*)
14698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14699 version_type=linux
14700 need_lib_prefix=no
14701 need_version=no
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath=no
14705 hardcode_into_libs=yes
14706 ;;
14707
14708 uts4*)
14709 version_type=linux
14710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14711 soname_spec='${libname}${release}${shared_ext}$major'
14712 shlibpath_var=LD_LIBRARY_PATH
14713 ;;
14714
14715 *)
14716 dynamic_linker=no
14717 ;;
14718 esac
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14720 $as_echo "$dynamic_linker" >&6; }
14721 test "$dynamic_linker" = no && can_build_shared=no
14722
14723 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14724 if test "$GCC" = yes; then
14725 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14726 fi
14727
14728 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14729 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14730 fi
14731 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14732 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14733 fi
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14774 hardcode_action_CXX=
14775 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14776 test -n "$runpath_var_CXX" ||
14777 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14778
14779 # We can hardcode non-existent directories.
14780 if test "$hardcode_direct_CXX" != no &&
14781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14782 # have to relink, otherwise we might link with an installed library
14783 # when we should be linking with a yet-to-be-installed one
14784 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14785 test "$hardcode_minus_L_CXX" != no; then
14786 # Linking always hardcodes the temporary library directory.
14787 hardcode_action_CXX=relink
14788 else
14789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14790 hardcode_action_CXX=immediate
14791 fi
14792 else
14793 # We cannot hardcode anything, or else we can only hardcode existing
14794 # directories.
14795 hardcode_action_CXX=unsupported
14796 fi
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14798 $as_echo "$hardcode_action_CXX" >&6; }
14799
14800 if test "$hardcode_action_CXX" = relink ||
14801 test "$inherit_rpath_CXX" = yes; then
14802 # Fast installation is not supported
14803 enable_fast_install=no
14804 elif test "$shlibpath_overrides_runpath" = yes ||
14805 test "$enable_shared" = no; then
14806 # Fast installation is not necessary
14807 enable_fast_install=needless
14808 fi
14809
14810
14811
14812
14813
14814
14815
14816 fi # test -n "$compiler"
14817
14818 CC=$lt_save_CC
14819 LDCXX=$LD
14820 LD=$lt_save_LD
14821 GCC=$lt_save_GCC
14822 with_gnu_ld=$lt_save_with_gnu_ld
14823 lt_cv_path_LDCXX=$lt_cv_path_LD
14824 lt_cv_path_LD=$lt_save_path_LD
14825 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14826 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14827 fi # test "$_lt_caught_CXX_error" != yes
14828
14829 ac_ext=c
14830 ac_cpp='$CPP $CPPFLAGS'
14831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847 ac_config_commands="$ac_config_commands libtool"
14848
14849
14850
14851
14852 # Only expand once:
14853
14854
14855
14856
14857
14858 case $host in
14859 *-cygwin* | *-mingw*)
14860 # 'host' will be top-level target in the case of a target lib,
14861 # we must compare to with_cross_host to decide if this is a native
14862 # or cross-compiler and select where to install dlls appropriately.
14863 if test -n "$with_cross_host" &&
14864 test x"$with_cross_host" != x"no"; then
14865 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14866 else
14867 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14868 fi
14869 ;;
14870 *)
14871 lt_host_flags=
14872 ;;
14873 esac
14874
14875
14876
14877
14878
14879
14880 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14881 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14882
14883 # Possibly disable most of the library.
14884 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14885 ## than just ignoring the results. Faster /and/ more correct, win win.
14886
14887 # Check whether --enable-hosted-libstdcxx was given.
14888 if test "${enable_hosted_libstdcxx+set}" = set; then :
14889 enableval=$enable_hosted_libstdcxx;
14890 else
14891 case "$host" in
14892 arm*-*-symbianelf*)
14893 enable_hosted_libstdcxx=no
14894 ;;
14895 *)
14896 enable_hosted_libstdcxx=yes
14897 ;;
14898 esac
14899 fi
14900
14901 if test "$enable_hosted_libstdcxx" = no; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14903 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14904 is_hosted=no
14905 hosted_define=0
14906 enable_abi_check=no
14907 enable_libstdcxx_pch=no
14908 else
14909 is_hosted=yes
14910 hosted_define=1
14911 fi
14912
14913
14914 cat >>confdefs.h <<_ACEOF
14915 #define _GLIBCXX_HOSTED $hosted_define
14916 _ACEOF
14917
14918
14919
14920 # Enable compiler support that doesn't require linking.
14921
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14923 $as_echo_n "checking for exception model to use... " >&6; }
14924
14925 ac_ext=cpp
14926 ac_cpp='$CXXCPP $CPPFLAGS'
14927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14930
14931 # Check whether --enable-sjlj-exceptions was given.
14932 if test "${enable_sjlj_exceptions+set}" = set; then :
14933 enableval=$enable_sjlj_exceptions;
14934 case "$enableval" in
14935 yes|no|auto) ;;
14936 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14937 esac
14938
14939 else
14940 enable_sjlj_exceptions=auto
14941 fi
14942
14943
14944
14945 if test $enable_sjlj_exceptions = auto; then
14946 # Botheration. Now we've got to detect the exception model. Link tests
14947 # against libgcc.a are problematic since we've not been given proper -L
14948 # bits for single-tree newlib and libgloss.
14949 #
14950 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14951 cat > conftest.$ac_ext << EOF
14952 #line 14952 "configure"
14953 struct S { ~S(); };
14954 void bar();
14955 void foo()
14956 {
14957 S s;
14958 bar();
14959 }
14960 EOF
14961 old_CXXFLAGS="$CXXFLAGS"
14962 CXXFLAGS=-S
14963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14964 (eval $ac_compile) 2>&5
14965 ac_status=$?
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; }; then
14968 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14969 enable_sjlj_exceptions=yes
14970 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14971 enable_sjlj_exceptions=no
14972 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=no
14974 fi
14975 fi
14976 CXXFLAGS="$old_CXXFLAGS"
14977 rm -f conftest*
14978 fi
14979
14980 # This is a tad weird, for hysterical raisins. We have to map
14981 # enable/disable to two different models.
14982 case $enable_sjlj_exceptions in
14983 yes)
14984
14985 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14986
14987 ac_exception_model_name=sjlj
14988 ;;
14989 no)
14990 ac_exception_model_name="call frame"
14991 ;;
14992 *)
14993 as_fn_error "unable to detect exception model" "$LINENO" 5
14994 ;;
14995 esac
14996 ac_ext=c
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15003 $as_echo "$ac_exception_model_name" >&6; }
15004
15005
15006 # Check whether --enable-libstdcxx-pch was given.
15007 if test "${enable_libstdcxx_pch+set}" = set; then :
15008 enableval=$enable_libstdcxx_pch;
15009 case "$enableval" in
15010 yes|no) ;;
15011 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15012 esac
15013
15014 else
15015 enable_libstdcxx_pch=$is_hosted
15016 fi
15017
15018
15019 if test $enable_libstdcxx_pch = yes; then
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15021 $as_echo_n "checking for compiler with PCH support... " >&6; }
15022 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_save_CXXFLAGS="$CXXFLAGS"
15026 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15027
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15033
15034 echo '#include <math.h>' > conftest.h
15035 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15036 -o conftest.h.gch 1>&5 2>&1 &&
15037 echo '#error "pch failed"' > conftest.h &&
15038 echo '#include "conftest.h"' > conftest.cc &&
15039 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15040 then
15041 glibcxx_cv_prog_CXX_pch=yes
15042 else
15043 glibcxx_cv_prog_CXX_pch=no
15044 fi
15045 rm -f conftest*
15046 CXXFLAGS=$ac_save_CXXFLAGS
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053
15054 fi
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15056 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15057 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15058 fi
15059
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15061 $as_echo_n "checking for enabled PCH... " >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15063 $as_echo "$enable_libstdcxx_pch" >&6; }
15064
15065
15066 if test $enable_libstdcxx_pch = yes; then
15067 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15068 else
15069 glibcxx_PCHFLAGS=""
15070 fi
15071
15072
15073
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15075 $as_echo_n "checking for thread model used by GCC... " >&6; }
15076 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15078 $as_echo "$target_thread_file" >&6; }
15079
15080 if test $target_thread_file != single; then
15081
15082 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15083
15084 fi
15085
15086 glibcxx_thread_h=gthr-$target_thread_file.h
15087
15088 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15089 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15090 enable_thread=yes
15091 else
15092 enable_thread=no
15093 fi
15094
15095
15096
15097
15098
15099 ac_ext=cpp
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104
15105 old_CXXFLAGS="$CXXFLAGS"
15106
15107 # Do link tests if possible, instead asm tests, limited to some platforms
15108 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15109 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15110 atomic_builtins_link_tests=no
15111 if test x$gcc_no_link != xyes; then
15112 # Can do link tests. Limit to some tested platforms
15113 case "$host" in
15114 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15115 atomic_builtins_link_tests=yes
15116 ;;
15117 esac
15118 fi
15119
15120 if test x$atomic_builtins_link_tests = xyes; then
15121
15122 # Do link tests.
15123
15124 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15125
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15127 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15128 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131
15132 if test x$gcc_no_link = xyes; then
15133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15134 fi
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15137
15138 int
15139 main ()
15140 {
15141 typedef bool atomic_type;
15142 atomic_type c1;
15143 atomic_type c2;
15144 const atomic_type c3(0);
15145 __sync_fetch_and_add(&c1, c2);
15146 __sync_val_compare_and_swap(&c1, c3, c2);
15147 __sync_lock_test_and_set(&c1, c3);
15148 __sync_lock_release(&c1);
15149 __sync_synchronize();
15150 ;
15151 return 0;
15152 }
15153 _ACEOF
15154 if ac_fn_cxx_try_link "$LINENO"; then :
15155 glibcxx_cv_atomic_bool=yes
15156 else
15157 glibcxx_cv_atomic_bool=no
15158 fi
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161
15162 fi
15163
15164 if test $glibcxx_cv_atomic_bool = yes; then
15165
15166 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15167
15168 fi
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15170 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15171
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15173 $as_echo_n "checking for atomic builtins for short... " >&6; }
15174 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177
15178 if test x$gcc_no_link = xyes; then
15179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15180 fi
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183
15184 int
15185 main ()
15186 {
15187 typedef short atomic_type;
15188 atomic_type c1;
15189 atomic_type c2;
15190 const atomic_type c3(0);
15191 __sync_fetch_and_add(&c1, c2);
15192 __sync_val_compare_and_swap(&c1, c3, c2);
15193 __sync_lock_test_and_set(&c1, c3);
15194 __sync_lock_release(&c1);
15195 __sync_synchronize();
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 if ac_fn_cxx_try_link "$LINENO"; then :
15201 glibcxx_cv_atomic_short=yes
15202 else
15203 glibcxx_cv_atomic_short=no
15204 fi
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207
15208 fi
15209
15210 if test $glibcxx_cv_atomic_short = yes; then
15211
15212 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15213
15214 fi
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15216 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15217
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15219 $as_echo_n "checking for atomic builtins for int... " >&6; }
15220 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15223
15224 if test x$gcc_no_link = xyes; then
15225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15226 fi
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229
15230 int
15231 main ()
15232 {
15233 typedef int atomic_type;
15234 atomic_type c1;
15235 atomic_type c2;
15236 const atomic_type c3(0);
15237 __sync_fetch_and_add(&c1, c2);
15238 __sync_val_compare_and_swap(&c1, c3, c2);
15239 __sync_lock_test_and_set(&c1, c3);
15240 __sync_lock_release(&c1);
15241 __sync_synchronize();
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 if ac_fn_cxx_try_link "$LINENO"; then :
15247 glibcxx_cv_atomic_int=yes
15248 else
15249 glibcxx_cv_atomic_int=no
15250 fi
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext conftest.$ac_ext
15253
15254 fi
15255
15256 if test $glibcxx_cv_atomic_int = yes; then
15257
15258 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15259
15260 fi
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15262 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15263
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15265 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15266 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269
15270 if test x$gcc_no_link = xyes; then
15271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15272 fi
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275
15276 int
15277 main ()
15278 {
15279 typedef long long atomic_type;
15280 atomic_type c1;
15281 atomic_type c2;
15282 const atomic_type c3(0);
15283 __sync_fetch_and_add(&c1, c2);
15284 __sync_val_compare_and_swap(&c1, c3, c2);
15285 __sync_lock_test_and_set(&c1, c3);
15286 __sync_lock_release(&c1);
15287 __sync_synchronize();
15288 ;
15289 return 0;
15290 }
15291 _ACEOF
15292 if ac_fn_cxx_try_link "$LINENO"; then :
15293 glibcxx_cv_atomic_long_long=yes
15294 else
15295 glibcxx_cv_atomic_long_long=no
15296 fi
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15299
15300 fi
15301
15302 if test $glibcxx_cv_atomic_long_long = yes; then
15303
15304 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15305
15306 fi
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15308 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15309
15310 else
15311
15312 # Do asm tests.
15313
15314 # Compile unoptimized.
15315 CXXFLAGS='-O0 -S'
15316
15317 # Fake what AC_TRY_COMPILE does.
15318
15319 cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15322 {
15323 typedef bool atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 const atomic_type c3(0);
15327 __sync_fetch_and_add(&c1, c2);
15328 __sync_val_compare_and_swap(&c1, c3, c2);
15329 __sync_lock_test_and_set(&c1, c3);
15330 __sync_lock_release(&c1);
15331 __sync_synchronize();
15332 return 0;
15333 }
15334 EOF
15335
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15337 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339 (eval $ac_compile) 2>&5
15340 ac_status=$?
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344 glibcxx_cv_atomic_bool=no
15345 else
15346
15347 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15348
15349 glibcxx_cv_atomic_bool=yes
15350 fi
15351 fi
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15353 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15354 rm -f conftest*
15355
15356 cat > conftest.$ac_ext << EOF
15357 #line 15357 "configure"
15358 int main()
15359 {
15360 typedef short atomic_type;
15361 atomic_type c1;
15362 atomic_type c2;
15363 const atomic_type c3(0);
15364 __sync_fetch_and_add(&c1, c2);
15365 __sync_val_compare_and_swap(&c1, c3, c2);
15366 __sync_lock_test_and_set(&c1, c3);
15367 __sync_lock_release(&c1);
15368 __sync_synchronize();
15369 return 0;
15370 }
15371 EOF
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15374 $as_echo_n "checking for atomic builtins for short... " >&6; }
15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15376 (eval $ac_compile) 2>&5
15377 ac_status=$?
15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 test $ac_status = 0; }; then
15380 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15381 glibcxx_cv_atomic_short=no
15382 else
15383
15384 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15385
15386 glibcxx_cv_atomic_short=yes
15387 fi
15388 fi
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15390 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15391 rm -f conftest*
15392
15393 cat > conftest.$ac_ext << EOF
15394 #line 15394 "configure"
15395 int main()
15396 {
15397 // NB: _Atomic_word not necessarily int.
15398 typedef int atomic_type;
15399 atomic_type c1;
15400 atomic_type c2;
15401 const atomic_type c3(0);
15402 __sync_fetch_and_add(&c1, c2);
15403 __sync_val_compare_and_swap(&c1, c3, c2);
15404 __sync_lock_test_and_set(&c1, c3);
15405 __sync_lock_release(&c1);
15406 __sync_synchronize();
15407 return 0;
15408 }
15409 EOF
15410
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15412 $as_echo_n "checking for atomic builtins for int... " >&6; }
15413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15414 (eval $ac_compile) 2>&5
15415 ac_status=$?
15416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417 test $ac_status = 0; }; then
15418 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15419 glibcxx_cv_atomic_int=no
15420 else
15421
15422 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15423
15424 glibcxx_cv_atomic_int=yes
15425 fi
15426 fi
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15428 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15429 rm -f conftest*
15430
15431 cat > conftest.$ac_ext << EOF
15432 #line 15432 "configure"
15433 int main()
15434 {
15435 typedef long long atomic_type;
15436 atomic_type c1;
15437 atomic_type c2;
15438 const atomic_type c3(0);
15439 __sync_fetch_and_add(&c1, c2);
15440 __sync_val_compare_and_swap(&c1, c3, c2);
15441 __sync_lock_test_and_set(&c1, c3);
15442 __sync_lock_release(&c1);
15443 __sync_synchronize();
15444 return 0;
15445 }
15446 EOF
15447
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15449 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454 test $ac_status = 0; }; then
15455 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15456 glibcxx_cv_atomic_long_long=no
15457 else
15458
15459 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15460
15461 glibcxx_cv_atomic_long_long=yes
15462 fi
15463 fi
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15465 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15466 rm -f conftest*
15467
15468 fi
15469
15470 CXXFLAGS="$old_CXXFLAGS"
15471 ac_ext=c
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15476
15477
15478 # Set atomicity_dir to builtins if either of above tests pass.
15479 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15480 atomicity_dir=cpu/generic/atomicity_builtins
15481 fi
15482
15483 # If still generic, set to mutex.
15484 if test $atomicity_dir = "cpu/generic" ; then
15485 atomicity_dir=cpu/generic/atomicity_mutex
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15487 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15488 if test "x$target_thread_file" = xsingle; then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15490 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15492 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15493 else
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15495 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15497 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15498 fi
15499 fi
15500
15501
15502
15503
15504 # Fake what AC_TRY_COMPILE does, without linking as this is
15505 # unnecessary for this test.
15506
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15510 {
15511 _Decimal32 d1;
15512 _Decimal64 d2;
15513 _Decimal128 d3;
15514 return 0;
15515 }
15516 EOF
15517
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15519 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15521 (eval $ac_compile) 2>&5
15522 ac_status=$?
15523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 test $ac_status = 0; }; then
15525
15526 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15527
15528 enable_dfp=yes
15529 else
15530 enable_dfp=no
15531 fi
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15533 $as_echo "$enable_dfp" >&6; }
15534 rm -f conftest*
15535
15536
15537
15538
15539 ac_ext=cpp
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15544
15545
15546 # Fake what AC_TRY_COMPILE does, without linking as this is
15547 # unnecessary for this test.
15548
15549 cat > conftest.$ac_ext << EOF
15550 #line 15550 "configure"
15551 template<typename T1, typename T2>
15552 struct same
15553 { typedef T2 type; };
15554
15555 template<typename T>
15556 struct same<T, T>;
15557
15558 int main()
15559 {
15560 typename same<long, __int128>::type i1;
15561 typename same<long long, __int128>::type i2;
15562 }
15563 EOF
15564
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15566 $as_echo_n "checking for __int128... " >&6; }
15567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15572
15573 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15574
15575 enable_int128=yes
15576 else
15577 enable_int128=no
15578 fi
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15580 $as_echo "$enable_int128" >&6; }
15581 rm -f conftest*
15582
15583 cat > conftest.$ac_ext << EOF
15584 #line 15584 "configure"
15585 template<typename T1, typename T2>
15586 struct same
15587 { typedef T2 type; };
15588
15589 template<typename T>
15590 struct same<T, T>;
15591
15592 int main()
15593 {
15594 typename same<double, __float128>::type f1;
15595 typename same<long double, __float128>::type f2;
15596 }
15597 EOF
15598
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15600 $as_echo_n "checking for __float128... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15606
15607 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15608
15609 enable_float128=yes
15610 else
15611 enable_float128=no
15612 fi
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15614 $as_echo "$enable_float128" >&6; }
15615 rm -f conftest*
15616
15617 ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15622
15623
15624
15625 # Checks for compiler support that doesn't require linking.
15626
15627 # All these tests are for C++; save the language and the compiler flags.
15628 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15629 # found in GLIBCXX_CONFIGURE.
15630
15631 ac_ext=cpp
15632 ac_cpp='$CXXCPP $CPPFLAGS'
15633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15636
15637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15638 ac_save_CXXFLAGS="$CXXFLAGS"
15639
15640 # Check for maintainer-mode bits.
15641 if test x"$USE_MAINTAINER_MODE" = xno; then
15642 WERROR=''
15643 else
15644 WERROR='-Werror'
15645 fi
15646
15647 # Check for -ffunction-sections -fdata-sections
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15649 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15650 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15653 int foo; void bar() { };
15654 int
15655 main ()
15656 {
15657
15658 ;
15659 return 0;
15660 }
15661 _ACEOF
15662 if ac_fn_cxx_try_compile "$LINENO"; then :
15663 ac_fdsections=yes
15664 else
15665 ac_fdsections=no
15666 fi
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 if test "$ac_test_CXXFLAGS" = set; then
15669 CXXFLAGS="$ac_save_CXXFLAGS"
15670 else
15671 # this is the suspicious part
15672 CXXFLAGS=''
15673 fi
15674 if test x"$ac_fdsections" = x"yes"; then
15675 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15676 fi
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15678 $as_echo "$ac_fdsections" >&6; }
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688
15689
15690 # Enable all the variable C++ runtime options that don't require linking.
15691
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15693 $as_echo_n "checking for underlying I/O to use... " >&6; }
15694 # Check whether --enable-cstdio was given.
15695 if test "${enable_cstdio+set}" = set; then :
15696 enableval=$enable_cstdio;
15697 case "$enableval" in
15698 stdio) ;;
15699 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15700 esac
15701
15702 else
15703 enable_cstdio=stdio
15704 fi
15705
15706
15707
15708 # Now that libio has been removed, you can have any color you want as long
15709 # as it's black. This is one big no-op until other packages are added, but
15710 # showing the framework never hurts.
15711 case ${enable_cstdio} in
15712 stdio)
15713 CSTDIO_H=config/io/c_io_stdio.h
15714 BASIC_FILE_H=config/io/basic_file_stdio.h
15715 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15717 $as_echo "stdio" >&6; }
15718 ;;
15719 esac
15720
15721
15722
15723
15724
15725
15726 # Check whether --enable-clocale was given.
15727 if test "${enable_clocale+set}" = set; then :
15728 enableval=$enable_clocale;
15729 case "$enableval" in
15730 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15731 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15732 esac
15733
15734 else
15735 enable_clocale=auto
15736 fi
15737
15738
15739
15740 # Deal with gettext issues. Default to not using it (=no) until we detect
15741 # support for it later. Let the user turn it off via --e/d, but let that
15742 # default to on for easier handling.
15743 USE_NLS=no
15744 # Check whether --enable-nls was given.
15745 if test "${enable_nls+set}" = set; then :
15746 enableval=$enable_nls;
15747 else
15748 enable_nls=yes
15749 fi
15750
15751
15752 # Either a known package, or "auto"
15753 if test $enable_clocale = no || test $enable_clocale = yes; then
15754 enable_clocale=auto
15755 fi
15756 enable_clocale_flag=$enable_clocale
15757
15758 # Probe for locale model to use if none specified.
15759 # Default to "generic".
15760 if test $enable_clocale_flag = auto; then
15761 case ${target_os} in
15762 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15763 enable_clocale_flag=gnu
15764 ;;
15765 darwin* | freebsd*)
15766 enable_clocale_flag=darwin
15767 ;;
15768 *)
15769 if test x"$with_newlib" = x"yes"; then
15770 enable_clocale_flag=newlib
15771 else
15772 enable_clocale_flag=generic
15773 fi
15774 ;;
15775 esac
15776 fi
15777
15778 # Sanity check model, and test for special functionality.
15779 if test $enable_clocale_flag = gnu; then
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15782
15783 #include <features.h>
15784 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15785 _GLIBCXX_ok
15786 #endif
15787
15788 _ACEOF
15789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15790 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15791 enable_clocale_flag=gnu
15792 else
15793 enable_clocale_flag=generic
15794 fi
15795 rm -f conftest*
15796
15797
15798 # Set it to scream when it hurts.
15799 ac_save_CFLAGS="$CFLAGS"
15800 CFLAGS="-Wimplicit-function-declaration -Werror"
15801
15802 # Use strxfrm_l if available.
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #define _GNU_SOURCE 1
15806 #include <string.h>
15807 #include <locale.h>
15808 int
15809 main ()
15810 {
15811 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817
15818 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15819
15820 fi
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823 # Use strerror_l if available.
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #define _GNU_SOURCE 1
15827 #include <string.h>
15828 #include <locale.h>
15829 int
15830 main ()
15831 {
15832 __locale_t loc; strerror_l(5, loc);
15833 ;
15834 return 0;
15835 }
15836 _ACEOF
15837 if ac_fn_c_try_compile "$LINENO"; then :
15838
15839 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15840
15841 fi
15842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15843
15844 CFLAGS="$ac_save_CFLAGS"
15845 fi
15846
15847 # Perhaps use strerror_r if available, and strerror_l isn't.
15848 ac_save_CFLAGS="$CFLAGS"
15849 CFLAGS="-Wimplicit-function-declaration -Werror"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852 #define _GNU_SOURCE 1
15853 #include <string.h>
15854 #include <locale.h>
15855 int
15856 main ()
15857 {
15858 char s[128]; strerror_r(5, s, 128);
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15864
15865 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15866
15867 fi
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15869 CFLAGS="$ac_save_CFLAGS"
15870
15871 # Set configure bits for specified locale package
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15873 $as_echo_n "checking for C locale to use... " >&6; }
15874 case ${enable_clocale_flag} in
15875 generic)
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15877 $as_echo "generic" >&6; }
15878
15879 CLOCALE_H=config/locale/generic/c_locale.h
15880 CLOCALE_CC=config/locale/generic/c_locale.cc
15881 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15882 CCOLLATE_CC=config/locale/generic/collate_members.cc
15883 CCTYPE_CC=config/locale/generic/ctype_members.cc
15884 CMESSAGES_H=config/locale/generic/messages_members.h
15885 CMESSAGES_CC=config/locale/generic/messages_members.cc
15886 CMONEY_CC=config/locale/generic/monetary_members.cc
15887 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15888 CTIME_H=config/locale/generic/time_members.h
15889 CTIME_CC=config/locale/generic/time_members.cc
15890 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15891 ;;
15892 darwin)
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15894 $as_echo "darwin or freebsd" >&6; }
15895
15896 CLOCALE_H=config/locale/generic/c_locale.h
15897 CLOCALE_CC=config/locale/generic/c_locale.cc
15898 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15899 CCOLLATE_CC=config/locale/generic/collate_members.cc
15900 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15901 CMESSAGES_H=config/locale/generic/messages_members.h
15902 CMESSAGES_CC=config/locale/generic/messages_members.cc
15903 CMONEY_CC=config/locale/generic/monetary_members.cc
15904 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15905 CTIME_H=config/locale/generic/time_members.h
15906 CTIME_CC=config/locale/generic/time_members.cc
15907 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15908 ;;
15909
15910 gnu)
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15912 $as_echo "gnu" >&6; }
15913
15914 # Declare intention to use gettext, and add support for specific
15915 # languages.
15916 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15917 ALL_LINGUAS="de fr"
15918
15919 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15920 # Extract the first word of "msgfmt", so it can be a program name with args.
15921 set dummy msgfmt; ac_word=$2
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15923 $as_echo_n "checking for $ac_word... " >&6; }
15924 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 if test -n "$check_msgfmt"; then
15928 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15929 else
15930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15931 for as_dir in $PATH
15932 do
15933 IFS=$as_save_IFS
15934 test -z "$as_dir" && as_dir=.
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15937 ac_cv_prog_check_msgfmt="yes"
15938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15939 break 2
15940 fi
15941 done
15942 done
15943 IFS=$as_save_IFS
15944
15945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15946 fi
15947 fi
15948 check_msgfmt=$ac_cv_prog_check_msgfmt
15949 if test -n "$check_msgfmt"; then
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15951 $as_echo "$check_msgfmt" >&6; }
15952 else
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954 $as_echo "no" >&6; }
15955 fi
15956
15957
15958 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15959 USE_NLS=yes
15960 fi
15961 # Export the build objects.
15962 for ling in $ALL_LINGUAS; do \
15963 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15964 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15965 done
15966
15967
15968
15969 CLOCALE_H=config/locale/gnu/c_locale.h
15970 CLOCALE_CC=config/locale/gnu/c_locale.cc
15971 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15973 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15974 CMESSAGES_H=config/locale/gnu/messages_members.h
15975 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15976 CMONEY_CC=config/locale/gnu/monetary_members.cc
15977 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15978 CTIME_H=config/locale/gnu/time_members.h
15979 CTIME_CC=config/locale/gnu/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15981 ;;
15982 ieee_1003.1-2001)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15984 $as_echo "IEEE 1003.1" >&6; }
15985
15986 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15987 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/generic/ctype_members.cc
15991 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15992 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 ;;
15999 newlib)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16001 $as_echo "newlib" >&6; }
16002
16003 CLOCALE_H=config/locale/generic/c_locale.h
16004 CLOCALE_CC=config/locale/generic/c_locale.cc
16005 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/generic/collate_members.cc
16007 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/generic/monetary_members.cc
16011 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16012 CTIME_H=config/locale/generic/time_members.h
16013 CTIME_CC=config/locale/generic/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16015 ;;
16016 esac
16017
16018 # This is where the testsuite looks for locale catalogs, using the
16019 # -DLOCALEDIR define during testsuite compilation.
16020 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16021
16022
16023 # A standalone libintl (e.g., GNU libintl) may be in use.
16024 if test $USE_NLS = yes; then
16025 for ac_header in libintl.h
16026 do :
16027 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16028 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_LIBINTL_H 1
16031 _ACEOF
16032
16033 else
16034 USE_NLS=no
16035 fi
16036
16037 done
16038
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16040 $as_echo_n "checking for library containing gettext... " >&6; }
16041 if test "${ac_cv_search_gettext+set}" = set; then :
16042 $as_echo_n "(cached) " >&6
16043 else
16044 ac_func_search_save_LIBS=$LIBS
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16051 #ifdef __cplusplus
16052 extern "C"
16053 #endif
16054 char gettext ();
16055 int
16056 main ()
16057 {
16058 return gettext ();
16059 ;
16060 return 0;
16061 }
16062 _ACEOF
16063 for ac_lib in '' intl; do
16064 if test -z "$ac_lib"; then
16065 ac_res="none required"
16066 else
16067 ac_res=-l$ac_lib
16068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16069 fi
16070 if test x$gcc_no_link = xyes; then
16071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16072 fi
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_search_gettext=$ac_res
16075 fi
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext
16078 if test "${ac_cv_search_gettext+set}" = set; then :
16079 break
16080 fi
16081 done
16082 if test "${ac_cv_search_gettext+set}" = set; then :
16083
16084 else
16085 ac_cv_search_gettext=no
16086 fi
16087 rm conftest.$ac_ext
16088 LIBS=$ac_func_search_save_LIBS
16089 fi
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16091 $as_echo "$ac_cv_search_gettext" >&6; }
16092 ac_res=$ac_cv_search_gettext
16093 if test "$ac_res" != no; then :
16094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16095
16096 else
16097 USE_NLS=no
16098 fi
16099
16100 fi
16101 if test $USE_NLS = yes; then
16102
16103 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16104
16105 fi
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16123 $as_echo_n "checking for std::allocator base class... " >&6; }
16124 # Check whether --enable-libstdcxx-allocator was given.
16125 if test "${enable_libstdcxx_allocator+set}" = set; then :
16126 enableval=$enable_libstdcxx_allocator;
16127 case "$enableval" in
16128 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16129 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16130 esac
16131
16132 else
16133 enable_libstdcxx_allocator=auto
16134 fi
16135
16136
16137
16138 # If they didn't use this option switch, or if they specified --enable
16139 # with no specific model, we'll have to look for one. If they
16140 # specified --disable (???), do likewise.
16141 if test $enable_libstdcxx_allocator = no ||
16142 test $enable_libstdcxx_allocator = yes;
16143 then
16144 enable_libstdcxx_allocator=auto
16145 fi
16146
16147 # Either a known package, or "auto". Auto implies the default choice
16148 # for a particular platform.
16149 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16150
16151 # Probe for host-specific support if no specific model is specified.
16152 # Default to "new".
16153 if test $enable_libstdcxx_allocator_flag = auto; then
16154 case ${target_os} in
16155 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16156 enable_libstdcxx_allocator_flag=new
16157 ;;
16158 *)
16159 enable_libstdcxx_allocator_flag=new
16160 ;;
16161 esac
16162 fi
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16164 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16165
16166
16167 # Set configure bits for specified locale package
16168 case ${enable_libstdcxx_allocator_flag} in
16169 bitmap)
16170 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16171 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16172 ;;
16173 malloc)
16174 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16175 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16176 ;;
16177 mt)
16178 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16179 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16180 ;;
16181 new)
16182 ALLOCATOR_H=config/allocator/new_allocator_base.h
16183 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16184 ;;
16185 pool)
16186 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16187 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16188 ;;
16189 esac
16190
16191
16192
16193
16194
16195 # Check whether --enable-cheaders was given.
16196 if test "${enable_cheaders+set}" = set; then :
16197 enableval=$enable_cheaders;
16198 case "$enableval" in
16199 c|c_std|c_global) ;;
16200 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16201 esac
16202
16203 else
16204 enable_cheaders=$c_model
16205 fi
16206
16207
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16209 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16210
16211 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16212
16213 # Allow overrides to configure.host here.
16214 if test $enable_cheaders = c_global; then
16215 c_compatibility=yes
16216 fi
16217
16218
16219
16220
16221
16222
16223
16224 # Check whether --enable-long-long was given.
16225 if test "${enable_long_long+set}" = set; then :
16226 enableval=$enable_long_long;
16227 case "$enableval" in
16228 yes|no) ;;
16229 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16230 esac
16231
16232 else
16233 enable_long_long=yes
16234 fi
16235
16236
16237 if test $enable_long_long = yes; then
16238
16239 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16240
16241 fi
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16243 $as_echo_n "checking for enabled long long specializations... " >&6; }
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16245 $as_echo "$enable_long_long" >&6; }
16246
16247
16248 # Check whether --enable-wchar_t was given.
16249 if test "${enable_wchar_t+set}" = set; then :
16250 enableval=$enable_wchar_t;
16251 case "$enableval" in
16252 yes|no) ;;
16253 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16254 esac
16255
16256 else
16257 enable_wchar_t=yes
16258 fi
16259
16260
16261
16262 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16263 for ac_header in wchar.h
16264 do :
16265 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16266 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_WCHAR_H 1
16269 _ACEOF
16270 ac_has_wchar_h=yes
16271 else
16272 ac_has_wchar_h=no
16273 fi
16274
16275 done
16276
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16278 $as_echo_n "checking for mbstate_t... " >&6; }
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <wchar.h>
16282 int
16283 main ()
16284 {
16285 mbstate_t teststate;
16286 ;
16287 return 0;
16288 }
16289 _ACEOF
16290 if ac_fn_c_try_compile "$LINENO"; then :
16291 have_mbstate_t=yes
16292 else
16293 have_mbstate_t=no
16294 fi
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16297 $as_echo "$have_mbstate_t" >&6; }
16298 if test x"$have_mbstate_t" = xyes; then
16299
16300 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16301
16302 fi
16303
16304 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16305 # ac_has_wchar_h.
16306 for ac_header in wctype.h
16307 do :
16308 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16309 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_WCTYPE_H 1
16312 _ACEOF
16313 ac_has_wctype_h=yes
16314 else
16315 ac_has_wctype_h=no
16316 fi
16317
16318 done
16319
16320
16321 if test x"$enable_wchar_t" = x"yes"; then
16322
16323
16324 ac_ext=cpp
16325 ac_cpp='$CXXCPP $CPPFLAGS'
16326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16329
16330
16331 if test x"$ac_has_wchar_h" = xyes &&
16332 test x"$ac_has_wctype_h" = xyes; then
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #include <wchar.h>
16336 #include <stddef.h>
16337 wint_t i;
16338 long l = WEOF;
16339 long j = WCHAR_MIN;
16340 long k = WCHAR_MAX;
16341 namespace test
16342 {
16343 using ::btowc;
16344 using ::fgetwc;
16345 using ::fgetws;
16346 using ::fputwc;
16347 using ::fputws;
16348 using ::fwide;
16349 using ::fwprintf;
16350 using ::fwscanf;
16351 using ::getwc;
16352 using ::getwchar;
16353 using ::mbrlen;
16354 using ::mbrtowc;
16355 using ::mbsinit;
16356 using ::mbsrtowcs;
16357 using ::putwc;
16358 using ::putwchar;
16359 using ::swprintf;
16360 using ::swscanf;
16361 using ::ungetwc;
16362 using ::vfwprintf;
16363 using ::vswprintf;
16364 using ::vwprintf;
16365 using ::wcrtomb;
16366 using ::wcscat;
16367 using ::wcschr;
16368 using ::wcscmp;
16369 using ::wcscoll;
16370 using ::wcscpy;
16371 using ::wcscspn;
16372 using ::wcsftime;
16373 using ::wcslen;
16374 using ::wcsncat;
16375 using ::wcsncmp;
16376 using ::wcsncpy;
16377 using ::wcspbrk;
16378 using ::wcsrchr;
16379 using ::wcsrtombs;
16380 using ::wcsspn;
16381 using ::wcsstr;
16382 using ::wcstod;
16383 using ::wcstok;
16384 using ::wcstol;
16385 using ::wcstoul;
16386 using ::wcsxfrm;
16387 using ::wctob;
16388 using ::wmemchr;
16389 using ::wmemcmp;
16390 using ::wmemcpy;
16391 using ::wmemmove;
16392 using ::wmemset;
16393 using ::wprintf;
16394 using ::wscanf;
16395 }
16396
16397 int
16398 main ()
16399 {
16400
16401 ;
16402 return 0;
16403 }
16404 _ACEOF
16405 if ac_fn_cxx_try_compile "$LINENO"; then :
16406
16407 else
16408 enable_wchar_t=no
16409 fi
16410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16411 else
16412 enable_wchar_t=no
16413 fi
16414
16415 ac_ext=c
16416 ac_cpp='$CPP $CPPFLAGS'
16417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16420
16421 fi
16422
16423 if test x"$enable_wchar_t" = x"yes"; then
16424
16425 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16426
16427 fi
16428
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16430 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16432 $as_echo "$enable_wchar_t" >&6; }
16433
16434
16435
16436 # Check whether --enable-c99 was given.
16437 if test "${enable_c99+set}" = set; then :
16438 enableval=$enable_c99;
16439 case "$enableval" in
16440 yes|no) ;;
16441 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16442 esac
16443
16444 else
16445 enable_c99=yes
16446 fi
16447
16448
16449
16450 if test x"$enable_c99" = x"yes"; then
16451
16452
16453 ac_ext=cpp
16454 ac_cpp='$CXXCPP $CPPFLAGS'
16455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16458
16459
16460 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16461 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16462 # spuriously enabled.
16463 # Long term, -std=c++0x could be even better, could manage to explicitely
16464 # request C99 facilities to the underlying C headers.
16465 ac_save_CXXFLAGS="$CXXFLAGS"
16466 CXXFLAGS="$CXXFLAGS -std=c++98"
16467 ac_save_LIBS="$LIBS"
16468 ac_save_gcc_no_link="$gcc_no_link"
16469
16470 if test x$gcc_no_link != xyes; then
16471 # Use -fno-exceptions to that the C driver can link these tests without
16472 # hitting undefined references to personality routines.
16473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16475 $as_echo_n "checking for sin in -lm... " >&6; }
16476 if test "${ac_cv_lib_m_sin+set}" = set; then :
16477 $as_echo_n "(cached) " >&6
16478 else
16479 ac_check_lib_save_LIBS=$LIBS
16480 LIBS="-lm $LIBS"
16481 if test x$gcc_no_link = xyes; then
16482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16483 fi
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486
16487 /* Override any GCC internal prototype to avoid an error.
16488 Use char because int might match the return type of a GCC
16489 builtin and then its argument prototype would still apply. */
16490 #ifdef __cplusplus
16491 extern "C"
16492 #endif
16493 char sin ();
16494 int
16495 main ()
16496 {
16497 return sin ();
16498 ;
16499 return 0;
16500 }
16501 _ACEOF
16502 if ac_fn_cxx_try_link "$LINENO"; then :
16503 ac_cv_lib_m_sin=yes
16504 else
16505 ac_cv_lib_m_sin=no
16506 fi
16507 rm -f core conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_lib_save_LIBS
16510 fi
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16512 $as_echo "$ac_cv_lib_m_sin" >&6; }
16513 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16514
16515 LIBS="$LIBS -lm"
16516
16517 else
16518
16519 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16520 gcc_no_link=yes
16521
16522 fi
16523
16524 fi
16525
16526 # Check for the existence of <math.h> functions used if C99 is enabled.
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16528 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16529 if test "${glibcxx_cv_c99_math+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532
16533 if test x$gcc_no_link = xyes; then
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #include <math.h>
16537 volatile double d1, d2;
16538 volatile int i;
16539 int
16540 main ()
16541 {
16542 i = fpclassify(d1);
16543 i = isfinite(d1);
16544 i = isinf(d1);
16545 i = isnan(d1);
16546 i = isnormal(d1);
16547 i = signbit(d1);
16548 i = isgreater(d1, d2);
16549 i = isgreaterequal(d1, d2);
16550 i = isless(d1, d2);
16551 i = islessequal(d1, d2);
16552 i = islessgreater(d1, d2);
16553 i = islessgreater(d1, d2);
16554 i = isunordered(d1, d2);
16555
16556 ;
16557 return 0;
16558 }
16559 _ACEOF
16560 if ac_fn_cxx_try_compile "$LINENO"; then :
16561 glibcxx_cv_c99_math=yes
16562 else
16563 glibcxx_cv_c99_math=no
16564 fi
16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16566 else
16567 if test x$gcc_no_link = xyes; then
16568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16569 fi
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #include <math.h>
16573 volatile double d1, d2;
16574 volatile int i;
16575 int
16576 main ()
16577 {
16578 i = fpclassify(d1);
16579 i = isfinite(d1);
16580 i = isinf(d1);
16581 i = isnan(d1);
16582 i = isnormal(d1);
16583 i = signbit(d1);
16584 i = isgreater(d1, d2);
16585 i = isgreaterequal(d1, d2);
16586 i = isless(d1, d2);
16587 i = islessequal(d1, d2);
16588 i = islessgreater(d1, d2);
16589 i = islessgreater(d1, d2);
16590 i = isunordered(d1, d2);
16591
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 if ac_fn_cxx_try_link "$LINENO"; then :
16597 glibcxx_cv_c99_math=yes
16598 else
16599 glibcxx_cv_c99_math=no
16600 fi
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16603 fi
16604
16605 fi
16606
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16608 $as_echo "$glibcxx_cv_c99_math" >&6; }
16609 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16610
16611 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16612
16613 fi
16614
16615 # Check for the existence of <complex.h> complex math functions.
16616 # This is necessary even though libstdc++ uses the builtin versions
16617 # of these functions, because if the builtin cannot be used, a reference
16618 # to the library function is emitted.
16619 for ac_header in tgmath.h
16620 do :
16621 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16622 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_TGMATH_H 1
16625 _ACEOF
16626 ac_has_tgmath_h=yes
16627 else
16628 ac_has_tgmath_h=no
16629 fi
16630
16631 done
16632
16633 for ac_header in complex.h
16634 do :
16635 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16636 if test "x$ac_cv_header_complex_h" = x""yes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_COMPLEX_H 1
16639 _ACEOF
16640 ac_has_complex_h=yes
16641 else
16642 ac_has_complex_h=no
16643 fi
16644
16645 done
16646
16647 glibcxx_cv_c99_complex=no;
16648 if test x"$ac_has_complex_h" = x"yes"; then
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16650 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16651 if test x$gcc_no_link = xyes; then
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #include <complex.h>
16655 typedef __complex__ float float_type;
16656 typedef __complex__ double double_type;
16657 typedef __complex__ long double ld_type;
16658 volatile float_type tmpf;
16659 volatile double_type tmpd;
16660 volatile ld_type tmpld;
16661 volatile float f;
16662 volatile double d;
16663 volatile long double ld;
16664 int
16665 main ()
16666 {
16667 f = cabsf(tmpf);
16668 f = cargf(tmpf);
16669 tmpf = ccosf(tmpf);
16670 tmpf = ccoshf(tmpf);
16671 tmpf = cexpf(tmpf);
16672 tmpf = clogf(tmpf);
16673 tmpf = csinf(tmpf);
16674 tmpf = csinhf(tmpf);
16675 tmpf = csqrtf(tmpf);
16676 tmpf = ctanf(tmpf);
16677 tmpf = ctanhf(tmpf);
16678 tmpf = cpowf(tmpf, tmpf);
16679 tmpf = cprojf(tmpf);
16680 d = cabs(tmpd);
16681 d = carg(tmpd);
16682 tmpd = ccos(tmpd);
16683 tmpd = ccosh(tmpd);
16684 tmpd = cexp(tmpd);
16685 tmpd = clog(tmpd);
16686 tmpd = csin(tmpd);
16687 tmpd = csinh(tmpd);
16688 tmpd = csqrt(tmpd);
16689 tmpd = ctan(tmpd);
16690 tmpd = ctanh(tmpd);
16691 tmpd = cpow(tmpd, tmpd);
16692 tmpd = cproj(tmpd);
16693 ld = cabsl(tmpld);
16694 ld = cargl(tmpld);
16695 tmpld = ccosl(tmpld);
16696 tmpld = ccoshl(tmpld);
16697 tmpld = cexpl(tmpld);
16698 tmpld = clogl(tmpld);
16699 tmpld = csinl(tmpld);
16700 tmpld = csinhl(tmpld);
16701 tmpld = csqrtl(tmpld);
16702 tmpld = ctanl(tmpld);
16703 tmpld = ctanhl(tmpld);
16704 tmpld = cpowl(tmpld, tmpld);
16705 tmpld = cprojl(tmpld);
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 if ac_fn_cxx_try_compile "$LINENO"; then :
16712 glibcxx_cv_c99_complex=yes
16713 else
16714 glibcxx_cv_c99_complex=no
16715 fi
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717 else
16718 if test x$gcc_no_link = xyes; then
16719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16720 fi
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <complex.h>
16724 typedef __complex__ float float_type;
16725 typedef __complex__ double double_type;
16726 typedef __complex__ long double ld_type;
16727 volatile float_type tmpf;
16728 volatile double_type tmpd;
16729 volatile ld_type tmpld;
16730 volatile float f;
16731 volatile double d;
16732 volatile long double ld;
16733 int
16734 main ()
16735 {
16736 f = cabsf(tmpf);
16737 f = cargf(tmpf);
16738 tmpf = ccosf(tmpf);
16739 tmpf = ccoshf(tmpf);
16740 tmpf = cexpf(tmpf);
16741 tmpf = clogf(tmpf);
16742 tmpf = csinf(tmpf);
16743 tmpf = csinhf(tmpf);
16744 tmpf = csqrtf(tmpf);
16745 tmpf = ctanf(tmpf);
16746 tmpf = ctanhf(tmpf);
16747 tmpf = cpowf(tmpf, tmpf);
16748 tmpf = cprojf(tmpf);
16749 d = cabs(tmpd);
16750 d = carg(tmpd);
16751 tmpd = ccos(tmpd);
16752 tmpd = ccosh(tmpd);
16753 tmpd = cexp(tmpd);
16754 tmpd = clog(tmpd);
16755 tmpd = csin(tmpd);
16756 tmpd = csinh(tmpd);
16757 tmpd = csqrt(tmpd);
16758 tmpd = ctan(tmpd);
16759 tmpd = ctanh(tmpd);
16760 tmpd = cpow(tmpd, tmpd);
16761 tmpd = cproj(tmpd);
16762 ld = cabsl(tmpld);
16763 ld = cargl(tmpld);
16764 tmpld = ccosl(tmpld);
16765 tmpld = ccoshl(tmpld);
16766 tmpld = cexpl(tmpld);
16767 tmpld = clogl(tmpld);
16768 tmpld = csinl(tmpld);
16769 tmpld = csinhl(tmpld);
16770 tmpld = csqrtl(tmpld);
16771 tmpld = ctanl(tmpld);
16772 tmpld = ctanhl(tmpld);
16773 tmpld = cpowl(tmpld, tmpld);
16774 tmpld = cprojl(tmpld);
16775
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_cxx_try_link "$LINENO"; then :
16781 glibcxx_cv_c99_complex=yes
16782 else
16783 glibcxx_cv_c99_complex=no
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 fi
16788 fi
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16790 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16791 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16792
16793 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16794
16795 fi
16796
16797 # Check for the existence in <stdio.h> of vscanf, et. al.
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16799 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16800 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803
16804 if test x$gcc_no_link = xyes; then
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 #include <stdio.h>
16808 #include <stdarg.h>
16809 void foo(char* fmt, ...)
16810 {
16811 va_list args; va_start(args, fmt);
16812 vfscanf(stderr, "%i", args);
16813 vscanf("%i", args);
16814 vsnprintf(fmt, 0, "%i", args);
16815 vsscanf(fmt, "%i", args);
16816 }
16817 int
16818 main ()
16819 {
16820 snprintf("12", 0, "%i");
16821 ;
16822 return 0;
16823 }
16824 _ACEOF
16825 if ac_fn_cxx_try_compile "$LINENO"; then :
16826 glibcxx_cv_c99_stdio=yes
16827 else
16828 glibcxx_cv_c99_stdio=no
16829 fi
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 else
16832 if test x$gcc_no_link = xyes; then
16833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16834 fi
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #include <stdio.h>
16838 #include <stdarg.h>
16839 void foo(char* fmt, ...)
16840 {
16841 va_list args; va_start(args, fmt);
16842 vfscanf(stderr, "%i", args);
16843 vscanf("%i", args);
16844 vsnprintf(fmt, 0, "%i", args);
16845 vsscanf(fmt, "%i", args);
16846 }
16847 int
16848 main ()
16849 {
16850 snprintf("12", 0, "%i");
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856 glibcxx_cv_c99_stdio=yes
16857 else
16858 glibcxx_cv_c99_stdio=no
16859 fi
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 fi
16863
16864 fi
16865
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16867 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16868
16869 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16871 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16872 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16873 $as_echo_n "(cached) " >&6
16874 else
16875
16876 if test x$gcc_no_link = xyes; then
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16879 #include <stdlib.h>
16880 volatile float f;
16881 volatile long double ld;
16882 volatile unsigned long long ll;
16883 lldiv_t mydivt;
16884 int
16885 main ()
16886 {
16887 char* tmp;
16888 f = strtof("gnu", &tmp);
16889 ld = strtold("gnu", &tmp);
16890 ll = strtoll("gnu", &tmp, 10);
16891 ll = strtoull("gnu", &tmp, 10);
16892 ll = llabs(10);
16893 mydivt = lldiv(10,1);
16894 ll = mydivt.quot;
16895 ll = mydivt.rem;
16896 ll = atoll("10");
16897 _Exit(0);
16898
16899 ;
16900 return 0;
16901 }
16902 _ACEOF
16903 if ac_fn_cxx_try_compile "$LINENO"; then :
16904 glibcxx_cv_c99_stdlib=yes
16905 else
16906 glibcxx_cv_c99_stdlib=no
16907 fi
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 else
16910 if test x$gcc_no_link = xyes; then
16911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16912 fi
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdlib.h>
16916 volatile float f;
16917 volatile long double ld;
16918 volatile unsigned long long ll;
16919 lldiv_t mydivt;
16920 int
16921 main ()
16922 {
16923 char* tmp;
16924 f = strtof("gnu", &tmp);
16925 ld = strtold("gnu", &tmp);
16926 ll = strtoll("gnu", &tmp, 10);
16927 ll = strtoull("gnu", &tmp, 10);
16928 ll = llabs(10);
16929 mydivt = lldiv(10,1);
16930 ll = mydivt.quot;
16931 ll = mydivt.rem;
16932 ll = atoll("10");
16933 _Exit(0);
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 if ac_fn_cxx_try_link "$LINENO"; then :
16940 glibcxx_cv_c99_stdlib=yes
16941 else
16942 glibcxx_cv_c99_stdlib=no
16943 fi
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16946 fi
16947
16948 fi
16949
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16951 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16952
16953 # Check for the existence in <wchar.h> of wcstold, etc.
16954 glibcxx_cv_c99_wchar=no;
16955 if test x"$ac_has_wchar_h" = xyes &&
16956 test x"$ac_has_wctype_h" = xyes; then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 #include <wchar.h>
16962 namespace test
16963 {
16964 using ::wcstold;
16965 using ::wcstoll;
16966 using ::wcstoull;
16967 }
16968
16969 int
16970 main ()
16971 {
16972
16973 ;
16974 return 0;
16975 }
16976 _ACEOF
16977 if ac_fn_cxx_try_compile "$LINENO"; then :
16978 glibcxx_cv_c99_wchar=yes
16979 else
16980 glibcxx_cv_c99_wchar=no
16981 fi
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983
16984 # Checks for wide character functions that may not be present.
16985 # Injection of these is wrapped with guard macros.
16986 # NB: only put functions here, instead of immediately above, if
16987 # absolutely necessary.
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <wchar.h>
16991 namespace test { using ::vfwscanf; }
16992 int
16993 main ()
16994 {
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001
17002 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17003
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #include <wchar.h>
17010 namespace test { using ::vswscanf; }
17011 int
17012 main ()
17013 {
17014
17015 ;
17016 return 0;
17017 }
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17020
17021 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17022
17023 fi
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <wchar.h>
17029 namespace test { using ::vwscanf; }
17030 int
17031 main ()
17032 {
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 if ac_fn_cxx_try_compile "$LINENO"; then :
17039
17040 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17041
17042 fi
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <wchar.h>
17048 namespace test { using ::wcstof; }
17049 int
17050 main ()
17051 {
17052
17053 ;
17054 return 0;
17055 }
17056 _ACEOF
17057 if ac_fn_cxx_try_compile "$LINENO"; then :
17058
17059 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17060
17061 fi
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <wctype.h>
17067 int
17068 main ()
17069 {
17070 wint_t t; int i = iswblank(t);
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 if ac_fn_cxx_try_compile "$LINENO"; then :
17076
17077 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17078
17079 fi
17080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17083 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17084 fi
17085
17086 # Option parsed, now set things appropriately.
17087 if test x"$glibcxx_cv_c99_math" = x"no" ||
17088 test x"$glibcxx_cv_c99_complex" = x"no" ||
17089 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17090 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17091 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17092 enable_c99=no;
17093 else
17094
17095 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17096
17097 fi
17098
17099 gcc_no_link="$ac_save_gcc_no_link"
17100 LIBS="$ac_save_LIBS"
17101 CXXFLAGS="$ac_save_CXXFLAGS"
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107
17108 fi
17109
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17111 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17113 $as_echo "$enable_c99" >&6; }
17114
17115
17116 # Check whether --enable-concept-checks was given.
17117 if test "${enable_concept_checks+set}" = set; then :
17118 enableval=$enable_concept_checks;
17119 case "$enableval" in
17120 yes|no) ;;
17121 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17122 esac
17123
17124 else
17125 enable_concept_checks=no
17126 fi
17127
17128
17129 if test $enable_concept_checks = yes; then
17130
17131 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17132
17133 fi
17134
17135
17136 # Check whether --enable-libstdcxx-debug-flags was given.
17137 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17138 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17139 xno | x) enable_libstdcxx_debug_flags= ;;
17140 x-*) ;;
17141 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17142 esac
17143 else
17144 enable_libstdcxx_debug_flags="-g3 -O0"
17145 fi
17146
17147
17148
17149 # Option parsed, now set things appropriately
17150 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17151
17152
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17154 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17155
17156
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17158 $as_echo_n "checking for additional debug build... " >&6; }
17159 # Check whether --enable-libstdcxx-debug was given.
17160 if test "${enable_libstdcxx_debug+set}" = set; then :
17161 enableval=$enable_libstdcxx_debug;
17162 case "$enableval" in
17163 yes|no) ;;
17164 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17165 esac
17166
17167 else
17168 enable_libstdcxx_debug=no
17169 fi
17170
17171
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17173 $as_echo "$enable_libstdcxx_debug" >&6; }
17174
17175
17176
17177
17178 enable_parallel=no;
17179
17180 # See if configured libgomp/omp.h exists. (libgomp may be in
17181 # noconfigdirs but not explicitly disabled.)
17182 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17183 enable_parallel=yes;
17184 else
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17186 $as_echo "$as_me: target-libgomp not built" >&6;}
17187 fi
17188
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17190 $as_echo_n "checking for parallel mode support... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17192 $as_echo "$enable_parallel" >&6; }
17193
17194
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17196 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17197 # Check whether --enable-cxx-flags was given.
17198 if test "${enable_cxx_flags+set}" = set; then :
17199 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17200 xno | x) enable_cxx_flags= ;;
17201 x-*) ;;
17202 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17203 esac
17204 else
17205 enable_cxx_flags=
17206 fi
17207
17208
17209
17210 # Run through flags (either default or command-line) and set anything
17211 # extra (e.g., #defines) that must accompany particular g++ options.
17212 if test -n "$enable_cxx_flags"; then
17213 for f in $enable_cxx_flags; do
17214 case "$f" in
17215 -fhonor-std) ;;
17216 -*) ;;
17217 *) # and we're trying to pass /what/ exactly?
17218 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17219 esac
17220 done
17221 fi
17222
17223 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17225 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17226
17227
17228
17229 # Check whether --enable-fully-dynamic-string was given.
17230 if test "${enable_fully_dynamic_string+set}" = set; then :
17231 enableval=$enable_fully_dynamic_string;
17232 case "$enableval" in
17233 yes|no) ;;
17234 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17235 esac
17236
17237 else
17238 enable_fully_dynamic_string=no
17239 fi
17240
17241
17242 if test $enable_fully_dynamic_string = yes; then
17243 enable_fully_dynamic_string_def=1
17244 else
17245 enable_fully_dynamic_string_def=0
17246 fi
17247
17248 cat >>confdefs.h <<_ACEOF
17249 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17250 _ACEOF
17251
17252
17253
17254
17255 # Check whether --enable-extern-template was given.
17256 if test "${enable_extern_template+set}" = set; then :
17257 enableval=$enable_extern_template;
17258 case "$enableval" in
17259 yes|no) ;;
17260 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17261 esac
17262
17263 else
17264 enable_extern_template=yes
17265 fi
17266
17267
17268
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17270 $as_echo_n "checking for extern template support... " >&6; }
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17272 $as_echo "$enable_extern_template" >&6; }
17273
17274
17275
17276
17277 # Checks for operating systems support that doesn't require linking.
17278
17279
17280
17281 ac_ext=cpp
17282 ac_cpp='$CXXCPP $CPPFLAGS'
17283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17286
17287
17288 case "$host" in
17289 *-*-solaris2.*)
17290 # Solaris 8 FCS only had an overload for double std::abs(double) in
17291 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17292 # introduced the full set also found from Solaris 9 onwards.
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17294 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17295 if test "${glibcxx_cv_abs_float+set}" = set; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #include <math.h>
17302 namespace std {
17303 inline float abs(float __x)
17304 { return __builtin_fabsf(__x); }
17305 }
17306
17307 _ACEOF
17308 if ac_fn_cxx_try_compile "$LINENO"; then :
17309 glibcxx_cv_abs_float=no
17310 else
17311 glibcxx_cv_abs_float=yes
17312
17313 fi
17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17315 fi
17316
17317
17318 # autoheader cannot handle indented templates.
17319
17320
17321
17322 if test $glibcxx_cv_abs_float = yes; then
17323 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17324
17325 else
17326 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17327
17328 fi
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17330 $as_echo "$glibcxx_cv_abs_float" >&6; }
17331 ;;
17332 esac
17333
17334 ac_ext=c
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17339
17340
17341
17342
17343
17344 ac_ext=cpp
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17349
17350
17351 case "$host" in
17352 *-*-solaris2.*)
17353 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17354 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17355 # (SPARC) and 109608-02 (x86) introduced them.
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17357 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17358 if test "${glibcxx_cv_abs_long+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <stdlib.h>
17365 namespace std {
17366 inline long
17367 abs(long __i) { return labs(__i); }
17368 }
17369
17370 _ACEOF
17371 if ac_fn_cxx_try_compile "$LINENO"; then :
17372 glibcxx_cv_abs_long=no
17373 else
17374 glibcxx_cv_abs_long=yes
17375
17376 fi
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17378 fi
17379
17380
17381 # autoheader cannot handle indented templates.
17382
17383 if test $glibcxx_cv_abs_long = yes; then
17384 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17385
17386 fi
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17388 $as_echo "$glibcxx_cv_abs_long" >&6; }
17389 ;;
17390 esac
17391
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398
17399
17400
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17402 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17403 if test "${glibcxx_cv_system_error1+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <errno.h>
17410 int
17411 main ()
17412 {
17413 int i = EOWNERDEAD;
17414 ;
17415 return 0;
17416 }
17417 _ACEOF
17418 if ac_fn_c_try_compile "$LINENO"; then :
17419 glibcxx_cv_system_error1=yes
17420 else
17421 glibcxx_cv_system_error1=no
17422 fi
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424
17425 fi
17426
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17428 $as_echo "$glibcxx_cv_system_error1" >&6; }
17429 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17430
17431 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17432
17433 fi
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17435 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17436 if test "${glibcxx_cv_system_error2+set}" = set; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17439
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <errno.h>
17443 int
17444 main ()
17445 {
17446 int i = ENOTRECOVERABLE;
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 if ac_fn_c_try_compile "$LINENO"; then :
17452 glibcxx_cv_system_error2=yes
17453 else
17454 glibcxx_cv_system_error2=no
17455 fi
17456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457
17458 fi
17459
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17461 $as_echo "$glibcxx_cv_system_error2" >&6; }
17462 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17463
17464 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17465
17466 fi
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17468 $as_echo_n "checking for ENOLINK... " >&6; }
17469 if test "${glibcxx_cv_system_error3+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <errno.h>
17476 int
17477 main ()
17478 {
17479 int i = ENOLINK;
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 if ac_fn_c_try_compile "$LINENO"; then :
17485 glibcxx_cv_system_error3=yes
17486 else
17487 glibcxx_cv_system_error3=no
17488 fi
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
17491 fi
17492
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17494 $as_echo "$glibcxx_cv_system_error3" >&6; }
17495 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17496
17497 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17498
17499 fi
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17501 $as_echo_n "checking for EPROTO... " >&6; }
17502 if test "${glibcxx_cv_system_error4+set}" = set; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 #include <errno.h>
17509 int
17510 main ()
17511 {
17512 int i = EPROTO;
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 if ac_fn_c_try_compile "$LINENO"; then :
17518 glibcxx_cv_system_error4=yes
17519 else
17520 glibcxx_cv_system_error4=no
17521 fi
17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17523
17524 fi
17525
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17527 $as_echo "$glibcxx_cv_system_error4" >&6; }
17528 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17529
17530 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17531
17532 fi
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17534 $as_echo_n "checking for ENODATA... " >&6; }
17535 if test "${glibcxx_cv_system_error5+set}" = set; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #include <errno.h>
17542 int
17543 main ()
17544 {
17545 int i = ENODATA;
17546 ;
17547 return 0;
17548 }
17549 _ACEOF
17550 if ac_fn_c_try_compile "$LINENO"; then :
17551 glibcxx_cv_system_error5=yes
17552 else
17553 glibcxx_cv_system_error5=no
17554 fi
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556
17557 fi
17558
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17560 $as_echo "$glibcxx_cv_system_error5" >&6; }
17561 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17562
17563 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17564
17565 fi
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17567 $as_echo_n "checking for ENOSR... " >&6; }
17568 if test "${glibcxx_cv_system_error6+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #include <errno.h>
17575 int
17576 main ()
17577 {
17578 int i = ENOSR;
17579 ;
17580 return 0;
17581 }
17582 _ACEOF
17583 if ac_fn_c_try_compile "$LINENO"; then :
17584 glibcxx_cv_system_error6=yes
17585 else
17586 glibcxx_cv_system_error6=no
17587 fi
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589
17590 fi
17591
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17593 $as_echo "$glibcxx_cv_system_error6" >&6; }
17594 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17595
17596 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17597
17598 fi
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17600 $as_echo_n "checking for ENOSTR... " >&6; }
17601 if test "${glibcxx_cv_system_error7+set}" = set; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #include <errno.h>
17608 int
17609 main ()
17610 {
17611 int i = ENOSTR;
17612 ;
17613 return 0;
17614 }
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 glibcxx_cv_system_error7=yes
17618 else
17619 glibcxx_cv_system_error7=no
17620 fi
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623 fi
17624
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17626 $as_echo "$glibcxx_cv_system_error7" >&6; }
17627 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17628
17629 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17630
17631 fi
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17633 $as_echo_n "checking for ETIME... " >&6; }
17634 if test "${glibcxx_cv_system_error8+set}" = set; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <errno.h>
17641 int
17642 main ()
17643 {
17644 int i = ETIME;
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 if ac_fn_c_try_compile "$LINENO"; then :
17650 glibcxx_cv_system_error8=yes
17651 else
17652 glibcxx_cv_system_error8=no
17653 fi
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655
17656 fi
17657
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17659 $as_echo "$glibcxx_cv_system_error8" >&6; }
17660 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17661
17662 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17663
17664 fi
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17666 $as_echo_n "checking for EBADMSG... " >&6; }
17667 if test "${glibcxx_cv_system_error9+set}" = set; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <errno.h>
17674 int
17675 main ()
17676 {
17677 int i = EBADMSG;
17678 ;
17679 return 0;
17680 }
17681 _ACEOF
17682 if ac_fn_c_try_compile "$LINENO"; then :
17683 glibcxx_cv_system_error9=yes
17684 else
17685 glibcxx_cv_system_error9=no
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688
17689 fi
17690
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17692 $as_echo "$glibcxx_cv_system_error9" >&6; }
17693 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17694
17695 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17696
17697 fi
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17699 $as_echo_n "checking for ECANCELED... " >&6; }
17700 if test "${glibcxx_cv_system_error10+set}" = set; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <errno.h>
17707 int
17708 main ()
17709 {
17710 int i = ECANCELED;
17711 ;
17712 return 0;
17713 }
17714 _ACEOF
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716 glibcxx_cv_system_error10=yes
17717 else
17718 glibcxx_cv_system_error10=no
17719 fi
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17721
17722 fi
17723
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17725 $as_echo "$glibcxx_cv_system_error10" >&6; }
17726 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17727
17728 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17729
17730 fi
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17732 $as_echo_n "checking for EOVERFLOW... " >&6; }
17733 if test "${glibcxx_cv_system_error11+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 #include <errno.h>
17740 int
17741 main ()
17742 {
17743 int i = EOVERFLOW;
17744 ;
17745 return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 glibcxx_cv_system_error11=yes
17750 else
17751 glibcxx_cv_system_error11=no
17752 fi
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755 fi
17756
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17758 $as_echo "$glibcxx_cv_system_error11" >&6; }
17759 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17760
17761 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17762
17763 fi
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17765 $as_echo_n "checking for ENOTSUP... " >&6; }
17766 if test "${glibcxx_cv_system_error12+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #include <errno.h>
17773 int
17774 main ()
17775 {
17776 int i = ENOTSUP;
17777 ;
17778 return 0;
17779 }
17780 _ACEOF
17781 if ac_fn_c_try_compile "$LINENO"; then :
17782 glibcxx_cv_system_error12=yes
17783 else
17784 glibcxx_cv_system_error12=no
17785 fi
17786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787
17788 fi
17789
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17791 $as_echo "$glibcxx_cv_system_error12" >&6; }
17792 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17793
17794 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17795
17796 fi
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17798 $as_echo_n "checking for EIDRM... " >&6; }
17799 if test "${glibcxx_cv_system_error13+set}" = set; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <errno.h>
17806 int
17807 main ()
17808 {
17809 int i = EIDRM;
17810 ;
17811 return 0;
17812 }
17813 _ACEOF
17814 if ac_fn_c_try_compile "$LINENO"; then :
17815 glibcxx_cv_system_error13=yes
17816 else
17817 glibcxx_cv_system_error13=no
17818 fi
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820
17821 fi
17822
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17824 $as_echo "$glibcxx_cv_system_error13" >&6; }
17825 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17826
17827 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17828
17829 fi
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17831 $as_echo_n "checking for ETXTBSY... " >&6; }
17832 if test "${glibcxx_cv_system_error14+set}" = set; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17838 #include <errno.h>
17839 int
17840 main ()
17841 {
17842 int i = ETXTBSY;
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_c_try_compile "$LINENO"; then :
17848 glibcxx_cv_system_error14=yes
17849 else
17850 glibcxx_cv_system_error14=no
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854 fi
17855
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17857 $as_echo "$glibcxx_cv_system_error14" >&6; }
17858 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17859
17860 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17861
17862 fi
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17864 $as_echo_n "checking for ECHILD... " >&6; }
17865 if test "${glibcxx_cv_system_error15+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17867 else
17868
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <errno.h>
17872 int
17873 main ()
17874 {
17875 int i = ECHILD;
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 if ac_fn_c_try_compile "$LINENO"; then :
17881 glibcxx_cv_system_error15=yes
17882 else
17883 glibcxx_cv_system_error15=no
17884 fi
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17886
17887 fi
17888
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17890 $as_echo "$glibcxx_cv_system_error15" >&6; }
17891 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17892
17893 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17894
17895 fi
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17897 $as_echo_n "checking for ENOSPC... " >&6; }
17898 if test "${glibcxx_cv_system_error16+set}" = set; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17901
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <errno.h>
17905 int
17906 main ()
17907 {
17908 int i = ENOSPC;
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 if ac_fn_c_try_compile "$LINENO"; then :
17914 glibcxx_cv_system_error16=yes
17915 else
17916 glibcxx_cv_system_error16=no
17917 fi
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919
17920 fi
17921
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17923 $as_echo "$glibcxx_cv_system_error16" >&6; }
17924 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17925
17926 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17927
17928 fi
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17930 $as_echo_n "checking for EPERM... " >&6; }
17931 if test "${glibcxx_cv_system_error17+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #include <errno.h>
17938 int
17939 main ()
17940 {
17941 int i = EPERM;
17942 ;
17943 return 0;
17944 }
17945 _ACEOF
17946 if ac_fn_c_try_compile "$LINENO"; then :
17947 glibcxx_cv_system_error17=yes
17948 else
17949 glibcxx_cv_system_error17=no
17950 fi
17951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952
17953 fi
17954
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17956 $as_echo "$glibcxx_cv_system_error17" >&6; }
17957 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17958
17959 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17960
17961 fi
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17963 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17964 if test "${glibcxx_cv_system_error18+set}" = set; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #include <errno.h>
17971 int
17972 main ()
17973 {
17974 int i = ETIMEDOUT;
17975 ;
17976 return 0;
17977 }
17978 _ACEOF
17979 if ac_fn_c_try_compile "$LINENO"; then :
17980 glibcxx_cv_system_error18=yes
17981 else
17982 glibcxx_cv_system_error18=no
17983 fi
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985
17986 fi
17987
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17989 $as_echo "$glibcxx_cv_system_error18" >&6; }
17990 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17991
17992 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17993
17994 fi
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17996 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17997 if test "${glibcxx_cv_system_error19+set}" = set; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18000
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #include <errno.h>
18004 int
18005 main ()
18006 {
18007 int i = EWOULDBLOCK;
18008 ;
18009 return 0;
18010 }
18011 _ACEOF
18012 if ac_fn_c_try_compile "$LINENO"; then :
18013 glibcxx_cv_system_error19=yes
18014 else
18015 glibcxx_cv_system_error19=no
18016 fi
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018
18019 fi
18020
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18022 $as_echo "$glibcxx_cv_system_error19" >&6; }
18023 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18024
18025 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18026
18027 fi
18028
18029
18030
18031 # For the streamoff typedef.
18032
18033
18034
18035 ac_ext=cpp
18036 ac_cpp='$CXXCPP $CPPFLAGS'
18037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18040
18041
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18043 $as_echo_n "checking for int64_t... " >&6; }
18044 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <stdint.h>
18051 int
18052 main ()
18053 {
18054 int64_t var;
18055 ;
18056 return 0;
18057 }
18058 _ACEOF
18059 if ac_fn_cxx_try_compile "$LINENO"; then :
18060 glibcxx_cv_INT64_T=yes
18061 else
18062 glibcxx_cv_INT64_T=no
18063 fi
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18065
18066 fi
18067
18068
18069 if test $glibcxx_cv_INT64_T = yes; then
18070
18071 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18072
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18074 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18077 $as_echo_n "checking for int64_t as long... " >&6; }
18078 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18085 template<typename, typename> struct same { enum { value = -1 }; };
18086 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18087 int array[same<int64_t, long>::value];
18088 int
18089 main ()
18090 {
18091
18092 ;
18093 return 0;
18094 }
18095 _ACEOF
18096 if ac_fn_cxx_try_compile "$LINENO"; then :
18097 glibcxx_cv_int64_t_long=yes
18098 else
18099 glibcxx_cv_int64_t_long=no
18100 fi
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102
18103 fi
18104
18105
18106 if test $glibcxx_cv_int64_t_long = yes; then
18107
18108 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18111 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18112 fi
18113
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18115 $as_echo_n "checking for int64_t as long long... " >&6; }
18116 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <stdint.h>
18123 template<typename, typename> struct same { enum { value = -1 }; };
18124 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18125 int array[same<int64_t, long long>::value];
18126 int
18127 main ()
18128 {
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 if ac_fn_cxx_try_compile "$LINENO"; then :
18135 glibcxx_cv_int64_t_long_long=yes
18136 else
18137 glibcxx_cv_int64_t_long_long=no
18138 fi
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140
18141 fi
18142
18143
18144 if test $glibcxx_cv_int64_t_long_long = yes; then
18145
18146 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18149 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18150 fi
18151 fi
18152
18153 ac_ext=c
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18158
18159
18160
18161 # For LFS support.
18162
18163
18164 ac_ext=cpp
18165 ac_cpp='$CXXCPP $CPPFLAGS'
18166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18169
18170 ac_save_CXXFLAGS="$CXXFLAGS"
18171 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18173 $as_echo_n "checking for LFS support... " >&6; }
18174 if test "${glibcxx_cv_LFS+set}" = set; then :
18175 $as_echo_n "(cached) " >&6
18176 else
18177
18178 if test x$gcc_no_link = xyes; then
18179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18181 #include <unistd.h>
18182 #include <stdio.h>
18183 #include <sys/stat.h>
18184
18185 int
18186 main ()
18187 {
18188 FILE* fp;
18189 fopen64("t", "w");
18190 fseeko64(fp, 0, SEEK_CUR);
18191 ftello64(fp);
18192 lseek64(1, 0, SEEK_CUR);
18193 struct stat64 buf;
18194 fstat64(1, &buf);
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_LFS=yes
18201 else
18202 glibcxx_cv_LFS=no
18203 fi
18204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18205 else
18206 if test x$gcc_no_link = xyes; then
18207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18208 fi
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18211 #include <unistd.h>
18212 #include <stdio.h>
18213 #include <sys/stat.h>
18214
18215 int
18216 main ()
18217 {
18218 FILE* fp;
18219 fopen64("t", "w");
18220 fseeko64(fp, 0, SEEK_CUR);
18221 ftello64(fp);
18222 lseek64(1, 0, SEEK_CUR);
18223 struct stat64 buf;
18224 fstat64(1, &buf);
18225 ;
18226 return 0;
18227 }
18228 _ACEOF
18229 if ac_fn_cxx_try_link "$LINENO"; then :
18230 glibcxx_cv_LFS=yes
18231 else
18232 glibcxx_cv_LFS=no
18233 fi
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18236 fi
18237
18238 fi
18239
18240 if test $glibcxx_cv_LFS = yes; then
18241
18242 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18243
18244 fi
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18246 $as_echo "$glibcxx_cv_LFS" >&6; }
18247 CXXFLAGS="$ac_save_CXXFLAGS"
18248 ac_ext=c
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253
18254
18255
18256 # For showmanyc_helper().
18257 for ac_header in sys/ioctl.h sys/filio.h
18258 do :
18259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18260 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18261 eval as_val=\$$as_ac_Header
18262 if test "x$as_val" = x""yes; then :
18263 cat >>confdefs.h <<_ACEOF
18264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18265 _ACEOF
18266
18267 fi
18268
18269 done
18270
18271
18272
18273
18274 ac_ext=cpp
18275 ac_cpp='$CXXCPP $CPPFLAGS'
18276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18279
18280 ac_save_CXXFLAGS="$CXXFLAGS"
18281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18282
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18284 $as_echo_n "checking for poll... " >&6; }
18285 if test "${glibcxx_cv_POLL+set}" = set; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18288
18289 if test x$gcc_no_link = xyes; then
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292 #include <poll.h>
18293 int
18294 main ()
18295 {
18296 struct pollfd pfd[1];
18297 pfd[0].events = POLLIN;
18298 poll(pfd, 1, 0);
18299 ;
18300 return 0;
18301 }
18302 _ACEOF
18303 if ac_fn_cxx_try_compile "$LINENO"; then :
18304 glibcxx_cv_POLL=yes
18305 else
18306 glibcxx_cv_POLL=no
18307 fi
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309 else
18310 if test x$gcc_no_link = xyes; then
18311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18312 fi
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #include <poll.h>
18316 int
18317 main ()
18318 {
18319 struct pollfd pfd[1];
18320 pfd[0].events = POLLIN;
18321 poll(pfd, 1, 0);
18322 ;
18323 return 0;
18324 }
18325 _ACEOF
18326 if ac_fn_cxx_try_link "$LINENO"; then :
18327 glibcxx_cv_POLL=yes
18328 else
18329 glibcxx_cv_POLL=no
18330 fi
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 fi
18334
18335 fi
18336
18337 if test $glibcxx_cv_POLL = yes; then
18338
18339 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18340
18341 fi
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18343 $as_echo "$glibcxx_cv_POLL" >&6; }
18344
18345 CXXFLAGS="$ac_save_CXXFLAGS"
18346 ac_ext=c
18347 ac_cpp='$CPP $CPPFLAGS'
18348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351
18352
18353
18354
18355
18356 ac_ext=cpp
18357 ac_cpp='$CXXCPP $CPPFLAGS'
18358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18361
18362 ac_save_CXXFLAGS="$CXXFLAGS"
18363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18364
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18366 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18367 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370
18371 if test x$gcc_no_link = xyes; then
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 #include <sys/stat.h>
18375 int
18376 main ()
18377 {
18378 struct stat buffer;
18379 fstat(0, &buffer);
18380 S_ISREG(buffer.st_mode);
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 if ac_fn_cxx_try_compile "$LINENO"; then :
18386 glibcxx_cv_S_ISREG=yes
18387 else
18388 glibcxx_cv_S_ISREG=no
18389 fi
18390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391 else
18392 if test x$gcc_no_link = xyes; then
18393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18394 fi
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <sys/stat.h>
18398 int
18399 main ()
18400 {
18401 struct stat buffer;
18402 fstat(0, &buffer);
18403 S_ISREG(buffer.st_mode);
18404 ;
18405 return 0;
18406 }
18407 _ACEOF
18408 if ac_fn_cxx_try_link "$LINENO"; then :
18409 glibcxx_cv_S_ISREG=yes
18410 else
18411 glibcxx_cv_S_ISREG=no
18412 fi
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18415 fi
18416
18417 fi
18418
18419 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422
18423 if test x$gcc_no_link = xyes; then
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 #include <sys/stat.h>
18427 int
18428 main ()
18429 {
18430 struct stat buffer;
18431 fstat(0, &buffer);
18432 S_IFREG & buffer.st_mode;
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438 glibcxx_cv_S_IFREG=yes
18439 else
18440 glibcxx_cv_S_IFREG=no
18441 fi
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 else
18444 if test x$gcc_no_link = xyes; then
18445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18446 fi
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 #include <sys/stat.h>
18450 int
18451 main ()
18452 {
18453 struct stat buffer;
18454 fstat(0, &buffer);
18455 S_IFREG & buffer.st_mode;
18456 ;
18457 return 0;
18458 }
18459 _ACEOF
18460 if ac_fn_cxx_try_link "$LINENO"; then :
18461 glibcxx_cv_S_IFREG=yes
18462 else
18463 glibcxx_cv_S_IFREG=no
18464 fi
18465 rm -f core conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18467 fi
18468
18469 fi
18470
18471 res=no
18472 if test $glibcxx_cv_S_ISREG = yes; then
18473
18474 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18475
18476 res=S_ISREG
18477 elif test $glibcxx_cv_S_IFREG = yes; then
18478
18479 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18480
18481 res=S_IFREG
18482 fi
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18484 $as_echo "$res" >&6; }
18485
18486 CXXFLAGS="$ac_save_CXXFLAGS"
18487 ac_ext=c
18488 ac_cpp='$CPP $CPPFLAGS'
18489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18492
18493
18494
18495 # For xsputn_2().
18496 for ac_header in sys/uio.h
18497 do :
18498 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18499 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_SYS_UIO_H 1
18502 _ACEOF
18503
18504 fi
18505
18506 done
18507
18508
18509
18510
18511 ac_ext=cpp
18512 ac_cpp='$CXXCPP $CPPFLAGS'
18513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18516
18517 ac_save_CXXFLAGS="$CXXFLAGS"
18518 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18519
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18521 $as_echo_n "checking for writev... " >&6; }
18522 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525
18526 if test x$gcc_no_link = xyes; then
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <sys/uio.h>
18530 int
18531 main ()
18532 {
18533 struct iovec iov[2];
18534 writev(0, iov, 0);
18535 ;
18536 return 0;
18537 }
18538 _ACEOF
18539 if ac_fn_cxx_try_compile "$LINENO"; then :
18540 glibcxx_cv_WRITEV=yes
18541 else
18542 glibcxx_cv_WRITEV=no
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 else
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18548 fi
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #include <sys/uio.h>
18552 int
18553 main ()
18554 {
18555 struct iovec iov[2];
18556 writev(0, iov, 0);
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 if ac_fn_cxx_try_link "$LINENO"; then :
18562 glibcxx_cv_WRITEV=yes
18563 else
18564 glibcxx_cv_WRITEV=no
18565 fi
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18568 fi
18569
18570 fi
18571
18572 if test $glibcxx_cv_WRITEV = yes; then
18573
18574 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18575
18576 fi
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18578 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18579
18580 CXXFLAGS="$ac_save_CXXFLAGS"
18581 ac_ext=c
18582 ac_cpp='$CPP $CPPFLAGS'
18583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586
18587
18588
18589 # For C99 support to TR1.
18590
18591
18592
18593 ac_ext=cpp
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18598
18599
18600 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18601 # undefined and fake C99 facilities may be spuriously enabled.
18602 ac_save_CXXFLAGS="$CXXFLAGS"
18603 CXXFLAGS="$CXXFLAGS -std=c++98"
18604
18605 # Check for the existence of <complex.h> complex math functions used
18606 # by tr1/complex.
18607 for ac_header in complex.h
18608 do :
18609 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18610 if test "x$ac_cv_header_complex_h" = x""yes; then :
18611 cat >>confdefs.h <<_ACEOF
18612 #define HAVE_COMPLEX_H 1
18613 _ACEOF
18614 ac_has_complex_h=yes
18615 else
18616 ac_has_complex_h=no
18617 fi
18618
18619 done
18620
18621 ac_c99_complex_tr1=no;
18622 if test x"$ac_has_complex_h" = x"yes"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18624 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <complex.h>
18628 int
18629 main ()
18630 {
18631 typedef __complex__ float float_type; float_type tmpf;
18632 cacosf(tmpf);
18633 casinf(tmpf);
18634 catanf(tmpf);
18635 cacoshf(tmpf);
18636 casinhf(tmpf);
18637 catanhf(tmpf);
18638 typedef __complex__ double double_type; double_type tmpd;
18639 cacos(tmpd);
18640 casin(tmpd);
18641 catan(tmpd);
18642 cacosh(tmpd);
18643 casinh(tmpd);
18644 catanh(tmpd);
18645 typedef __complex__ long double ld_type; ld_type tmpld;
18646 cacosl(tmpld);
18647 casinl(tmpld);
18648 catanl(tmpld);
18649 cacoshl(tmpld);
18650 casinhl(tmpld);
18651 catanhl(tmpld);
18652
18653 ;
18654 return 0;
18655 }
18656 _ACEOF
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658 ac_c99_complex_tr1=yes
18659 else
18660 ac_c99_complex_tr1=no
18661 fi
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 fi
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18665 $as_echo "$ac_c99_complex_tr1" >&6; }
18666 if test x"$ac_c99_complex_tr1" = x"yes"; then
18667
18668 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18669
18670 fi
18671
18672 # Check for the existence of <ctype.h> functions.
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18674 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18675 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18678
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <ctype.h>
18682 int
18683 main ()
18684 {
18685 int ch;
18686 int ret;
18687 ret = isblank(ch);
18688
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 if ac_fn_cxx_try_compile "$LINENO"; then :
18694 glibcxx_cv_c99_ctype_tr1=yes
18695 else
18696 glibcxx_cv_c99_ctype_tr1=no
18697 fi
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699
18700 fi
18701
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18703 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18704 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18705
18706 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18707
18708 fi
18709
18710 # Check for the existence of <fenv.h> functions.
18711 for ac_header in fenv.h
18712 do :
18713 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18714 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_FENV_H 1
18717 _ACEOF
18718 ac_has_fenv_h=yes
18719 else
18720 ac_has_fenv_h=no
18721 fi
18722
18723 done
18724
18725 ac_c99_fenv_tr1=no;
18726 if test x"$ac_has_fenv_h" = x"yes"; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18728 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <fenv.h>
18732 int
18733 main ()
18734 {
18735 int except, mode;
18736 fexcept_t* pflag;
18737 fenv_t* penv;
18738 int ret;
18739 ret = feclearexcept(except);
18740 ret = fegetexceptflag(pflag, except);
18741 ret = feraiseexcept(except);
18742 ret = fesetexceptflag(pflag, except);
18743 ret = fetestexcept(except);
18744 ret = fegetround();
18745 ret = fesetround(mode);
18746 ret = fegetenv(penv);
18747 ret = feholdexcept(penv);
18748 ret = fesetenv(penv);
18749 ret = feupdateenv(penv);
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 if ac_fn_cxx_try_compile "$LINENO"; then :
18756 ac_c99_fenv_tr1=yes
18757 else
18758 ac_c99_fenv_tr1=no
18759 fi
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 fi
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18763 $as_echo "$ac_c99_fenv_tr1" >&6; }
18764 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18765
18766 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18767
18768 fi
18769
18770 # Check for the existence of <stdint.h> types.
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18772 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18773 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18774 $as_echo_n "(cached) " >&6
18775 else
18776
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 #define __STDC_LIMIT_MACROS
18780 #define __STDC_CONSTANT_MACROS
18781 #include <stdint.h>
18782 int
18783 main ()
18784 {
18785 typedef int8_t my_int8_t;
18786 my_int8_t i8 = INT8_MIN;
18787 i8 = INT8_MAX;
18788 typedef int16_t my_int16_t;
18789 my_int16_t i16 = INT16_MIN;
18790 i16 = INT16_MAX;
18791 typedef int32_t my_int32_t;
18792 my_int32_t i32 = INT32_MIN;
18793 i32 = INT32_MAX;
18794 typedef int64_t my_int64_t;
18795 my_int64_t i64 = INT64_MIN;
18796 i64 = INT64_MAX;
18797 typedef int_fast8_t my_int_fast8_t;
18798 my_int_fast8_t if8 = INT_FAST8_MIN;
18799 if8 = INT_FAST8_MAX;
18800 typedef int_fast16_t my_int_fast16_t;
18801 my_int_fast16_t if16 = INT_FAST16_MIN;
18802 if16 = INT_FAST16_MAX;
18803 typedef int_fast32_t my_int_fast32_t;
18804 my_int_fast32_t if32 = INT_FAST32_MIN;
18805 if32 = INT_FAST32_MAX;
18806 typedef int_fast64_t my_int_fast64_t;
18807 my_int_fast64_t if64 = INT_FAST64_MIN;
18808 if64 = INT_FAST64_MAX;
18809 typedef int_least8_t my_int_least8_t;
18810 my_int_least8_t il8 = INT_LEAST8_MIN;
18811 il8 = INT_LEAST8_MAX;
18812 typedef int_least16_t my_int_least16_t;
18813 my_int_least16_t il16 = INT_LEAST16_MIN;
18814 il16 = INT_LEAST16_MAX;
18815 typedef int_least32_t my_int_least32_t;
18816 my_int_least32_t il32 = INT_LEAST32_MIN;
18817 il32 = INT_LEAST32_MAX;
18818 typedef int_least64_t my_int_least64_t;
18819 my_int_least64_t il64 = INT_LEAST64_MIN;
18820 il64 = INT_LEAST64_MAX;
18821 typedef intmax_t my_intmax_t;
18822 my_intmax_t im = INTMAX_MAX;
18823 im = INTMAX_MIN;
18824 typedef intptr_t my_intptr_t;
18825 my_intptr_t ip = INTPTR_MAX;
18826 ip = INTPTR_MIN;
18827 typedef uint8_t my_uint8_t;
18828 my_uint8_t ui8 = UINT8_MAX;
18829 ui8 = UINT8_MAX;
18830 typedef uint16_t my_uint16_t;
18831 my_uint16_t ui16 = UINT16_MAX;
18832 ui16 = UINT16_MAX;
18833 typedef uint32_t my_uint32_t;
18834 my_uint32_t ui32 = UINT32_MAX;
18835 ui32 = UINT32_MAX;
18836 typedef uint64_t my_uint64_t;
18837 my_uint64_t ui64 = UINT64_MAX;
18838 ui64 = UINT64_MAX;
18839 typedef uint_fast8_t my_uint_fast8_t;
18840 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18841 uif8 = UINT_FAST8_MAX;
18842 typedef uint_fast16_t my_uint_fast16_t;
18843 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18844 uif16 = UINT_FAST16_MAX;
18845 typedef uint_fast32_t my_uint_fast32_t;
18846 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18847 uif32 = UINT_FAST32_MAX;
18848 typedef uint_fast64_t my_uint_fast64_t;
18849 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18850 uif64 = UINT_FAST64_MAX;
18851 typedef uint_least8_t my_uint_least8_t;
18852 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18853 uil8 = UINT_LEAST8_MAX;
18854 typedef uint_least16_t my_uint_least16_t;
18855 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18856 uil16 = UINT_LEAST16_MAX;
18857 typedef uint_least32_t my_uint_least32_t;
18858 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18859 uil32 = UINT_LEAST32_MAX;
18860 typedef uint_least64_t my_uint_least64_t;
18861 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18862 uil64 = UINT_LEAST64_MAX;
18863 typedef uintmax_t my_uintmax_t;
18864 my_uintmax_t uim = UINTMAX_MAX;
18865 uim = UINTMAX_MAX;
18866 typedef uintptr_t my_uintptr_t;
18867 my_uintptr_t uip = UINTPTR_MAX;
18868 uip = UINTPTR_MAX;
18869
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 if ac_fn_cxx_try_compile "$LINENO"; then :
18875 glibcxx_cv_c99_stdint_tr1=yes
18876 else
18877 glibcxx_cv_c99_stdint_tr1=no
18878 fi
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880
18881 fi
18882
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18884 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18885 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18886
18887 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18888
18889 fi
18890
18891 # Check for the existence of <math.h> functions.
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18893 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18894 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18897
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <math.h>
18901 int
18902 main ()
18903 {
18904 typedef double_t my_double_t;
18905 typedef float_t my_float_t;
18906 acosh(0.0);
18907 acoshf(0.0f);
18908 acoshl(0.0l);
18909 asinh(0.0);
18910 asinhf(0.0f);
18911 asinhl(0.0l);
18912 atanh(0.0);
18913 atanhf(0.0f);
18914 atanhl(0.0l);
18915 cbrt(0.0);
18916 cbrtf(0.0f);
18917 cbrtl(0.0l);
18918 copysign(0.0, 0.0);
18919 copysignf(0.0f, 0.0f);
18920 copysignl(0.0l, 0.0l);
18921 erf(0.0);
18922 erff(0.0f);
18923 erfl(0.0l);
18924 erfc(0.0);
18925 erfcf(0.0f);
18926 erfcl(0.0l);
18927 exp2(0.0);
18928 exp2f(0.0f);
18929 exp2l(0.0l);
18930 expm1(0.0);
18931 expm1f(0.0f);
18932 expm1l(0.0l);
18933 fdim(0.0, 0.0);
18934 fdimf(0.0f, 0.0f);
18935 fdiml(0.0l, 0.0l);
18936 fma(0.0, 0.0, 0.0);
18937 fmaf(0.0f, 0.0f, 0.0f);
18938 fmal(0.0l, 0.0l, 0.0l);
18939 fmax(0.0, 0.0);
18940 fmaxf(0.0f, 0.0f);
18941 fmaxl(0.0l, 0.0l);
18942 fmin(0.0, 0.0);
18943 fminf(0.0f, 0.0f);
18944 fminl(0.0l, 0.0l);
18945 hypot(0.0, 0.0);
18946 hypotf(0.0f, 0.0f);
18947 hypotl(0.0l, 0.0l);
18948 ilogb(0.0);
18949 ilogbf(0.0f);
18950 ilogbl(0.0l);
18951 lgamma(0.0);
18952 lgammaf(0.0f);
18953 lgammal(0.0l);
18954 llrint(0.0);
18955 llrintf(0.0f);
18956 llrintl(0.0l);
18957 llround(0.0);
18958 llroundf(0.0f);
18959 llroundl(0.0l);
18960 log1p(0.0);
18961 log1pf(0.0f);
18962 log1pl(0.0l);
18963 log2(0.0);
18964 log2f(0.0f);
18965 log2l(0.0l);
18966 logb(0.0);
18967 logbf(0.0f);
18968 logbl(0.0l);
18969 lrint(0.0);
18970 lrintf(0.0f);
18971 lrintl(0.0l);
18972 lround(0.0);
18973 lroundf(0.0f);
18974 lroundl(0.0l);
18975 nan(0);
18976 nanf(0);
18977 nanl(0);
18978 nearbyint(0.0);
18979 nearbyintf(0.0f);
18980 nearbyintl(0.0l);
18981 nextafter(0.0, 0.0);
18982 nextafterf(0.0f, 0.0f);
18983 nextafterl(0.0l, 0.0l);
18984 nexttoward(0.0, 0.0);
18985 nexttowardf(0.0f, 0.0f);
18986 nexttowardl(0.0l, 0.0l);
18987 remainder(0.0, 0.0);
18988 remainderf(0.0f, 0.0f);
18989 remainderl(0.0l, 0.0l);
18990 remquo(0.0, 0.0, 0);
18991 remquof(0.0f, 0.0f, 0);
18992 remquol(0.0l, 0.0l, 0);
18993 rint(0.0);
18994 rintf(0.0f);
18995 rintl(0.0l);
18996 round(0.0);
18997 roundf(0.0f);
18998 roundl(0.0l);
18999 scalbln(0.0, 0l);
19000 scalblnf(0.0f, 0l);
19001 scalblnl(0.0l, 0l);
19002 scalbn(0.0, 0);
19003 scalbnf(0.0f, 0);
19004 scalbnl(0.0l, 0);
19005 tgamma(0.0);
19006 tgammaf(0.0f);
19007 tgammal(0.0l);
19008 trunc(0.0);
19009 truncf(0.0f);
19010 truncl(0.0l);
19011
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 glibcxx_cv_c99_math_tr1=yes
19018 else
19019 glibcxx_cv_c99_math_tr1=no
19020 fi
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022
19023 fi
19024
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19026 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19027 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19028
19029 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19030
19031 fi
19032
19033 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19034 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19035 ac_c99_inttypes_tr1=no;
19036 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19038 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <inttypes.h>
19042 int
19043 main ()
19044 {
19045 intmax_t i, numer, denom, base;
19046 const char* s;
19047 char** endptr;
19048 intmax_t ret = imaxabs(i);
19049 imaxdiv_t dret = imaxdiv(numer, denom);
19050 ret = strtoimax(s, endptr, base);
19051 uintmax_t uret = strtoumax(s, endptr, base);
19052
19053 ;
19054 return 0;
19055 }
19056 _ACEOF
19057 if ac_fn_cxx_try_compile "$LINENO"; then :
19058 ac_c99_inttypes_tr1=yes
19059 else
19060 ac_c99_inttypes_tr1=no
19061 fi
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 fi
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19065 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19066 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19067
19068 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19069
19070 fi
19071
19072 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19073 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19074 ac_c99_inttypes_wchar_t_tr1=no;
19075 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19077 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #include <inttypes.h>
19081 int
19082 main ()
19083 {
19084 intmax_t base;
19085 const wchar_t* s;
19086 wchar_t** endptr;
19087 intmax_t ret = wcstoimax(s, endptr, base);
19088 uintmax_t uret = wcstoumax(s, endptr, base);
19089
19090 ;
19091 return 0;
19092 }
19093 _ACEOF
19094 if ac_fn_cxx_try_compile "$LINENO"; then :
19095 ac_c99_inttypes_wchar_t_tr1=yes
19096 else
19097 ac_c99_inttypes_wchar_t_tr1=no
19098 fi
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100 fi
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19102 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19103 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19104
19105 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19106
19107 fi
19108
19109 # Check for the existence of the <stdbool.h> header.
19110 for ac_header in stdbool.h
19111 do :
19112 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19113 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STDBOOL_H 1
19116 _ACEOF
19117
19118 fi
19119
19120 done
19121
19122
19123 CXXFLAGS="$ac_save_CXXFLAGS"
19124 ac_ext=c
19125 ac_cpp='$CPP $CPPFLAGS'
19126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129
19130
19131
19132 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19133
19134
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19136 $as_echo_n "checking for the value of EOF... " >&6; }
19137 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140
19141 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19142
19143 else
19144 as_fn_error "computing EOF failed" "$LINENO" 5
19145 fi
19146
19147
19148 fi
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19150 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19151
19152 cat >>confdefs.h <<_ACEOF
19153 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19154 _ACEOF
19155
19156
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19158 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19159 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19160 $as_echo_n "(cached) " >&6
19161 else
19162
19163 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19164
19165 else
19166 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19167 fi
19168
19169
19170 fi
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19172 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19173
19174 cat >>confdefs.h <<_ACEOF
19175 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19176 _ACEOF
19177
19178
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19180 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19181 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19182 $as_echo_n "(cached) " >&6
19183 else
19184
19185 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19186
19187 else
19188 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19189 fi
19190
19191
19192 fi
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19194 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19195
19196 cat >>confdefs.h <<_ACEOF
19197 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19198 _ACEOF
19199
19200
19201
19202 # For gettimeofday support.
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19207
19208
19209 ac_ext=cpp
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215 ac_save_CXXFLAGS="$CXXFLAGS"
19216 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19217
19218 ac_has_gettimeofday=no;
19219 for ac_header in sys/time.h
19220 do :
19221 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19222 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_SYS_TIME_H 1
19225 _ACEOF
19226 ac_has_sys_time_h=yes
19227 else
19228 ac_has_sys_time_h=no
19229 fi
19230
19231 done
19232
19233 if test x"$ac_has_sys_time_h" = x"yes"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19236 if test x$gcc_no_link = xyes; then
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 #include <sys/time.h>
19240 int
19241 main ()
19242 {
19243 timeval tv; gettimeofday(&tv, 0);
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 ac_has_gettimeofday=yes
19250 else
19251 ac_has_gettimeofday=no
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 else
19255 if test x$gcc_no_link = xyes; then
19256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19257 fi
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <sys/time.h>
19261 int
19262 main ()
19263 {
19264 timeval tv; gettimeofday(&tv, 0);
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 if ac_fn_cxx_try_link "$LINENO"; then :
19270 ac_has_gettimeofday=yes
19271 else
19272 ac_has_gettimeofday=no
19273 fi
19274 rm -f core conftest.err conftest.$ac_objext \
19275 conftest$ac_exeext conftest.$ac_ext
19276 fi
19277
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19279 $as_echo "$ac_has_gettimeofday" >&6; }
19280 fi
19281
19282 if test x"$ac_has_gettimeofday" = x"yes"; then
19283
19284 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19285
19286 fi
19287
19288 CXXFLAGS="$ac_save_CXXFLAGS"
19289 ac_ext=c
19290 ac_cpp='$CPP $CPPFLAGS'
19291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19294
19295
19296
19297 # For clock_gettime, nanosleep and sched_yield support.
19298 # NB: The default is [no], because otherwise it requires linking.
19299
19300
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19302 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19303 # Check whether --enable-libstdcxx-time was given.
19304 if test "${enable_libstdcxx_time+set}" = set; then :
19305 enableval=$enable_libstdcxx_time;
19306 case "$enableval" in
19307 yes|no|rt) ;;
19308 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19309 esac
19310
19311 else
19312 enable_libstdcxx_time=no
19313 fi
19314
19315
19316
19317
19318 ac_ext=cpp
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19323
19324 ac_save_CXXFLAGS="$CXXFLAGS"
19325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19326 ac_save_LIBS="$LIBS"
19327
19328 ac_has_clock_monotonic=no
19329 ac_has_clock_realtime=no
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19331 $as_echo "$enable_libstdcxx_time" >&6; }
19332
19333 if test x"$enable_libstdcxx_time" != x"no"; then
19334
19335 if test x"$enable_libstdcxx_time" = x"rt"; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19337 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19341 ac_func_search_save_LIBS=$LIBS
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344
19345 /* Override any GCC internal prototype to avoid an error.
19346 Use char because int might match the return type of a GCC
19347 builtin and then its argument prototype would still apply. */
19348 #ifdef __cplusplus
19349 extern "C"
19350 #endif
19351 char clock_gettime ();
19352 int
19353 main ()
19354 {
19355 return clock_gettime ();
19356 ;
19357 return 0;
19358 }
19359 _ACEOF
19360 for ac_lib in '' rt posix4; do
19361 if test -z "$ac_lib"; then
19362 ac_res="none required"
19363 else
19364 ac_res=-l$ac_lib
19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19366 fi
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19369 fi
19370 if ac_fn_cxx_try_link "$LINENO"; then :
19371 ac_cv_search_clock_gettime=$ac_res
19372 fi
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext
19375 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19376 break
19377 fi
19378 done
19379 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19380
19381 else
19382 ac_cv_search_clock_gettime=no
19383 fi
19384 rm conftest.$ac_ext
19385 LIBS=$ac_func_search_save_LIBS
19386 fi
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19388 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19389 ac_res=$ac_cv_search_clock_gettime
19390 if test "$ac_res" != no; then :
19391 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19392
19393 fi
19394
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19396 $as_echo_n "checking for library containing nanosleep... " >&6; }
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 ac_func_search_save_LIBS=$LIBS
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403
19404 /* Override any GCC internal prototype to avoid an error.
19405 Use char because int might match the return type of a GCC
19406 builtin and then its argument prototype would still apply. */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 char nanosleep ();
19411 int
19412 main ()
19413 {
19414 return nanosleep ();
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 for ac_lib in '' rt posix4; do
19420 if test -z "$ac_lib"; then
19421 ac_res="none required"
19422 else
19423 ac_res=-l$ac_lib
19424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19425 fi
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428 fi
19429 if ac_fn_cxx_try_link "$LINENO"; then :
19430 ac_cv_search_nanosleep=$ac_res
19431 fi
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext
19434 if test "${ac_cv_search_nanosleep+set}" = set; then :
19435 break
19436 fi
19437 done
19438 if test "${ac_cv_search_nanosleep+set}" = set; then :
19439
19440 else
19441 ac_cv_search_nanosleep=no
19442 fi
19443 rm conftest.$ac_ext
19444 LIBS=$ac_func_search_save_LIBS
19445 fi
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19447 $as_echo "$ac_cv_search_nanosleep" >&6; }
19448 ac_res=$ac_cv_search_nanosleep
19449 if test "$ac_res" != no; then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19451
19452 fi
19453
19454 else
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19456 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19460 ac_func_search_save_LIBS=$LIBS
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463
19464 /* Override any GCC internal prototype to avoid an error.
19465 Use char because int might match the return type of a GCC
19466 builtin and then its argument prototype would still apply. */
19467 #ifdef __cplusplus
19468 extern "C"
19469 #endif
19470 char clock_gettime ();
19471 int
19472 main ()
19473 {
19474 return clock_gettime ();
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 for ac_lib in '' posix4; do
19480 if test -z "$ac_lib"; then
19481 ac_res="none required"
19482 else
19483 ac_res=-l$ac_lib
19484 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19485 fi
19486 if test x$gcc_no_link = xyes; then
19487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 fi
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 ac_cv_search_clock_gettime=$ac_res
19491 fi
19492 rm -f core conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext
19494 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19495 break
19496 fi
19497 done
19498 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19499
19500 else
19501 ac_cv_search_clock_gettime=no
19502 fi
19503 rm conftest.$ac_ext
19504 LIBS=$ac_func_search_save_LIBS
19505 fi
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19507 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19508 ac_res=$ac_cv_search_clock_gettime
19509 if test "$ac_res" != no; then :
19510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19511
19512 fi
19513
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19515 $as_echo_n "checking for library containing nanosleep... " >&6; }
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19517 $as_echo_n "(cached) " >&6
19518 else
19519 ac_func_search_save_LIBS=$LIBS
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522
19523 /* Override any GCC internal prototype to avoid an error.
19524 Use char because int might match the return type of a GCC
19525 builtin and then its argument prototype would still apply. */
19526 #ifdef __cplusplus
19527 extern "C"
19528 #endif
19529 char nanosleep ();
19530 int
19531 main ()
19532 {
19533 return nanosleep ();
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 for ac_lib in '' posix4; do
19539 if test -z "$ac_lib"; then
19540 ac_res="none required"
19541 else
19542 ac_res=-l$ac_lib
19543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19544 fi
19545 if test x$gcc_no_link = xyes; then
19546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 fi
19548 if ac_fn_cxx_try_link "$LINENO"; then :
19549 ac_cv_search_nanosleep=$ac_res
19550 fi
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext
19553 if test "${ac_cv_search_nanosleep+set}" = set; then :
19554 break
19555 fi
19556 done
19557 if test "${ac_cv_search_nanosleep+set}" = set; then :
19558
19559 else
19560 ac_cv_search_nanosleep=no
19561 fi
19562 rm conftest.$ac_ext
19563 LIBS=$ac_func_search_save_LIBS
19564 fi
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19566 $as_echo "$ac_cv_search_nanosleep" >&6; }
19567 ac_res=$ac_cv_search_nanosleep
19568 if test "$ac_res" != no; then :
19569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19570
19571 fi
19572
19573 fi
19574
19575 case "$ac_cv_search_clock_gettime" in
19576 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19577 ;;
19578 esac
19579 case "$ac_cv_search_nanosleep" in
19580 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19581 ;;
19582 esac
19583
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19585 $as_echo_n "checking for library containing sched_yield... " >&6; }
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19596 #ifdef __cplusplus
19597 extern "C"
19598 #endif
19599 char sched_yield ();
19600 int
19601 main ()
19602 {
19603 return sched_yield ();
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 for ac_lib in '' rt posix4; do
19609 if test -z "$ac_lib"; then
19610 ac_res="none required"
19611 else
19612 ac_res=-l$ac_lib
19613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19614 fi
19615 if test x$gcc_no_link = xyes; then
19616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 fi
19618 if ac_fn_cxx_try_link "$LINENO"; then :
19619 ac_cv_search_sched_yield=$ac_res
19620 fi
19621 rm -f core conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext
19623 if test "${ac_cv_search_sched_yield+set}" = set; then :
19624 break
19625 fi
19626 done
19627 if test "${ac_cv_search_sched_yield+set}" = set; then :
19628
19629 else
19630 ac_cv_search_sched_yield=no
19631 fi
19632 rm conftest.$ac_ext
19633 LIBS=$ac_func_search_save_LIBS
19634 fi
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19636 $as_echo "$ac_cv_search_sched_yield" >&6; }
19637 ac_res=$ac_cv_search_sched_yield
19638 if test "$ac_res" != no; then :
19639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19640
19641 fi
19642
19643
19644 case "$ac_cv_search_sched_yield" in
19645 -lposix4*)
19646 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19647
19648 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19649
19650 ;;
19651 -lrt*)
19652 if test x"$enable_libstdcxx_time" = x"rt"; then
19653 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19654
19655 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19656
19657 fi
19658 ;;
19659 *)
19660
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19662
19663 ;;
19664 esac
19665
19666 for ac_header in unistd.h
19667 do :
19668 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19669 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_UNISTD_H 1
19672 _ACEOF
19673 ac_has_unistd_h=yes
19674 else
19675 ac_has_unistd_h=no
19676 fi
19677
19678 done
19679
19680
19681 if test x"$ac_has_unistd_h" = x"yes"; then
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19683 $as_echo_n "checking for monotonic clock... " >&6; }
19684 if test x$gcc_no_link = xyes; then
19685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 fi
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #include <unistd.h>
19690 #include <time.h>
19691
19692 int
19693 main ()
19694 {
19695 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19696 timespec tp;
19697 #endif
19698 clock_gettime(CLOCK_MONOTONIC, &tp);
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_has_clock_monotonic=yes
19706 else
19707 ac_has_clock_monotonic=no
19708 fi
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19711
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19713 $as_echo "$ac_has_clock_monotonic" >&6; }
19714
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19716 $as_echo_n "checking for realtime clock... " >&6; }
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <unistd.h>
19723 #include <time.h>
19724
19725 int
19726 main ()
19727 {
19728 #if _POSIX_TIMERS > 0
19729 timespec tp;
19730 #endif
19731 clock_gettime(CLOCK_REALTIME, &tp);
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_has_clock_realtime=yes
19739 else
19740 ac_has_clock_realtime=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19746 $as_echo "$ac_has_clock_realtime" >&6; }
19747
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19749 $as_echo_n "checking for nanosleep... " >&6; }
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <unistd.h>
19756 #include <time.h>
19757
19758 int
19759 main ()
19760 {
19761 #if _POSIX_TIMERS > 0
19762 timespec tp;
19763 #endif
19764 nanosleep(&tp, 0);
19765
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_has_nanosleep=yes
19772 else
19773 ac_has_nanosleep=no
19774 fi
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19777
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19779 $as_echo "$ac_has_nanosleep" >&6; }
19780 fi
19781 fi
19782
19783 if test x"$ac_has_clock_monotonic" = x"yes"; then
19784
19785 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19786
19787 fi
19788
19789 if test x"$ac_has_clock_realtime" = x"yes"; then
19790
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19792
19793 fi
19794
19795 if test x"$ac_has_nanosleep" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19798
19799 fi
19800
19801
19802
19803 CXXFLAGS="$ac_save_CXXFLAGS"
19804 LIBS="$ac_save_LIBS"
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810
19811
19812
19813 # For gthread support
19814
19815
19816 ac_ext=cpp
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19821
19822
19823 ac_save_CXXFLAGS="$CXXFLAGS"
19824 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19825
19826 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19827 case $target_thread_file in
19828 posix)
19829 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19830 esac
19831
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19833 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19834
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #include <unistd.h>
19838 int
19839 main ()
19840 {
19841
19842 // In case of POSIX threads check _POSIX_TIMEOUTS.
19843 #if (defined(_PTHREADS) \
19844 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19845 #error
19846 #endif
19847
19848 ;
19849 return 0;
19850 }
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 ac_gthread_use_mutex_timedlock=1
19854 else
19855 ac_gthread_use_mutex_timedlock=0
19856 fi
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858
19859
19860 cat >>confdefs.h <<_ACEOF
19861 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19862 _ACEOF
19863
19864
19865 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19866 else res_mutex_timedlock=no ; fi
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19868 $as_echo "$res_mutex_timedlock" >&6; }
19869
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19871 $as_echo_n "checking for gthreads library... " >&6; }
19872
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #include "gthr.h"
19876 int
19877 main ()
19878 {
19879
19880 #ifndef __GTHREADS_CXX0X
19881 #error
19882 #endif
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_gthreads=yes
19890 else
19891 ac_has_gthreads=no
19892 fi
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19896 $as_echo "$ac_has_gthreads" >&6; }
19897
19898 if test x"$ac_has_gthreads" = x"yes"; then
19899
19900 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19901
19902 fi
19903
19904 CXXFLAGS="$ac_save_CXXFLAGS"
19905 ac_ext=c
19906 ac_cpp='$CPP $CPPFLAGS'
19907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19910
19911
19912
19913
19914 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19915 if test "x$ac_cv_header_locale_h" = x""yes; then :
19916
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19918 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19919 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19920 $as_echo_n "(cached) " >&6
19921 else
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <locale.h>
19925 int
19926 main ()
19927 {
19928 return LC_MESSAGES
19929 ;
19930 return 0;
19931 }
19932 _ACEOF
19933 if ac_fn_c_try_compile "$LINENO"; then :
19934 ac_cv_val_LC_MESSAGES=yes
19935 else
19936 ac_cv_val_LC_MESSAGES=no
19937 fi
19938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 fi
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19941 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19942 if test $ac_cv_val_LC_MESSAGES = yes; then
19943
19944 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19945
19946 fi
19947
19948 fi
19949
19950
19951
19952
19953 # For hardware_concurrency
19954 for ac_header in sys/sysinfo.h
19955 do :
19956 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19957 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define HAVE_SYS_SYSINFO_H 1
19960 _ACEOF
19961
19962 fi
19963
19964 done
19965
19966
19967
19968
19969 ac_ext=cpp
19970 ac_cpp='$CXXCPP $CPPFLAGS'
19971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19974
19975 ac_save_CXXFLAGS="$CXXFLAGS"
19976 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19977
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19979 $as_echo_n "checking for get_nprocs... " >&6; }
19980 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19981 $as_echo_n "(cached) " >&6
19982 else
19983
19984 if test x$gcc_no_link = xyes; then
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <sys/sysinfo.h>
19988 int
19989 main ()
19990 {
19991 int n = get_nprocs();
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 if ac_fn_cxx_try_compile "$LINENO"; then :
19997 glibcxx_cv_GET_NPROCS=yes
19998 else
19999 glibcxx_cv_GET_NPROCS=no
20000 fi
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 else
20003 if test x$gcc_no_link = xyes; then
20004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20005 fi
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #include <sys/sysinfo.h>
20009 int
20010 main ()
20011 {
20012 int n = get_nprocs();
20013 ;
20014 return 0;
20015 }
20016 _ACEOF
20017 if ac_fn_cxx_try_link "$LINENO"; then :
20018 glibcxx_cv_GET_NPROCS=yes
20019 else
20020 glibcxx_cv_GET_NPROCS=no
20021 fi
20022 rm -f core conftest.err conftest.$ac_objext \
20023 conftest$ac_exeext conftest.$ac_ext
20024 fi
20025
20026 fi
20027
20028 if test $glibcxx_cv_GET_NPROCS = yes; then
20029
20030 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20031
20032 fi
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20034 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20035
20036 CXXFLAGS="$ac_save_CXXFLAGS"
20037 ac_ext=c
20038 ac_cpp='$CPP $CPPFLAGS'
20039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20042
20043
20044 for ac_header in unistd.h
20045 do :
20046 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20047 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20048 cat >>confdefs.h <<_ACEOF
20049 #define HAVE_UNISTD_H 1
20050 _ACEOF
20051
20052 fi
20053
20054 done
20055
20056
20057
20058
20059 ac_ext=cpp
20060 ac_cpp='$CXXCPP $CPPFLAGS'
20061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20064
20065 ac_save_CXXFLAGS="$CXXFLAGS"
20066 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20067
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20069 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20070 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20071 $as_echo_n "(cached) " >&6
20072 else
20073
20074 if test x$gcc_no_link = xyes; then
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <unistd.h>
20078 int
20079 main ()
20080 {
20081 int n = sysconf(_SC_NPROCESSORS_ONLN);
20082 ;
20083 return 0;
20084 }
20085 _ACEOF
20086 if ac_fn_cxx_try_compile "$LINENO"; then :
20087 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20088 else
20089 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20090 fi
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20092 else
20093 if test x$gcc_no_link = xyes; then
20094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20095 fi
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20098 #include <unistd.h>
20099 int
20100 main ()
20101 {
20102 int n = sysconf(_SC_NPROCESSORS_ONLN);
20103 ;
20104 return 0;
20105 }
20106 _ACEOF
20107 if ac_fn_cxx_try_link "$LINENO"; then :
20108 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20109 else
20110 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20111 fi
20112 rm -f core conftest.err conftest.$ac_objext \
20113 conftest$ac_exeext conftest.$ac_ext
20114 fi
20115
20116 fi
20117
20118 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20119
20120 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20121
20122 fi
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20124 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20125
20126 CXXFLAGS="$ac_save_CXXFLAGS"
20127 ac_ext=c
20128 ac_cpp='$CPP $CPPFLAGS'
20129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20132
20133
20134
20135 # Check for available headers.
20136 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20137 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20138 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20139 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20140 wchar.h wctype.h
20141 do :
20142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20143 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20144 eval as_val=\$$as_ac_Header
20145 if test "x$as_val" = x""yes; then :
20146 cat >>confdefs.h <<_ACEOF
20147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20148 _ACEOF
20149
20150 fi
20151
20152 done
20153
20154
20155 # Only do link tests if native. Else, hardcode.
20156 if $GLIBCXX_IS_NATIVE; then
20157
20158 # We can do more elaborate tests that assume a working linker.
20159 CANADIAN=no
20160
20161
20162
20163 # Check whether --with-gnu-ld was given.
20164 if test "${with_gnu_ld+set}" = set; then :
20165 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20166 else
20167 with_gnu_ld=no
20168 fi
20169
20170 ac_prog=ld
20171 if test "$GCC" = yes; then
20172 # Check if gcc -print-prog-name=ld gives a path.
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20174 $as_echo_n "checking for ld used by $CC... " >&6; }
20175 case $host in
20176 *-*-mingw*)
20177 # gcc leaves a trailing carriage return which upsets mingw
20178 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20179 *)
20180 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20181 esac
20182 case $ac_prog in
20183 # Accept absolute paths.
20184 [\\/]* | ?:[\\/]*)
20185 re_direlt='/[^/][^/]*/\.\./'
20186 # Canonicalize the pathname of ld
20187 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20188 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20189 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20190 done
20191 test -z "$LD" && LD="$ac_prog"
20192 ;;
20193 "")
20194 # If it fails, then pretend we aren't using GCC.
20195 ac_prog=ld
20196 ;;
20197 *)
20198 # If it is relative, then search for the first ld in PATH.
20199 with_gnu_ld=unknown
20200 ;;
20201 esac
20202 elif test "$with_gnu_ld" = yes; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20204 $as_echo_n "checking for GNU ld... " >&6; }
20205 else
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20207 $as_echo_n "checking for non-GNU ld... " >&6; }
20208 fi
20209 if test "${lt_cv_path_LD+set}" = set; then :
20210 $as_echo_n "(cached) " >&6
20211 else
20212 if test -z "$LD"; then
20213 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20214 for ac_dir in $PATH; do
20215 IFS="$lt_save_ifs"
20216 test -z "$ac_dir" && ac_dir=.
20217 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20218 lt_cv_path_LD="$ac_dir/$ac_prog"
20219 # Check to see if the program is GNU ld. I'd rather use --version,
20220 # but apparently some variants of GNU ld only accept -v.
20221 # Break only if it was the GNU/non-GNU ld that we prefer.
20222 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20223 *GNU* | *'with BFD'*)
20224 test "$with_gnu_ld" != no && break
20225 ;;
20226 *)
20227 test "$with_gnu_ld" != yes && break
20228 ;;
20229 esac
20230 fi
20231 done
20232 IFS="$lt_save_ifs"
20233 else
20234 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20235 fi
20236 fi
20237
20238 LD="$lt_cv_path_LD"
20239 if test -n "$LD"; then
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20241 $as_echo "$LD" >&6; }
20242 else
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244 $as_echo "no" >&6; }
20245 fi
20246 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20249 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20250 $as_echo_n "(cached) " >&6
20251 else
20252 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20253 case `$LD -v 2>&1 </dev/null` in
20254 *GNU* | *'with BFD'*)
20255 lt_cv_prog_gnu_ld=yes
20256 ;;
20257 *)
20258 lt_cv_prog_gnu_ld=no
20259 ;;
20260 esac
20261 fi
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20263 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20264 with_gnu_ld=$lt_cv_prog_gnu_ld
20265
20266
20267
20268
20269
20270
20271
20272 # If we're not using GNU ld, then there's no point in even trying these
20273 # tests. Check for that first. We should have already tested for gld
20274 # by now (in libtool), but require it now just to be safe...
20275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20277
20278
20279
20280 # The name set by libtool depends on the version of libtool. Shame on us
20281 # for depending on an impl detail, but c'est la vie. Older versions used
20282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20285 # set (hence we're using an older libtool), then set it.
20286 if test x${with_gnu_ld+set} != xset; then
20287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20289 with_gnu_ld=no
20290 else
20291 with_gnu_ld=$ac_cv_prog_gnu_ld
20292 fi
20293 fi
20294
20295 # Start by getting the version number. I think the libtool test already
20296 # does some of this, but throws away the result.
20297 glibcxx_ld_is_gold=no
20298 if test x"$with_gnu_ld" = x"yes"; then
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20300 $as_echo_n "checking for ld version... " >&6; }
20301
20302 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20303 glibcxx_ld_is_gold=yes
20304 fi
20305 ldver=`$LD --version 2>/dev/null |
20306 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'`
20307
20308 glibcxx_gnu_ld_version=`echo $ldver | \
20309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20311 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20312 fi
20313
20314 # Set --gc-sections.
20315 glibcxx_have_gc_sections=no
20316 if test "$glibcxx_ld_is_gold" = "yes"; then
20317 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20318 glibcxx_have_gc_sections=yes
20319 fi
20320 else
20321 glibcxx_gcsections_min_ld=21602
20322 if test x"$with_gnu_ld" = x"yes" &&
20323 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20324 glibcxx_have_gc_sections=yes
20325 fi
20326 fi
20327 if test "$glibcxx_have_gc_sections" = "yes"; then
20328 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20329 # NB: This flag only works reliably after 2.16.1. Configure tests
20330 # for this are difficult, so hard wire a value that should work.
20331
20332 ac_test_CFLAGS="${CFLAGS+set}"
20333 ac_save_CFLAGS="$CFLAGS"
20334 CFLAGS='-Wl,--gc-sections'
20335
20336 # Check for -Wl,--gc-sections
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20338 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20339 if test x$gcc_no_link = xyes; then
20340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20341 fi
20342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20343 /* end confdefs.h. */
20344 int one(void) { return 1; }
20345 int two(void) { return 2; }
20346
20347 int
20348 main ()
20349 {
20350 two();
20351 ;
20352 return 0;
20353 }
20354 _ACEOF
20355 if ac_fn_c_try_link "$LINENO"; then :
20356 ac_gcsections=yes
20357 else
20358 ac_gcsections=no
20359 fi
20360 rm -f core conftest.err conftest.$ac_objext \
20361 conftest$ac_exeext conftest.$ac_ext
20362 if test "$ac_gcsections" = "yes"; then
20363 rm -f conftest.c
20364 touch conftest.c
20365 if $CC -c conftest.c; then
20366 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20367 grep "Warning: gc-sections option ignored" > /dev/null; then
20368 ac_gcsections=no
20369 fi
20370 fi
20371 rm -f conftest.c conftest.o conftest
20372 fi
20373 if test "$ac_gcsections" = "yes"; then
20374 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20375 fi
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20377 $as_echo "$ac_gcsections" >&6; }
20378
20379 if test "$ac_test_CFLAGS" = set; then
20380 CFLAGS="$ac_save_CFLAGS"
20381 else
20382 # this is the suspicious part
20383 CFLAGS=''
20384 fi
20385 fi
20386
20387 # Set -z,relro.
20388 # Note this is only for shared objects.
20389 ac_ld_relro=no
20390 if test x"$with_gnu_ld" = x"yes"; then
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20392 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20393 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20394 if test -n "$cxx_z_relo"; then
20395 OPT_LDFLAGS="-Wl,-z,relro"
20396 ac_ld_relro=yes
20397 fi
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20399 $as_echo "$ac_ld_relro" >&6; }
20400 fi
20401
20402 # Set linker optimization flags.
20403 if test x"$with_gnu_ld" = x"yes"; then
20404 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20405 fi
20406
20407
20408
20409
20410
20411 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20412 ac_save_CXXFLAGS="$CXXFLAGS"
20413 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20414
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20416 $as_echo_n "checking for sin in -lm... " >&6; }
20417 if test "${ac_cv_lib_m_sin+set}" = set; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 ac_check_lib_save_LIBS=$LIBS
20421 LIBS="-lm $LIBS"
20422 if test x$gcc_no_link = xyes; then
20423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20424 fi
20425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20426 /* end confdefs.h. */
20427
20428 /* Override any GCC internal prototype to avoid an error.
20429 Use char because int might match the return type of a GCC
20430 builtin and then its argument prototype would still apply. */
20431 #ifdef __cplusplus
20432 extern "C"
20433 #endif
20434 char sin ();
20435 int
20436 main ()
20437 {
20438 return sin ();
20439 ;
20440 return 0;
20441 }
20442 _ACEOF
20443 if ac_fn_c_try_link "$LINENO"; then :
20444 ac_cv_lib_m_sin=yes
20445 else
20446 ac_cv_lib_m_sin=no
20447 fi
20448 rm -f core conftest.err conftest.$ac_objext \
20449 conftest$ac_exeext conftest.$ac_ext
20450 LIBS=$ac_check_lib_save_LIBS
20451 fi
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20453 $as_echo "$ac_cv_lib_m_sin" >&6; }
20454 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20455 libm="-lm"
20456 fi
20457
20458 ac_save_LIBS="$LIBS"
20459 LIBS="$LIBS $libm"
20460
20461
20462
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20464 $as_echo_n "checking for isinf declaration... " >&6; }
20465 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20466 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20469
20470
20471 ac_ext=cpp
20472 ac_cpp='$CXXCPP $CPPFLAGS'
20473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20476
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20479 #include <math.h>
20480 #ifdef HAVE_IEEEFP_H
20481 #include <ieeefp.h>
20482 #endif
20483
20484 int
20485 main ()
20486 {
20487 isinf(0);
20488 ;
20489 return 0;
20490 }
20491 _ACEOF
20492 if ac_fn_cxx_try_compile "$LINENO"; then :
20493 glibcxx_cv_func_isinf_use=yes
20494 else
20495 glibcxx_cv_func_isinf_use=no
20496 fi
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20498 ac_ext=c
20499 ac_cpp='$CPP $CPPFLAGS'
20500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20503
20504
20505 fi
20506
20507 fi
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20509 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20510
20511 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20512 for ac_func in isinf
20513 do :
20514 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20515 if test "x$ac_cv_func_isinf" = x""yes; then :
20516 cat >>confdefs.h <<_ACEOF
20517 #define HAVE_ISINF 1
20518 _ACEOF
20519
20520 fi
20521 done
20522
20523 else
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20526 $as_echo_n "checking for _isinf declaration... " >&6; }
20527 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20528 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20529 $as_echo_n "(cached) " >&6
20530 else
20531
20532
20533 ac_ext=cpp
20534 ac_cpp='$CXXCPP $CPPFLAGS'
20535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20538
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20541 #include <math.h>
20542 #ifdef HAVE_IEEEFP_H
20543 #include <ieeefp.h>
20544 #endif
20545
20546 int
20547 main ()
20548 {
20549 _isinf(0);
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 if ac_fn_cxx_try_compile "$LINENO"; then :
20555 glibcxx_cv_func__isinf_use=yes
20556 else
20557 glibcxx_cv_func__isinf_use=no
20558 fi
20559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 fi
20568
20569 fi
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20571 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20572
20573 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20574 for ac_func in _isinf
20575 do :
20576 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20577 if test "x$ac_cv_func__isinf" = x""yes; then :
20578 cat >>confdefs.h <<_ACEOF
20579 #define HAVE__ISINF 1
20580 _ACEOF
20581
20582 fi
20583 done
20584
20585 fi
20586 fi
20587
20588
20589
20590
20591
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20593 $as_echo_n "checking for isnan declaration... " >&6; }
20594 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20595 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20596 $as_echo_n "(cached) " >&6
20597 else
20598
20599
20600 ac_ext=cpp
20601 ac_cpp='$CXXCPP $CPPFLAGS'
20602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20605
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20608 #include <math.h>
20609 #ifdef HAVE_IEEEFP_H
20610 #include <ieeefp.h>
20611 #endif
20612
20613 int
20614 main ()
20615 {
20616 isnan(0);
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 if ac_fn_cxx_try_compile "$LINENO"; then :
20622 glibcxx_cv_func_isnan_use=yes
20623 else
20624 glibcxx_cv_func_isnan_use=no
20625 fi
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 ac_ext=c
20628 ac_cpp='$CPP $CPPFLAGS'
20629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20632
20633
20634 fi
20635
20636 fi
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20638 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20639
20640 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20641 for ac_func in isnan
20642 do :
20643 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20644 if test "x$ac_cv_func_isnan" = x""yes; then :
20645 cat >>confdefs.h <<_ACEOF
20646 #define HAVE_ISNAN 1
20647 _ACEOF
20648
20649 fi
20650 done
20651
20652 else
20653
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20655 $as_echo_n "checking for _isnan declaration... " >&6; }
20656 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20657 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660
20661
20662 ac_ext=cpp
20663 ac_cpp='$CXXCPP $CPPFLAGS'
20664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20667
20668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20669 /* end confdefs.h. */
20670 #include <math.h>
20671 #ifdef HAVE_IEEEFP_H
20672 #include <ieeefp.h>
20673 #endif
20674
20675 int
20676 main ()
20677 {
20678 _isnan(0);
20679 ;
20680 return 0;
20681 }
20682 _ACEOF
20683 if ac_fn_cxx_try_compile "$LINENO"; then :
20684 glibcxx_cv_func__isnan_use=yes
20685 else
20686 glibcxx_cv_func__isnan_use=no
20687 fi
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 ac_ext=c
20690 ac_cpp='$CPP $CPPFLAGS'
20691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20694
20695
20696 fi
20697
20698 fi
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20700 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20701
20702 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20703 for ac_func in _isnan
20704 do :
20705 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20706 if test "x$ac_cv_func__isnan" = x""yes; then :
20707 cat >>confdefs.h <<_ACEOF
20708 #define HAVE__ISNAN 1
20709 _ACEOF
20710
20711 fi
20712 done
20713
20714 fi
20715 fi
20716
20717
20718
20719
20720
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20722 $as_echo_n "checking for finite declaration... " >&6; }
20723 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20724 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20727
20728
20729 ac_ext=cpp
20730 ac_cpp='$CXXCPP $CPPFLAGS'
20731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20734
20735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #include <math.h>
20738 #ifdef HAVE_IEEEFP_H
20739 #include <ieeefp.h>
20740 #endif
20741
20742 int
20743 main ()
20744 {
20745 finite(0);
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 if ac_fn_cxx_try_compile "$LINENO"; then :
20751 glibcxx_cv_func_finite_use=yes
20752 else
20753 glibcxx_cv_func_finite_use=no
20754 fi
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 ac_ext=c
20757 ac_cpp='$CPP $CPPFLAGS'
20758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20761
20762
20763 fi
20764
20765 fi
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20767 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20768
20769 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20770 for ac_func in finite
20771 do :
20772 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20773 if test "x$ac_cv_func_finite" = x""yes; then :
20774 cat >>confdefs.h <<_ACEOF
20775 #define HAVE_FINITE 1
20776 _ACEOF
20777
20778 fi
20779 done
20780
20781 else
20782
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20784 $as_echo_n "checking for _finite declaration... " >&6; }
20785 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20786 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20787 $as_echo_n "(cached) " >&6
20788 else
20789
20790
20791 ac_ext=cpp
20792 ac_cpp='$CXXCPP $CPPFLAGS'
20793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20796
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20799 #include <math.h>
20800 #ifdef HAVE_IEEEFP_H
20801 #include <ieeefp.h>
20802 #endif
20803
20804 int
20805 main ()
20806 {
20807 _finite(0);
20808 ;
20809 return 0;
20810 }
20811 _ACEOF
20812 if ac_fn_cxx_try_compile "$LINENO"; then :
20813 glibcxx_cv_func__finite_use=yes
20814 else
20815 glibcxx_cv_func__finite_use=no
20816 fi
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 ac_ext=c
20819 ac_cpp='$CPP $CPPFLAGS'
20820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20823
20824
20825 fi
20826
20827 fi
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20829 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20830
20831 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20832 for ac_func in _finite
20833 do :
20834 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20835 if test "x$ac_cv_func__finite" = x""yes; then :
20836 cat >>confdefs.h <<_ACEOF
20837 #define HAVE__FINITE 1
20838 _ACEOF
20839
20840 fi
20841 done
20842
20843 fi
20844 fi
20845
20846
20847
20848
20849
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20851 $as_echo_n "checking for sincos declaration... " >&6; }
20852 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20853 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20855 else
20856
20857
20858 ac_ext=cpp
20859 ac_cpp='$CXXCPP $CPPFLAGS'
20860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20863
20864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20865 /* end confdefs.h. */
20866 #include <math.h>
20867 int
20868 main ()
20869 {
20870 sincos(0, 0, 0);
20871 ;
20872 return 0;
20873 }
20874 _ACEOF
20875 if ac_fn_cxx_try_compile "$LINENO"; then :
20876 glibcxx_cv_func_sincos_use=yes
20877 else
20878 glibcxx_cv_func_sincos_use=no
20879 fi
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886
20887
20888 fi
20889
20890 fi
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20892 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20893
20894 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20895 for ac_func in sincos
20896 do :
20897 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20898 if test "x$ac_cv_func_sincos" = x""yes; then :
20899 cat >>confdefs.h <<_ACEOF
20900 #define HAVE_SINCOS 1
20901 _ACEOF
20902
20903 fi
20904 done
20905
20906 else
20907
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20909 $as_echo_n "checking for _sincos declaration... " >&6; }
20910 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20911 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20912 $as_echo_n "(cached) " >&6
20913 else
20914
20915
20916 ac_ext=cpp
20917 ac_cpp='$CXXCPP $CPPFLAGS'
20918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20921
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #include <math.h>
20925 int
20926 main ()
20927 {
20928 _sincos(0, 0, 0);
20929 ;
20930 return 0;
20931 }
20932 _ACEOF
20933 if ac_fn_cxx_try_compile "$LINENO"; then :
20934 glibcxx_cv_func__sincos_use=yes
20935 else
20936 glibcxx_cv_func__sincos_use=no
20937 fi
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20939 ac_ext=c
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20944
20945
20946 fi
20947
20948 fi
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20950 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20951
20952 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20953 for ac_func in _sincos
20954 do :
20955 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20956 if test "x$ac_cv_func__sincos" = x""yes; then :
20957 cat >>confdefs.h <<_ACEOF
20958 #define HAVE__SINCOS 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964 fi
20965 fi
20966
20967
20968
20969
20970
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20972 $as_echo_n "checking for fpclass declaration... " >&6; }
20973 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20974 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20975 $as_echo_n "(cached) " >&6
20976 else
20977
20978
20979 ac_ext=cpp
20980 ac_cpp='$CXXCPP $CPPFLAGS'
20981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20984
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #include <math.h>
20988 #ifdef HAVE_IEEEFP_H
20989 #include <ieeefp.h>
20990 #endif
20991
20992 int
20993 main ()
20994 {
20995 fpclass(0);
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001 glibcxx_cv_func_fpclass_use=yes
21002 else
21003 glibcxx_cv_func_fpclass_use=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21011
21012
21013 fi
21014
21015 fi
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21017 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21018
21019 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21020 for ac_func in fpclass
21021 do :
21022 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21023 if test "x$ac_cv_func_fpclass" = x""yes; then :
21024 cat >>confdefs.h <<_ACEOF
21025 #define HAVE_FPCLASS 1
21026 _ACEOF
21027
21028 fi
21029 done
21030
21031 else
21032
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21034 $as_echo_n "checking for _fpclass declaration... " >&6; }
21035 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21036 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21038 else
21039
21040
21041 ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21046
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21049 #include <math.h>
21050 #ifdef HAVE_IEEEFP_H
21051 #include <ieeefp.h>
21052 #endif
21053
21054 int
21055 main ()
21056 {
21057 _fpclass(0);
21058 ;
21059 return 0;
21060 }
21061 _ACEOF
21062 if ac_fn_cxx_try_compile "$LINENO"; then :
21063 glibcxx_cv_func__fpclass_use=yes
21064 else
21065 glibcxx_cv_func__fpclass_use=no
21066 fi
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 ac_ext=c
21069 ac_cpp='$CPP $CPPFLAGS'
21070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073
21074
21075 fi
21076
21077 fi
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21079 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21080
21081 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21082 for ac_func in _fpclass
21083 do :
21084 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21085 if test "x$ac_cv_func__fpclass" = x""yes; then :
21086 cat >>confdefs.h <<_ACEOF
21087 #define HAVE__FPCLASS 1
21088 _ACEOF
21089
21090 fi
21091 done
21092
21093 fi
21094 fi
21095
21096
21097
21098
21099
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21101 $as_echo_n "checking for qfpclass declaration... " >&6; }
21102 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21103 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21104 $as_echo_n "(cached) " >&6
21105 else
21106
21107
21108 ac_ext=cpp
21109 ac_cpp='$CXXCPP $CPPFLAGS'
21110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21113
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21116 #include <math.h>
21117 #ifdef HAVE_IEEEFP_H
21118 #include <ieeefp.h>
21119 #endif
21120
21121 int
21122 main ()
21123 {
21124 qfpclass(0);
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 if ac_fn_cxx_try_compile "$LINENO"; then :
21130 glibcxx_cv_func_qfpclass_use=yes
21131 else
21132 glibcxx_cv_func_qfpclass_use=no
21133 fi
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21140
21141
21142 fi
21143
21144 fi
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21146 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21147
21148 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21149 for ac_func in qfpclass
21150 do :
21151 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21152 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21153 cat >>confdefs.h <<_ACEOF
21154 #define HAVE_QFPCLASS 1
21155 _ACEOF
21156
21157 fi
21158 done
21159
21160 else
21161
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21163 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21164 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21165 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21166 $as_echo_n "(cached) " >&6
21167 else
21168
21169
21170 ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21175
21176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21178 #include <math.h>
21179 #ifdef HAVE_IEEEFP_H
21180 #include <ieeefp.h>
21181 #endif
21182
21183 int
21184 main ()
21185 {
21186 _qfpclass(0);
21187 ;
21188 return 0;
21189 }
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192 glibcxx_cv_func__qfpclass_use=yes
21193 else
21194 glibcxx_cv_func__qfpclass_use=no
21195 fi
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 ac_ext=c
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21202
21203
21204 fi
21205
21206 fi
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21208 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21209
21210 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21211 for ac_func in _qfpclass
21212 do :
21213 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21214 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21215 cat >>confdefs.h <<_ACEOF
21216 #define HAVE__QFPCLASS 1
21217 _ACEOF
21218
21219 fi
21220 done
21221
21222 fi
21223 fi
21224
21225
21226
21227
21228
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21230 $as_echo_n "checking for hypot declaration... " >&6; }
21231 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21232 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21233 $as_echo_n "(cached) " >&6
21234 else
21235
21236
21237 ac_ext=cpp
21238 ac_cpp='$CXXCPP $CPPFLAGS'
21239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242
21243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h. */
21245 #include <math.h>
21246 int
21247 main ()
21248 {
21249 hypot(0, 0);
21250 ;
21251 return 0;
21252 }
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func_hypot_use=yes
21256 else
21257 glibcxx_cv_func_hypot_use=no
21258 fi
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 ac_ext=c
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21265
21266
21267 fi
21268
21269 fi
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21271 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21272
21273 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21274 for ac_func in hypot
21275 do :
21276 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21277 if test "x$ac_cv_func_hypot" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE_HYPOT 1
21280 _ACEOF
21281
21282 fi
21283 done
21284
21285 else
21286
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21288 $as_echo_n "checking for _hypot declaration... " >&6; }
21289 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21290 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21291 $as_echo_n "(cached) " >&6
21292 else
21293
21294
21295 ac_ext=cpp
21296 ac_cpp='$CXXCPP $CPPFLAGS'
21297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21300
21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21303 #include <math.h>
21304 int
21305 main ()
21306 {
21307 _hypot(0, 0);
21308 ;
21309 return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313 glibcxx_cv_func__hypot_use=yes
21314 else
21315 glibcxx_cv_func__hypot_use=no
21316 fi
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323
21324
21325 fi
21326
21327 fi
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21329 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21330
21331 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21332 for ac_func in _hypot
21333 do :
21334 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21335 if test "x$ac_cv_func__hypot" = x""yes; then :
21336 cat >>confdefs.h <<_ACEOF
21337 #define HAVE__HYPOT 1
21338 _ACEOF
21339
21340 fi
21341 done
21342
21343 fi
21344 fi
21345
21346
21347
21348
21349
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21351 $as_echo_n "checking for float trig functions... " >&6; }
21352 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21353 $as_echo_n "(cached) " >&6
21354 else
21355
21356
21357 ac_ext=cpp
21358 ac_cpp='$CXXCPP $CPPFLAGS'
21359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21362
21363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21364 /* end confdefs.h. */
21365 #include <math.h>
21366 int
21367 main ()
21368 {
21369 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21370 ;
21371 return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375 glibcxx_cv_func_float_trig_use=yes
21376 else
21377 glibcxx_cv_func_float_trig_use=no
21378 fi
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380 ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385
21386 fi
21387
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21389 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21390 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21391 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21392 do :
21393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21395 eval as_val=\$$as_ac_var
21396 if test "x$as_val" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21399 _ACEOF
21400
21401 fi
21402 done
21403
21404 else
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21406 $as_echo_n "checking for _float trig functions... " >&6; }
21407 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21408 $as_echo_n "(cached) " >&6
21409 else
21410
21411
21412 ac_ext=cpp
21413 ac_cpp='$CXXCPP $CPPFLAGS'
21414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21420 #include <math.h>
21421 int
21422 main ()
21423 {
21424 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 if ac_fn_cxx_try_compile "$LINENO"; then :
21430 glibcxx_cv_func__float_trig_use=yes
21431 else
21432 glibcxx_cv_func__float_trig_use=no
21433 fi
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440
21441 fi
21442
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21444 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21445 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21446 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21447 do :
21448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21450 eval as_val=\$$as_ac_var
21451 if test "x$as_val" = x""yes; then :
21452 cat >>confdefs.h <<_ACEOF
21453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21454 _ACEOF
21455
21456 fi
21457 done
21458
21459 fi
21460 fi
21461
21462
21463
21464
21465
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21467 $as_echo_n "checking for float round functions... " >&6; }
21468 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21469 $as_echo_n "(cached) " >&6
21470 else
21471
21472
21473 ac_ext=cpp
21474 ac_cpp='$CXXCPP $CPPFLAGS'
21475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21478
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21481 #include <math.h>
21482 int
21483 main ()
21484 {
21485 ceilf (0); floorf (0);
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 if ac_fn_cxx_try_compile "$LINENO"; then :
21491 glibcxx_cv_func_float_round_use=yes
21492 else
21493 glibcxx_cv_func_float_round_use=no
21494 fi
21495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501
21502 fi
21503
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21505 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21506 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21507 for ac_func in ceilf floorf
21508 do :
21509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21511 eval as_val=\$$as_ac_var
21512 if test "x$as_val" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21516
21517 fi
21518 done
21519
21520 else
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21522 $as_echo_n "checking for _float round functions... " >&6; }
21523 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21526
21527
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21533
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21537 int
21538 main ()
21539 {
21540 _ceilf (0); _floorf (0);
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__float_round_use=yes
21547 else
21548 glibcxx_cv_func__float_round_use=no
21549 fi
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21556
21557 fi
21558
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21560 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21561 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21562 for ac_func in _ceilf _floorf
21563 do :
21564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21566 eval as_val=\$$as_ac_var
21567 if test "x$as_val" = x""yes; then :
21568 cat >>confdefs.h <<_ACEOF
21569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21571
21572 fi
21573 done
21574
21575 fi
21576 fi
21577
21578
21579
21580
21581
21582
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21584 $as_echo_n "checking for expf declaration... " >&6; }
21585 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21586 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589
21590
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21596
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21600 #ifdef HAVE_IEEEFP_H
21601 #include <ieeefp.h>
21602 #endif
21603
21604 int
21605 main ()
21606 {
21607 expf(0);
21608 ;
21609 return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 glibcxx_cv_func_expf_use=yes
21614 else
21615 glibcxx_cv_func_expf_use=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624
21625 fi
21626
21627 fi
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21629 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21630
21631 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21632 for ac_func in expf
21633 do :
21634 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21635 if test "x$ac_cv_func_expf" = x""yes; then :
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_EXPF 1
21638 _ACEOF
21639
21640 fi
21641 done
21642
21643 else
21644
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21646 $as_echo_n "checking for _expf declaration... " >&6; }
21647 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21648 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21650 else
21651
21652
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661 #include <math.h>
21662 #ifdef HAVE_IEEEFP_H
21663 #include <ieeefp.h>
21664 #endif
21665
21666 int
21667 main ()
21668 {
21669 _expf(0);
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 glibcxx_cv_func__expf_use=yes
21676 else
21677 glibcxx_cv_func__expf_use=no
21678 fi
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ac_ext=c
21681 ac_cpp='$CPP $CPPFLAGS'
21682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21685
21686
21687 fi
21688
21689 fi
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21691 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21692
21693 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21694 for ac_func in _expf
21695 do :
21696 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21697 if test "x$ac_cv_func__expf" = x""yes; then :
21698 cat >>confdefs.h <<_ACEOF
21699 #define HAVE__EXPF 1
21700 _ACEOF
21701
21702 fi
21703 done
21704
21705 fi
21706 fi
21707
21708
21709
21710
21711
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21713 $as_echo_n "checking for isnanf declaration... " >&6; }
21714 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21715 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21716 $as_echo_n "(cached) " >&6
21717 else
21718
21719
21720 ac_ext=cpp
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21725
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21732
21733 int
21734 main ()
21735 {
21736 isnanf(0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_isnanf_use=yes
21743 else
21744 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
21758 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21759
21760 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21761 for ac_func in isnanf
21762 do :
21763 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21764 if test "x$ac_cv_func_isnanf" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_ISNANF 1
21767 _ACEOF
21768
21769 fi
21770 done
21771
21772 else
21773
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21775 $as_echo_n "checking for _isnanf declaration... " >&6; }
21776 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21777 if test "${glibcxx_cv_func__isnanf_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 #ifdef HAVE_IEEEFP_H
21792 #include <ieeefp.h>
21793 #endif
21794
21795 int
21796 main ()
21797 {
21798 _isnanf(0);
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 if ac_fn_cxx_try_compile "$LINENO"; then :
21804 glibcxx_cv_func__isnanf_use=yes
21805 else
21806 glibcxx_cv_func__isnanf_use=no
21807 fi
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814
21815
21816 fi
21817
21818 fi
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21820 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21821
21822 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21823 for ac_func in _isnanf
21824 do :
21825 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21826 if test "x$ac_cv_func__isnanf" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE__ISNANF 1
21829 _ACEOF
21830
21831 fi
21832 done
21833
21834 fi
21835 fi
21836
21837
21838
21839
21840
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21842 $as_echo_n "checking for isinff declaration... " >&6; }
21843 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21844 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21845 $as_echo_n "(cached) " >&6
21846 else
21847
21848
21849 ac_ext=cpp
21850 ac_cpp='$CXXCPP $CPPFLAGS'
21851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21854
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <math.h>
21858 #ifdef HAVE_IEEEFP_H
21859 #include <ieeefp.h>
21860 #endif
21861
21862 int
21863 main ()
21864 {
21865 isinff(0);
21866 ;
21867 return 0;
21868 }
21869 _ACEOF
21870 if ac_fn_cxx_try_compile "$LINENO"; then :
21871 glibcxx_cv_func_isinff_use=yes
21872 else
21873 glibcxx_cv_func_isinff_use=no
21874 fi
21875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 ac_ext=c
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881
21882
21883 fi
21884
21885 fi
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21887 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21888
21889 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21890 for ac_func in isinff
21891 do :
21892 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21893 if test "x$ac_cv_func_isinff" = x""yes; then :
21894 cat >>confdefs.h <<_ACEOF
21895 #define HAVE_ISINFF 1
21896 _ACEOF
21897
21898 fi
21899 done
21900
21901 else
21902
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21904 $as_echo_n "checking for _isinff declaration... " >&6; }
21905 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21906 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21909
21910
21911 ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21916
21917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21919 #include <math.h>
21920 #ifdef HAVE_IEEEFP_H
21921 #include <ieeefp.h>
21922 #endif
21923
21924 int
21925 main ()
21926 {
21927 _isinff(0);
21928 ;
21929 return 0;
21930 }
21931 _ACEOF
21932 if ac_fn_cxx_try_compile "$LINENO"; then :
21933 glibcxx_cv_func__isinff_use=yes
21934 else
21935 glibcxx_cv_func__isinff_use=no
21936 fi
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 ac_ext=c
21939 ac_cpp='$CPP $CPPFLAGS'
21940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21943
21944
21945 fi
21946
21947 fi
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21949 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21950
21951 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21952 for ac_func in _isinff
21953 do :
21954 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21955 if test "x$ac_cv_func__isinff" = x""yes; then :
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE__ISINFF 1
21958 _ACEOF
21959
21960 fi
21961 done
21962
21963 fi
21964 fi
21965
21966
21967
21968
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21971 $as_echo_n "checking for atan2f declaration... " >&6; }
21972 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21973 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21974 $as_echo_n "(cached) " >&6
21975 else
21976
21977
21978 ac_ext=cpp
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21983
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21986 #include <math.h>
21987 int
21988 main ()
21989 {
21990 atan2f(0, 0);
21991 ;
21992 return 0;
21993 }
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func_atan2f_use=yes
21997 else
21998 glibcxx_cv_func_atan2f_use=no
21999 fi
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22006
22007
22008 fi
22009
22010 fi
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22012 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22013
22014 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22015 for ac_func in atan2f
22016 do :
22017 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22018 if test "x$ac_cv_func_atan2f" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE_ATAN2F 1
22021 _ACEOF
22022
22023 fi
22024 done
22025
22026 else
22027
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22029 $as_echo_n "checking for _atan2f declaration... " >&6; }
22030 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22031 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22032 $as_echo_n "(cached) " >&6
22033 else
22034
22035
22036 ac_ext=cpp
22037 ac_cpp='$CXXCPP $CPPFLAGS'
22038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22041
22042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22043 /* end confdefs.h. */
22044 #include <math.h>
22045 int
22046 main ()
22047 {
22048 _atan2f(0, 0);
22049 ;
22050 return 0;
22051 }
22052 _ACEOF
22053 if ac_fn_cxx_try_compile "$LINENO"; then :
22054 glibcxx_cv_func__atan2f_use=yes
22055 else
22056 glibcxx_cv_func__atan2f_use=no
22057 fi
22058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22059 ac_ext=c
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064
22065
22066 fi
22067
22068 fi
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22070 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22071
22072 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22073 for ac_func in _atan2f
22074 do :
22075 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22076 if test "x$ac_cv_func__atan2f" = x""yes; then :
22077 cat >>confdefs.h <<_ACEOF
22078 #define HAVE__ATAN2F 1
22079 _ACEOF
22080
22081 fi
22082 done
22083
22084 fi
22085 fi
22086
22087
22088
22089
22090
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22092 $as_echo_n "checking for fabsf declaration... " >&6; }
22093 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22094 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22096 else
22097
22098
22099 ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22104
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 #include <math.h>
22108 #ifdef HAVE_IEEEFP_H
22109 #include <ieeefp.h>
22110 #endif
22111
22112 int
22113 main ()
22114 {
22115 fabsf(0);
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 if ac_fn_cxx_try_compile "$LINENO"; then :
22121 glibcxx_cv_func_fabsf_use=yes
22122 else
22123 glibcxx_cv_func_fabsf_use=no
22124 fi
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22126 ac_ext=c
22127 ac_cpp='$CPP $CPPFLAGS'
22128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22131
22132
22133 fi
22134
22135 fi
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22137 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22138
22139 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22140 for ac_func in fabsf
22141 do :
22142 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22143 if test "x$ac_cv_func_fabsf" = x""yes; then :
22144 cat >>confdefs.h <<_ACEOF
22145 #define HAVE_FABSF 1
22146 _ACEOF
22147
22148 fi
22149 done
22150
22151 else
22152
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22154 $as_echo_n "checking for _fabsf declaration... " >&6; }
22155 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22156 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22157 $as_echo_n "(cached) " >&6
22158 else
22159
22160
22161 ac_ext=cpp
22162 ac_cpp='$CXXCPP $CPPFLAGS'
22163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22166
22167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22168 /* end confdefs.h. */
22169 #include <math.h>
22170 #ifdef HAVE_IEEEFP_H
22171 #include <ieeefp.h>
22172 #endif
22173
22174 int
22175 main ()
22176 {
22177 _fabsf(0);
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 if ac_fn_cxx_try_compile "$LINENO"; then :
22183 glibcxx_cv_func__fabsf_use=yes
22184 else
22185 glibcxx_cv_func__fabsf_use=no
22186 fi
22187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22188 ac_ext=c
22189 ac_cpp='$CPP $CPPFLAGS'
22190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22193
22194
22195 fi
22196
22197 fi
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22199 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22200
22201 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22202 for ac_func in _fabsf
22203 do :
22204 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22205 if test "x$ac_cv_func__fabsf" = x""yes; then :
22206 cat >>confdefs.h <<_ACEOF
22207 #define HAVE__FABSF 1
22208 _ACEOF
22209
22210 fi
22211 done
22212
22213 fi
22214 fi
22215
22216
22217
22218
22219
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22221 $as_echo_n "checking for fmodf declaration... " >&6; }
22222 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22223 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22224 $as_echo_n "(cached) " >&6
22225 else
22226
22227
22228 ac_ext=cpp
22229 ac_cpp='$CXXCPP $CPPFLAGS'
22230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22233
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22235 /* end confdefs.h. */
22236 #include <math.h>
22237 int
22238 main ()
22239 {
22240 fmodf(0, 0);
22241 ;
22242 return 0;
22243 }
22244 _ACEOF
22245 if ac_fn_cxx_try_compile "$LINENO"; then :
22246 glibcxx_cv_func_fmodf_use=yes
22247 else
22248 glibcxx_cv_func_fmodf_use=no
22249 fi
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 ac_ext=c
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22256
22257
22258 fi
22259
22260 fi
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22262 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22263
22264 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22265 for ac_func in fmodf
22266 do :
22267 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22268 if test "x$ac_cv_func_fmodf" = x""yes; then :
22269 cat >>confdefs.h <<_ACEOF
22270 #define HAVE_FMODF 1
22271 _ACEOF
22272
22273 fi
22274 done
22275
22276 else
22277
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22279 $as_echo_n "checking for _fmodf declaration... " >&6; }
22280 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22281 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22282 $as_echo_n "(cached) " >&6
22283 else
22284
22285
22286 ac_ext=cpp
22287 ac_cpp='$CXXCPP $CPPFLAGS'
22288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22291
22292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22293 /* end confdefs.h. */
22294 #include <math.h>
22295 int
22296 main ()
22297 {
22298 _fmodf(0, 0);
22299 ;
22300 return 0;
22301 }
22302 _ACEOF
22303 if ac_fn_cxx_try_compile "$LINENO"; then :
22304 glibcxx_cv_func__fmodf_use=yes
22305 else
22306 glibcxx_cv_func__fmodf_use=no
22307 fi
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314
22315
22316 fi
22317
22318 fi
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22320 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22321
22322 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22323 for ac_func in _fmodf
22324 do :
22325 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22326 if test "x$ac_cv_func__fmodf" = x""yes; then :
22327 cat >>confdefs.h <<_ACEOF
22328 #define HAVE__FMODF 1
22329 _ACEOF
22330
22331 fi
22332 done
22333
22334 fi
22335 fi
22336
22337
22338
22339
22340
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22342 $as_echo_n "checking for frexpf declaration... " >&6; }
22343 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22344 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22345 $as_echo_n "(cached) " >&6
22346 else
22347
22348
22349 ac_ext=cpp
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22354
22355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h. */
22357 #include <math.h>
22358 int
22359 main ()
22360 {
22361 frexpf(0, 0);
22362 ;
22363 return 0;
22364 }
22365 _ACEOF
22366 if ac_fn_cxx_try_compile "$LINENO"; then :
22367 glibcxx_cv_func_frexpf_use=yes
22368 else
22369 glibcxx_cv_func_frexpf_use=no
22370 fi
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372 ac_ext=c
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377
22378
22379 fi
22380
22381 fi
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22383 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22384
22385 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22386 for ac_func in frexpf
22387 do :
22388 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22389 if test "x$ac_cv_func_frexpf" = x""yes; then :
22390 cat >>confdefs.h <<_ACEOF
22391 #define HAVE_FREXPF 1
22392 _ACEOF
22393
22394 fi
22395 done
22396
22397 else
22398
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22400 $as_echo_n "checking for _frexpf declaration... " >&6; }
22401 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22402 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22405
22406
22407 ac_ext=cpp
22408 ac_cpp='$CXXCPP $CPPFLAGS'
22409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22412
22413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22414 /* end confdefs.h. */
22415 #include <math.h>
22416 int
22417 main ()
22418 {
22419 _frexpf(0, 0);
22420 ;
22421 return 0;
22422 }
22423 _ACEOF
22424 if ac_fn_cxx_try_compile "$LINENO"; then :
22425 glibcxx_cv_func__frexpf_use=yes
22426 else
22427 glibcxx_cv_func__frexpf_use=no
22428 fi
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 ac_ext=c
22431 ac_cpp='$CPP $CPPFLAGS'
22432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435
22436
22437 fi
22438
22439 fi
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22441 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22442
22443 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22444 for ac_func in _frexpf
22445 do :
22446 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22447 if test "x$ac_cv_func__frexpf" = x""yes; then :
22448 cat >>confdefs.h <<_ACEOF
22449 #define HAVE__FREXPF 1
22450 _ACEOF
22451
22452 fi
22453 done
22454
22455 fi
22456 fi
22457
22458
22459
22460
22461
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22463 $as_echo_n "checking for hypotf declaration... " >&6; }
22464 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22465 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22466 $as_echo_n "(cached) " >&6
22467 else
22468
22469
22470 ac_ext=cpp
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22475
22476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22478 #include <math.h>
22479 int
22480 main ()
22481 {
22482 hypotf(0, 0);
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 if ac_fn_cxx_try_compile "$LINENO"; then :
22488 glibcxx_cv_func_hypotf_use=yes
22489 else
22490 glibcxx_cv_func_hypotf_use=no
22491 fi
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493 ac_ext=c
22494 ac_cpp='$CPP $CPPFLAGS'
22495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498
22499
22500 fi
22501
22502 fi
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22504 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22505
22506 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22507 for ac_func in hypotf
22508 do :
22509 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22510 if test "x$ac_cv_func_hypotf" = x""yes; then :
22511 cat >>confdefs.h <<_ACEOF
22512 #define HAVE_HYPOTF 1
22513 _ACEOF
22514
22515 fi
22516 done
22517
22518 else
22519
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22521 $as_echo_n "checking for _hypotf declaration... " >&6; }
22522 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22523 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22526
22527
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22533
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22537 int
22538 main ()
22539 {
22540 _hypotf(0, 0);
22541 ;
22542 return 0;
22543 }
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func__hypotf_use=yes
22547 else
22548 glibcxx_cv_func__hypotf_use=no
22549 fi
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556
22557
22558 fi
22559
22560 fi
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22562 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22563
22564 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22565 for ac_func in _hypotf
22566 do :
22567 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22568 if test "x$ac_cv_func__hypotf" = x""yes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE__HYPOTF 1
22571 _ACEOF
22572
22573 fi
22574 done
22575
22576 fi
22577 fi
22578
22579
22580
22581
22582
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22584 $as_echo_n "checking for ldexpf declaration... " >&6; }
22585 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22586 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22587 $as_echo_n "(cached) " >&6
22588 else
22589
22590
22591 ac_ext=cpp
22592 ac_cpp='$CXXCPP $CPPFLAGS'
22593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22596
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22599 #include <math.h>
22600 int
22601 main ()
22602 {
22603 ldexpf(0, 0);
22604 ;
22605 return 0;
22606 }
22607 _ACEOF
22608 if ac_fn_cxx_try_compile "$LINENO"; then :
22609 glibcxx_cv_func_ldexpf_use=yes
22610 else
22611 glibcxx_cv_func_ldexpf_use=no
22612 fi
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 ac_ext=c
22615 ac_cpp='$CPP $CPPFLAGS'
22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22619
22620
22621 fi
22622
22623 fi
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22625 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22626
22627 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22628 for ac_func in ldexpf
22629 do :
22630 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22631 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22632 cat >>confdefs.h <<_ACEOF
22633 #define HAVE_LDEXPF 1
22634 _ACEOF
22635
22636 fi
22637 done
22638
22639 else
22640
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22642 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22643 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22644 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22647
22648
22649 ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22657 #include <math.h>
22658 int
22659 main ()
22660 {
22661 _ldexpf(0, 0);
22662 ;
22663 return 0;
22664 }
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func__ldexpf_use=yes
22668 else
22669 glibcxx_cv_func__ldexpf_use=no
22670 fi
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22677
22678
22679 fi
22680
22681 fi
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22683 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22684
22685 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22686 for ac_func in _ldexpf
22687 do :
22688 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22689 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE__LDEXPF 1
22692 _ACEOF
22693
22694 fi
22695 done
22696
22697 fi
22698 fi
22699
22700
22701
22702
22703
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22705 $as_echo_n "checking for logf declaration... " >&6; }
22706 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22707 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22708 $as_echo_n "(cached) " >&6
22709 else
22710
22711
22712 ac_ext=cpp
22713 ac_cpp='$CXXCPP $CPPFLAGS'
22714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22717
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h. */
22720 #include <math.h>
22721 #ifdef HAVE_IEEEFP_H
22722 #include <ieeefp.h>
22723 #endif
22724
22725 int
22726 main ()
22727 {
22728 logf(0);
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 if ac_fn_cxx_try_compile "$LINENO"; then :
22734 glibcxx_cv_func_logf_use=yes
22735 else
22736 glibcxx_cv_func_logf_use=no
22737 fi
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22739 ac_ext=c
22740 ac_cpp='$CPP $CPPFLAGS'
22741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22744
22745
22746 fi
22747
22748 fi
22749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22750 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22751
22752 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22753 for ac_func in logf
22754 do :
22755 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22756 if test "x$ac_cv_func_logf" = x""yes; then :
22757 cat >>confdefs.h <<_ACEOF
22758 #define HAVE_LOGF 1
22759 _ACEOF
22760
22761 fi
22762 done
22763
22764 else
22765
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22767 $as_echo_n "checking for _logf declaration... " >&6; }
22768 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22769 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22772
22773
22774 ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h. */
22782 #include <math.h>
22783 #ifdef HAVE_IEEEFP_H
22784 #include <ieeefp.h>
22785 #endif
22786
22787 int
22788 main ()
22789 {
22790 _logf(0);
22791 ;
22792 return 0;
22793 }
22794 _ACEOF
22795 if ac_fn_cxx_try_compile "$LINENO"; then :
22796 glibcxx_cv_func__logf_use=yes
22797 else
22798 glibcxx_cv_func__logf_use=no
22799 fi
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22801 ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806
22807
22808 fi
22809
22810 fi
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22812 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22813
22814 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22815 for ac_func in _logf
22816 do :
22817 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22818 if test "x$ac_cv_func__logf" = x""yes; then :
22819 cat >>confdefs.h <<_ACEOF
22820 #define HAVE__LOGF 1
22821 _ACEOF
22822
22823 fi
22824 done
22825
22826 fi
22827 fi
22828
22829
22830
22831
22832
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22834 $as_echo_n "checking for log10f declaration... " >&6; }
22835 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22836 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22837 $as_echo_n "(cached) " >&6
22838 else
22839
22840
22841 ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h. */
22849 #include <math.h>
22850 #ifdef HAVE_IEEEFP_H
22851 #include <ieeefp.h>
22852 #endif
22853
22854 int
22855 main ()
22856 {
22857 log10f(0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func_log10f_use=yes
22864 else
22865 glibcxx_cv_func_log10f_use=no
22866 fi
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873
22874
22875 fi
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22879 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22880
22881 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22882 for ac_func in log10f
22883 do :
22884 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22885 if test "x$ac_cv_func_log10f" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE_LOG10F 1
22888 _ACEOF
22889
22890 fi
22891 done
22892
22893 else
22894
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22896 $as_echo_n "checking for _log10f declaration... " >&6; }
22897 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22898 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22899 $as_echo_n "(cached) " >&6
22900 else
22901
22902
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22911 #include <math.h>
22912 #ifdef HAVE_IEEEFP_H
22913 #include <ieeefp.h>
22914 #endif
22915
22916 int
22917 main ()
22918 {
22919 _log10f(0);
22920 ;
22921 return 0;
22922 }
22923 _ACEOF
22924 if ac_fn_cxx_try_compile "$LINENO"; then :
22925 glibcxx_cv_func__log10f_use=yes
22926 else
22927 glibcxx_cv_func__log10f_use=no
22928 fi
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 ac_ext=c
22931 ac_cpp='$CPP $CPPFLAGS'
22932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935
22936
22937 fi
22938
22939 fi
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22941 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22942
22943 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22944 for ac_func in _log10f
22945 do :
22946 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22947 if test "x$ac_cv_func__log10f" = x""yes; then :
22948 cat >>confdefs.h <<_ACEOF
22949 #define HAVE__LOG10F 1
22950 _ACEOF
22951
22952 fi
22953 done
22954
22955 fi
22956 fi
22957
22958
22959
22960
22961
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22963 $as_echo_n "checking for modff declaration... " >&6; }
22964 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22965 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22966 $as_echo_n "(cached) " >&6
22967 else
22968
22969
22970 ac_ext=cpp
22971 ac_cpp='$CXXCPP $CPPFLAGS'
22972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975
22976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 #include <math.h>
22979 int
22980 main ()
22981 {
22982 modff(0, 0);
22983 ;
22984 return 0;
22985 }
22986 _ACEOF
22987 if ac_fn_cxx_try_compile "$LINENO"; then :
22988 glibcxx_cv_func_modff_use=yes
22989 else
22990 glibcxx_cv_func_modff_use=no
22991 fi
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993 ac_ext=c
22994 ac_cpp='$CPP $CPPFLAGS'
22995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22998
22999
23000 fi
23001
23002 fi
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23004 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23005
23006 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23007 for ac_func in modff
23008 do :
23009 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23010 if test "x$ac_cv_func_modff" = x""yes; then :
23011 cat >>confdefs.h <<_ACEOF
23012 #define HAVE_MODFF 1
23013 _ACEOF
23014
23015 fi
23016 done
23017
23018 else
23019
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23021 $as_echo_n "checking for _modff declaration... " >&6; }
23022 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23023 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23026
23027
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033
23034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23035 /* end confdefs.h. */
23036 #include <math.h>
23037 int
23038 main ()
23039 {
23040 _modff(0, 0);
23041 ;
23042 return 0;
23043 }
23044 _ACEOF
23045 if ac_fn_cxx_try_compile "$LINENO"; then :
23046 glibcxx_cv_func__modff_use=yes
23047 else
23048 glibcxx_cv_func__modff_use=no
23049 fi
23050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23051 ac_ext=c
23052 ac_cpp='$CPP $CPPFLAGS'
23053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056
23057
23058 fi
23059
23060 fi
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23062 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23063
23064 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23065 for ac_func in _modff
23066 do :
23067 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23068 if test "x$ac_cv_func__modff" = x""yes; then :
23069 cat >>confdefs.h <<_ACEOF
23070 #define HAVE__MODFF 1
23071 _ACEOF
23072
23073 fi
23074 done
23075
23076 fi
23077 fi
23078
23079
23080
23081
23082
23083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23084 $as_echo_n "checking for modf declaration... " >&6; }
23085 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23086 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23089
23090
23091 ac_ext=cpp
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23096
23097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h. */
23099 #include <math.h>
23100 int
23101 main ()
23102 {
23103 modf(0, 0);
23104 ;
23105 return 0;
23106 }
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109 glibcxx_cv_func_modf_use=yes
23110 else
23111 glibcxx_cv_func_modf_use=no
23112 fi
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114 ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119
23120
23121 fi
23122
23123 fi
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23125 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23126
23127 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23128 for ac_func in modf
23129 do :
23130 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23131 if test "x$ac_cv_func_modf" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define HAVE_MODF 1
23134 _ACEOF
23135
23136 fi
23137 done
23138
23139 else
23140
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23142 $as_echo_n "checking for _modf declaration... " >&6; }
23143 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23144 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23147
23148
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23158 int
23159 main ()
23160 {
23161 _modf(0, 0);
23162 ;
23163 return 0;
23164 }
23165 _ACEOF
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func__modf_use=yes
23168 else
23169 glibcxx_cv_func__modf_use=no
23170 fi
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23177
23178
23179 fi
23180
23181 fi
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23183 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23184
23185 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23186 for ac_func in _modf
23187 do :
23188 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23189 if test "x$ac_cv_func__modf" = x""yes; then :
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE__MODF 1
23192 _ACEOF
23193
23194 fi
23195 done
23196
23197 fi
23198 fi
23199
23200
23201
23202
23203
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23205 $as_echo_n "checking for powf declaration... " >&6; }
23206 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23207 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23210
23211
23212 ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 int
23222 main ()
23223 {
23224 powf(0, 0);
23225 ;
23226 return 0;
23227 }
23228 _ACEOF
23229 if ac_fn_cxx_try_compile "$LINENO"; then :
23230 glibcxx_cv_func_powf_use=yes
23231 else
23232 glibcxx_cv_func_powf_use=no
23233 fi
23234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23235 ac_ext=c
23236 ac_cpp='$CPP $CPPFLAGS'
23237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240
23241
23242 fi
23243
23244 fi
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23246 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23247
23248 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23249 for ac_func in powf
23250 do :
23251 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23252 if test "x$ac_cv_func_powf" = x""yes; then :
23253 cat >>confdefs.h <<_ACEOF
23254 #define HAVE_POWF 1
23255 _ACEOF
23256
23257 fi
23258 done
23259
23260 else
23261
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23263 $as_echo_n "checking for _powf declaration... " >&6; }
23264 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23265 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23268
23269
23270 ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23275
23276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h. */
23278 #include <math.h>
23279 int
23280 main ()
23281 {
23282 _powf(0, 0);
23283 ;
23284 return 0;
23285 }
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288 glibcxx_cv_func__powf_use=yes
23289 else
23290 glibcxx_cv_func__powf_use=no
23291 fi
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 ac_ext=c
23294 ac_cpp='$CPP $CPPFLAGS'
23295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298
23299
23300 fi
23301
23302 fi
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23304 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23305
23306 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23307 for ac_func in _powf
23308 do :
23309 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23310 if test "x$ac_cv_func__powf" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE__POWF 1
23313 _ACEOF
23314
23315 fi
23316 done
23317
23318 fi
23319 fi
23320
23321
23322
23323
23324
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23326 $as_echo_n "checking for sqrtf declaration... " >&6; }
23327 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23328 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23330 else
23331
23332
23333 ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23338
23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23345
23346 int
23347 main ()
23348 {
23349 sqrtf(0);
23350 ;
23351 return 0;
23352 }
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func_sqrtf_use=yes
23356 else
23357 glibcxx_cv_func_sqrtf_use=no
23358 fi
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365
23366
23367 fi
23368
23369 fi
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23371 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23372
23373 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23374 for ac_func in sqrtf
23375 do :
23376 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23377 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23378 cat >>confdefs.h <<_ACEOF
23379 #define HAVE_SQRTF 1
23380 _ACEOF
23381
23382 fi
23383 done
23384
23385 else
23386
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23388 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23389 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23390 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23391 $as_echo_n "(cached) " >&6
23392 else
23393
23394
23395 ac_ext=cpp
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400
23401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402 /* end confdefs.h. */
23403 #include <math.h>
23404 #ifdef HAVE_IEEEFP_H
23405 #include <ieeefp.h>
23406 #endif
23407
23408 int
23409 main ()
23410 {
23411 _sqrtf(0);
23412 ;
23413 return 0;
23414 }
23415 _ACEOF
23416 if ac_fn_cxx_try_compile "$LINENO"; then :
23417 glibcxx_cv_func__sqrtf_use=yes
23418 else
23419 glibcxx_cv_func__sqrtf_use=no
23420 fi
23421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23422 ac_ext=c
23423 ac_cpp='$CPP $CPPFLAGS'
23424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23427
23428
23429 fi
23430
23431 fi
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23433 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23434
23435 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23436 for ac_func in _sqrtf
23437 do :
23438 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23439 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23440 cat >>confdefs.h <<_ACEOF
23441 #define HAVE__SQRTF 1
23442 _ACEOF
23443
23444 fi
23445 done
23446
23447 fi
23448 fi
23449
23450
23451
23452
23453
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23455 $as_echo_n "checking for sincosf declaration... " >&6; }
23456 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23457 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23460
23461
23462 ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23467
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23470 #include <math.h>
23471 int
23472 main ()
23473 {
23474 sincosf(0, 0, 0);
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func_sincosf_use=yes
23481 else
23482 glibcxx_cv_func_sincosf_use=no
23483 fi
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490
23491
23492 fi
23493
23494 fi
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23496 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23497
23498 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23499 for ac_func in sincosf
23500 do :
23501 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23502 if test "x$ac_cv_func_sincosf" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE_SINCOSF 1
23505 _ACEOF
23506
23507 fi
23508 done
23509
23510 else
23511
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23513 $as_echo_n "checking for _sincosf declaration... " >&6; }
23514 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23515 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23518
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 int
23530 main ()
23531 {
23532 _sincosf(0, 0, 0);
23533 ;
23534 return 0;
23535 }
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538 glibcxx_cv_func__sincosf_use=yes
23539 else
23540 glibcxx_cv_func__sincosf_use=no
23541 fi
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548
23549
23550 fi
23551
23552 fi
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23554 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23555
23556 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23557 for ac_func in _sincosf
23558 do :
23559 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23560 if test "x$ac_cv_func__sincosf" = x""yes; then :
23561 cat >>confdefs.h <<_ACEOF
23562 #define HAVE__SINCOSF 1
23563 _ACEOF
23564
23565 fi
23566 done
23567
23568 fi
23569 fi
23570
23571
23572
23573
23574
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23576 $as_echo_n "checking for finitef declaration... " >&6; }
23577 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23578 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23579 $as_echo_n "(cached) " >&6
23580 else
23581
23582
23583 ac_ext=cpp
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588
23589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23590 /* end confdefs.h. */
23591 #include <math.h>
23592 #ifdef HAVE_IEEEFP_H
23593 #include <ieeefp.h>
23594 #endif
23595
23596 int
23597 main ()
23598 {
23599 finitef(0);
23600 ;
23601 return 0;
23602 }
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func_finitef_use=yes
23606 else
23607 glibcxx_cv_func_finitef_use=no
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615
23616
23617 fi
23618
23619 fi
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23621 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23622
23623 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23624 for ac_func in finitef
23625 do :
23626 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23627 if test "x$ac_cv_func_finitef" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE_FINITEF 1
23630 _ACEOF
23631
23632 fi
23633 done
23634
23635 else
23636
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23638 $as_echo_n "checking for _finitef declaration... " >&6; }
23639 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23640 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 #ifdef HAVE_IEEEFP_H
23655 #include <ieeefp.h>
23656 #endif
23657
23658 int
23659 main ()
23660 {
23661 _finitef(0);
23662 ;
23663 return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667 glibcxx_cv_func__finitef_use=yes
23668 else
23669 glibcxx_cv_func__finitef_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681 fi
23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23683 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23684
23685 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23686 for ac_func in _finitef
23687 do :
23688 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23689 if test "x$ac_cv_func__finitef" = x""yes; then :
23690 cat >>confdefs.h <<_ACEOF
23691 #define HAVE__FINITEF 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697 fi
23698 fi
23699
23700
23701
23702
23703
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23705 $as_echo_n "checking for long double trig functions... " >&6; }
23706 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23708 else
23709
23710
23711 ac_ext=cpp
23712 ac_cpp='$CXXCPP $CPPFLAGS'
23713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23716
23717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23718 /* end confdefs.h. */
23719 #include <math.h>
23720 int
23721 main ()
23722 {
23723 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func_long_double_trig_use=yes
23730 else
23731 glibcxx_cv_func_long_double_trig_use=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740 fi
23741
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23743 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23744 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23745 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23746 do :
23747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23749 eval as_val=\$$as_ac_var
23750 if test "x$as_val" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23753 _ACEOF
23754
23755 fi
23756 done
23757
23758 else
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23760 $as_echo_n "checking for _long double trig functions... " >&6; }
23761 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23763 else
23764
23765
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774 #include <math.h>
23775 int
23776 main ()
23777 {
23778 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23779 ;
23780 return 0;
23781 }
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func__long_double_trig_use=yes
23785 else
23786 glibcxx_cv_func__long_double_trig_use=no
23787 fi
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794
23795 fi
23796
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23798 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23799 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23800 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23801 do :
23802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23804 eval as_val=\$$as_ac_var
23805 if test "x$as_val" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23808 _ACEOF
23809
23810 fi
23811 done
23812
23813 fi
23814 fi
23815
23816
23817
23818
23819
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23821 $as_echo_n "checking for long double round functions... " >&6; }
23822 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23824 else
23825
23826
23827 ac_ext=cpp
23828 ac_cpp='$CXXCPP $CPPFLAGS'
23829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23834 /* end confdefs.h. */
23835 #include <math.h>
23836 int
23837 main ()
23838 {
23839 ceill (0); floorl (0);
23840 ;
23841 return 0;
23842 }
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_long_double_round_use=yes
23846 else
23847 glibcxx_cv_func_long_double_round_use=no
23848 fi
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855
23856 fi
23857
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23859 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23860 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23861 for ac_func in ceill floorl
23862 do :
23863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23865 eval as_val=\$$as_ac_var
23866 if test "x$as_val" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23869 _ACEOF
23870
23871 fi
23872 done
23873
23874 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23876 $as_echo_n "checking for _long double round functions... " >&6; }
23877 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23880
23881
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23887
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 int
23892 main ()
23893 {
23894 _ceill (0); _floorl (0);
23895 ;
23896 return 0;
23897 }
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__long_double_round_use=yes
23901 else
23902 glibcxx_cv_func__long_double_round_use=no
23903 fi
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23910
23911 fi
23912
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23914 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23915 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23916 for ac_func in _ceill _floorl
23917 do :
23918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23920 eval as_val=\$$as_ac_var
23921 if test "x$as_val" = x""yes; then :
23922 cat >>confdefs.h <<_ACEOF
23923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23924 _ACEOF
23925
23926 fi
23927 done
23928
23929 fi
23930 fi
23931
23932
23933
23934
23935
23936
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23938 $as_echo_n "checking for isnanl declaration... " >&6; }
23939 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23940 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943
23944
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23954 #ifdef HAVE_IEEEFP_H
23955 #include <ieeefp.h>
23956 #endif
23957
23958 int
23959 main ()
23960 {
23961 isnanl(0);
23962 ;
23963 return 0;
23964 }
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_isnanl_use=yes
23968 else
23969 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
23983 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23984
23985 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23986 for ac_func in isnanl
23987 do :
23988 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23989 if test "x$ac_cv_func_isnanl" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_ISNANL 1
23992 _ACEOF
23993
23994 fi
23995 done
23996
23997 else
23998
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24000 $as_echo_n "checking for _isnanl declaration... " >&6; }
24001 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24002 if test "${glibcxx_cv_func__isnanl_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 #ifdef HAVE_IEEEFP_H
24017 #include <ieeefp.h>
24018 #endif
24019
24020 int
24021 main ()
24022 {
24023 _isnanl(0);
24024 ;
24025 return 0;
24026 }
24027 _ACEOF
24028 if ac_fn_cxx_try_compile "$LINENO"; then :
24029 glibcxx_cv_func__isnanl_use=yes
24030 else
24031 glibcxx_cv_func__isnanl_use=no
24032 fi
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039
24040
24041 fi
24042
24043 fi
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24045 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24046
24047 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24048 for ac_func in _isnanl
24049 do :
24050 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24051 if test "x$ac_cv_func__isnanl" = x""yes; then :
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE__ISNANL 1
24054 _ACEOF
24055
24056 fi
24057 done
24058
24059 fi
24060 fi
24061
24062
24063
24064
24065
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24067 $as_echo_n "checking for isinfl declaration... " >&6; }
24068 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24069 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24072
24073
24074 ac_ext=cpp
24075 ac_cpp='$CXXCPP $CPPFLAGS'
24076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24079
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082 #include <math.h>
24083 #ifdef HAVE_IEEEFP_H
24084 #include <ieeefp.h>
24085 #endif
24086
24087 int
24088 main ()
24089 {
24090 isinfl(0);
24091 ;
24092 return 0;
24093 }
24094 _ACEOF
24095 if ac_fn_cxx_try_compile "$LINENO"; then :
24096 glibcxx_cv_func_isinfl_use=yes
24097 else
24098 glibcxx_cv_func_isinfl_use=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 ac_ext=c
24102 ac_cpp='$CPP $CPPFLAGS'
24103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24106
24107
24108 fi
24109
24110 fi
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24112 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24113
24114 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24115 for ac_func in isinfl
24116 do :
24117 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24118 if test "x$ac_cv_func_isinfl" = x""yes; then :
24119 cat >>confdefs.h <<_ACEOF
24120 #define HAVE_ISINFL 1
24121 _ACEOF
24122
24123 fi
24124 done
24125
24126 else
24127
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24129 $as_echo_n "checking for _isinfl declaration... " >&6; }
24130 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24131 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24133 else
24134
24135
24136 ac_ext=cpp
24137 ac_cpp='$CXXCPP $CPPFLAGS'
24138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24141
24142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24143 /* end confdefs.h. */
24144 #include <math.h>
24145 #ifdef HAVE_IEEEFP_H
24146 #include <ieeefp.h>
24147 #endif
24148
24149 int
24150 main ()
24151 {
24152 _isinfl(0);
24153 ;
24154 return 0;
24155 }
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158 glibcxx_cv_func__isinfl_use=yes
24159 else
24160 glibcxx_cv_func__isinfl_use=no
24161 fi
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24168
24169
24170 fi
24171
24172 fi
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24174 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24175
24176 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24177 for ac_func in _isinfl
24178 do :
24179 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24180 if test "x$ac_cv_func__isinfl" = x""yes; then :
24181 cat >>confdefs.h <<_ACEOF
24182 #define HAVE__ISINFL 1
24183 _ACEOF
24184
24185 fi
24186 done
24187
24188 fi
24189 fi
24190
24191
24192
24193
24194
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24196 $as_echo_n "checking for atan2l declaration... " >&6; }
24197 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24198 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24199 $as_echo_n "(cached) " >&6
24200 else
24201
24202
24203 ac_ext=cpp
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24208
24209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24210 /* end confdefs.h. */
24211 #include <math.h>
24212 int
24213 main ()
24214 {
24215 atan2l(0, 0);
24216 ;
24217 return 0;
24218 }
24219 _ACEOF
24220 if ac_fn_cxx_try_compile "$LINENO"; then :
24221 glibcxx_cv_func_atan2l_use=yes
24222 else
24223 glibcxx_cv_func_atan2l_use=no
24224 fi
24225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226 ac_ext=c
24227 ac_cpp='$CPP $CPPFLAGS'
24228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24231
24232
24233 fi
24234
24235 fi
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24237 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24238
24239 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24240 for ac_func in atan2l
24241 do :
24242 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24243 if test "x$ac_cv_func_atan2l" = x""yes; then :
24244 cat >>confdefs.h <<_ACEOF
24245 #define HAVE_ATAN2L 1
24246 _ACEOF
24247
24248 fi
24249 done
24250
24251 else
24252
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24254 $as_echo_n "checking for _atan2l declaration... " >&6; }
24255 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24256 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24257 $as_echo_n "(cached) " >&6
24258 else
24259
24260
24261 ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24266
24267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h. */
24269 #include <math.h>
24270 int
24271 main ()
24272 {
24273 _atan2l(0, 0);
24274 ;
24275 return 0;
24276 }
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func__atan2l_use=yes
24280 else
24281 glibcxx_cv_func__atan2l_use=no
24282 fi
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290
24291 fi
24292
24293 fi
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24295 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24296
24297 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24298 for ac_func in _atan2l
24299 do :
24300 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24301 if test "x$ac_cv_func__atan2l" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE__ATAN2L 1
24304 _ACEOF
24305
24306 fi
24307 done
24308
24309 fi
24310 fi
24311
24312
24313
24314
24315
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24317 $as_echo_n "checking for expl declaration... " >&6; }
24318 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24319 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24320 $as_echo_n "(cached) " >&6
24321 else
24322
24323
24324 ac_ext=cpp
24325 ac_cpp='$CXXCPP $CPPFLAGS'
24326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24329
24330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24331 /* end confdefs.h. */
24332 #include <math.h>
24333 #ifdef HAVE_IEEEFP_H
24334 #include <ieeefp.h>
24335 #endif
24336
24337 int
24338 main ()
24339 {
24340 expl(0);
24341 ;
24342 return 0;
24343 }
24344 _ACEOF
24345 if ac_fn_cxx_try_compile "$LINENO"; then :
24346 glibcxx_cv_func_expl_use=yes
24347 else
24348 glibcxx_cv_func_expl_use=no
24349 fi
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356
24357
24358 fi
24359
24360 fi
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24362 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24363
24364 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24365 for ac_func in expl
24366 do :
24367 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24368 if test "x$ac_cv_func_expl" = x""yes; then :
24369 cat >>confdefs.h <<_ACEOF
24370 #define HAVE_EXPL 1
24371 _ACEOF
24372
24373 fi
24374 done
24375
24376 else
24377
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24379 $as_echo_n "checking for _expl declaration... " >&6; }
24380 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24381 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24384
24385
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24395 #ifdef HAVE_IEEEFP_H
24396 #include <ieeefp.h>
24397 #endif
24398
24399 int
24400 main ()
24401 {
24402 _expl(0);
24403 ;
24404 return 0;
24405 }
24406 _ACEOF
24407 if ac_fn_cxx_try_compile "$LINENO"; then :
24408 glibcxx_cv_func__expl_use=yes
24409 else
24410 glibcxx_cv_func__expl_use=no
24411 fi
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413 ac_ext=c
24414 ac_cpp='$CPP $CPPFLAGS'
24415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24418
24419
24420 fi
24421
24422 fi
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24424 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24425
24426 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24427 for ac_func in _expl
24428 do :
24429 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24430 if test "x$ac_cv_func__expl" = x""yes; then :
24431 cat >>confdefs.h <<_ACEOF
24432 #define HAVE__EXPL 1
24433 _ACEOF
24434
24435 fi
24436 done
24437
24438 fi
24439 fi
24440
24441
24442
24443
24444
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24446 $as_echo_n "checking for fabsl declaration... " >&6; }
24447 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24448 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24451
24452
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24458
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24462 #ifdef HAVE_IEEEFP_H
24463 #include <ieeefp.h>
24464 #endif
24465
24466 int
24467 main ()
24468 {
24469 fabsl(0);
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 if ac_fn_cxx_try_compile "$LINENO"; then :
24475 glibcxx_cv_func_fabsl_use=yes
24476 else
24477 glibcxx_cv_func_fabsl_use=no
24478 fi
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 ac_ext=c
24481 ac_cpp='$CPP $CPPFLAGS'
24482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24485
24486
24487 fi
24488
24489 fi
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24491 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24492
24493 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24494 for ac_func in fabsl
24495 do :
24496 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24497 if test "x$ac_cv_func_fabsl" = x""yes; then :
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_FABSL 1
24500 _ACEOF
24501
24502 fi
24503 done
24504
24505 else
24506
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24508 $as_echo_n "checking for _fabsl declaration... " >&6; }
24509 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24510 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24511 $as_echo_n "(cached) " >&6
24512 else
24513
24514
24515 ac_ext=cpp
24516 ac_cpp='$CXXCPP $CPPFLAGS'
24517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24520
24521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24522 /* end confdefs.h. */
24523 #include <math.h>
24524 #ifdef HAVE_IEEEFP_H
24525 #include <ieeefp.h>
24526 #endif
24527
24528 int
24529 main ()
24530 {
24531 _fabsl(0);
24532 ;
24533 return 0;
24534 }
24535 _ACEOF
24536 if ac_fn_cxx_try_compile "$LINENO"; then :
24537 glibcxx_cv_func__fabsl_use=yes
24538 else
24539 glibcxx_cv_func__fabsl_use=no
24540 fi
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 ac_ext=c
24543 ac_cpp='$CPP $CPPFLAGS'
24544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24547
24548
24549 fi
24550
24551 fi
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24553 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24554
24555 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24556 for ac_func in _fabsl
24557 do :
24558 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24559 if test "x$ac_cv_func__fabsl" = x""yes; then :
24560 cat >>confdefs.h <<_ACEOF
24561 #define HAVE__FABSL 1
24562 _ACEOF
24563
24564 fi
24565 done
24566
24567 fi
24568 fi
24569
24570
24571
24572
24573
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24575 $as_echo_n "checking for fmodl declaration... " >&6; }
24576 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24577 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24578 $as_echo_n "(cached) " >&6
24579 else
24580
24581
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587
24588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24589 /* end confdefs.h. */
24590 #include <math.h>
24591 int
24592 main ()
24593 {
24594 fmodl(0, 0);
24595 ;
24596 return 0;
24597 }
24598 _ACEOF
24599 if ac_fn_cxx_try_compile "$LINENO"; then :
24600 glibcxx_cv_func_fmodl_use=yes
24601 else
24602 glibcxx_cv_func_fmodl_use=no
24603 fi
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610
24611
24612 fi
24613
24614 fi
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24616 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24617
24618 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24619 for ac_func in fmodl
24620 do :
24621 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24622 if test "x$ac_cv_func_fmodl" = x""yes; then :
24623 cat >>confdefs.h <<_ACEOF
24624 #define HAVE_FMODL 1
24625 _ACEOF
24626
24627 fi
24628 done
24629
24630 else
24631
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24633 $as_echo_n "checking for _fmodl declaration... " >&6; }
24634 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24635 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24637 else
24638
24639
24640 ac_ext=cpp
24641 ac_cpp='$CXXCPP $CPPFLAGS'
24642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24645
24646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24647 /* end confdefs.h. */
24648 #include <math.h>
24649 int
24650 main ()
24651 {
24652 _fmodl(0, 0);
24653 ;
24654 return 0;
24655 }
24656 _ACEOF
24657 if ac_fn_cxx_try_compile "$LINENO"; then :
24658 glibcxx_cv_func__fmodl_use=yes
24659 else
24660 glibcxx_cv_func__fmodl_use=no
24661 fi
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663 ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668
24669
24670 fi
24671
24672 fi
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24674 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24675
24676 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24677 for ac_func in _fmodl
24678 do :
24679 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24680 if test "x$ac_cv_func__fmodl" = x""yes; then :
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE__FMODL 1
24683 _ACEOF
24684
24685 fi
24686 done
24687
24688 fi
24689 fi
24690
24691
24692
24693
24694
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24696 $as_echo_n "checking for frexpl declaration... " >&6; }
24697 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24698 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24699 $as_echo_n "(cached) " >&6
24700 else
24701
24702
24703 ac_ext=cpp
24704 ac_cpp='$CXXCPP $CPPFLAGS'
24705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24708
24709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24710 /* end confdefs.h. */
24711 #include <math.h>
24712 int
24713 main ()
24714 {
24715 frexpl(0, 0);
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func_frexpl_use=yes
24722 else
24723 glibcxx_cv_func_frexpl_use=no
24724 fi
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726 ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731
24732
24733 fi
24734
24735 fi
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24737 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24738
24739 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24740 for ac_func in frexpl
24741 do :
24742 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24743 if test "x$ac_cv_func_frexpl" = x""yes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE_FREXPL 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751 else
24752
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24754 $as_echo_n "checking for _frexpl declaration... " >&6; }
24755 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24756 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24759
24760
24761 ac_ext=cpp
24762 ac_cpp='$CXXCPP $CPPFLAGS'
24763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766
24767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24768 /* end confdefs.h. */
24769 #include <math.h>
24770 int
24771 main ()
24772 {
24773 _frexpl(0, 0);
24774 ;
24775 return 0;
24776 }
24777 _ACEOF
24778 if ac_fn_cxx_try_compile "$LINENO"; then :
24779 glibcxx_cv_func__frexpl_use=yes
24780 else
24781 glibcxx_cv_func__frexpl_use=no
24782 fi
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 ac_ext=c
24785 ac_cpp='$CPP $CPPFLAGS'
24786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789
24790
24791 fi
24792
24793 fi
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24795 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24796
24797 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24798 for ac_func in _frexpl
24799 do :
24800 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24801 if test "x$ac_cv_func__frexpl" = x""yes; then :
24802 cat >>confdefs.h <<_ACEOF
24803 #define HAVE__FREXPL 1
24804 _ACEOF
24805
24806 fi
24807 done
24808
24809 fi
24810 fi
24811
24812
24813
24814
24815
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24817 $as_echo_n "checking for hypotl declaration... " >&6; }
24818 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24819 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24820 $as_echo_n "(cached) " >&6
24821 else
24822
24823
24824 ac_ext=cpp
24825 ac_cpp='$CXXCPP $CPPFLAGS'
24826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24829
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24832 #include <math.h>
24833 int
24834 main ()
24835 {
24836 hypotl(0, 0);
24837 ;
24838 return 0;
24839 }
24840 _ACEOF
24841 if ac_fn_cxx_try_compile "$LINENO"; then :
24842 glibcxx_cv_func_hypotl_use=yes
24843 else
24844 glibcxx_cv_func_hypotl_use=no
24845 fi
24846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24847 ac_ext=c
24848 ac_cpp='$CPP $CPPFLAGS'
24849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24852
24853
24854 fi
24855
24856 fi
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24858 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24859
24860 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24861 for ac_func in hypotl
24862 do :
24863 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24864 if test "x$ac_cv_func_hypotl" = x""yes; then :
24865 cat >>confdefs.h <<_ACEOF
24866 #define HAVE_HYPOTL 1
24867 _ACEOF
24868
24869 fi
24870 done
24871
24872 else
24873
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24875 $as_echo_n "checking for _hypotl declaration... " >&6; }
24876 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24877 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24878 $as_echo_n "(cached) " >&6
24879 else
24880
24881
24882 ac_ext=cpp
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24887
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h. */
24890 #include <math.h>
24891 int
24892 main ()
24893 {
24894 _hypotl(0, 0);
24895 ;
24896 return 0;
24897 }
24898 _ACEOF
24899 if ac_fn_cxx_try_compile "$LINENO"; then :
24900 glibcxx_cv_func__hypotl_use=yes
24901 else
24902 glibcxx_cv_func__hypotl_use=no
24903 fi
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910
24911
24912 fi
24913
24914 fi
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24916 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24917
24918 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24919 for ac_func in _hypotl
24920 do :
24921 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24922 if test "x$ac_cv_func__hypotl" = x""yes; then :
24923 cat >>confdefs.h <<_ACEOF
24924 #define HAVE__HYPOTL 1
24925 _ACEOF
24926
24927 fi
24928 done
24929
24930 fi
24931 fi
24932
24933
24934
24935
24936
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24938 $as_echo_n "checking for ldexpl declaration... " >&6; }
24939 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24940 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24941 $as_echo_n "(cached) " >&6
24942 else
24943
24944
24945 ac_ext=cpp
24946 ac_cpp='$CXXCPP $CPPFLAGS'
24947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24950
24951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24953 #include <math.h>
24954 int
24955 main ()
24956 {
24957 ldexpl(0, 0);
24958 ;
24959 return 0;
24960 }
24961 _ACEOF
24962 if ac_fn_cxx_try_compile "$LINENO"; then :
24963 glibcxx_cv_func_ldexpl_use=yes
24964 else
24965 glibcxx_cv_func_ldexpl_use=no
24966 fi
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 ac_ext=c
24969 ac_cpp='$CPP $CPPFLAGS'
24970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24973
24974
24975 fi
24976
24977 fi
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24979 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24980
24981 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24982 for ac_func in ldexpl
24983 do :
24984 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24985 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24986 cat >>confdefs.h <<_ACEOF
24987 #define HAVE_LDEXPL 1
24988 _ACEOF
24989
24990 fi
24991 done
24992
24993 else
24994
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24996 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24997 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24998 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25001
25002
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25012 int
25013 main ()
25014 {
25015 _ldexpl(0, 0);
25016 ;
25017 return 0;
25018 }
25019 _ACEOF
25020 if ac_fn_cxx_try_compile "$LINENO"; then :
25021 glibcxx_cv_func__ldexpl_use=yes
25022 else
25023 glibcxx_cv_func__ldexpl_use=no
25024 fi
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 ac_ext=c
25027 ac_cpp='$CPP $CPPFLAGS'
25028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25031
25032
25033 fi
25034
25035 fi
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25037 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25038
25039 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25040 for ac_func in _ldexpl
25041 do :
25042 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25043 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25044 cat >>confdefs.h <<_ACEOF
25045 #define HAVE__LDEXPL 1
25046 _ACEOF
25047
25048 fi
25049 done
25050
25051 fi
25052 fi
25053
25054
25055
25056
25057
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25059 $as_echo_n "checking for logl declaration... " >&6; }
25060 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25061 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25062 $as_echo_n "(cached) " >&6
25063 else
25064
25065
25066 ac_ext=cpp
25067 ac_cpp='$CXXCPP $CPPFLAGS'
25068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25071
25072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25073 /* end confdefs.h. */
25074 #include <math.h>
25075 #ifdef HAVE_IEEEFP_H
25076 #include <ieeefp.h>
25077 #endif
25078
25079 int
25080 main ()
25081 {
25082 logl(0);
25083 ;
25084 return 0;
25085 }
25086 _ACEOF
25087 if ac_fn_cxx_try_compile "$LINENO"; then :
25088 glibcxx_cv_func_logl_use=yes
25089 else
25090 glibcxx_cv_func_logl_use=no
25091 fi
25092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25098
25099
25100 fi
25101
25102 fi
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25104 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25105
25106 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25107 for ac_func in logl
25108 do :
25109 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25110 if test "x$ac_cv_func_logl" = x""yes; then :
25111 cat >>confdefs.h <<_ACEOF
25112 #define HAVE_LOGL 1
25113 _ACEOF
25114
25115 fi
25116 done
25117
25118 else
25119
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25121 $as_echo_n "checking for _logl declaration... " >&6; }
25122 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25123 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25125 else
25126
25127
25128 ac_ext=cpp
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133
25134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h. */
25136 #include <math.h>
25137 #ifdef HAVE_IEEEFP_H
25138 #include <ieeefp.h>
25139 #endif
25140
25141 int
25142 main ()
25143 {
25144 _logl(0);
25145 ;
25146 return 0;
25147 }
25148 _ACEOF
25149 if ac_fn_cxx_try_compile "$LINENO"; then :
25150 glibcxx_cv_func__logl_use=yes
25151 else
25152 glibcxx_cv_func__logl_use=no
25153 fi
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 ac_ext=c
25156 ac_cpp='$CPP $CPPFLAGS'
25157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25160
25161
25162 fi
25163
25164 fi
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25166 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25167
25168 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25169 for ac_func in _logl
25170 do :
25171 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25172 if test "x$ac_cv_func__logl" = x""yes; then :
25173 cat >>confdefs.h <<_ACEOF
25174 #define HAVE__LOGL 1
25175 _ACEOF
25176
25177 fi
25178 done
25179
25180 fi
25181 fi
25182
25183
25184
25185
25186
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25188 $as_echo_n "checking for log10l declaration... " >&6; }
25189 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25190 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25191 $as_echo_n "(cached) " >&6
25192 else
25193
25194
25195 ac_ext=cpp
25196 ac_cpp='$CXXCPP $CPPFLAGS'
25197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25203 #include <math.h>
25204 #ifdef HAVE_IEEEFP_H
25205 #include <ieeefp.h>
25206 #endif
25207
25208 int
25209 main ()
25210 {
25211 log10l(0);
25212 ;
25213 return 0;
25214 }
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func_log10l_use=yes
25218 else
25219 glibcxx_cv_func_log10l_use=no
25220 fi
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227
25228
25229 fi
25230
25231 fi
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25233 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25234
25235 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25236 for ac_func in log10l
25237 do :
25238 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25239 if test "x$ac_cv_func_log10l" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_LOG10L 1
25242 _ACEOF
25243
25244 fi
25245 done
25246
25247 else
25248
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25250 $as_echo_n "checking for _log10l declaration... " >&6; }
25251 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25252 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25253 $as_echo_n "(cached) " >&6
25254 else
25255
25256
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265 #include <math.h>
25266 #ifdef HAVE_IEEEFP_H
25267 #include <ieeefp.h>
25268 #endif
25269
25270 int
25271 main ()
25272 {
25273 _log10l(0);
25274 ;
25275 return 0;
25276 }
25277 _ACEOF
25278 if ac_fn_cxx_try_compile "$LINENO"; then :
25279 glibcxx_cv_func__log10l_use=yes
25280 else
25281 glibcxx_cv_func__log10l_use=no
25282 fi
25283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25284 ac_ext=c
25285 ac_cpp='$CPP $CPPFLAGS'
25286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25289
25290
25291 fi
25292
25293 fi
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25295 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25296
25297 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25298 for ac_func in _log10l
25299 do :
25300 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25301 if test "x$ac_cv_func__log10l" = x""yes; then :
25302 cat >>confdefs.h <<_ACEOF
25303 #define HAVE__LOG10L 1
25304 _ACEOF
25305
25306 fi
25307 done
25308
25309 fi
25310 fi
25311
25312
25313
25314
25315
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25317 $as_echo_n "checking for modfl declaration... " >&6; }
25318 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25319 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25322
25323
25324 ac_ext=cpp
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25329
25330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 /* end confdefs.h. */
25332 #include <math.h>
25333 int
25334 main ()
25335 {
25336 modfl(0, 0);
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func_modfl_use=yes
25343 else
25344 glibcxx_cv_func_modfl_use=no
25345 fi
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347 ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25352
25353
25354 fi
25355
25356 fi
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25358 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25359
25360 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25361 for ac_func in modfl
25362 do :
25363 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25364 if test "x$ac_cv_func_modfl" = x""yes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE_MODFL 1
25367 _ACEOF
25368
25369 fi
25370 done
25371
25372 else
25373
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25375 $as_echo_n "checking for _modfl declaration... " >&6; }
25376 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25377 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25380
25381
25382 ac_ext=cpp
25383 ac_cpp='$CXXCPP $CPPFLAGS'
25384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25387
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25390 #include <math.h>
25391 int
25392 main ()
25393 {
25394 _modfl(0, 0);
25395 ;
25396 return 0;
25397 }
25398 _ACEOF
25399 if ac_fn_cxx_try_compile "$LINENO"; then :
25400 glibcxx_cv_func__modfl_use=yes
25401 else
25402 glibcxx_cv_func__modfl_use=no
25403 fi
25404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405 ac_ext=c
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410
25411
25412 fi
25413
25414 fi
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25416 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25417
25418 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25419 for ac_func in _modfl
25420 do :
25421 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25422 if test "x$ac_cv_func__modfl" = x""yes; then :
25423 cat >>confdefs.h <<_ACEOF
25424 #define HAVE__MODFL 1
25425 _ACEOF
25426
25427 fi
25428 done
25429
25430 fi
25431 fi
25432
25433
25434
25435
25436
25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25438 $as_echo_n "checking for powl declaration... " >&6; }
25439 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25440 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25441 $as_echo_n "(cached) " >&6
25442 else
25443
25444
25445 ac_ext=cpp
25446 ac_cpp='$CXXCPP $CPPFLAGS'
25447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25450
25451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25452 /* end confdefs.h. */
25453 #include <math.h>
25454 int
25455 main ()
25456 {
25457 powl(0, 0);
25458 ;
25459 return 0;
25460 }
25461 _ACEOF
25462 if ac_fn_cxx_try_compile "$LINENO"; then :
25463 glibcxx_cv_func_powl_use=yes
25464 else
25465 glibcxx_cv_func_powl_use=no
25466 fi
25467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25468 ac_ext=c
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473
25474
25475 fi
25476
25477 fi
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25479 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25480
25481 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25482 for ac_func in powl
25483 do :
25484 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25485 if test "x$ac_cv_func_powl" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define HAVE_POWL 1
25488 _ACEOF
25489
25490 fi
25491 done
25492
25493 else
25494
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25496 $as_echo_n "checking for _powl declaration... " >&6; }
25497 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25498 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25501
25502
25503 ac_ext=cpp
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25508
25509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25511 #include <math.h>
25512 int
25513 main ()
25514 {
25515 _powl(0, 0);
25516 ;
25517 return 0;
25518 }
25519 _ACEOF
25520 if ac_fn_cxx_try_compile "$LINENO"; then :
25521 glibcxx_cv_func__powl_use=yes
25522 else
25523 glibcxx_cv_func__powl_use=no
25524 fi
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526 ac_ext=c
25527 ac_cpp='$CPP $CPPFLAGS'
25528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25531
25532
25533 fi
25534
25535 fi
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25537 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25538
25539 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25540 for ac_func in _powl
25541 do :
25542 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25543 if test "x$ac_cv_func__powl" = x""yes; then :
25544 cat >>confdefs.h <<_ACEOF
25545 #define HAVE__POWL 1
25546 _ACEOF
25547
25548 fi
25549 done
25550
25551 fi
25552 fi
25553
25554
25555
25556
25557
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25559 $as_echo_n "checking for sqrtl declaration... " >&6; }
25560 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25561 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25562 $as_echo_n "(cached) " >&6
25563 else
25564
25565
25566 ac_ext=cpp
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25571
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <math.h>
25575 #ifdef HAVE_IEEEFP_H
25576 #include <ieeefp.h>
25577 #endif
25578
25579 int
25580 main ()
25581 {
25582 sqrtl(0);
25583 ;
25584 return 0;
25585 }
25586 _ACEOF
25587 if ac_fn_cxx_try_compile "$LINENO"; then :
25588 glibcxx_cv_func_sqrtl_use=yes
25589 else
25590 glibcxx_cv_func_sqrtl_use=no
25591 fi
25592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_ext=c
25594 ac_cpp='$CPP $CPPFLAGS'
25595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25598
25599
25600 fi
25601
25602 fi
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25604 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25605
25606 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25607 for ac_func in sqrtl
25608 do :
25609 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25610 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_SQRTL 1
25613 _ACEOF
25614
25615 fi
25616 done
25617
25618 else
25619
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25621 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25622 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25623 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25624 $as_echo_n "(cached) " >&6
25625 else
25626
25627
25628 ac_ext=cpp
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633
25634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h. */
25636 #include <math.h>
25637 #ifdef HAVE_IEEEFP_H
25638 #include <ieeefp.h>
25639 #endif
25640
25641 int
25642 main ()
25643 {
25644 _sqrtl(0);
25645 ;
25646 return 0;
25647 }
25648 _ACEOF
25649 if ac_fn_cxx_try_compile "$LINENO"; then :
25650 glibcxx_cv_func__sqrtl_use=yes
25651 else
25652 glibcxx_cv_func__sqrtl_use=no
25653 fi
25654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25655 ac_ext=c
25656 ac_cpp='$CPP $CPPFLAGS'
25657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25660
25661
25662 fi
25663
25664 fi
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25666 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25667
25668 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25669 for ac_func in _sqrtl
25670 do :
25671 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25672 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25673 cat >>confdefs.h <<_ACEOF
25674 #define HAVE__SQRTL 1
25675 _ACEOF
25676
25677 fi
25678 done
25679
25680 fi
25681 fi
25682
25683
25684
25685
25686
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25688 $as_echo_n "checking for sincosl declaration... " >&6; }
25689 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25690 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25693
25694
25695 ac_ext=cpp
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25700
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25702 /* end confdefs.h. */
25703 #include <math.h>
25704 int
25705 main ()
25706 {
25707 sincosl(0, 0, 0);
25708 ;
25709 return 0;
25710 }
25711 _ACEOF
25712 if ac_fn_cxx_try_compile "$LINENO"; then :
25713 glibcxx_cv_func_sincosl_use=yes
25714 else
25715 glibcxx_cv_func_sincosl_use=no
25716 fi
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_ext=c
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723
25724
25725 fi
25726
25727 fi
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25729 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25730
25731 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25732 for ac_func in sincosl
25733 do :
25734 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25735 if test "x$ac_cv_func_sincosl" = x""yes; then :
25736 cat >>confdefs.h <<_ACEOF
25737 #define HAVE_SINCOSL 1
25738 _ACEOF
25739
25740 fi
25741 done
25742
25743 else
25744
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25746 $as_echo_n "checking for _sincosl declaration... " >&6; }
25747 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25748 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25751
25752
25753 ac_ext=cpp
25754 ac_cpp='$CXXCPP $CPPFLAGS'
25755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25758
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25761 #include <math.h>
25762 int
25763 main ()
25764 {
25765 _sincosl(0, 0, 0);
25766 ;
25767 return 0;
25768 }
25769 _ACEOF
25770 if ac_fn_cxx_try_compile "$LINENO"; then :
25771 glibcxx_cv_func__sincosl_use=yes
25772 else
25773 glibcxx_cv_func__sincosl_use=no
25774 fi
25775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25776 ac_ext=c
25777 ac_cpp='$CPP $CPPFLAGS'
25778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781
25782
25783 fi
25784
25785 fi
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25787 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25788
25789 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25790 for ac_func in _sincosl
25791 do :
25792 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25793 if test "x$ac_cv_func__sincosl" = x""yes; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define HAVE__SINCOSL 1
25796 _ACEOF
25797
25798 fi
25799 done
25800
25801 fi
25802 fi
25803
25804
25805
25806
25807
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25809 $as_echo_n "checking for finitel declaration... " >&6; }
25810 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25811 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25814
25815
25816 ac_ext=cpp
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25824 #include <math.h>
25825 #ifdef HAVE_IEEEFP_H
25826 #include <ieeefp.h>
25827 #endif
25828
25829 int
25830 main ()
25831 {
25832 finitel(0);
25833 ;
25834 return 0;
25835 }
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func_finitel_use=yes
25839 else
25840 glibcxx_cv_func_finitel_use=no
25841 fi
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25848
25849
25850 fi
25851
25852 fi
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25854 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25855
25856 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25857 for ac_func in finitel
25858 do :
25859 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25860 if test "x$ac_cv_func_finitel" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE_FINITEL 1
25863 _ACEOF
25864
25865 fi
25866 done
25867
25868 else
25869
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25871 $as_echo_n "checking for _finitel declaration... " >&6; }
25872 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25873 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25874 $as_echo_n "(cached) " >&6
25875 else
25876
25877
25878 ac_ext=cpp
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883
25884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25885 /* end confdefs.h. */
25886 #include <math.h>
25887 #ifdef HAVE_IEEEFP_H
25888 #include <ieeefp.h>
25889 #endif
25890
25891 int
25892 main ()
25893 {
25894 _finitel(0);
25895 ;
25896 return 0;
25897 }
25898 _ACEOF
25899 if ac_fn_cxx_try_compile "$LINENO"; then :
25900 glibcxx_cv_func__finitel_use=yes
25901 else
25902 glibcxx_cv_func__finitel_use=no
25903 fi
25904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25905 ac_ext=c
25906 ac_cpp='$CPP $CPPFLAGS'
25907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25910
25911
25912 fi
25913
25914 fi
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25916 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25917
25918 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25919 for ac_func in _finitel
25920 do :
25921 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25922 if test "x$ac_cv_func__finitel" = x""yes; then :
25923 cat >>confdefs.h <<_ACEOF
25924 #define HAVE__FINITEL 1
25925 _ACEOF
25926
25927 fi
25928 done
25929
25930 fi
25931 fi
25932
25933
25934
25935
25936 LIBS="$ac_save_LIBS"
25937 CXXFLAGS="$ac_save_CXXFLAGS"
25938
25939
25940 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25941 ac_save_CXXFLAGS="$CXXFLAGS"
25942 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25943
25944
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25946 $as_echo_n "checking for strtold declaration... " >&6; }
25947 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25948 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25949 $as_echo_n "(cached) " >&6
25950 else
25951
25952
25953 ac_ext=cpp
25954 ac_cpp='$CXXCPP $CPPFLAGS'
25955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25958
25959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25960 /* end confdefs.h. */
25961 #include <stdlib.h>
25962 int
25963 main ()
25964 {
25965 strtold(0, 0);
25966 ;
25967 return 0;
25968 }
25969 _ACEOF
25970 if ac_fn_cxx_try_compile "$LINENO"; then :
25971 glibcxx_cv_func_strtold_use=yes
25972 else
25973 glibcxx_cv_func_strtold_use=no
25974 fi
25975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25976 ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981
25982
25983 fi
25984
25985 fi
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25987 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25988 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25989 for ac_func in strtold
25990 do :
25991 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25992 if test "x$ac_cv_func_strtold" = x""yes; then :
25993 cat >>confdefs.h <<_ACEOF
25994 #define HAVE_STRTOLD 1
25995 _ACEOF
25996
25997 fi
25998 done
25999
26000 fi
26001
26002
26003
26004
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26006 $as_echo_n "checking for strtof declaration... " >&6; }
26007 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26008 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26009 $as_echo_n "(cached) " >&6
26010 else
26011
26012
26013 ac_ext=cpp
26014 ac_cpp='$CXXCPP $CPPFLAGS'
26015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26018
26019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26020 /* end confdefs.h. */
26021 #include <stdlib.h>
26022 int
26023 main ()
26024 {
26025 strtof(0, 0);
26026 ;
26027 return 0;
26028 }
26029 _ACEOF
26030 if ac_fn_cxx_try_compile "$LINENO"; then :
26031 glibcxx_cv_func_strtof_use=yes
26032 else
26033 glibcxx_cv_func_strtof_use=no
26034 fi
26035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26036 ac_ext=c
26037 ac_cpp='$CPP $CPPFLAGS'
26038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041
26042
26043 fi
26044
26045 fi
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26047 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26048 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26049 for ac_func in strtof
26050 do :
26051 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26052 if test "x$ac_cv_func_strtof" = x""yes; then :
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE_STRTOF 1
26055 _ACEOF
26056
26057 fi
26058 done
26059
26060 fi
26061
26062
26063
26064
26065 CXXFLAGS="$ac_save_CXXFLAGS"
26066
26067
26068 # For /dev/random and /dev/urandom for TR1.
26069
26070
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26072 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26073 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26074 $as_echo_n "(cached) " >&6
26075 else
26076
26077 if test -r /dev/random && test -r /dev/urandom; then
26078 glibcxx_cv_random_tr1=yes;
26079 else
26080 glibcxx_cv_random_tr1=no;
26081 fi
26082
26083 fi
26084
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26086 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26087
26088 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26089
26090 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26091
26092 fi
26093
26094
26095
26096 # For TLS support.
26097
26098
26099 # Check whether --enable-tls was given.
26100 if test "${enable_tls+set}" = set; then :
26101 enableval=$enable_tls;
26102 case "$enableval" in
26103 yes|no) ;;
26104 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26105 esac
26106
26107 else
26108 enable_tls=yes
26109 fi
26110
26111
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26113 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26114 if test "${gcc_cv_have_tls+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26116 else
26117
26118 if test "$cross_compiling" = yes; then :
26119 if test x$gcc_no_link = xyes; then
26120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26121 fi
26122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26123 /* end confdefs.h. */
26124 __thread int a; int b; int main() { return a = b; }
26125 _ACEOF
26126 if ac_fn_c_try_link "$LINENO"; then :
26127 chktls_save_LDFLAGS="$LDFLAGS"
26128 case $host in
26129 *-*-linux*)
26130 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26131 ;;
26132 esac
26133 chktls_save_CFLAGS="$CFLAGS"
26134 CFLAGS="-fPIC $CFLAGS"
26135 if test x$gcc_no_link = xyes; then
26136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26137 fi
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140 int f() { return 0; }
26141 _ACEOF
26142 if ac_fn_c_try_link "$LINENO"; then :
26143 if test x$gcc_no_link = xyes; then
26144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26145 fi
26146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26147 /* end confdefs.h. */
26148 __thread int a; int b; int f() { return a = b; }
26149 _ACEOF
26150 if ac_fn_c_try_link "$LINENO"; then :
26151 gcc_cv_have_tls=yes
26152 else
26153 gcc_cv_have_tls=no
26154 fi
26155 rm -f core conftest.err conftest.$ac_objext \
26156 conftest$ac_exeext conftest.$ac_ext
26157 else
26158 gcc_cv_have_tls=yes
26159 fi
26160 rm -f core conftest.err conftest.$ac_objext \
26161 conftest$ac_exeext conftest.$ac_ext
26162 CFLAGS="$chktls_save_CFLAGS"
26163 LDFLAGS="$chktls_save_LDFLAGS"
26164 else
26165 gcc_cv_have_tls=no
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26169
26170
26171 else
26172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26173 /* end confdefs.h. */
26174 __thread int a; int b; int main() { return a = b; }
26175 _ACEOF
26176 if ac_fn_c_try_run "$LINENO"; then :
26177 chktls_save_LDFLAGS="$LDFLAGS"
26178 LDFLAGS="-static $LDFLAGS"
26179 if test x$gcc_no_link = xyes; then
26180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26181 fi
26182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26183 /* end confdefs.h. */
26184 int main() { return 0; }
26185 _ACEOF
26186 if ac_fn_c_try_link "$LINENO"; then :
26187 if test "$cross_compiling" = yes; then :
26188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26190 as_fn_error "cannot run test program while cross compiling
26191 See \`config.log' for more details." "$LINENO" 5; }
26192 else
26193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26194 /* end confdefs.h. */
26195 __thread int a; int b; int main() { return a = b; }
26196 _ACEOF
26197 if ac_fn_c_try_run "$LINENO"; then :
26198 gcc_cv_have_tls=yes
26199 else
26200 gcc_cv_have_tls=no
26201 fi
26202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26203 conftest.$ac_objext conftest.beam conftest.$ac_ext
26204 fi
26205
26206 else
26207 gcc_cv_have_tls=yes
26208 fi
26209 rm -f core conftest.err conftest.$ac_objext \
26210 conftest$ac_exeext conftest.$ac_ext
26211 LDFLAGS="$chktls_save_LDFLAGS"
26212 if test $gcc_cv_have_tls = yes; then
26213 chktls_save_CFLAGS="$CFLAGS"
26214 thread_CFLAGS=failed
26215 for flag in '' '-pthread' '-lpthread'; do
26216 CFLAGS="$flag $chktls_save_CFLAGS"
26217 if test x$gcc_no_link = xyes; then
26218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26219 fi
26220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26221 /* end confdefs.h. */
26222 #include <pthread.h>
26223 void *g(void *d) { return NULL; }
26224 int
26225 main ()
26226 {
26227 pthread_t t; pthread_create(&t,NULL,g,NULL);
26228 ;
26229 return 0;
26230 }
26231 _ACEOF
26232 if ac_fn_c_try_link "$LINENO"; then :
26233 thread_CFLAGS="$flag"
26234 fi
26235 rm -f core conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26237 if test "X$thread_CFLAGS" != Xfailed; then
26238 break
26239 fi
26240 done
26241 CFLAGS="$chktls_save_CFLAGS"
26242 if test "X$thread_CFLAGS" != Xfailed; then
26243 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26244 if test "$cross_compiling" = yes; then :
26245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26247 as_fn_error "cannot run test program while cross compiling
26248 See \`config.log' for more details." "$LINENO" 5; }
26249 else
26250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h. */
26252 #include <pthread.h>
26253 __thread int a;
26254 static int *volatile a_in_other_thread;
26255 static void *
26256 thread_func (void *arg)
26257 {
26258 a_in_other_thread = &a;
26259 return (void *)0;
26260 }
26261 int
26262 main ()
26263 {
26264 pthread_t thread;
26265 void *thread_retval;
26266 int *volatile a_in_main_thread;
26267 a_in_main_thread = &a;
26268 if (pthread_create (&thread, (pthread_attr_t *)0,
26269 thread_func, (void *)0))
26270 return 0;
26271 if (pthread_join (thread, &thread_retval))
26272 return 0;
26273 return (a_in_other_thread == a_in_main_thread);
26274 ;
26275 return 0;
26276 }
26277 _ACEOF
26278 if ac_fn_c_try_run "$LINENO"; then :
26279 gcc_cv_have_tls=yes
26280 else
26281 gcc_cv_have_tls=no
26282 fi
26283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26284 conftest.$ac_objext conftest.beam conftest.$ac_ext
26285 fi
26286
26287 CFLAGS="$chktls_save_CFLAGS"
26288 fi
26289 fi
26290 else
26291 gcc_cv_have_tls=no
26292 fi
26293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26294 conftest.$ac_objext conftest.beam conftest.$ac_ext
26295 fi
26296
26297 fi
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26299 $as_echo "$gcc_cv_have_tls" >&6; }
26300 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26301
26302 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26303
26304 fi
26305
26306 # For iconv support.
26307
26308 if test "X$prefix" = "XNONE"; then
26309 acl_final_prefix="$ac_default_prefix"
26310 else
26311 acl_final_prefix="$prefix"
26312 fi
26313 if test "X$exec_prefix" = "XNONE"; then
26314 acl_final_exec_prefix='${prefix}'
26315 else
26316 acl_final_exec_prefix="$exec_prefix"
26317 fi
26318 acl_save_prefix="$prefix"
26319 prefix="$acl_final_prefix"
26320 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26321 prefix="$acl_save_prefix"
26322
26323
26324 # Check whether --with-gnu-ld was given.
26325 if test "${with_gnu_ld+set}" = set; then :
26326 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26327 else
26328 with_gnu_ld=no
26329 fi
26330
26331 # Prepare PATH_SEPARATOR.
26332 # The user is always right.
26333 if test "${PATH_SEPARATOR+set}" != set; then
26334 echo "#! /bin/sh" >conf$$.sh
26335 echo "exit 0" >>conf$$.sh
26336 chmod +x conf$$.sh
26337 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26338 PATH_SEPARATOR=';'
26339 else
26340 PATH_SEPARATOR=:
26341 fi
26342 rm -f conf$$.sh
26343 fi
26344 ac_prog=ld
26345 if test "$GCC" = yes; then
26346 # Check if gcc -print-prog-name=ld gives a path.
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26348 $as_echo_n "checking for ld used by GCC... " >&6; }
26349 case $host in
26350 *-*-mingw*)
26351 # gcc leaves a trailing carriage return which upsets mingw
26352 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26353 *)
26354 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26355 esac
26356 case $ac_prog in
26357 # Accept absolute paths.
26358 [\\/]* | [A-Za-z]:[\\/]*)
26359 re_direlt='/[^/][^/]*/\.\./'
26360 # Canonicalize the path of ld
26361 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26362 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26363 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26364 done
26365 test -z "$LD" && LD="$ac_prog"
26366 ;;
26367 "")
26368 # If it fails, then pretend we aren't using GCC.
26369 ac_prog=ld
26370 ;;
26371 *)
26372 # If it is relative, then search for the first ld in PATH.
26373 with_gnu_ld=unknown
26374 ;;
26375 esac
26376 elif test "$with_gnu_ld" = yes; then
26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26378 $as_echo_n "checking for GNU ld... " >&6; }
26379 else
26380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26381 $as_echo_n "checking for non-GNU ld... " >&6; }
26382 fi
26383 if test "${acl_cv_path_LD+set}" = set; then :
26384 $as_echo_n "(cached) " >&6
26385 else
26386 if test -z "$LD"; then
26387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26388 for ac_dir in $PATH; do
26389 test -z "$ac_dir" && ac_dir=.
26390 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26391 acl_cv_path_LD="$ac_dir/$ac_prog"
26392 # Check to see if the program is GNU ld. I'd rather use --version,
26393 # but apparently some GNU ld's only accept -v.
26394 # Break only if it was the GNU/non-GNU ld that we prefer.
26395 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26396 test "$with_gnu_ld" != no && break
26397 else
26398 test "$with_gnu_ld" != yes && break
26399 fi
26400 fi
26401 done
26402 IFS="$ac_save_ifs"
26403 else
26404 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26405 fi
26406 fi
26407
26408 LD="$acl_cv_path_LD"
26409 if test -n "$LD"; then
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26411 $as_echo "$LD" >&6; }
26412 else
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26414 $as_echo "no" >&6; }
26415 fi
26416 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26418 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26419 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26420 $as_echo_n "(cached) " >&6
26421 else
26422 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26423 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26424 acl_cv_prog_gnu_ld=yes
26425 else
26426 acl_cv_prog_gnu_ld=no
26427 fi
26428 fi
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26430 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26431 with_gnu_ld=$acl_cv_prog_gnu_ld
26432
26433
26434
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26436 $as_echo_n "checking for shared library run path origin... " >&6; }
26437 if test "${acl_cv_rpath+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26440
26441 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26442 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26443 . ./conftest.sh
26444 rm -f ./conftest.sh
26445 acl_cv_rpath=done
26446
26447 fi
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26449 $as_echo "$acl_cv_rpath" >&6; }
26450 wl="$acl_cv_wl"
26451 libext="$acl_cv_libext"
26452 shlibext="$acl_cv_shlibext"
26453 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26454 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26455 hardcode_direct="$acl_cv_hardcode_direct"
26456 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26457 # Check whether --enable-rpath was given.
26458 if test "${enable_rpath+set}" = set; then :
26459 enableval=$enable_rpath; :
26460 else
26461 enable_rpath=yes
26462 fi
26463
26464
26465
26466
26467
26468
26469
26470
26471 use_additional=yes
26472
26473 acl_save_prefix="$prefix"
26474 prefix="$acl_final_prefix"
26475 acl_save_exec_prefix="$exec_prefix"
26476 exec_prefix="$acl_final_exec_prefix"
26477
26478 eval additional_includedir=\"$includedir\"
26479 eval additional_libdir=\"$libdir\"
26480
26481 exec_prefix="$acl_save_exec_prefix"
26482 prefix="$acl_save_prefix"
26483
26484
26485 # Check whether --with-libiconv-prefix was given.
26486 if test "${with_libiconv_prefix+set}" = set; then :
26487 withval=$with_libiconv_prefix;
26488 if test "X$withval" = "Xno"; then
26489 use_additional=no
26490 else
26491 if test "X$withval" = "X"; then
26492
26493 acl_save_prefix="$prefix"
26494 prefix="$acl_final_prefix"
26495 acl_save_exec_prefix="$exec_prefix"
26496 exec_prefix="$acl_final_exec_prefix"
26497
26498 eval additional_includedir=\"$includedir\"
26499 eval additional_libdir=\"$libdir\"
26500
26501 exec_prefix="$acl_save_exec_prefix"
26502 prefix="$acl_save_prefix"
26503
26504 else
26505 additional_includedir="$withval/include"
26506 additional_libdir="$withval/lib"
26507 fi
26508 fi
26509
26510 fi
26511
26512 LIBICONV=
26513 LTLIBICONV=
26514 INCICONV=
26515 rpathdirs=
26516 ltrpathdirs=
26517 names_already_handled=
26518 names_next_round='iconv '
26519 while test -n "$names_next_round"; do
26520 names_this_round="$names_next_round"
26521 names_next_round=
26522 for name in $names_this_round; do
26523 already_handled=
26524 for n in $names_already_handled; do
26525 if test "$n" = "$name"; then
26526 already_handled=yes
26527 break
26528 fi
26529 done
26530 if test -z "$already_handled"; then
26531 names_already_handled="$names_already_handled $name"
26532 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26533 eval value=\"\$HAVE_LIB$uppername\"
26534 if test -n "$value"; then
26535 if test "$value" = yes; then
26536 eval value=\"\$LIB$uppername\"
26537 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26538 eval value=\"\$LTLIB$uppername\"
26539 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26540 else
26541 :
26542 fi
26543 else
26544 found_dir=
26545 found_la=
26546 found_so=
26547 found_a=
26548 if test $use_additional = yes; then
26549 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26550 found_dir="$additional_libdir"
26551 found_so="$additional_libdir/lib$name.$shlibext"
26552 if test -f "$additional_libdir/lib$name.la"; then
26553 found_la="$additional_libdir/lib$name.la"
26554 fi
26555 else
26556 if test -f "$additional_libdir/lib$name.$libext"; then
26557 found_dir="$additional_libdir"
26558 found_a="$additional_libdir/lib$name.$libext"
26559 if test -f "$additional_libdir/lib$name.la"; then
26560 found_la="$additional_libdir/lib$name.la"
26561 fi
26562 fi
26563 fi
26564 fi
26565 if test "X$found_dir" = "X"; then
26566 for x in $LDFLAGS $LTLIBICONV; do
26567
26568 acl_save_prefix="$prefix"
26569 prefix="$acl_final_prefix"
26570 acl_save_exec_prefix="$exec_prefix"
26571 exec_prefix="$acl_final_exec_prefix"
26572 eval x=\"$x\"
26573 exec_prefix="$acl_save_exec_prefix"
26574 prefix="$acl_save_prefix"
26575
26576 case "$x" in
26577 -L*)
26578 dir=`echo "X$x" | sed -e 's/^X-L//'`
26579 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26580 found_dir="$dir"
26581 found_so="$dir/lib$name.$shlibext"
26582 if test -f "$dir/lib$name.la"; then
26583 found_la="$dir/lib$name.la"
26584 fi
26585 else
26586 if test -f "$dir/lib$name.$libext"; then
26587 found_dir="$dir"
26588 found_a="$dir/lib$name.$libext"
26589 if test -f "$dir/lib$name.la"; then
26590 found_la="$dir/lib$name.la"
26591 fi
26592 fi
26593 fi
26594 ;;
26595 esac
26596 if test "X$found_dir" != "X"; then
26597 break
26598 fi
26599 done
26600 fi
26601 if test "X$found_dir" != "X"; then
26602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26603 if test "X$found_so" != "X"; then
26604 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26605 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26606 else
26607 haveit=
26608 for x in $ltrpathdirs; do
26609 if test "X$x" = "X$found_dir"; then
26610 haveit=yes
26611 break
26612 fi
26613 done
26614 if test -z "$haveit"; then
26615 ltrpathdirs="$ltrpathdirs $found_dir"
26616 fi
26617 if test "$hardcode_direct" = yes; then
26618 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26619 else
26620 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26621 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26622 haveit=
26623 for x in $rpathdirs; do
26624 if test "X$x" = "X$found_dir"; then
26625 haveit=yes
26626 break
26627 fi
26628 done
26629 if test -z "$haveit"; then
26630 rpathdirs="$rpathdirs $found_dir"
26631 fi
26632 else
26633 haveit=
26634 for x in $LDFLAGS $LIBICONV; do
26635
26636 acl_save_prefix="$prefix"
26637 prefix="$acl_final_prefix"
26638 acl_save_exec_prefix="$exec_prefix"
26639 exec_prefix="$acl_final_exec_prefix"
26640 eval x=\"$x\"
26641 exec_prefix="$acl_save_exec_prefix"
26642 prefix="$acl_save_prefix"
26643
26644 if test "X$x" = "X-L$found_dir"; then
26645 haveit=yes
26646 break
26647 fi
26648 done
26649 if test -z "$haveit"; then
26650 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26651 fi
26652 if test "$hardcode_minus_L" != no; then
26653 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26654 else
26655 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26656 fi
26657 fi
26658 fi
26659 fi
26660 else
26661 if test "X$found_a" != "X"; then
26662 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26663 else
26664 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26665 fi
26666 fi
26667 additional_includedir=
26668 case "$found_dir" in
26669 */lib | */lib/)
26670 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26671 additional_includedir="$basedir/include"
26672 ;;
26673 esac
26674 if test "X$additional_includedir" != "X"; then
26675 if test "X$additional_includedir" != "X/usr/include"; then
26676 haveit=
26677 if test "X$additional_includedir" = "X/usr/local/include"; then
26678 if test -n "$GCC"; then
26679 case $host_os in
26680 linux*) haveit=yes;;
26681 esac
26682 fi
26683 fi
26684 if test -z "$haveit"; then
26685 for x in $CPPFLAGS $INCICONV; do
26686
26687 acl_save_prefix="$prefix"
26688 prefix="$acl_final_prefix"
26689 acl_save_exec_prefix="$exec_prefix"
26690 exec_prefix="$acl_final_exec_prefix"
26691 eval x=\"$x\"
26692 exec_prefix="$acl_save_exec_prefix"
26693 prefix="$acl_save_prefix"
26694
26695 if test "X$x" = "X-I$additional_includedir"; then
26696 haveit=yes
26697 break
26698 fi
26699 done
26700 if test -z "$haveit"; then
26701 if test -d "$additional_includedir"; then
26702 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26703 fi
26704 fi
26705 fi
26706 fi
26707 fi
26708 if test -n "$found_la"; then
26709 save_libdir="$libdir"
26710 case "$found_la" in
26711 */* | *\\*) . "$found_la" ;;
26712 *) . "./$found_la" ;;
26713 esac
26714 libdir="$save_libdir"
26715 for dep in $dependency_libs; do
26716 case "$dep" in
26717 -L*)
26718 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26719 if test "X$additional_libdir" != "X/usr/lib"; then
26720 haveit=
26721 if test "X$additional_libdir" = "X/usr/local/lib"; then
26722 if test -n "$GCC"; then
26723 case $host_os in
26724 linux*) haveit=yes;;
26725 esac
26726 fi
26727 fi
26728 if test -z "$haveit"; then
26729 haveit=
26730 for x in $LDFLAGS $LIBICONV; do
26731
26732 acl_save_prefix="$prefix"
26733 prefix="$acl_final_prefix"
26734 acl_save_exec_prefix="$exec_prefix"
26735 exec_prefix="$acl_final_exec_prefix"
26736 eval x=\"$x\"
26737 exec_prefix="$acl_save_exec_prefix"
26738 prefix="$acl_save_prefix"
26739
26740 if test "X$x" = "X-L$additional_libdir"; then
26741 haveit=yes
26742 break
26743 fi
26744 done
26745 if test -z "$haveit"; then
26746 if test -d "$additional_libdir"; then
26747 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26748 fi
26749 fi
26750 haveit=
26751 for x in $LDFLAGS $LTLIBICONV; do
26752
26753 acl_save_prefix="$prefix"
26754 prefix="$acl_final_prefix"
26755 acl_save_exec_prefix="$exec_prefix"
26756 exec_prefix="$acl_final_exec_prefix"
26757 eval x=\"$x\"
26758 exec_prefix="$acl_save_exec_prefix"
26759 prefix="$acl_save_prefix"
26760
26761 if test "X$x" = "X-L$additional_libdir"; then
26762 haveit=yes
26763 break
26764 fi
26765 done
26766 if test -z "$haveit"; then
26767 if test -d "$additional_libdir"; then
26768 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26769 fi
26770 fi
26771 fi
26772 fi
26773 ;;
26774 -R*)
26775 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26776 if test "$enable_rpath" != no; then
26777 haveit=
26778 for x in $rpathdirs; do
26779 if test "X$x" = "X$dir"; then
26780 haveit=yes
26781 break
26782 fi
26783 done
26784 if test -z "$haveit"; then
26785 rpathdirs="$rpathdirs $dir"
26786 fi
26787 haveit=
26788 for x in $ltrpathdirs; do
26789 if test "X$x" = "X$dir"; then
26790 haveit=yes
26791 break
26792 fi
26793 done
26794 if test -z "$haveit"; then
26795 ltrpathdirs="$ltrpathdirs $dir"
26796 fi
26797 fi
26798 ;;
26799 -l*)
26800 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26801 ;;
26802 *.la)
26803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26804 ;;
26805 *)
26806 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26807 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26808 ;;
26809 esac
26810 done
26811 fi
26812 else
26813 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26814 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26815 fi
26816 fi
26817 fi
26818 done
26819 done
26820 if test "X$rpathdirs" != "X"; then
26821 if test -n "$hardcode_libdir_separator"; then
26822 alldirs=
26823 for found_dir in $rpathdirs; do
26824 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26825 done
26826 acl_save_libdir="$libdir"
26827 libdir="$alldirs"
26828 eval flag=\"$hardcode_libdir_flag_spec\"
26829 libdir="$acl_save_libdir"
26830 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26831 else
26832 for found_dir in $rpathdirs; do
26833 acl_save_libdir="$libdir"
26834 libdir="$found_dir"
26835 eval flag=\"$hardcode_libdir_flag_spec\"
26836 libdir="$acl_save_libdir"
26837 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26838 done
26839 fi
26840 fi
26841 if test "X$ltrpathdirs" != "X"; then
26842 for found_dir in $ltrpathdirs; do
26843 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26844 done
26845 fi
26846
26847
26848
26849
26850
26851
26852
26853 am_save_CPPFLAGS="$CPPFLAGS"
26854
26855 for element in $INCICONV; do
26856 haveit=
26857 for x in $CPPFLAGS; do
26858
26859 acl_save_prefix="$prefix"
26860 prefix="$acl_final_prefix"
26861 acl_save_exec_prefix="$exec_prefix"
26862 exec_prefix="$acl_final_exec_prefix"
26863 eval x=\"$x\"
26864 exec_prefix="$acl_save_exec_prefix"
26865 prefix="$acl_save_prefix"
26866
26867 if test "X$x" = "X$element"; then
26868 haveit=yes
26869 break
26870 fi
26871 done
26872 if test -z "$haveit"; then
26873 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26874 fi
26875 done
26876
26877
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26879 $as_echo_n "checking for iconv... " >&6; }
26880 if test "${am_cv_func_iconv+set}" = set; then :
26881 $as_echo_n "(cached) " >&6
26882 else
26883
26884 am_cv_func_iconv="no, consider installing GNU libiconv"
26885 am_cv_lib_iconv=no
26886 if test x$gcc_no_link = xyes; then
26887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26888 fi
26889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26890 /* end confdefs.h. */
26891 #include <stdlib.h>
26892 #include <iconv.h>
26893 int
26894 main ()
26895 {
26896 iconv_t cd = iconv_open("","");
26897 iconv(cd,NULL,NULL,NULL,NULL);
26898 iconv_close(cd);
26899 ;
26900 return 0;
26901 }
26902 _ACEOF
26903 if ac_fn_c_try_link "$LINENO"; then :
26904 am_cv_func_iconv=yes
26905 fi
26906 rm -f core conftest.err conftest.$ac_objext \
26907 conftest$ac_exeext conftest.$ac_ext
26908 if test "$am_cv_func_iconv" != yes; then
26909 am_save_LIBS="$LIBS"
26910 LIBS="$LIBS $LIBICONV"
26911 if test x$gcc_no_link = xyes; then
26912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26913 fi
26914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26915 /* end confdefs.h. */
26916 #include <stdlib.h>
26917 #include <iconv.h>
26918 int
26919 main ()
26920 {
26921 iconv_t cd = iconv_open("","");
26922 iconv(cd,NULL,NULL,NULL,NULL);
26923 iconv_close(cd);
26924 ;
26925 return 0;
26926 }
26927 _ACEOF
26928 if ac_fn_c_try_link "$LINENO"; then :
26929 am_cv_lib_iconv=yes
26930 am_cv_func_iconv=yes
26931 fi
26932 rm -f core conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26934 LIBS="$am_save_LIBS"
26935 fi
26936
26937 fi
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26939 $as_echo "$am_cv_func_iconv" >&6; }
26940 if test "$am_cv_func_iconv" = yes; then
26941
26942 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26943
26944 fi
26945 if test "$am_cv_lib_iconv" = yes; then
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26947 $as_echo_n "checking how to link with libiconv... " >&6; }
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26949 $as_echo "$LIBICONV" >&6; }
26950 else
26951 CPPFLAGS="$am_save_CPPFLAGS"
26952 LIBICONV=
26953 LTLIBICONV=
26954 fi
26955
26956
26957
26958 if test "$am_cv_func_iconv" = yes; then
26959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26960 $as_echo_n "checking for iconv declaration... " >&6; }
26961 if test "${am_cv_proto_iconv+set}" = set; then :
26962 $as_echo_n "(cached) " >&6
26963 else
26964
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26967
26968 #include <stdlib.h>
26969 #include <iconv.h>
26970 extern
26971 #ifdef __cplusplus
26972 "C"
26973 #endif
26974 #if defined(__STDC__) || defined(__cplusplus)
26975 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26976 #else
26977 size_t iconv();
26978 #endif
26979
26980 int
26981 main ()
26982 {
26983
26984 ;
26985 return 0;
26986 }
26987 _ACEOF
26988 if ac_fn_c_try_compile "$LINENO"; then :
26989 am_cv_proto_iconv_arg1=""
26990 else
26991 am_cv_proto_iconv_arg1="const"
26992 fi
26993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26994 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);"
26995 fi
26996
26997 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26999 }$am_cv_proto_iconv" >&5
27000 $as_echo "${ac_t:-
27001 }$am_cv_proto_iconv" >&6; }
27002
27003 cat >>confdefs.h <<_ACEOF
27004 #define ICONV_CONST $am_cv_proto_iconv_arg1
27005 _ACEOF
27006
27007 fi
27008
27009
27010 else
27011
27012 # This lets us hard-code the functionality we know we'll have in the cross
27013 # target environment. "Let" is a sugar-coated word placed on an especially
27014 # dull and tedious hack, actually.
27015 #
27016 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27017 # that involve linking, can't be used:
27018 # "cannot open sim-crt0.o"
27019 # "cannot open crt0.o"
27020 # etc. All this is because there currently exists no unified, consistent
27021 # way for top level CC information to be passed down to target directories:
27022 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27023 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27024 # crosses can be removed.
27025
27026 # If Canadian cross, then don't pick up tools from the build directory.
27027 # Used only in GLIBCXX_EXPORT_INCLUDES.
27028 if test -n "$with_cross_host" &&
27029 test x"$build_alias" != x"$with_cross_host" &&
27030 test x"$build" != x"$target";
27031 then
27032 CANADIAN=yes
27033 else
27034 CANADIAN=no
27035 fi
27036
27037 # Construct crosses by hand, eliminating bits that need ld...
27038 # GLIBCXX_CHECK_MATH_SUPPORT
27039
27040 # First, test for "known" system libraries. We may be using newlib even
27041 # on a hosted environment.
27042 if test "x${with_newlib}" = "xyes"; then
27043 os_include_dir="os/newlib"
27044 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27045
27046
27047 # GLIBCXX_CHECK_STDLIB_SUPPORT
27048 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27049
27050
27051 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27052
27053 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27054
27055 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27056
27057 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27058
27059 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27060
27061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27062
27063 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27064
27065 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27066
27067 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27068
27069 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27070
27071 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27072
27073 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27074
27075 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27076
27077 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27078
27079 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27080
27081 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27082
27083 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27084
27085 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27086
27087 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27088
27089 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27090
27091 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27092
27093 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27094
27095
27096 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27097
27098 else
27099
27100 # Base decisions on target environment.
27101 case "${host}" in
27102 arm*-*-symbianelf*)
27103 # This is a freestanding configuration; there is nothing to do here.
27104 ;;
27105
27106 mips*-sde-elf*)
27107 # These definitions are for the SDE C library rather than newlib.
27108 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27109
27110
27111 # All these tests are for C++; save the language and the compiler flags.
27112 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27113 # found in GLIBCXX_CONFIGURE.
27114
27115 ac_ext=cpp
27116 ac_cpp='$CXXCPP $CPPFLAGS'
27117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27120
27121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27122 ac_save_CXXFLAGS="$CXXFLAGS"
27123
27124 # Check for maintainer-mode bits.
27125 if test x"$USE_MAINTAINER_MODE" = xno; then
27126 WERROR=''
27127 else
27128 WERROR='-Werror'
27129 fi
27130
27131 # Check for -ffunction-sections -fdata-sections
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27133 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27134 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27136 /* end confdefs.h. */
27137 int foo; void bar() { };
27138 int
27139 main ()
27140 {
27141
27142 ;
27143 return 0;
27144 }
27145 _ACEOF
27146 if ac_fn_cxx_try_compile "$LINENO"; then :
27147 ac_fdsections=yes
27148 else
27149 ac_fdsections=no
27150 fi
27151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27152 if test "$ac_test_CXXFLAGS" = set; then
27153 CXXFLAGS="$ac_save_CXXFLAGS"
27154 else
27155 # this is the suspicious part
27156 CXXFLAGS=''
27157 fi
27158 if test x"$ac_fdsections" = x"yes"; then
27159 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27160 fi
27161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27162 $as_echo "$ac_fdsections" >&6; }
27163
27164 ac_ext=c
27165 ac_cpp='$CPP $CPPFLAGS'
27166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27169
27170
27171
27172
27173
27174 # If we're not using GNU ld, then there's no point in even trying these
27175 # tests. Check for that first. We should have already tested for gld
27176 # by now (in libtool), but require it now just to be safe...
27177 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27178 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27179
27180
27181
27182 # The name set by libtool depends on the version of libtool. Shame on us
27183 # for depending on an impl detail, but c'est la vie. Older versions used
27184 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27185 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27186 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27187 # set (hence we're using an older libtool), then set it.
27188 if test x${with_gnu_ld+set} != xset; then
27189 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27190 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27191 with_gnu_ld=no
27192 else
27193 with_gnu_ld=$ac_cv_prog_gnu_ld
27194 fi
27195 fi
27196
27197 # Start by getting the version number. I think the libtool test already
27198 # does some of this, but throws away the result.
27199 glibcxx_ld_is_gold=no
27200 if test x"$with_gnu_ld" = x"yes"; then
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27202 $as_echo_n "checking for ld version... " >&6; }
27203
27204 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27205 glibcxx_ld_is_gold=yes
27206 fi
27207 ldver=`$LD --version 2>/dev/null |
27208 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'`
27209
27210 glibcxx_gnu_ld_version=`echo $ldver | \
27211 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27213 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27214 fi
27215
27216 # Set --gc-sections.
27217 glibcxx_have_gc_sections=no
27218 if test "$glibcxx_ld_is_gold" = "yes"; then
27219 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27220 glibcxx_have_gc_sections=yes
27221 fi
27222 else
27223 glibcxx_gcsections_min_ld=21602
27224 if test x"$with_gnu_ld" = x"yes" &&
27225 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27226 glibcxx_have_gc_sections=yes
27227 fi
27228 fi
27229 if test "$glibcxx_have_gc_sections" = "yes"; then
27230 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27231 # NB: This flag only works reliably after 2.16.1. Configure tests
27232 # for this are difficult, so hard wire a value that should work.
27233
27234 ac_test_CFLAGS="${CFLAGS+set}"
27235 ac_save_CFLAGS="$CFLAGS"
27236 CFLAGS='-Wl,--gc-sections'
27237
27238 # Check for -Wl,--gc-sections
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27240 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27241 if test x$gcc_no_link = xyes; then
27242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27243 fi
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246 int one(void) { return 1; }
27247 int two(void) { return 2; }
27248
27249 int
27250 main ()
27251 {
27252 two();
27253 ;
27254 return 0;
27255 }
27256 _ACEOF
27257 if ac_fn_c_try_link "$LINENO"; then :
27258 ac_gcsections=yes
27259 else
27260 ac_gcsections=no
27261 fi
27262 rm -f core conftest.err conftest.$ac_objext \
27263 conftest$ac_exeext conftest.$ac_ext
27264 if test "$ac_gcsections" = "yes"; then
27265 rm -f conftest.c
27266 touch conftest.c
27267 if $CC -c conftest.c; then
27268 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27269 grep "Warning: gc-sections option ignored" > /dev/null; then
27270 ac_gcsections=no
27271 fi
27272 fi
27273 rm -f conftest.c conftest.o conftest
27274 fi
27275 if test "$ac_gcsections" = "yes"; then
27276 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27277 fi
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27279 $as_echo "$ac_gcsections" >&6; }
27280
27281 if test "$ac_test_CFLAGS" = set; then
27282 CFLAGS="$ac_save_CFLAGS"
27283 else
27284 # this is the suspicious part
27285 CFLAGS=''
27286 fi
27287 fi
27288
27289 # Set -z,relro.
27290 # Note this is only for shared objects.
27291 ac_ld_relro=no
27292 if test x"$with_gnu_ld" = x"yes"; then
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27294 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27295 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27296 if test -n "$cxx_z_relo"; then
27297 OPT_LDFLAGS="-Wl,-z,relro"
27298 ac_ld_relro=yes
27299 fi
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27301 $as_echo "$ac_ld_relro" >&6; }
27302 fi
27303
27304 # Set linker optimization flags.
27305 if test x"$with_gnu_ld" = x"yes"; then
27306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27307 fi
27308
27309
27310
27311
27312
27313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27314 ac_save_CXXFLAGS="$CXXFLAGS"
27315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27316
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27318 $as_echo_n "checking for sin in -lm... " >&6; }
27319 if test "${ac_cv_lib_m_sin+set}" = set; then :
27320 $as_echo_n "(cached) " >&6
27321 else
27322 ac_check_lib_save_LIBS=$LIBS
27323 LIBS="-lm $LIBS"
27324 if test x$gcc_no_link = xyes; then
27325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27326 fi
27327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27328 /* end confdefs.h. */
27329
27330 /* Override any GCC internal prototype to avoid an error.
27331 Use char because int might match the return type of a GCC
27332 builtin and then its argument prototype would still apply. */
27333 #ifdef __cplusplus
27334 extern "C"
27335 #endif
27336 char sin ();
27337 int
27338 main ()
27339 {
27340 return sin ();
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 if ac_fn_c_try_link "$LINENO"; then :
27346 ac_cv_lib_m_sin=yes
27347 else
27348 ac_cv_lib_m_sin=no
27349 fi
27350 rm -f core conftest.err conftest.$ac_objext \
27351 conftest$ac_exeext conftest.$ac_ext
27352 LIBS=$ac_check_lib_save_LIBS
27353 fi
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27355 $as_echo "$ac_cv_lib_m_sin" >&6; }
27356 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27357 libm="-lm"
27358 fi
27359
27360 ac_save_LIBS="$LIBS"
27361 LIBS="$LIBS $libm"
27362
27363
27364
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27366 $as_echo_n "checking for isinf declaration... " >&6; }
27367 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27368 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27369 $as_echo_n "(cached) " >&6
27370 else
27371
27372
27373 ac_ext=cpp
27374 ac_cpp='$CXXCPP $CPPFLAGS'
27375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27378
27379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27380 /* end confdefs.h. */
27381 #include <math.h>
27382 #ifdef HAVE_IEEEFP_H
27383 #include <ieeefp.h>
27384 #endif
27385
27386 int
27387 main ()
27388 {
27389 isinf(0);
27390 ;
27391 return 0;
27392 }
27393 _ACEOF
27394 if ac_fn_cxx_try_compile "$LINENO"; then :
27395 glibcxx_cv_func_isinf_use=yes
27396 else
27397 glibcxx_cv_func_isinf_use=no
27398 fi
27399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27400 ac_ext=c
27401 ac_cpp='$CPP $CPPFLAGS'
27402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27405
27406
27407 fi
27408
27409 fi
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27411 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27412
27413 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27414 for ac_func in isinf
27415 do :
27416 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27417 if test "x$ac_cv_func_isinf" = x""yes; then :
27418 cat >>confdefs.h <<_ACEOF
27419 #define HAVE_ISINF 1
27420 _ACEOF
27421
27422 fi
27423 done
27424
27425 else
27426
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27428 $as_echo_n "checking for _isinf declaration... " >&6; }
27429 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27430 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27431 $as_echo_n "(cached) " >&6
27432 else
27433
27434
27435 ac_ext=cpp
27436 ac_cpp='$CXXCPP $CPPFLAGS'
27437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27440
27441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27442 /* end confdefs.h. */
27443 #include <math.h>
27444 #ifdef HAVE_IEEEFP_H
27445 #include <ieeefp.h>
27446 #endif
27447
27448 int
27449 main ()
27450 {
27451 _isinf(0);
27452 ;
27453 return 0;
27454 }
27455 _ACEOF
27456 if ac_fn_cxx_try_compile "$LINENO"; then :
27457 glibcxx_cv_func__isinf_use=yes
27458 else
27459 glibcxx_cv_func__isinf_use=no
27460 fi
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 ac_ext=c
27463 ac_cpp='$CPP $CPPFLAGS'
27464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467
27468
27469 fi
27470
27471 fi
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27473 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27474
27475 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27476 for ac_func in _isinf
27477 do :
27478 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27479 if test "x$ac_cv_func__isinf" = x""yes; then :
27480 cat >>confdefs.h <<_ACEOF
27481 #define HAVE__ISINF 1
27482 _ACEOF
27483
27484 fi
27485 done
27486
27487 fi
27488 fi
27489
27490
27491
27492
27493
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27495 $as_echo_n "checking for isnan declaration... " >&6; }
27496 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27497 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27498 $as_echo_n "(cached) " >&6
27499 else
27500
27501
27502 ac_ext=cpp
27503 ac_cpp='$CXXCPP $CPPFLAGS'
27504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27507
27508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27509 /* end confdefs.h. */
27510 #include <math.h>
27511 #ifdef HAVE_IEEEFP_H
27512 #include <ieeefp.h>
27513 #endif
27514
27515 int
27516 main ()
27517 {
27518 isnan(0);
27519 ;
27520 return 0;
27521 }
27522 _ACEOF
27523 if ac_fn_cxx_try_compile "$LINENO"; then :
27524 glibcxx_cv_func_isnan_use=yes
27525 else
27526 glibcxx_cv_func_isnan_use=no
27527 fi
27528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27529 ac_ext=c
27530 ac_cpp='$CPP $CPPFLAGS'
27531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534
27535
27536 fi
27537
27538 fi
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27540 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27541
27542 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27543 for ac_func in isnan
27544 do :
27545 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27546 if test "x$ac_cv_func_isnan" = x""yes; then :
27547 cat >>confdefs.h <<_ACEOF
27548 #define HAVE_ISNAN 1
27549 _ACEOF
27550
27551 fi
27552 done
27553
27554 else
27555
27556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27557 $as_echo_n "checking for _isnan declaration... " >&6; }
27558 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27559 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27560 $as_echo_n "(cached) " >&6
27561 else
27562
27563
27564 ac_ext=cpp
27565 ac_cpp='$CXXCPP $CPPFLAGS'
27566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27569
27570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27571 /* end confdefs.h. */
27572 #include <math.h>
27573 #ifdef HAVE_IEEEFP_H
27574 #include <ieeefp.h>
27575 #endif
27576
27577 int
27578 main ()
27579 {
27580 _isnan(0);
27581 ;
27582 return 0;
27583 }
27584 _ACEOF
27585 if ac_fn_cxx_try_compile "$LINENO"; then :
27586 glibcxx_cv_func__isnan_use=yes
27587 else
27588 glibcxx_cv_func__isnan_use=no
27589 fi
27590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27591 ac_ext=c
27592 ac_cpp='$CPP $CPPFLAGS'
27593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27596
27597
27598 fi
27599
27600 fi
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27602 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27603
27604 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27605 for ac_func in _isnan
27606 do :
27607 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27608 if test "x$ac_cv_func__isnan" = x""yes; then :
27609 cat >>confdefs.h <<_ACEOF
27610 #define HAVE__ISNAN 1
27611 _ACEOF
27612
27613 fi
27614 done
27615
27616 fi
27617 fi
27618
27619
27620
27621
27622
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27624 $as_echo_n "checking for finite declaration... " >&6; }
27625 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27626 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27627 $as_echo_n "(cached) " >&6
27628 else
27629
27630
27631 ac_ext=cpp
27632 ac_cpp='$CXXCPP $CPPFLAGS'
27633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27636
27637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27638 /* end confdefs.h. */
27639 #include <math.h>
27640 #ifdef HAVE_IEEEFP_H
27641 #include <ieeefp.h>
27642 #endif
27643
27644 int
27645 main ()
27646 {
27647 finite(0);
27648 ;
27649 return 0;
27650 }
27651 _ACEOF
27652 if ac_fn_cxx_try_compile "$LINENO"; then :
27653 glibcxx_cv_func_finite_use=yes
27654 else
27655 glibcxx_cv_func_finite_use=no
27656 fi
27657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27658 ac_ext=c
27659 ac_cpp='$CPP $CPPFLAGS'
27660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27663
27664
27665 fi
27666
27667 fi
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27669 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27670
27671 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27672 for ac_func in finite
27673 do :
27674 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27675 if test "x$ac_cv_func_finite" = x""yes; then :
27676 cat >>confdefs.h <<_ACEOF
27677 #define HAVE_FINITE 1
27678 _ACEOF
27679
27680 fi
27681 done
27682
27683 else
27684
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27686 $as_echo_n "checking for _finite declaration... " >&6; }
27687 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27688 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27689 $as_echo_n "(cached) " >&6
27690 else
27691
27692
27693 ac_ext=cpp
27694 ac_cpp='$CXXCPP $CPPFLAGS'
27695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698
27699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27701 #include <math.h>
27702 #ifdef HAVE_IEEEFP_H
27703 #include <ieeefp.h>
27704 #endif
27705
27706 int
27707 main ()
27708 {
27709 _finite(0);
27710 ;
27711 return 0;
27712 }
27713 _ACEOF
27714 if ac_fn_cxx_try_compile "$LINENO"; then :
27715 glibcxx_cv_func__finite_use=yes
27716 else
27717 glibcxx_cv_func__finite_use=no
27718 fi
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725
27726
27727 fi
27728
27729 fi
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27731 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27732
27733 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27734 for ac_func in _finite
27735 do :
27736 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27737 if test "x$ac_cv_func__finite" = x""yes; then :
27738 cat >>confdefs.h <<_ACEOF
27739 #define HAVE__FINITE 1
27740 _ACEOF
27741
27742 fi
27743 done
27744
27745 fi
27746 fi
27747
27748
27749
27750
27751
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27753 $as_echo_n "checking for sincos declaration... " >&6; }
27754 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27755 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27756 $as_echo_n "(cached) " >&6
27757 else
27758
27759
27760 ac_ext=cpp
27761 ac_cpp='$CXXCPP $CPPFLAGS'
27762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27765
27766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27767 /* end confdefs.h. */
27768 #include <math.h>
27769 int
27770 main ()
27771 {
27772 sincos(0, 0, 0);
27773 ;
27774 return 0;
27775 }
27776 _ACEOF
27777 if ac_fn_cxx_try_compile "$LINENO"; then :
27778 glibcxx_cv_func_sincos_use=yes
27779 else
27780 glibcxx_cv_func_sincos_use=no
27781 fi
27782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 ac_ext=c
27784 ac_cpp='$CPP $CPPFLAGS'
27785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27788
27789
27790 fi
27791
27792 fi
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27794 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27795
27796 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27797 for ac_func in sincos
27798 do :
27799 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27800 if test "x$ac_cv_func_sincos" = x""yes; then :
27801 cat >>confdefs.h <<_ACEOF
27802 #define HAVE_SINCOS 1
27803 _ACEOF
27804
27805 fi
27806 done
27807
27808 else
27809
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27811 $as_echo_n "checking for _sincos declaration... " >&6; }
27812 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27813 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27814 $as_echo_n "(cached) " >&6
27815 else
27816
27817
27818 ac_ext=cpp
27819 ac_cpp='$CXXCPP $CPPFLAGS'
27820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27823
27824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27825 /* end confdefs.h. */
27826 #include <math.h>
27827 int
27828 main ()
27829 {
27830 _sincos(0, 0, 0);
27831 ;
27832 return 0;
27833 }
27834 _ACEOF
27835 if ac_fn_cxx_try_compile "$LINENO"; then :
27836 glibcxx_cv_func__sincos_use=yes
27837 else
27838 glibcxx_cv_func__sincos_use=no
27839 fi
27840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27841 ac_ext=c
27842 ac_cpp='$CPP $CPPFLAGS'
27843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27846
27847
27848 fi
27849
27850 fi
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27852 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27853
27854 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27855 for ac_func in _sincos
27856 do :
27857 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27858 if test "x$ac_cv_func__sincos" = x""yes; then :
27859 cat >>confdefs.h <<_ACEOF
27860 #define HAVE__SINCOS 1
27861 _ACEOF
27862
27863 fi
27864 done
27865
27866 fi
27867 fi
27868
27869
27870
27871
27872
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27874 $as_echo_n "checking for fpclass declaration... " >&6; }
27875 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27876 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27877 $as_echo_n "(cached) " >&6
27878 else
27879
27880
27881 ac_ext=cpp
27882 ac_cpp='$CXXCPP $CPPFLAGS'
27883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27886
27887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27888 /* end confdefs.h. */
27889 #include <math.h>
27890 #ifdef HAVE_IEEEFP_H
27891 #include <ieeefp.h>
27892 #endif
27893
27894 int
27895 main ()
27896 {
27897 fpclass(0);
27898 ;
27899 return 0;
27900 }
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903 glibcxx_cv_func_fpclass_use=yes
27904 else
27905 glibcxx_cv_func_fpclass_use=no
27906 fi
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908 ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913
27914
27915 fi
27916
27917 fi
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27919 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27920
27921 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27922 for ac_func in fpclass
27923 do :
27924 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27925 if test "x$ac_cv_func_fpclass" = x""yes; then :
27926 cat >>confdefs.h <<_ACEOF
27927 #define HAVE_FPCLASS 1
27928 _ACEOF
27929
27930 fi
27931 done
27932
27933 else
27934
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27936 $as_echo_n "checking for _fpclass declaration... " >&6; }
27937 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27938 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27939 $as_echo_n "(cached) " >&6
27940 else
27941
27942
27943 ac_ext=cpp
27944 ac_cpp='$CXXCPP $CPPFLAGS'
27945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27948
27949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27950 /* end confdefs.h. */
27951 #include <math.h>
27952 #ifdef HAVE_IEEEFP_H
27953 #include <ieeefp.h>
27954 #endif
27955
27956 int
27957 main ()
27958 {
27959 _fpclass(0);
27960 ;
27961 return 0;
27962 }
27963 _ACEOF
27964 if ac_fn_cxx_try_compile "$LINENO"; then :
27965 glibcxx_cv_func__fpclass_use=yes
27966 else
27967 glibcxx_cv_func__fpclass_use=no
27968 fi
27969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27970 ac_ext=c
27971 ac_cpp='$CPP $CPPFLAGS'
27972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27975
27976
27977 fi
27978
27979 fi
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27981 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27982
27983 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27984 for ac_func in _fpclass
27985 do :
27986 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27987 if test "x$ac_cv_func__fpclass" = x""yes; then :
27988 cat >>confdefs.h <<_ACEOF
27989 #define HAVE__FPCLASS 1
27990 _ACEOF
27991
27992 fi
27993 done
27994
27995 fi
27996 fi
27997
27998
27999
28000
28001
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28003 $as_echo_n "checking for qfpclass declaration... " >&6; }
28004 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28005 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28006 $as_echo_n "(cached) " >&6
28007 else
28008
28009
28010 ac_ext=cpp
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015
28016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28017 /* end confdefs.h. */
28018 #include <math.h>
28019 #ifdef HAVE_IEEEFP_H
28020 #include <ieeefp.h>
28021 #endif
28022
28023 int
28024 main ()
28025 {
28026 qfpclass(0);
28027 ;
28028 return 0;
28029 }
28030 _ACEOF
28031 if ac_fn_cxx_try_compile "$LINENO"; then :
28032 glibcxx_cv_func_qfpclass_use=yes
28033 else
28034 glibcxx_cv_func_qfpclass_use=no
28035 fi
28036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28037 ac_ext=c
28038 ac_cpp='$CPP $CPPFLAGS'
28039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28042
28043
28044 fi
28045
28046 fi
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28048 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28049
28050 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28051 for ac_func in qfpclass
28052 do :
28053 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28054 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28055 cat >>confdefs.h <<_ACEOF
28056 #define HAVE_QFPCLASS 1
28057 _ACEOF
28058
28059 fi
28060 done
28061
28062 else
28063
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28065 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28066 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28067 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28068 $as_echo_n "(cached) " >&6
28069 else
28070
28071
28072 ac_ext=cpp
28073 ac_cpp='$CXXCPP $CPPFLAGS'
28074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28077
28078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28079 /* end confdefs.h. */
28080 #include <math.h>
28081 #ifdef HAVE_IEEEFP_H
28082 #include <ieeefp.h>
28083 #endif
28084
28085 int
28086 main ()
28087 {
28088 _qfpclass(0);
28089 ;
28090 return 0;
28091 }
28092 _ACEOF
28093 if ac_fn_cxx_try_compile "$LINENO"; then :
28094 glibcxx_cv_func__qfpclass_use=yes
28095 else
28096 glibcxx_cv_func__qfpclass_use=no
28097 fi
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 ac_ext=c
28100 ac_cpp='$CPP $CPPFLAGS'
28101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28104
28105
28106 fi
28107
28108 fi
28109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28110 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28111
28112 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28113 for ac_func in _qfpclass
28114 do :
28115 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28116 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28117 cat >>confdefs.h <<_ACEOF
28118 #define HAVE__QFPCLASS 1
28119 _ACEOF
28120
28121 fi
28122 done
28123
28124 fi
28125 fi
28126
28127
28128
28129
28130
28131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28132 $as_echo_n "checking for hypot declaration... " >&6; }
28133 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28134 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28135 $as_echo_n "(cached) " >&6
28136 else
28137
28138
28139 ac_ext=cpp
28140 ac_cpp='$CXXCPP $CPPFLAGS'
28141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28144
28145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28146 /* end confdefs.h. */
28147 #include <math.h>
28148 int
28149 main ()
28150 {
28151 hypot(0, 0);
28152 ;
28153 return 0;
28154 }
28155 _ACEOF
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func_hypot_use=yes
28158 else
28159 glibcxx_cv_func_hypot_use=no
28160 fi
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28167
28168
28169 fi
28170
28171 fi
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28173 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28174
28175 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28176 for ac_func in hypot
28177 do :
28178 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28179 if test "x$ac_cv_func_hypot" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE_HYPOT 1
28182 _ACEOF
28183
28184 fi
28185 done
28186
28187 else
28188
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28190 $as_echo_n "checking for _hypot declaration... " >&6; }
28191 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28192 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28193 $as_echo_n "(cached) " >&6
28194 else
28195
28196
28197 ac_ext=cpp
28198 ac_cpp='$CXXCPP $CPPFLAGS'
28199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28202
28203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28204 /* end confdefs.h. */
28205 #include <math.h>
28206 int
28207 main ()
28208 {
28209 _hypot(0, 0);
28210 ;
28211 return 0;
28212 }
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215 glibcxx_cv_func__hypot_use=yes
28216 else
28217 glibcxx_cv_func__hypot_use=no
28218 fi
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225
28226
28227 fi
28228
28229 fi
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28231 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28232
28233 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28234 for ac_func in _hypot
28235 do :
28236 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28237 if test "x$ac_cv_func__hypot" = x""yes; then :
28238 cat >>confdefs.h <<_ACEOF
28239 #define HAVE__HYPOT 1
28240 _ACEOF
28241
28242 fi
28243 done
28244
28245 fi
28246 fi
28247
28248
28249
28250
28251
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28253 $as_echo_n "checking for float trig functions... " >&6; }
28254 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28255 $as_echo_n "(cached) " >&6
28256 else
28257
28258
28259 ac_ext=cpp
28260 ac_cpp='$CXXCPP $CPPFLAGS'
28261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28264
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 #include <math.h>
28268 int
28269 main ()
28270 {
28271 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func_float_trig_use=yes
28278 else
28279 glibcxx_cv_func_float_trig_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288 fi
28289
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28291 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28292 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28293 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28294 do :
28295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28297 eval as_val=\$$as_ac_var
28298 if test "x$as_val" = x""yes; then :
28299 cat >>confdefs.h <<_ACEOF
28300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28301 _ACEOF
28302
28303 fi
28304 done
28305
28306 else
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28308 $as_echo_n "checking for _float trig functions... " >&6; }
28309 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28310 $as_echo_n "(cached) " >&6
28311 else
28312
28313
28314 ac_ext=cpp
28315 ac_cpp='$CXXCPP $CPPFLAGS'
28316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28319
28320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28321 /* end confdefs.h. */
28322 #include <math.h>
28323 int
28324 main ()
28325 {
28326 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28327 ;
28328 return 0;
28329 }
28330 _ACEOF
28331 if ac_fn_cxx_try_compile "$LINENO"; then :
28332 glibcxx_cv_func__float_trig_use=yes
28333 else
28334 glibcxx_cv_func__float_trig_use=no
28335 fi
28336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28337 ac_ext=c
28338 ac_cpp='$CPP $CPPFLAGS'
28339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28342
28343 fi
28344
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28346 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28347 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28348 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28349 do :
28350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28352 eval as_val=\$$as_ac_var
28353 if test "x$as_val" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28356 _ACEOF
28357
28358 fi
28359 done
28360
28361 fi
28362 fi
28363
28364
28365
28366
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28369 $as_echo_n "checking for float round functions... " >&6; }
28370 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28373
28374
28375 ac_ext=cpp
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28380
28381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28382 /* end confdefs.h. */
28383 #include <math.h>
28384 int
28385 main ()
28386 {
28387 ceilf (0); floorf (0);
28388 ;
28389 return 0;
28390 }
28391 _ACEOF
28392 if ac_fn_cxx_try_compile "$LINENO"; then :
28393 glibcxx_cv_func_float_round_use=yes
28394 else
28395 glibcxx_cv_func_float_round_use=no
28396 fi
28397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 ac_ext=c
28399 ac_cpp='$CPP $CPPFLAGS'
28400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28403
28404 fi
28405
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28407 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28408 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28409 for ac_func in ceilf floorf
28410 do :
28411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28413 eval as_val=\$$as_ac_var
28414 if test "x$as_val" = x""yes; then :
28415 cat >>confdefs.h <<_ACEOF
28416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28418
28419 fi
28420 done
28421
28422 else
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28424 $as_echo_n "checking for _float round functions... " >&6; }
28425 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28428
28429
28430 ac_ext=cpp
28431 ac_cpp='$CXXCPP $CPPFLAGS'
28432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28435
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <math.h>
28439 int
28440 main ()
28441 {
28442 _ceilf (0); _floorf (0);
28443 ;
28444 return 0;
28445 }
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func__float_round_use=yes
28449 else
28450 glibcxx_cv_func__float_round_use=no
28451 fi
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28458
28459 fi
28460
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28462 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28463 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28464 for ac_func in _ceilf _floorf
28465 do :
28466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28468 eval as_val=\$$as_ac_var
28469 if test "x$as_val" = x""yes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28472 _ACEOF
28473
28474 fi
28475 done
28476
28477 fi
28478 fi
28479
28480
28481
28482
28483
28484
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28486 $as_echo_n "checking for expf declaration... " >&6; }
28487 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28488 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28489 $as_echo_n "(cached) " >&6
28490 else
28491
28492
28493 ac_ext=cpp
28494 ac_cpp='$CXXCPP $CPPFLAGS'
28495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28498
28499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28501 #include <math.h>
28502 #ifdef HAVE_IEEEFP_H
28503 #include <ieeefp.h>
28504 #endif
28505
28506 int
28507 main ()
28508 {
28509 expf(0);
28510 ;
28511 return 0;
28512 }
28513 _ACEOF
28514 if ac_fn_cxx_try_compile "$LINENO"; then :
28515 glibcxx_cv_func_expf_use=yes
28516 else
28517 glibcxx_cv_func_expf_use=no
28518 fi
28519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28520 ac_ext=c
28521 ac_cpp='$CPP $CPPFLAGS'
28522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28525
28526
28527 fi
28528
28529 fi
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28531 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28532
28533 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28534 for ac_func in expf
28535 do :
28536 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28537 if test "x$ac_cv_func_expf" = x""yes; then :
28538 cat >>confdefs.h <<_ACEOF
28539 #define HAVE_EXPF 1
28540 _ACEOF
28541
28542 fi
28543 done
28544
28545 else
28546
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28548 $as_echo_n "checking for _expf declaration... " >&6; }
28549 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28550 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28551 $as_echo_n "(cached) " >&6
28552 else
28553
28554
28555 ac_ext=cpp
28556 ac_cpp='$CXXCPP $CPPFLAGS'
28557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28560
28561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28562 /* end confdefs.h. */
28563 #include <math.h>
28564 #ifdef HAVE_IEEEFP_H
28565 #include <ieeefp.h>
28566 #endif
28567
28568 int
28569 main ()
28570 {
28571 _expf(0);
28572 ;
28573 return 0;
28574 }
28575 _ACEOF
28576 if ac_fn_cxx_try_compile "$LINENO"; then :
28577 glibcxx_cv_func__expf_use=yes
28578 else
28579 glibcxx_cv_func__expf_use=no
28580 fi
28581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28582 ac_ext=c
28583 ac_cpp='$CPP $CPPFLAGS'
28584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28587
28588
28589 fi
28590
28591 fi
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28593 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28594
28595 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28596 for ac_func in _expf
28597 do :
28598 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28599 if test "x$ac_cv_func__expf" = x""yes; then :
28600 cat >>confdefs.h <<_ACEOF
28601 #define HAVE__EXPF 1
28602 _ACEOF
28603
28604 fi
28605 done
28606
28607 fi
28608 fi
28609
28610
28611
28612
28613
28614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28615 $as_echo_n "checking for isnanf declaration... " >&6; }
28616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28618 $as_echo_n "(cached) " >&6
28619 else
28620
28621
28622 ac_ext=cpp
28623 ac_cpp='$CXXCPP $CPPFLAGS'
28624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28627
28628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28629 /* end confdefs.h. */
28630 #include <math.h>
28631 #ifdef HAVE_IEEEFP_H
28632 #include <ieeefp.h>
28633 #endif
28634
28635 int
28636 main ()
28637 {
28638 isnanf(0);
28639 ;
28640 return 0;
28641 }
28642 _ACEOF
28643 if ac_fn_cxx_try_compile "$LINENO"; then :
28644 glibcxx_cv_func_isnanf_use=yes
28645 else
28646 glibcxx_cv_func_isnanf_use=no
28647 fi
28648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28649 ac_ext=c
28650 ac_cpp='$CPP $CPPFLAGS'
28651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28654
28655
28656 fi
28657
28658 fi
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28660 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28661
28662 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28663 for ac_func in isnanf
28664 do :
28665 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28666 if test "x$ac_cv_func_isnanf" = x""yes; then :
28667 cat >>confdefs.h <<_ACEOF
28668 #define HAVE_ISNANF 1
28669 _ACEOF
28670
28671 fi
28672 done
28673
28674 else
28675
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28677 $as_echo_n "checking for _isnanf declaration... " >&6; }
28678 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28679 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28680 $as_echo_n "(cached) " >&6
28681 else
28682
28683
28684 ac_ext=cpp
28685 ac_cpp='$CXXCPP $CPPFLAGS'
28686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28689
28690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28691 /* end confdefs.h. */
28692 #include <math.h>
28693 #ifdef HAVE_IEEEFP_H
28694 #include <ieeefp.h>
28695 #endif
28696
28697 int
28698 main ()
28699 {
28700 _isnanf(0);
28701 ;
28702 return 0;
28703 }
28704 _ACEOF
28705 if ac_fn_cxx_try_compile "$LINENO"; then :
28706 glibcxx_cv_func__isnanf_use=yes
28707 else
28708 glibcxx_cv_func__isnanf_use=no
28709 fi
28710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28711 ac_ext=c
28712 ac_cpp='$CPP $CPPFLAGS'
28713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28716
28717
28718 fi
28719
28720 fi
28721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28722 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28723
28724 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28725 for ac_func in _isnanf
28726 do :
28727 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28728 if test "x$ac_cv_func__isnanf" = x""yes; then :
28729 cat >>confdefs.h <<_ACEOF
28730 #define HAVE__ISNANF 1
28731 _ACEOF
28732
28733 fi
28734 done
28735
28736 fi
28737 fi
28738
28739
28740
28741
28742
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28744 $as_echo_n "checking for isinff declaration... " >&6; }
28745 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28746 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28747 $as_echo_n "(cached) " >&6
28748 else
28749
28750
28751 ac_ext=cpp
28752 ac_cpp='$CXXCPP $CPPFLAGS'
28753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28756
28757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28758 /* end confdefs.h. */
28759 #include <math.h>
28760 #ifdef HAVE_IEEEFP_H
28761 #include <ieeefp.h>
28762 #endif
28763
28764 int
28765 main ()
28766 {
28767 isinff(0);
28768 ;
28769 return 0;
28770 }
28771 _ACEOF
28772 if ac_fn_cxx_try_compile "$LINENO"; then :
28773 glibcxx_cv_func_isinff_use=yes
28774 else
28775 glibcxx_cv_func_isinff_use=no
28776 fi
28777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778 ac_ext=c
28779 ac_cpp='$CPP $CPPFLAGS'
28780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28783
28784
28785 fi
28786
28787 fi
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28789 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28790
28791 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28792 for ac_func in isinff
28793 do :
28794 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28795 if test "x$ac_cv_func_isinff" = x""yes; then :
28796 cat >>confdefs.h <<_ACEOF
28797 #define HAVE_ISINFF 1
28798 _ACEOF
28799
28800 fi
28801 done
28802
28803 else
28804
28805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28806 $as_echo_n "checking for _isinff declaration... " >&6; }
28807 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28808 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28809 $as_echo_n "(cached) " >&6
28810 else
28811
28812
28813 ac_ext=cpp
28814 ac_cpp='$CXXCPP $CPPFLAGS'
28815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28818
28819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28820 /* end confdefs.h. */
28821 #include <math.h>
28822 #ifdef HAVE_IEEEFP_H
28823 #include <ieeefp.h>
28824 #endif
28825
28826 int
28827 main ()
28828 {
28829 _isinff(0);
28830 ;
28831 return 0;
28832 }
28833 _ACEOF
28834 if ac_fn_cxx_try_compile "$LINENO"; then :
28835 glibcxx_cv_func__isinff_use=yes
28836 else
28837 glibcxx_cv_func__isinff_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__isinff_use" >&5
28851 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28852
28853 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28854 for ac_func in _isinff
28855 do :
28856 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28857 if test "x$ac_cv_func__isinff" = x""yes; then :
28858 cat >>confdefs.h <<_ACEOF
28859 #define HAVE__ISINFF 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 atan2f declaration" >&5
28873 $as_echo_n "checking for atan2f declaration... " >&6; }
28874 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28875 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28876 $as_echo_n "(cached) " >&6
28877 else
28878
28879
28880 ac_ext=cpp
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28885
28886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h. */
28888 #include <math.h>
28889 int
28890 main ()
28891 {
28892 atan2f(0, 0);
28893 ;
28894 return 0;
28895 }
28896 _ACEOF
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898 glibcxx_cv_func_atan2f_use=yes
28899 else
28900 glibcxx_cv_func_atan2f_use=no
28901 fi
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903 ac_ext=c
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28908
28909
28910 fi
28911
28912 fi
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28914 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28915
28916 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28917 for ac_func in atan2f
28918 do :
28919 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28920 if test "x$ac_cv_func_atan2f" = x""yes; then :
28921 cat >>confdefs.h <<_ACEOF
28922 #define HAVE_ATAN2F 1
28923 _ACEOF
28924
28925 fi
28926 done
28927
28928 else
28929
28930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28931 $as_echo_n "checking for _atan2f declaration... " >&6; }
28932 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28933 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28934 $as_echo_n "(cached) " >&6
28935 else
28936
28937
28938 ac_ext=cpp
28939 ac_cpp='$CXXCPP $CPPFLAGS'
28940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28943
28944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28945 /* end confdefs.h. */
28946 #include <math.h>
28947 int
28948 main ()
28949 {
28950 _atan2f(0, 0);
28951 ;
28952 return 0;
28953 }
28954 _ACEOF
28955 if ac_fn_cxx_try_compile "$LINENO"; then :
28956 glibcxx_cv_func__atan2f_use=yes
28957 else
28958 glibcxx_cv_func__atan2f_use=no
28959 fi
28960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28961 ac_ext=c
28962 ac_cpp='$CPP $CPPFLAGS'
28963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28966
28967
28968 fi
28969
28970 fi
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28972 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28973
28974 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28975 for ac_func in _atan2f
28976 do :
28977 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28978 if test "x$ac_cv_func__atan2f" = x""yes; then :
28979 cat >>confdefs.h <<_ACEOF
28980 #define HAVE__ATAN2F 1
28981 _ACEOF
28982
28983 fi
28984 done
28985
28986 fi
28987 fi
28988
28989
28990
28991
28992
28993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28994 $as_echo_n "checking for fabsf declaration... " >&6; }
28995 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28996 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
28999
29000
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29006
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29010 #ifdef HAVE_IEEEFP_H
29011 #include <ieeefp.h>
29012 #endif
29013
29014 int
29015 main ()
29016 {
29017 fabsf(0);
29018 ;
29019 return 0;
29020 }
29021 _ACEOF
29022 if ac_fn_cxx_try_compile "$LINENO"; then :
29023 glibcxx_cv_func_fabsf_use=yes
29024 else
29025 glibcxx_cv_func_fabsf_use=no
29026 fi
29027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29028 ac_ext=c
29029 ac_cpp='$CPP $CPPFLAGS'
29030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29033
29034
29035 fi
29036
29037 fi
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29039 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29040
29041 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29042 for ac_func in fabsf
29043 do :
29044 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29045 if test "x$ac_cv_func_fabsf" = x""yes; then :
29046 cat >>confdefs.h <<_ACEOF
29047 #define HAVE_FABSF 1
29048 _ACEOF
29049
29050 fi
29051 done
29052
29053 else
29054
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29056 $as_echo_n "checking for _fabsf declaration... " >&6; }
29057 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29058 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29059 $as_echo_n "(cached) " >&6
29060 else
29061
29062
29063 ac_ext=cpp
29064 ac_cpp='$CXXCPP $CPPFLAGS'
29065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29068
29069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29070 /* end confdefs.h. */
29071 #include <math.h>
29072 #ifdef HAVE_IEEEFP_H
29073 #include <ieeefp.h>
29074 #endif
29075
29076 int
29077 main ()
29078 {
29079 _fabsf(0);
29080 ;
29081 return 0;
29082 }
29083 _ACEOF
29084 if ac_fn_cxx_try_compile "$LINENO"; then :
29085 glibcxx_cv_func__fabsf_use=yes
29086 else
29087 glibcxx_cv_func__fabsf_use=no
29088 fi
29089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29095
29096
29097 fi
29098
29099 fi
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29101 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29102
29103 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29104 for ac_func in _fabsf
29105 do :
29106 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29107 if test "x$ac_cv_func__fabsf" = x""yes; then :
29108 cat >>confdefs.h <<_ACEOF
29109 #define HAVE__FABSF 1
29110 _ACEOF
29111
29112 fi
29113 done
29114
29115 fi
29116 fi
29117
29118
29119
29120
29121
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29123 $as_echo_n "checking for fmodf declaration... " >&6; }
29124 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29125 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29126 $as_echo_n "(cached) " >&6
29127 else
29128
29129
29130 ac_ext=cpp
29131 ac_cpp='$CXXCPP $CPPFLAGS'
29132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29135
29136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29137 /* end confdefs.h. */
29138 #include <math.h>
29139 int
29140 main ()
29141 {
29142 fmodf(0, 0);
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148 glibcxx_cv_func_fmodf_use=yes
29149 else
29150 glibcxx_cv_func_fmodf_use=no
29151 fi
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29158
29159
29160 fi
29161
29162 fi
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29164 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29165
29166 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29167 for ac_func in fmodf
29168 do :
29169 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29170 if test "x$ac_cv_func_fmodf" = x""yes; then :
29171 cat >>confdefs.h <<_ACEOF
29172 #define HAVE_FMODF 1
29173 _ACEOF
29174
29175 fi
29176 done
29177
29178 else
29179
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29181 $as_echo_n "checking for _fmodf declaration... " >&6; }
29182 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29183 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29184 $as_echo_n "(cached) " >&6
29185 else
29186
29187
29188 ac_ext=cpp
29189 ac_cpp='$CXXCPP $CPPFLAGS'
29190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29193
29194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29195 /* end confdefs.h. */
29196 #include <math.h>
29197 int
29198 main ()
29199 {
29200 _fmodf(0, 0);
29201 ;
29202 return 0;
29203 }
29204 _ACEOF
29205 if ac_fn_cxx_try_compile "$LINENO"; then :
29206 glibcxx_cv_func__fmodf_use=yes
29207 else
29208 glibcxx_cv_func__fmodf_use=no
29209 fi
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29211 ac_ext=c
29212 ac_cpp='$CPP $CPPFLAGS'
29213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216
29217
29218 fi
29219
29220 fi
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29222 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29223
29224 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29225 for ac_func in _fmodf
29226 do :
29227 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29228 if test "x$ac_cv_func__fmodf" = x""yes; then :
29229 cat >>confdefs.h <<_ACEOF
29230 #define HAVE__FMODF 1
29231 _ACEOF
29232
29233 fi
29234 done
29235
29236 fi
29237 fi
29238
29239
29240
29241
29242
29243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29244 $as_echo_n "checking for frexpf declaration... " >&6; }
29245 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29246 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29247 $as_echo_n "(cached) " >&6
29248 else
29249
29250
29251 ac_ext=cpp
29252 ac_cpp='$CXXCPP $CPPFLAGS'
29253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29256
29257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29258 /* end confdefs.h. */
29259 #include <math.h>
29260 int
29261 main ()
29262 {
29263 frexpf(0, 0);
29264 ;
29265 return 0;
29266 }
29267 _ACEOF
29268 if ac_fn_cxx_try_compile "$LINENO"; then :
29269 glibcxx_cv_func_frexpf_use=yes
29270 else
29271 glibcxx_cv_func_frexpf_use=no
29272 fi
29273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29274 ac_ext=c
29275 ac_cpp='$CPP $CPPFLAGS'
29276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279
29280
29281 fi
29282
29283 fi
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29285 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29286
29287 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29288 for ac_func in frexpf
29289 do :
29290 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29291 if test "x$ac_cv_func_frexpf" = x""yes; then :
29292 cat >>confdefs.h <<_ACEOF
29293 #define HAVE_FREXPF 1
29294 _ACEOF
29295
29296 fi
29297 done
29298
29299 else
29300
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29302 $as_echo_n "checking for _frexpf declaration... " >&6; }
29303 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29304 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29305 $as_echo_n "(cached) " >&6
29306 else
29307
29308
29309 ac_ext=cpp
29310 ac_cpp='$CXXCPP $CPPFLAGS'
29311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314
29315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29317 #include <math.h>
29318 int
29319 main ()
29320 {
29321 _frexpf(0, 0);
29322 ;
29323 return 0;
29324 }
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func__frexpf_use=yes
29328 else
29329 glibcxx_cv_func__frexpf_use=no
29330 fi
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339 fi
29340
29341 fi
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29343 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29344
29345 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29346 for ac_func in _frexpf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29349 if test "x$ac_cv_func__frexpf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE__FREXPF 1
29352 _ACEOF
29353
29354 fi
29355 done
29356
29357 fi
29358 fi
29359
29360
29361
29362
29363
29364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29365 $as_echo_n "checking for hypotf declaration... " >&6; }
29366 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29367 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29368 $as_echo_n "(cached) " >&6
29369 else
29370
29371
29372 ac_ext=cpp
29373 ac_cpp='$CXXCPP $CPPFLAGS'
29374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29377
29378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29379 /* end confdefs.h. */
29380 #include <math.h>
29381 int
29382 main ()
29383 {
29384 hypotf(0, 0);
29385 ;
29386 return 0;
29387 }
29388 _ACEOF
29389 if ac_fn_cxx_try_compile "$LINENO"; then :
29390 glibcxx_cv_func_hypotf_use=yes
29391 else
29392 glibcxx_cv_func_hypotf_use=no
29393 fi
29394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29395 ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400
29401
29402 fi
29403
29404 fi
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29406 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29407
29408 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29409 for ac_func in hypotf
29410 do :
29411 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29412 if test "x$ac_cv_func_hypotf" = x""yes; then :
29413 cat >>confdefs.h <<_ACEOF
29414 #define HAVE_HYPOTF 1
29415 _ACEOF
29416
29417 fi
29418 done
29419
29420 else
29421
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29423 $as_echo_n "checking for _hypotf declaration... " >&6; }
29424 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29425 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29428
29429
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29435
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29439 int
29440 main ()
29441 {
29442 _hypotf(0, 0);
29443 ;
29444 return 0;
29445 }
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func__hypotf_use=yes
29449 else
29450 glibcxx_cv_func__hypotf_use=no
29451 fi
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458
29459
29460 fi
29461
29462 fi
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29464 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29465
29466 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29467 for ac_func in _hypotf
29468 do :
29469 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29470 if test "x$ac_cv_func__hypotf" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE__HYPOTF 1
29473 _ACEOF
29474
29475 fi
29476 done
29477
29478 fi
29479 fi
29480
29481
29482
29483
29484
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29486 $as_echo_n "checking for ldexpf declaration... " >&6; }
29487 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29488 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29489 $as_echo_n "(cached) " >&6
29490 else
29491
29492
29493 ac_ext=cpp
29494 ac_cpp='$CXXCPP $CPPFLAGS'
29495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29498
29499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29500 /* end confdefs.h. */
29501 #include <math.h>
29502 int
29503 main ()
29504 {
29505 ldexpf(0, 0);
29506 ;
29507 return 0;
29508 }
29509 _ACEOF
29510 if ac_fn_cxx_try_compile "$LINENO"; then :
29511 glibcxx_cv_func_ldexpf_use=yes
29512 else
29513 glibcxx_cv_func_ldexpf_use=no
29514 fi
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29516 ac_ext=c
29517 ac_cpp='$CPP $CPPFLAGS'
29518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29521
29522
29523 fi
29524
29525 fi
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29527 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29528
29529 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29530 for ac_func in ldexpf
29531 do :
29532 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29533 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29534 cat >>confdefs.h <<_ACEOF
29535 #define HAVE_LDEXPF 1
29536 _ACEOF
29537
29538 fi
29539 done
29540
29541 else
29542
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29544 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29545 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29546 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29549
29550
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29556
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29560 int
29561 main ()
29562 {
29563 _ldexpf(0, 0);
29564 ;
29565 return 0;
29566 }
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func__ldexpf_use=yes
29570 else
29571 glibcxx_cv_func__ldexpf_use=no
29572 fi
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579
29580
29581 fi
29582
29583 fi
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29585 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29586
29587 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29588 for ac_func in _ldexpf
29589 do :
29590 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29591 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE__LDEXPF 1
29594 _ACEOF
29595
29596 fi
29597 done
29598
29599 fi
29600 fi
29601
29602
29603
29604
29605
29606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29607 $as_echo_n "checking for logf declaration... " >&6; }
29608 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29609 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29610 $as_echo_n "(cached) " >&6
29611 else
29612
29613
29614 ac_ext=cpp
29615 ac_cpp='$CXXCPP $CPPFLAGS'
29616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29619
29620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29621 /* end confdefs.h. */
29622 #include <math.h>
29623 #ifdef HAVE_IEEEFP_H
29624 #include <ieeefp.h>
29625 #endif
29626
29627 int
29628 main ()
29629 {
29630 logf(0);
29631 ;
29632 return 0;
29633 }
29634 _ACEOF
29635 if ac_fn_cxx_try_compile "$LINENO"; then :
29636 glibcxx_cv_func_logf_use=yes
29637 else
29638 glibcxx_cv_func_logf_use=no
29639 fi
29640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29641 ac_ext=c
29642 ac_cpp='$CPP $CPPFLAGS'
29643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29646
29647
29648 fi
29649
29650 fi
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29652 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29653
29654 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29655 for ac_func in logf
29656 do :
29657 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29658 if test "x$ac_cv_func_logf" = x""yes; then :
29659 cat >>confdefs.h <<_ACEOF
29660 #define HAVE_LOGF 1
29661 _ACEOF
29662
29663 fi
29664 done
29665
29666 else
29667
29668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29669 $as_echo_n "checking for _logf declaration... " >&6; }
29670 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29671 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29672 $as_echo_n "(cached) " >&6
29673 else
29674
29675
29676 ac_ext=cpp
29677 ac_cpp='$CXXCPP $CPPFLAGS'
29678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29681
29682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 /* end confdefs.h. */
29684 #include <math.h>
29685 #ifdef HAVE_IEEEFP_H
29686 #include <ieeefp.h>
29687 #endif
29688
29689 int
29690 main ()
29691 {
29692 _logf(0);
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 if ac_fn_cxx_try_compile "$LINENO"; then :
29698 glibcxx_cv_func__logf_use=yes
29699 else
29700 glibcxx_cv_func__logf_use=no
29701 fi
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 ac_ext=c
29704 ac_cpp='$CPP $CPPFLAGS'
29705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29708
29709
29710 fi
29711
29712 fi
29713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29714 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29715
29716 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29717 for ac_func in _logf
29718 do :
29719 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29720 if test "x$ac_cv_func__logf" = x""yes; then :
29721 cat >>confdefs.h <<_ACEOF
29722 #define HAVE__LOGF 1
29723 _ACEOF
29724
29725 fi
29726 done
29727
29728 fi
29729 fi
29730
29731
29732
29733
29734
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29736 $as_echo_n "checking for log10f declaration... " >&6; }
29737 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29738 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29739 $as_echo_n "(cached) " >&6
29740 else
29741
29742
29743 ac_ext=cpp
29744 ac_cpp='$CXXCPP $CPPFLAGS'
29745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748
29749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29750 /* end confdefs.h. */
29751 #include <math.h>
29752 #ifdef HAVE_IEEEFP_H
29753 #include <ieeefp.h>
29754 #endif
29755
29756 int
29757 main ()
29758 {
29759 log10f(0);
29760 ;
29761 return 0;
29762 }
29763 _ACEOF
29764 if ac_fn_cxx_try_compile "$LINENO"; then :
29765 glibcxx_cv_func_log10f_use=yes
29766 else
29767 glibcxx_cv_func_log10f_use=no
29768 fi
29769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29770 ac_ext=c
29771 ac_cpp='$CPP $CPPFLAGS'
29772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29775
29776
29777 fi
29778
29779 fi
29780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29781 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29782
29783 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29784 for ac_func in log10f
29785 do :
29786 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29787 if test "x$ac_cv_func_log10f" = x""yes; then :
29788 cat >>confdefs.h <<_ACEOF
29789 #define HAVE_LOG10F 1
29790 _ACEOF
29791
29792 fi
29793 done
29794
29795 else
29796
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29798 $as_echo_n "checking for _log10f declaration... " >&6; }
29799 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29800 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29801 $as_echo_n "(cached) " >&6
29802 else
29803
29804
29805 ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29813 #include <math.h>
29814 #ifdef HAVE_IEEEFP_H
29815 #include <ieeefp.h>
29816 #endif
29817
29818 int
29819 main ()
29820 {
29821 _log10f(0);
29822 ;
29823 return 0;
29824 }
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827 glibcxx_cv_func__log10f_use=yes
29828 else
29829 glibcxx_cv_func__log10f_use=no
29830 fi
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29837
29838
29839 fi
29840
29841 fi
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29843 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29844
29845 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29846 for ac_func in _log10f
29847 do :
29848 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29849 if test "x$ac_cv_func__log10f" = x""yes; then :
29850 cat >>confdefs.h <<_ACEOF
29851 #define HAVE__LOG10F 1
29852 _ACEOF
29853
29854 fi
29855 done
29856
29857 fi
29858 fi
29859
29860
29861
29862
29863
29864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29865 $as_echo_n "checking for modff declaration... " >&6; }
29866 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29867 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29868 $as_echo_n "(cached) " >&6
29869 else
29870
29871
29872 ac_ext=cpp
29873 ac_cpp='$CXXCPP $CPPFLAGS'
29874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29877
29878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29879 /* end confdefs.h. */
29880 #include <math.h>
29881 int
29882 main ()
29883 {
29884 modff(0, 0);
29885 ;
29886 return 0;
29887 }
29888 _ACEOF
29889 if ac_fn_cxx_try_compile "$LINENO"; then :
29890 glibcxx_cv_func_modff_use=yes
29891 else
29892 glibcxx_cv_func_modff_use=no
29893 fi
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895 ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29900
29901
29902 fi
29903
29904 fi
29905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29906 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29907
29908 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29909 for ac_func in modff
29910 do :
29911 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29912 if test "x$ac_cv_func_modff" = x""yes; then :
29913 cat >>confdefs.h <<_ACEOF
29914 #define HAVE_MODFF 1
29915 _ACEOF
29916
29917 fi
29918 done
29919
29920 else
29921
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29923 $as_echo_n "checking for _modff declaration... " >&6; }
29924 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29925 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29926 $as_echo_n "(cached) " >&6
29927 else
29928
29929
29930 ac_ext=cpp
29931 ac_cpp='$CXXCPP $CPPFLAGS'
29932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29935
29936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29937 /* end confdefs.h. */
29938 #include <math.h>
29939 int
29940 main ()
29941 {
29942 _modff(0, 0);
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948 glibcxx_cv_func__modff_use=yes
29949 else
29950 glibcxx_cv_func__modff_use=no
29951 fi
29952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29958
29959
29960 fi
29961
29962 fi
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29964 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29965
29966 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29967 for ac_func in _modff
29968 do :
29969 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29970 if test "x$ac_cv_func__modff" = x""yes; then :
29971 cat >>confdefs.h <<_ACEOF
29972 #define HAVE__MODFF 1
29973 _ACEOF
29974
29975 fi
29976 done
29977
29978 fi
29979 fi
29980
29981
29982
29983
29984
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29986 $as_echo_n "checking for modf declaration... " >&6; }
29987 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29988 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29989 $as_echo_n "(cached) " >&6
29990 else
29991
29992
29993 ac_ext=cpp
29994 ac_cpp='$CXXCPP $CPPFLAGS'
29995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29998
29999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30000 /* end confdefs.h. */
30001 #include <math.h>
30002 int
30003 main ()
30004 {
30005 modf(0, 0);
30006 ;
30007 return 0;
30008 }
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011 glibcxx_cv_func_modf_use=yes
30012 else
30013 glibcxx_cv_func_modf_use=no
30014 fi
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016 ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021
30022
30023 fi
30024
30025 fi
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30027 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30028
30029 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30030 for ac_func in modf
30031 do :
30032 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30033 if test "x$ac_cv_func_modf" = x""yes; then :
30034 cat >>confdefs.h <<_ACEOF
30035 #define HAVE_MODF 1
30036 _ACEOF
30037
30038 fi
30039 done
30040
30041 else
30042
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30044 $as_echo_n "checking for _modf declaration... " >&6; }
30045 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30046 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30049
30050
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30056
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30060 int
30061 main ()
30062 {
30063 _modf(0, 0);
30064 ;
30065 return 0;
30066 }
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func__modf_use=yes
30070 else
30071 glibcxx_cv_func__modf_use=no
30072 fi
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079
30080
30081 fi
30082
30083 fi
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30085 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30086
30087 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30088 for ac_func in _modf
30089 do :
30090 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30091 if test "x$ac_cv_func__modf" = x""yes; then :
30092 cat >>confdefs.h <<_ACEOF
30093 #define HAVE__MODF 1
30094 _ACEOF
30095
30096 fi
30097 done
30098
30099 fi
30100 fi
30101
30102
30103
30104
30105
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30107 $as_echo_n "checking for powf declaration... " >&6; }
30108 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30109 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30110 $as_echo_n "(cached) " >&6
30111 else
30112
30113
30114 ac_ext=cpp
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119
30120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30121 /* end confdefs.h. */
30122 #include <math.h>
30123 int
30124 main ()
30125 {
30126 powf(0, 0);
30127 ;
30128 return 0;
30129 }
30130 _ACEOF
30131 if ac_fn_cxx_try_compile "$LINENO"; then :
30132 glibcxx_cv_func_powf_use=yes
30133 else
30134 glibcxx_cv_func_powf_use=no
30135 fi
30136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30137 ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142
30143
30144 fi
30145
30146 fi
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30148 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30149
30150 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30151 for ac_func in powf
30152 do :
30153 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30154 if test "x$ac_cv_func_powf" = x""yes; then :
30155 cat >>confdefs.h <<_ACEOF
30156 #define HAVE_POWF 1
30157 _ACEOF
30158
30159 fi
30160 done
30161
30162 else
30163
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30165 $as_echo_n "checking for _powf declaration... " >&6; }
30166 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30167 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30168 $as_echo_n "(cached) " >&6
30169 else
30170
30171
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30177
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30180 #include <math.h>
30181 int
30182 main ()
30183 {
30184 _powf(0, 0);
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190 glibcxx_cv_func__powf_use=yes
30191 else
30192 glibcxx_cv_func__powf_use=no
30193 fi
30194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30195 ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30200
30201
30202 fi
30203
30204 fi
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30206 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30207
30208 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30209 for ac_func in _powf
30210 do :
30211 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30212 if test "x$ac_cv_func__powf" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define HAVE__POWF 1
30215 _ACEOF
30216
30217 fi
30218 done
30219
30220 fi
30221 fi
30222
30223
30224
30225
30226
30227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30228 $as_echo_n "checking for sqrtf declaration... " >&6; }
30229 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30230 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30231 $as_echo_n "(cached) " >&6
30232 else
30233
30234
30235 ac_ext=cpp
30236 ac_cpp='$CXXCPP $CPPFLAGS'
30237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30240
30241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30242 /* end confdefs.h. */
30243 #include <math.h>
30244 #ifdef HAVE_IEEEFP_H
30245 #include <ieeefp.h>
30246 #endif
30247
30248 int
30249 main ()
30250 {
30251 sqrtf(0);
30252 ;
30253 return 0;
30254 }
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257 glibcxx_cv_func_sqrtf_use=yes
30258 else
30259 glibcxx_cv_func_sqrtf_use=no
30260 fi
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262 ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267
30268
30269 fi
30270
30271 fi
30272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30273 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30274
30275 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30276 for ac_func in sqrtf
30277 do :
30278 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30279 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30280 cat >>confdefs.h <<_ACEOF
30281 #define HAVE_SQRTF 1
30282 _ACEOF
30283
30284 fi
30285 done
30286
30287 else
30288
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30290 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30291 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30292 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30295
30296
30297 ac_ext=cpp
30298 ac_cpp='$CXXCPP $CPPFLAGS'
30299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30302
30303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30304 /* end confdefs.h. */
30305 #include <math.h>
30306 #ifdef HAVE_IEEEFP_H
30307 #include <ieeefp.h>
30308 #endif
30309
30310 int
30311 main ()
30312 {
30313 _sqrtf(0);
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319 glibcxx_cv_func__sqrtf_use=yes
30320 else
30321 glibcxx_cv_func__sqrtf_use=no
30322 fi
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324 ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329
30330
30331 fi
30332
30333 fi
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30335 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30336
30337 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30338 for ac_func in _sqrtf
30339 do :
30340 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30341 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30342 cat >>confdefs.h <<_ACEOF
30343 #define HAVE__SQRTF 1
30344 _ACEOF
30345
30346 fi
30347 done
30348
30349 fi
30350 fi
30351
30352
30353
30354
30355
30356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30357 $as_echo_n "checking for sincosf declaration... " >&6; }
30358 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30359 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30360 $as_echo_n "(cached) " >&6
30361 else
30362
30363
30364 ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30369
30370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h. */
30372 #include <math.h>
30373 int
30374 main ()
30375 {
30376 sincosf(0, 0, 0);
30377 ;
30378 return 0;
30379 }
30380 _ACEOF
30381 if ac_fn_cxx_try_compile "$LINENO"; then :
30382 glibcxx_cv_func_sincosf_use=yes
30383 else
30384 glibcxx_cv_func_sincosf_use=no
30385 fi
30386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30387 ac_ext=c
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30392
30393
30394 fi
30395
30396 fi
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30398 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30399
30400 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30401 for ac_func in sincosf
30402 do :
30403 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30404 if test "x$ac_cv_func_sincosf" = x""yes; then :
30405 cat >>confdefs.h <<_ACEOF
30406 #define HAVE_SINCOSF 1
30407 _ACEOF
30408
30409 fi
30410 done
30411
30412 else
30413
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30415 $as_echo_n "checking for _sincosf declaration... " >&6; }
30416 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30417 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30418 $as_echo_n "(cached) " >&6
30419 else
30420
30421
30422 ac_ext=cpp
30423 ac_cpp='$CXXCPP $CPPFLAGS'
30424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30427
30428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30429 /* end confdefs.h. */
30430 #include <math.h>
30431 int
30432 main ()
30433 {
30434 _sincosf(0, 0, 0);
30435 ;
30436 return 0;
30437 }
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440 glibcxx_cv_func__sincosf_use=yes
30441 else
30442 glibcxx_cv_func__sincosf_use=no
30443 fi
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445 ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450
30451
30452 fi
30453
30454 fi
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30456 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30457
30458 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30459 for ac_func in _sincosf
30460 do :
30461 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30462 if test "x$ac_cv_func__sincosf" = x""yes; then :
30463 cat >>confdefs.h <<_ACEOF
30464 #define HAVE__SINCOSF 1
30465 _ACEOF
30466
30467 fi
30468 done
30469
30470 fi
30471 fi
30472
30473
30474
30475
30476
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30478 $as_echo_n "checking for finitef declaration... " >&6; }
30479 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30480 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30481 $as_echo_n "(cached) " >&6
30482 else
30483
30484
30485 ac_ext=cpp
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30490
30491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30492 /* end confdefs.h. */
30493 #include <math.h>
30494 #ifdef HAVE_IEEEFP_H
30495 #include <ieeefp.h>
30496 #endif
30497
30498 int
30499 main ()
30500 {
30501 finitef(0);
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 if ac_fn_cxx_try_compile "$LINENO"; then :
30507 glibcxx_cv_func_finitef_use=yes
30508 else
30509 glibcxx_cv_func_finitef_use=no
30510 fi
30511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30512 ac_ext=c
30513 ac_cpp='$CPP $CPPFLAGS'
30514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30517
30518
30519 fi
30520
30521 fi
30522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30523 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30524
30525 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30526 for ac_func in finitef
30527 do :
30528 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30529 if test "x$ac_cv_func_finitef" = x""yes; then :
30530 cat >>confdefs.h <<_ACEOF
30531 #define HAVE_FINITEF 1
30532 _ACEOF
30533
30534 fi
30535 done
30536
30537 else
30538
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30540 $as_echo_n "checking for _finitef declaration... " >&6; }
30541 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30542 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30543 $as_echo_n "(cached) " >&6
30544 else
30545
30546
30547 ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555 #include <math.h>
30556 #ifdef HAVE_IEEEFP_H
30557 #include <ieeefp.h>
30558 #endif
30559
30560 int
30561 main ()
30562 {
30563 _finitef(0);
30564 ;
30565 return 0;
30566 }
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569 glibcxx_cv_func__finitef_use=yes
30570 else
30571 glibcxx_cv_func__finitef_use=no
30572 fi
30573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30574 ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30579
30580
30581 fi
30582
30583 fi
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30585 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30586
30587 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30588 for ac_func in _finitef
30589 do :
30590 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30591 if test "x$ac_cv_func__finitef" = x""yes; then :
30592 cat >>confdefs.h <<_ACEOF
30593 #define HAVE__FINITEF 1
30594 _ACEOF
30595
30596 fi
30597 done
30598
30599 fi
30600 fi
30601
30602
30603
30604
30605
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30607 $as_echo_n "checking for long double trig functions... " >&6; }
30608 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30626 ;
30627 return 0;
30628 }
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631 glibcxx_cv_func_long_double_trig_use=yes
30632 else
30633 glibcxx_cv_func_long_double_trig_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 fi
30643
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30645 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30646 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30647 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30648 do :
30649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30651 eval as_val=\$$as_ac_var
30652 if test "x$as_val" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30655 _ACEOF
30656
30657 fi
30658 done
30659
30660 else
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30662 $as_echo_n "checking for _long double trig functions... " >&6; }
30663 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30664 $as_echo_n "(cached) " >&6
30665 else
30666
30667
30668 ac_ext=cpp
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30673
30674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30675 /* end confdefs.h. */
30676 #include <math.h>
30677 int
30678 main ()
30679 {
30680 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func__long_double_trig_use=yes
30687 else
30688 glibcxx_cv_func__long_double_trig_use=no
30689 fi
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696
30697 fi
30698
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30700 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30701 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30702 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30703 do :
30704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30706 eval as_val=\$$as_ac_var
30707 if test "x$as_val" = x""yes; then :
30708 cat >>confdefs.h <<_ACEOF
30709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30710 _ACEOF
30711
30712 fi
30713 done
30714
30715 fi
30716 fi
30717
30718
30719
30720
30721
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30723 $as_echo_n "checking for long double round functions... " >&6; }
30724 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30727
30728
30729 ac_ext=cpp
30730 ac_cpp='$CXXCPP $CPPFLAGS'
30731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30734
30735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30736 /* end confdefs.h. */
30737 #include <math.h>
30738 int
30739 main ()
30740 {
30741 ceill (0); floorl (0);
30742 ;
30743 return 0;
30744 }
30745 _ACEOF
30746 if ac_fn_cxx_try_compile "$LINENO"; then :
30747 glibcxx_cv_func_long_double_round_use=yes
30748 else
30749 glibcxx_cv_func_long_double_round_use=no
30750 fi
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752 ac_ext=c
30753 ac_cpp='$CPP $CPPFLAGS'
30754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30757
30758 fi
30759
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30761 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30762 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30763 for ac_func in ceill floorl
30764 do :
30765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30767 eval as_val=\$$as_ac_var
30768 if test "x$as_val" = x""yes; then :
30769 cat >>confdefs.h <<_ACEOF
30770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771 _ACEOF
30772
30773 fi
30774 done
30775
30776 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30778 $as_echo_n "checking for _long double round functions... " >&6; }
30779 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30780 $as_echo_n "(cached) " >&6
30781 else
30782
30783
30784 ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30789
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792 #include <math.h>
30793 int
30794 main ()
30795 {
30796 _ceill (0); _floorl (0);
30797 ;
30798 return 0;
30799 }
30800 _ACEOF
30801 if ac_fn_cxx_try_compile "$LINENO"; then :
30802 glibcxx_cv_func__long_double_round_use=yes
30803 else
30804 glibcxx_cv_func__long_double_round_use=no
30805 fi
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 ac_ext=c
30808 ac_cpp='$CPP $CPPFLAGS'
30809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30812
30813 fi
30814
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30816 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30817 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30818 for ac_func in _ceill _floorl
30819 do :
30820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30822 eval as_val=\$$as_ac_var
30823 if test "x$as_val" = x""yes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30826 _ACEOF
30827
30828 fi
30829 done
30830
30831 fi
30832 fi
30833
30834
30835
30836
30837
30838
30839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30840 $as_echo_n "checking for isnanl declaration... " >&6; }
30841 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30842 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30845
30846
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30852
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30856 #ifdef HAVE_IEEEFP_H
30857 #include <ieeefp.h>
30858 #endif
30859
30860 int
30861 main ()
30862 {
30863 isnanl(0);
30864 ;
30865 return 0;
30866 }
30867 _ACEOF
30868 if ac_fn_cxx_try_compile "$LINENO"; then :
30869 glibcxx_cv_func_isnanl_use=yes
30870 else
30871 glibcxx_cv_func_isnanl_use=no
30872 fi
30873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30874 ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30879
30880
30881 fi
30882
30883 fi
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30885 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30886
30887 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30888 for ac_func in isnanl
30889 do :
30890 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30891 if test "x$ac_cv_func_isnanl" = x""yes; then :
30892 cat >>confdefs.h <<_ACEOF
30893 #define HAVE_ISNANL 1
30894 _ACEOF
30895
30896 fi
30897 done
30898
30899 else
30900
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30902 $as_echo_n "checking for _isnanl declaration... " >&6; }
30903 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30904 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30905 $as_echo_n "(cached) " >&6
30906 else
30907
30908
30909 ac_ext=cpp
30910 ac_cpp='$CXXCPP $CPPFLAGS'
30911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30914
30915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30916 /* end confdefs.h. */
30917 #include <math.h>
30918 #ifdef HAVE_IEEEFP_H
30919 #include <ieeefp.h>
30920 #endif
30921
30922 int
30923 main ()
30924 {
30925 _isnanl(0);
30926 ;
30927 return 0;
30928 }
30929 _ACEOF
30930 if ac_fn_cxx_try_compile "$LINENO"; then :
30931 glibcxx_cv_func__isnanl_use=yes
30932 else
30933 glibcxx_cv_func__isnanl_use=no
30934 fi
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936 ac_ext=c
30937 ac_cpp='$CPP $CPPFLAGS'
30938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30941
30942
30943 fi
30944
30945 fi
30946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30947 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30948
30949 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30950 for ac_func in _isnanl
30951 do :
30952 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30953 if test "x$ac_cv_func__isnanl" = x""yes; then :
30954 cat >>confdefs.h <<_ACEOF
30955 #define HAVE__ISNANL 1
30956 _ACEOF
30957
30958 fi
30959 done
30960
30961 fi
30962 fi
30963
30964
30965
30966
30967
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30969 $as_echo_n "checking for isinfl declaration... " >&6; }
30970 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30971 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30972 $as_echo_n "(cached) " >&6
30973 else
30974
30975
30976 ac_ext=cpp
30977 ac_cpp='$CXXCPP $CPPFLAGS'
30978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30981
30982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30983 /* end confdefs.h. */
30984 #include <math.h>
30985 #ifdef HAVE_IEEEFP_H
30986 #include <ieeefp.h>
30987 #endif
30988
30989 int
30990 main ()
30991 {
30992 isinfl(0);
30993 ;
30994 return 0;
30995 }
30996 _ACEOF
30997 if ac_fn_cxx_try_compile "$LINENO"; then :
30998 glibcxx_cv_func_isinfl_use=yes
30999 else
31000 glibcxx_cv_func_isinfl_use=no
31001 fi
31002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31003 ac_ext=c
31004 ac_cpp='$CPP $CPPFLAGS'
31005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31008
31009
31010 fi
31011
31012 fi
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31014 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31015
31016 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31017 for ac_func in isinfl
31018 do :
31019 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31020 if test "x$ac_cv_func_isinfl" = x""yes; then :
31021 cat >>confdefs.h <<_ACEOF
31022 #define HAVE_ISINFL 1
31023 _ACEOF
31024
31025 fi
31026 done
31027
31028 else
31029
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31031 $as_echo_n "checking for _isinfl declaration... " >&6; }
31032 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31033 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31034 $as_echo_n "(cached) " >&6
31035 else
31036
31037
31038 ac_ext=cpp
31039 ac_cpp='$CXXCPP $CPPFLAGS'
31040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31043
31044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31045 /* end confdefs.h. */
31046 #include <math.h>
31047 #ifdef HAVE_IEEEFP_H
31048 #include <ieeefp.h>
31049 #endif
31050
31051 int
31052 main ()
31053 {
31054 _isinfl(0);
31055 ;
31056 return 0;
31057 }
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060 glibcxx_cv_func__isinfl_use=yes
31061 else
31062 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
31076 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31077
31078 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31079 for ac_func in _isinfl
31080 do :
31081 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31082 if test "x$ac_cv_func__isinfl" = x""yes; then :
31083 cat >>confdefs.h <<_ACEOF
31084 #define HAVE__ISINFL 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 atan2l declaration" >&5
31098 $as_echo_n "checking for atan2l declaration... " >&6; }
31099 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31100 if test "${glibcxx_cv_func_atan2l_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 int
31115 main ()
31116 {
31117 atan2l(0, 0);
31118 ;
31119 return 0;
31120 }
31121 _ACEOF
31122 if ac_fn_cxx_try_compile "$LINENO"; then :
31123 glibcxx_cv_func_atan2l_use=yes
31124 else
31125 glibcxx_cv_func_atan2l_use=no
31126 fi
31127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 ac_ext=c
31129 ac_cpp='$CPP $CPPFLAGS'
31130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31133
31134
31135 fi
31136
31137 fi
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31139 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31140
31141 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31142 for ac_func in atan2l
31143 do :
31144 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31145 if test "x$ac_cv_func_atan2l" = x""yes; then :
31146 cat >>confdefs.h <<_ACEOF
31147 #define HAVE_ATAN2L 1
31148 _ACEOF
31149
31150 fi
31151 done
31152
31153 else
31154
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31156 $as_echo_n "checking for _atan2l declaration... " >&6; }
31157 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31158 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31161
31162
31163 ac_ext=cpp
31164 ac_cpp='$CXXCPP $CPPFLAGS'
31165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31168
31169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170 /* end confdefs.h. */
31171 #include <math.h>
31172 int
31173 main ()
31174 {
31175 _atan2l(0, 0);
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181 glibcxx_cv_func__atan2l_use=yes
31182 else
31183 glibcxx_cv_func__atan2l_use=no
31184 fi
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186 ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31191
31192
31193 fi
31194
31195 fi
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31197 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31198
31199 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31200 for ac_func in _atan2l
31201 do :
31202 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31203 if test "x$ac_cv_func__atan2l" = x""yes; then :
31204 cat >>confdefs.h <<_ACEOF
31205 #define HAVE__ATAN2L 1
31206 _ACEOF
31207
31208 fi
31209 done
31210
31211 fi
31212 fi
31213
31214
31215
31216
31217
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31219 $as_echo_n "checking for expl declaration... " >&6; }
31220 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31221 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31222 $as_echo_n "(cached) " >&6
31223 else
31224
31225
31226 ac_ext=cpp
31227 ac_cpp='$CXXCPP $CPPFLAGS'
31228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31231
31232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31233 /* end confdefs.h. */
31234 #include <math.h>
31235 #ifdef HAVE_IEEEFP_H
31236 #include <ieeefp.h>
31237 #endif
31238
31239 int
31240 main ()
31241 {
31242 expl(0);
31243 ;
31244 return 0;
31245 }
31246 _ACEOF
31247 if ac_fn_cxx_try_compile "$LINENO"; then :
31248 glibcxx_cv_func_expl_use=yes
31249 else
31250 glibcxx_cv_func_expl_use=no
31251 fi
31252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31253 ac_ext=c
31254 ac_cpp='$CPP $CPPFLAGS'
31255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31258
31259
31260 fi
31261
31262 fi
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31264 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31265
31266 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31267 for ac_func in expl
31268 do :
31269 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31270 if test "x$ac_cv_func_expl" = x""yes; then :
31271 cat >>confdefs.h <<_ACEOF
31272 #define HAVE_EXPL 1
31273 _ACEOF
31274
31275 fi
31276 done
31277
31278 else
31279
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31281 $as_echo_n "checking for _expl declaration... " >&6; }
31282 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31283 if test "${glibcxx_cv_func__expl_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 #ifdef HAVE_IEEEFP_H
31298 #include <ieeefp.h>
31299 #endif
31300
31301 int
31302 main ()
31303 {
31304 _expl(0);
31305 ;
31306 return 0;
31307 }
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func__expl_use=yes
31311 else
31312 glibcxx_cv_func__expl_use=no
31313 fi
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322 fi
31323
31324 fi
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31326 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31327
31328 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31329 for ac_func in _expl
31330 do :
31331 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31332 if test "x$ac_cv_func__expl" = x""yes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE__EXPL 1
31335 _ACEOF
31336
31337 fi
31338 done
31339
31340 fi
31341 fi
31342
31343
31344
31345
31346
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31348 $as_echo_n "checking for fabsl declaration... " >&6; }
31349 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31350 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31353
31354
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31360
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31364 #ifdef HAVE_IEEEFP_H
31365 #include <ieeefp.h>
31366 #endif
31367
31368 int
31369 main ()
31370 {
31371 fabsl(0);
31372 ;
31373 return 0;
31374 }
31375 _ACEOF
31376 if ac_fn_cxx_try_compile "$LINENO"; then :
31377 glibcxx_cv_func_fabsl_use=yes
31378 else
31379 glibcxx_cv_func_fabsl_use=no
31380 fi
31381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31382 ac_ext=c
31383 ac_cpp='$CPP $CPPFLAGS'
31384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31387
31388
31389 fi
31390
31391 fi
31392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31393 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31394
31395 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31396 for ac_func in fabsl
31397 do :
31398 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31399 if test "x$ac_cv_func_fabsl" = x""yes; then :
31400 cat >>confdefs.h <<_ACEOF
31401 #define HAVE_FABSL 1
31402 _ACEOF
31403
31404 fi
31405 done
31406
31407 else
31408
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31410 $as_echo_n "checking for _fabsl declaration... " >&6; }
31411 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31412 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31415
31416
31417 ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425 #include <math.h>
31426 #ifdef HAVE_IEEEFP_H
31427 #include <ieeefp.h>
31428 #endif
31429
31430 int
31431 main ()
31432 {
31433 _fabsl(0);
31434 ;
31435 return 0;
31436 }
31437 _ACEOF
31438 if ac_fn_cxx_try_compile "$LINENO"; then :
31439 glibcxx_cv_func__fabsl_use=yes
31440 else
31441 glibcxx_cv_func__fabsl_use=no
31442 fi
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 ac_ext=c
31445 ac_cpp='$CPP $CPPFLAGS'
31446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449
31450
31451 fi
31452
31453 fi
31454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31455 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31456
31457 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31458 for ac_func in _fabsl
31459 do :
31460 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31461 if test "x$ac_cv_func__fabsl" = x""yes; then :
31462 cat >>confdefs.h <<_ACEOF
31463 #define HAVE__FABSL 1
31464 _ACEOF
31465
31466 fi
31467 done
31468
31469 fi
31470 fi
31471
31472
31473
31474
31475
31476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31477 $as_echo_n "checking for fmodl declaration... " >&6; }
31478 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31479 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31480 $as_echo_n "(cached) " >&6
31481 else
31482
31483
31484 ac_ext=cpp
31485 ac_cpp='$CXXCPP $CPPFLAGS'
31486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31489
31490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31491 /* end confdefs.h. */
31492 #include <math.h>
31493 int
31494 main ()
31495 {
31496 fmodl(0, 0);
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502 glibcxx_cv_func_fmodl_use=yes
31503 else
31504 glibcxx_cv_func_fmodl_use=no
31505 fi
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507 ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512
31513
31514 fi
31515
31516 fi
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31518 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31519
31520 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31521 for ac_func in fmodl
31522 do :
31523 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31524 if test "x$ac_cv_func_fmodl" = x""yes; then :
31525 cat >>confdefs.h <<_ACEOF
31526 #define HAVE_FMODL 1
31527 _ACEOF
31528
31529 fi
31530 done
31531
31532 else
31533
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31535 $as_echo_n "checking for _fmodl declaration... " >&6; }
31536 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31537 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31538 $as_echo_n "(cached) " >&6
31539 else
31540
31541
31542 ac_ext=cpp
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31547
31548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31549 /* end confdefs.h. */
31550 #include <math.h>
31551 int
31552 main ()
31553 {
31554 _fmodl(0, 0);
31555 ;
31556 return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func__fmodl_use=yes
31561 else
31562 glibcxx_cv_func__fmodl_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574 fi
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31576 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31577
31578 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31579 for ac_func in _fmodl
31580 do :
31581 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31582 if test "x$ac_cv_func__fmodl" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE__FMODL 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590 fi
31591 fi
31592
31593
31594
31595
31596
31597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31598 $as_echo_n "checking for frexpl declaration... " >&6; }
31599 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31600 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31601 $as_echo_n "(cached) " >&6
31602 else
31603
31604
31605 ac_ext=cpp
31606 ac_cpp='$CXXCPP $CPPFLAGS'
31607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610
31611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31612 /* end confdefs.h. */
31613 #include <math.h>
31614 int
31615 main ()
31616 {
31617 frexpl(0, 0);
31618 ;
31619 return 0;
31620 }
31621 _ACEOF
31622 if ac_fn_cxx_try_compile "$LINENO"; then :
31623 glibcxx_cv_func_frexpl_use=yes
31624 else
31625 glibcxx_cv_func_frexpl_use=no
31626 fi
31627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31628 ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633
31634
31635 fi
31636
31637 fi
31638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31639 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31640
31641 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31642 for ac_func in frexpl
31643 do :
31644 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31645 if test "x$ac_cv_func_frexpl" = x""yes; then :
31646 cat >>confdefs.h <<_ACEOF
31647 #define HAVE_FREXPL 1
31648 _ACEOF
31649
31650 fi
31651 done
31652
31653 else
31654
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31656 $as_echo_n "checking for _frexpl declaration... " >&6; }
31657 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31658 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31661
31662
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31672 int
31673 main ()
31674 {
31675 _frexpl(0, 0);
31676 ;
31677 return 0;
31678 }
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func__frexpl_use=yes
31682 else
31683 glibcxx_cv_func__frexpl_use=no
31684 fi
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691
31692
31693 fi
31694
31695 fi
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31697 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31698
31699 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31700 for ac_func in _frexpl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31703 if test "x$ac_cv_func__frexpl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE__FREXPL 1
31706 _ACEOF
31707
31708 fi
31709 done
31710
31711 fi
31712 fi
31713
31714
31715
31716
31717
31718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31719 $as_echo_n "checking for hypotl declaration... " >&6; }
31720 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31721 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31722 $as_echo_n "(cached) " >&6
31723 else
31724
31725
31726 ac_ext=cpp
31727 ac_cpp='$CXXCPP $CPPFLAGS'
31728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31731
31732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733 /* end confdefs.h. */
31734 #include <math.h>
31735 int
31736 main ()
31737 {
31738 hypotl(0, 0);
31739 ;
31740 return 0;
31741 }
31742 _ACEOF
31743 if ac_fn_cxx_try_compile "$LINENO"; then :
31744 glibcxx_cv_func_hypotl_use=yes
31745 else
31746 glibcxx_cv_func_hypotl_use=no
31747 fi
31748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31749 ac_ext=c
31750 ac_cpp='$CPP $CPPFLAGS'
31751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754
31755
31756 fi
31757
31758 fi
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31760 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31761
31762 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31763 for ac_func in hypotl
31764 do :
31765 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31766 if test "x$ac_cv_func_hypotl" = x""yes; then :
31767 cat >>confdefs.h <<_ACEOF
31768 #define HAVE_HYPOTL 1
31769 _ACEOF
31770
31771 fi
31772 done
31773
31774 else
31775
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31777 $as_echo_n "checking for _hypotl declaration... " >&6; }
31778 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31779 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31780 $as_echo_n "(cached) " >&6
31781 else
31782
31783
31784 ac_ext=cpp
31785 ac_cpp='$CXXCPP $CPPFLAGS'
31786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31789
31790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h. */
31792 #include <math.h>
31793 int
31794 main ()
31795 {
31796 _hypotl(0, 0);
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 if ac_fn_cxx_try_compile "$LINENO"; then :
31802 glibcxx_cv_func__hypotl_use=yes
31803 else
31804 glibcxx_cv_func__hypotl_use=no
31805 fi
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31807 ac_ext=c
31808 ac_cpp='$CPP $CPPFLAGS'
31809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31812
31813
31814 fi
31815
31816 fi
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31818 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31819
31820 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31821 for ac_func in _hypotl
31822 do :
31823 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31824 if test "x$ac_cv_func__hypotl" = x""yes; then :
31825 cat >>confdefs.h <<_ACEOF
31826 #define HAVE__HYPOTL 1
31827 _ACEOF
31828
31829 fi
31830 done
31831
31832 fi
31833 fi
31834
31835
31836
31837
31838
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31840 $as_echo_n "checking for ldexpl declaration... " >&6; }
31841 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31842 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31843 $as_echo_n "(cached) " >&6
31844 else
31845
31846
31847 ac_ext=cpp
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852
31853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31854 /* end confdefs.h. */
31855 #include <math.h>
31856 int
31857 main ()
31858 {
31859 ldexpl(0, 0);
31860 ;
31861 return 0;
31862 }
31863 _ACEOF
31864 if ac_fn_cxx_try_compile "$LINENO"; then :
31865 glibcxx_cv_func_ldexpl_use=yes
31866 else
31867 glibcxx_cv_func_ldexpl_use=no
31868 fi
31869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31870 ac_ext=c
31871 ac_cpp='$CPP $CPPFLAGS'
31872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875
31876
31877 fi
31878
31879 fi
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31881 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31882
31883 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31884 for ac_func in ldexpl
31885 do :
31886 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31887 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31888 cat >>confdefs.h <<_ACEOF
31889 #define HAVE_LDEXPL 1
31890 _ACEOF
31891
31892 fi
31893 done
31894
31895 else
31896
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31898 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31899 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31900 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31901 $as_echo_n "(cached) " >&6
31902 else
31903
31904
31905 ac_ext=cpp
31906 ac_cpp='$CXXCPP $CPPFLAGS'
31907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31910
31911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912 /* end confdefs.h. */
31913 #include <math.h>
31914 int
31915 main ()
31916 {
31917 _ldexpl(0, 0);
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func__ldexpl_use=yes
31924 else
31925 glibcxx_cv_func__ldexpl_use=no
31926 fi
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31933
31934
31935 fi
31936
31937 fi
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31939 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31940
31941 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31942 for ac_func in _ldexpl
31943 do :
31944 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31945 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE__LDEXPL 1
31948 _ACEOF
31949
31950 fi
31951 done
31952
31953 fi
31954 fi
31955
31956
31957
31958
31959
31960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31961 $as_echo_n "checking for logl declaration... " >&6; }
31962 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31963 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31964 $as_echo_n "(cached) " >&6
31965 else
31966
31967
31968 ac_ext=cpp
31969 ac_cpp='$CXXCPP $CPPFLAGS'
31970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31973
31974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31975 /* end confdefs.h. */
31976 #include <math.h>
31977 #ifdef HAVE_IEEEFP_H
31978 #include <ieeefp.h>
31979 #endif
31980
31981 int
31982 main ()
31983 {
31984 logl(0);
31985 ;
31986 return 0;
31987 }
31988 _ACEOF
31989 if ac_fn_cxx_try_compile "$LINENO"; then :
31990 glibcxx_cv_func_logl_use=yes
31991 else
31992 glibcxx_cv_func_logl_use=no
31993 fi
31994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31995 ac_ext=c
31996 ac_cpp='$CPP $CPPFLAGS'
31997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32000
32001
32002 fi
32003
32004 fi
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32006 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32007
32008 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32009 for ac_func in logl
32010 do :
32011 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32012 if test "x$ac_cv_func_logl" = x""yes; then :
32013 cat >>confdefs.h <<_ACEOF
32014 #define HAVE_LOGL 1
32015 _ACEOF
32016
32017 fi
32018 done
32019
32020 else
32021
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32023 $as_echo_n "checking for _logl declaration... " >&6; }
32024 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32025 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32026 $as_echo_n "(cached) " >&6
32027 else
32028
32029
32030 ac_ext=cpp
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32035
32036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32037 /* end confdefs.h. */
32038 #include <math.h>
32039 #ifdef HAVE_IEEEFP_H
32040 #include <ieeefp.h>
32041 #endif
32042
32043 int
32044 main ()
32045 {
32046 _logl(0);
32047 ;
32048 return 0;
32049 }
32050 _ACEOF
32051 if ac_fn_cxx_try_compile "$LINENO"; then :
32052 glibcxx_cv_func__logl_use=yes
32053 else
32054 glibcxx_cv_func__logl_use=no
32055 fi
32056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32062
32063
32064 fi
32065
32066 fi
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32068 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32069
32070 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32071 for ac_func in _logl
32072 do :
32073 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32074 if test "x$ac_cv_func__logl" = x""yes; then :
32075 cat >>confdefs.h <<_ACEOF
32076 #define HAVE__LOGL 1
32077 _ACEOF
32078
32079 fi
32080 done
32081
32082 fi
32083 fi
32084
32085
32086
32087
32088
32089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32090 $as_echo_n "checking for log10l declaration... " >&6; }
32091 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32092 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32093 $as_echo_n "(cached) " >&6
32094 else
32095
32096
32097 ac_ext=cpp
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102
32103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32104 /* end confdefs.h. */
32105 #include <math.h>
32106 #ifdef HAVE_IEEEFP_H
32107 #include <ieeefp.h>
32108 #endif
32109
32110 int
32111 main ()
32112 {
32113 log10l(0);
32114 ;
32115 return 0;
32116 }
32117 _ACEOF
32118 if ac_fn_cxx_try_compile "$LINENO"; then :
32119 glibcxx_cv_func_log10l_use=yes
32120 else
32121 glibcxx_cv_func_log10l_use=no
32122 fi
32123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32124 ac_ext=c
32125 ac_cpp='$CPP $CPPFLAGS'
32126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32129
32130
32131 fi
32132
32133 fi
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32135 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32136
32137 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32138 for ac_func in log10l
32139 do :
32140 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32141 if test "x$ac_cv_func_log10l" = x""yes; then :
32142 cat >>confdefs.h <<_ACEOF
32143 #define HAVE_LOG10L 1
32144 _ACEOF
32145
32146 fi
32147 done
32148
32149 else
32150
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32152 $as_echo_n "checking for _log10l declaration... " >&6; }
32153 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32154 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32157
32158
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32168 #ifdef HAVE_IEEEFP_H
32169 #include <ieeefp.h>
32170 #endif
32171
32172 int
32173 main ()
32174 {
32175 _log10l(0);
32176 ;
32177 return 0;
32178 }
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func__log10l_use=yes
32182 else
32183 glibcxx_cv_func__log10l_use=no
32184 fi
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32191
32192
32193 fi
32194
32195 fi
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32197 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32198
32199 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32200 for ac_func in _log10l
32201 do :
32202 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32203 if test "x$ac_cv_func__log10l" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE__LOG10L 1
32206 _ACEOF
32207
32208 fi
32209 done
32210
32211 fi
32212 fi
32213
32214
32215
32216
32217
32218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32219 $as_echo_n "checking for modfl declaration... " >&6; }
32220 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32221 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32222 $as_echo_n "(cached) " >&6
32223 else
32224
32225
32226 ac_ext=cpp
32227 ac_cpp='$CXXCPP $CPPFLAGS'
32228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32231
32232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h. */
32234 #include <math.h>
32235 int
32236 main ()
32237 {
32238 modfl(0, 0);
32239 ;
32240 return 0;
32241 }
32242 _ACEOF
32243 if ac_fn_cxx_try_compile "$LINENO"; then :
32244 glibcxx_cv_func_modfl_use=yes
32245 else
32246 glibcxx_cv_func_modfl_use=no
32247 fi
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 ac_ext=c
32250 ac_cpp='$CPP $CPPFLAGS'
32251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32254
32255
32256 fi
32257
32258 fi
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32260 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32261
32262 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32263 for ac_func in modfl
32264 do :
32265 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32266 if test "x$ac_cv_func_modfl" = x""yes; then :
32267 cat >>confdefs.h <<_ACEOF
32268 #define HAVE_MODFL 1
32269 _ACEOF
32270
32271 fi
32272 done
32273
32274 else
32275
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32277 $as_echo_n "checking for _modfl declaration... " >&6; }
32278 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32279 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32282
32283
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32289
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32293 int
32294 main ()
32295 {
32296 _modfl(0, 0);
32297 ;
32298 return 0;
32299 }
32300 _ACEOF
32301 if ac_fn_cxx_try_compile "$LINENO"; then :
32302 glibcxx_cv_func__modfl_use=yes
32303 else
32304 glibcxx_cv_func__modfl_use=no
32305 fi
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307 ac_ext=c
32308 ac_cpp='$CPP $CPPFLAGS'
32309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32312
32313
32314 fi
32315
32316 fi
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32318 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32319
32320 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32321 for ac_func in _modfl
32322 do :
32323 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32324 if test "x$ac_cv_func__modfl" = x""yes; then :
32325 cat >>confdefs.h <<_ACEOF
32326 #define HAVE__MODFL 1
32327 _ACEOF
32328
32329 fi
32330 done
32331
32332 fi
32333 fi
32334
32335
32336
32337
32338
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32340 $as_echo_n "checking for powl declaration... " >&6; }
32341 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32342 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32343 $as_echo_n "(cached) " >&6
32344 else
32345
32346
32347 ac_ext=cpp
32348 ac_cpp='$CXXCPP $CPPFLAGS'
32349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352
32353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32354 /* end confdefs.h. */
32355 #include <math.h>
32356 int
32357 main ()
32358 {
32359 powl(0, 0);
32360 ;
32361 return 0;
32362 }
32363 _ACEOF
32364 if ac_fn_cxx_try_compile "$LINENO"; then :
32365 glibcxx_cv_func_powl_use=yes
32366 else
32367 glibcxx_cv_func_powl_use=no
32368 fi
32369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32370 ac_ext=c
32371 ac_cpp='$CPP $CPPFLAGS'
32372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375
32376
32377 fi
32378
32379 fi
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32381 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32382
32383 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32384 for ac_func in powl
32385 do :
32386 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32387 if test "x$ac_cv_func_powl" = x""yes; then :
32388 cat >>confdefs.h <<_ACEOF
32389 #define HAVE_POWL 1
32390 _ACEOF
32391
32392 fi
32393 done
32394
32395 else
32396
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32398 $as_echo_n "checking for _powl declaration... " >&6; }
32399 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32400 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32403
32404
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32410
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32414 int
32415 main ()
32416 {
32417 _powl(0, 0);
32418 ;
32419 return 0;
32420 }
32421 _ACEOF
32422 if ac_fn_cxx_try_compile "$LINENO"; then :
32423 glibcxx_cv_func__powl_use=yes
32424 else
32425 glibcxx_cv_func__powl_use=no
32426 fi
32427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32433
32434
32435 fi
32436
32437 fi
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32439 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32440
32441 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32442 for ac_func in _powl
32443 do :
32444 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32445 if test "x$ac_cv_func__powl" = x""yes; then :
32446 cat >>confdefs.h <<_ACEOF
32447 #define HAVE__POWL 1
32448 _ACEOF
32449
32450 fi
32451 done
32452
32453 fi
32454 fi
32455
32456
32457
32458
32459
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32461 $as_echo_n "checking for sqrtl declaration... " >&6; }
32462 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32463 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32464 $as_echo_n "(cached) " >&6
32465 else
32466
32467
32468 ac_ext=cpp
32469 ac_cpp='$CXXCPP $CPPFLAGS'
32470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32473
32474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32475 /* end confdefs.h. */
32476 #include <math.h>
32477 #ifdef HAVE_IEEEFP_H
32478 #include <ieeefp.h>
32479 #endif
32480
32481 int
32482 main ()
32483 {
32484 sqrtl(0);
32485 ;
32486 return 0;
32487 }
32488 _ACEOF
32489 if ac_fn_cxx_try_compile "$LINENO"; then :
32490 glibcxx_cv_func_sqrtl_use=yes
32491 else
32492 glibcxx_cv_func_sqrtl_use=no
32493 fi
32494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495 ac_ext=c
32496 ac_cpp='$CPP $CPPFLAGS'
32497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32500
32501
32502 fi
32503
32504 fi
32505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32506 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32507
32508 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32509 for ac_func in sqrtl
32510 do :
32511 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32512 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32513 cat >>confdefs.h <<_ACEOF
32514 #define HAVE_SQRTL 1
32515 _ACEOF
32516
32517 fi
32518 done
32519
32520 else
32521
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32523 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32524 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32525 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32526 $as_echo_n "(cached) " >&6
32527 else
32528
32529
32530 ac_ext=cpp
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32535
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32537 /* end confdefs.h. */
32538 #include <math.h>
32539 #ifdef HAVE_IEEEFP_H
32540 #include <ieeefp.h>
32541 #endif
32542
32543 int
32544 main ()
32545 {
32546 _sqrtl(0);
32547 ;
32548 return 0;
32549 }
32550 _ACEOF
32551 if ac_fn_cxx_try_compile "$LINENO"; then :
32552 glibcxx_cv_func__sqrtl_use=yes
32553 else
32554 glibcxx_cv_func__sqrtl_use=no
32555 fi
32556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_ext=c
32558 ac_cpp='$CPP $CPPFLAGS'
32559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32562
32563
32564 fi
32565
32566 fi
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32568 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32569
32570 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32571 for ac_func in _sqrtl
32572 do :
32573 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32574 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32575 cat >>confdefs.h <<_ACEOF
32576 #define HAVE__SQRTL 1
32577 _ACEOF
32578
32579 fi
32580 done
32581
32582 fi
32583 fi
32584
32585
32586
32587
32588
32589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32590 $as_echo_n "checking for sincosl declaration... " >&6; }
32591 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32592 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32593 $as_echo_n "(cached) " >&6
32594 else
32595
32596
32597 ac_ext=cpp
32598 ac_cpp='$CXXCPP $CPPFLAGS'
32599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32602
32603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32605 #include <math.h>
32606 int
32607 main ()
32608 {
32609 sincosl(0, 0, 0);
32610 ;
32611 return 0;
32612 }
32613 _ACEOF
32614 if ac_fn_cxx_try_compile "$LINENO"; then :
32615 glibcxx_cv_func_sincosl_use=yes
32616 else
32617 glibcxx_cv_func_sincosl_use=no
32618 fi
32619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32620 ac_ext=c
32621 ac_cpp='$CPP $CPPFLAGS'
32622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625
32626
32627 fi
32628
32629 fi
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32631 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32632
32633 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32634 for ac_func in sincosl
32635 do :
32636 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32637 if test "x$ac_cv_func_sincosl" = x""yes; then :
32638 cat >>confdefs.h <<_ACEOF
32639 #define HAVE_SINCOSL 1
32640 _ACEOF
32641
32642 fi
32643 done
32644
32645 else
32646
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32648 $as_echo_n "checking for _sincosl declaration... " >&6; }
32649 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32650 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32651 $as_echo_n "(cached) " >&6
32652 else
32653
32654
32655 ac_ext=cpp
32656 ac_cpp='$CXXCPP $CPPFLAGS'
32657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32660
32661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32662 /* end confdefs.h. */
32663 #include <math.h>
32664 int
32665 main ()
32666 {
32667 _sincosl(0, 0, 0);
32668 ;
32669 return 0;
32670 }
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func__sincosl_use=yes
32674 else
32675 glibcxx_cv_func__sincosl_use=no
32676 fi
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683
32684
32685 fi
32686
32687 fi
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32689 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32690
32691 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32692 for ac_func in _sincosl
32693 do :
32694 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32695 if test "x$ac_cv_func__sincosl" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE__SINCOSL 1
32698 _ACEOF
32699
32700 fi
32701 done
32702
32703 fi
32704 fi
32705
32706
32707
32708
32709
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32711 $as_echo_n "checking for finitel declaration... " >&6; }
32712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32713 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32714 $as_echo_n "(cached) " >&6
32715 else
32716
32717
32718 ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32723
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <math.h>
32727 #ifdef HAVE_IEEEFP_H
32728 #include <ieeefp.h>
32729 #endif
32730
32731 int
32732 main ()
32733 {
32734 finitel(0);
32735 ;
32736 return 0;
32737 }
32738 _ACEOF
32739 if ac_fn_cxx_try_compile "$LINENO"; then :
32740 glibcxx_cv_func_finitel_use=yes
32741 else
32742 glibcxx_cv_func_finitel_use=no
32743 fi
32744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32745 ac_ext=c
32746 ac_cpp='$CPP $CPPFLAGS'
32747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32750
32751
32752 fi
32753
32754 fi
32755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32756 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32757
32758 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32759 for ac_func in finitel
32760 do :
32761 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32762 if test "x$ac_cv_func_finitel" = x""yes; then :
32763 cat >>confdefs.h <<_ACEOF
32764 #define HAVE_FINITEL 1
32765 _ACEOF
32766
32767 fi
32768 done
32769
32770 else
32771
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32773 $as_echo_n "checking for _finitel declaration... " >&6; }
32774 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32775 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32778
32779
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32789 #ifdef HAVE_IEEEFP_H
32790 #include <ieeefp.h>
32791 #endif
32792
32793 int
32794 main ()
32795 {
32796 _finitel(0);
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 if ac_fn_cxx_try_compile "$LINENO"; then :
32802 glibcxx_cv_func__finitel_use=yes
32803 else
32804 glibcxx_cv_func__finitel_use=no
32805 fi
32806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812
32813
32814 fi
32815
32816 fi
32817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32818 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32819
32820 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32821 for ac_func in _finitel
32822 do :
32823 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32824 if test "x$ac_cv_func__finitel" = x""yes; then :
32825 cat >>confdefs.h <<_ACEOF
32826 #define HAVE__FINITEL 1
32827 _ACEOF
32828
32829 fi
32830 done
32831
32832 fi
32833 fi
32834
32835
32836
32837
32838 LIBS="$ac_save_LIBS"
32839 CXXFLAGS="$ac_save_CXXFLAGS"
32840
32841
32842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32843 ac_save_CXXFLAGS="$CXXFLAGS"
32844 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32845
32846
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32848 $as_echo_n "checking for strtold declaration... " >&6; }
32849 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32850 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32851 $as_echo_n "(cached) " >&6
32852 else
32853
32854
32855 ac_ext=cpp
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860
32861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32862 /* end confdefs.h. */
32863 #include <stdlib.h>
32864 int
32865 main ()
32866 {
32867 strtold(0, 0);
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 if ac_fn_cxx_try_compile "$LINENO"; then :
32873 glibcxx_cv_func_strtold_use=yes
32874 else
32875 glibcxx_cv_func_strtold_use=no
32876 fi
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32883
32884
32885 fi
32886
32887 fi
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32889 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32890 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32891 for ac_func in strtold
32892 do :
32893 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32894 if test "x$ac_cv_func_strtold" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_STRTOLD 1
32897 _ACEOF
32898
32899 fi
32900 done
32901
32902 fi
32903
32904
32905
32906
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32908 $as_echo_n "checking for strtof declaration... " >&6; }
32909 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32910 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32911 $as_echo_n "(cached) " >&6
32912 else
32913
32914
32915 ac_ext=cpp
32916 ac_cpp='$CXXCPP $CPPFLAGS'
32917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32920
32921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922 /* end confdefs.h. */
32923 #include <stdlib.h>
32924 int
32925 main ()
32926 {
32927 strtof(0, 0);
32928 ;
32929 return 0;
32930 }
32931 _ACEOF
32932 if ac_fn_cxx_try_compile "$LINENO"; then :
32933 glibcxx_cv_func_strtof_use=yes
32934 else
32935 glibcxx_cv_func_strtof_use=no
32936 fi
32937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32938 ac_ext=c
32939 ac_cpp='$CPP $CPPFLAGS'
32940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32943
32944
32945 fi
32946
32947 fi
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32949 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32950 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32951 for ac_func in strtof
32952 do :
32953 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32954 if test "x$ac_cv_func_strtof" = x""yes; then :
32955 cat >>confdefs.h <<_ACEOF
32956 #define HAVE_STRTOF 1
32957 _ACEOF
32958
32959 fi
32960 done
32961
32962 fi
32963
32964
32965
32966
32967 CXXFLAGS="$ac_save_CXXFLAGS"
32968
32969
32970 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32971
32972 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32973
32974 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32975
32976 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32977
32978
32979 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32980
32981 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32982
32983 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32984
32985 ;;
32986
32987 *-aix*)
32988
32989 # If we're not using GNU ld, then there's no point in even trying these
32990 # tests. Check for that first. We should have already tested for gld
32991 # by now (in libtool), but require it now just to be safe...
32992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32994
32995
32996
32997 # The name set by libtool depends on the version of libtool. Shame on us
32998 # for depending on an impl detail, but c'est la vie. Older versions used
32999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33002 # set (hence we're using an older libtool), then set it.
33003 if test x${with_gnu_ld+set} != xset; then
33004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33006 with_gnu_ld=no
33007 else
33008 with_gnu_ld=$ac_cv_prog_gnu_ld
33009 fi
33010 fi
33011
33012 # Start by getting the version number. I think the libtool test already
33013 # does some of this, but throws away the result.
33014 glibcxx_ld_is_gold=no
33015 if test x"$with_gnu_ld" = x"yes"; then
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33017 $as_echo_n "checking for ld version... " >&6; }
33018
33019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33020 glibcxx_ld_is_gold=yes
33021 fi
33022 ldver=`$LD --version 2>/dev/null |
33023 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'`
33024
33025 glibcxx_gnu_ld_version=`echo $ldver | \
33026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33029 fi
33030
33031 # Set --gc-sections.
33032 glibcxx_have_gc_sections=no
33033 if test "$glibcxx_ld_is_gold" = "yes"; then
33034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33035 glibcxx_have_gc_sections=yes
33036 fi
33037 else
33038 glibcxx_gcsections_min_ld=21602
33039 if test x"$with_gnu_ld" = x"yes" &&
33040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33041 glibcxx_have_gc_sections=yes
33042 fi
33043 fi
33044 if test "$glibcxx_have_gc_sections" = "yes"; then
33045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33046 # NB: This flag only works reliably after 2.16.1. Configure tests
33047 # for this are difficult, so hard wire a value that should work.
33048
33049 ac_test_CFLAGS="${CFLAGS+set}"
33050 ac_save_CFLAGS="$CFLAGS"
33051 CFLAGS='-Wl,--gc-sections'
33052
33053 # Check for -Wl,--gc-sections
33054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33056 if test x$gcc_no_link = xyes; then
33057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33058 fi
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 int one(void) { return 1; }
33062 int two(void) { return 2; }
33063
33064 int
33065 main ()
33066 {
33067 two();
33068 ;
33069 return 0;
33070 }
33071 _ACEOF
33072 if ac_fn_c_try_link "$LINENO"; then :
33073 ac_gcsections=yes
33074 else
33075 ac_gcsections=no
33076 fi
33077 rm -f core conftest.err conftest.$ac_objext \
33078 conftest$ac_exeext conftest.$ac_ext
33079 if test "$ac_gcsections" = "yes"; then
33080 rm -f conftest.c
33081 touch conftest.c
33082 if $CC -c conftest.c; then
33083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33084 grep "Warning: gc-sections option ignored" > /dev/null; then
33085 ac_gcsections=no
33086 fi
33087 fi
33088 rm -f conftest.c conftest.o conftest
33089 fi
33090 if test "$ac_gcsections" = "yes"; then
33091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33092 fi
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33094 $as_echo "$ac_gcsections" >&6; }
33095
33096 if test "$ac_test_CFLAGS" = set; then
33097 CFLAGS="$ac_save_CFLAGS"
33098 else
33099 # this is the suspicious part
33100 CFLAGS=''
33101 fi
33102 fi
33103
33104 # Set -z,relro.
33105 # Note this is only for shared objects.
33106 ac_ld_relro=no
33107 if test x"$with_gnu_ld" = x"yes"; then
33108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33111 if test -n "$cxx_z_relo"; then
33112 OPT_LDFLAGS="-Wl,-z,relro"
33113 ac_ld_relro=yes
33114 fi
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33116 $as_echo "$ac_ld_relro" >&6; }
33117 fi
33118
33119 # Set linker optimization flags.
33120 if test x"$with_gnu_ld" = x"yes"; then
33121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33122 fi
33123
33124
33125
33126
33127
33128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33129 ac_save_CXXFLAGS="$CXXFLAGS"
33130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33131
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33133 $as_echo_n "checking for sin in -lm... " >&6; }
33134 if test "${ac_cv_lib_m_sin+set}" = set; then :
33135 $as_echo_n "(cached) " >&6
33136 else
33137 ac_check_lib_save_LIBS=$LIBS
33138 LIBS="-lm $LIBS"
33139 if test x$gcc_no_link = xyes; then
33140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33141 fi
33142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33143 /* end confdefs.h. */
33144
33145 /* Override any GCC internal prototype to avoid an error.
33146 Use char because int might match the return type of a GCC
33147 builtin and then its argument prototype would still apply. */
33148 #ifdef __cplusplus
33149 extern "C"
33150 #endif
33151 char sin ();
33152 int
33153 main ()
33154 {
33155 return sin ();
33156 ;
33157 return 0;
33158 }
33159 _ACEOF
33160 if ac_fn_c_try_link "$LINENO"; then :
33161 ac_cv_lib_m_sin=yes
33162 else
33163 ac_cv_lib_m_sin=no
33164 fi
33165 rm -f core conftest.err conftest.$ac_objext \
33166 conftest$ac_exeext conftest.$ac_ext
33167 LIBS=$ac_check_lib_save_LIBS
33168 fi
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33170 $as_echo "$ac_cv_lib_m_sin" >&6; }
33171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33172 libm="-lm"
33173 fi
33174
33175 ac_save_LIBS="$LIBS"
33176 LIBS="$LIBS $libm"
33177
33178
33179
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33181 $as_echo_n "checking for isinf declaration... " >&6; }
33182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33186
33187
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33193
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33197 #ifdef HAVE_IEEEFP_H
33198 #include <ieeefp.h>
33199 #endif
33200
33201 int
33202 main ()
33203 {
33204 isinf(0);
33205 ;
33206 return 0;
33207 }
33208 _ACEOF
33209 if ac_fn_cxx_try_compile "$LINENO"; then :
33210 glibcxx_cv_func_isinf_use=yes
33211 else
33212 glibcxx_cv_func_isinf_use=no
33213 fi
33214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 ac_ext=c
33216 ac_cpp='$CPP $CPPFLAGS'
33217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33220
33221
33222 fi
33223
33224 fi
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33227
33228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33229 for ac_func in isinf
33230 do :
33231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33232 if test "x$ac_cv_func_isinf" = x""yes; then :
33233 cat >>confdefs.h <<_ACEOF
33234 #define HAVE_ISINF 1
33235 _ACEOF
33236
33237 fi
33238 done
33239
33240 else
33241
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33243 $as_echo_n "checking for _isinf declaration... " >&6; }
33244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33246 $as_echo_n "(cached) " >&6
33247 else
33248
33249
33250 ac_ext=cpp
33251 ac_cpp='$CXXCPP $CPPFLAGS'
33252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33255
33256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33257 /* end confdefs.h. */
33258 #include <math.h>
33259 #ifdef HAVE_IEEEFP_H
33260 #include <ieeefp.h>
33261 #endif
33262
33263 int
33264 main ()
33265 {
33266 _isinf(0);
33267 ;
33268 return 0;
33269 }
33270 _ACEOF
33271 if ac_fn_cxx_try_compile "$LINENO"; then :
33272 glibcxx_cv_func__isinf_use=yes
33273 else
33274 glibcxx_cv_func__isinf_use=no
33275 fi
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33277 ac_ext=c
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33282
33283
33284 fi
33285
33286 fi
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33289
33290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33291 for ac_func in _isinf
33292 do :
33293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33294 if test "x$ac_cv_func__isinf" = x""yes; then :
33295 cat >>confdefs.h <<_ACEOF
33296 #define HAVE__ISINF 1
33297 _ACEOF
33298
33299 fi
33300 done
33301
33302 fi
33303 fi
33304
33305
33306
33307
33308
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33310 $as_echo_n "checking for isnan declaration... " >&6; }
33311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33313 $as_echo_n "(cached) " >&6
33314 else
33315
33316
33317 ac_ext=cpp
33318 ac_cpp='$CXXCPP $CPPFLAGS'
33319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33322
33323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33324 /* end confdefs.h. */
33325 #include <math.h>
33326 #ifdef HAVE_IEEEFP_H
33327 #include <ieeefp.h>
33328 #endif
33329
33330 int
33331 main ()
33332 {
33333 isnan(0);
33334 ;
33335 return 0;
33336 }
33337 _ACEOF
33338 if ac_fn_cxx_try_compile "$LINENO"; then :
33339 glibcxx_cv_func_isnan_use=yes
33340 else
33341 glibcxx_cv_func_isnan_use=no
33342 fi
33343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33344 ac_ext=c
33345 ac_cpp='$CPP $CPPFLAGS'
33346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33349
33350
33351 fi
33352
33353 fi
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33356
33357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33358 for ac_func in isnan
33359 do :
33360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33361 if test "x$ac_cv_func_isnan" = x""yes; then :
33362 cat >>confdefs.h <<_ACEOF
33363 #define HAVE_ISNAN 1
33364 _ACEOF
33365
33366 fi
33367 done
33368
33369 else
33370
33371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33372 $as_echo_n "checking for _isnan declaration... " >&6; }
33373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33375 $as_echo_n "(cached) " >&6
33376 else
33377
33378
33379 ac_ext=cpp
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33384
33385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33386 /* end confdefs.h. */
33387 #include <math.h>
33388 #ifdef HAVE_IEEEFP_H
33389 #include <ieeefp.h>
33390 #endif
33391
33392 int
33393 main ()
33394 {
33395 _isnan(0);
33396 ;
33397 return 0;
33398 }
33399 _ACEOF
33400 if ac_fn_cxx_try_compile "$LINENO"; then :
33401 glibcxx_cv_func__isnan_use=yes
33402 else
33403 glibcxx_cv_func__isnan_use=no
33404 fi
33405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33406 ac_ext=c
33407 ac_cpp='$CPP $CPPFLAGS'
33408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33411
33412
33413 fi
33414
33415 fi
33416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33418
33419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33420 for ac_func in _isnan
33421 do :
33422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33423 if test "x$ac_cv_func__isnan" = x""yes; then :
33424 cat >>confdefs.h <<_ACEOF
33425 #define HAVE__ISNAN 1
33426 _ACEOF
33427
33428 fi
33429 done
33430
33431 fi
33432 fi
33433
33434
33435
33436
33437
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33439 $as_echo_n "checking for finite declaration... " >&6; }
33440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33442 $as_echo_n "(cached) " >&6
33443 else
33444
33445
33446 ac_ext=cpp
33447 ac_cpp='$CXXCPP $CPPFLAGS'
33448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33451
33452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453 /* end confdefs.h. */
33454 #include <math.h>
33455 #ifdef HAVE_IEEEFP_H
33456 #include <ieeefp.h>
33457 #endif
33458
33459 int
33460 main ()
33461 {
33462 finite(0);
33463 ;
33464 return 0;
33465 }
33466 _ACEOF
33467 if ac_fn_cxx_try_compile "$LINENO"; then :
33468 glibcxx_cv_func_finite_use=yes
33469 else
33470 glibcxx_cv_func_finite_use=no
33471 fi
33472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33473 ac_ext=c
33474 ac_cpp='$CPP $CPPFLAGS'
33475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33478
33479
33480 fi
33481
33482 fi
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33485
33486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33487 for ac_func in finite
33488 do :
33489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33490 if test "x$ac_cv_func_finite" = x""yes; then :
33491 cat >>confdefs.h <<_ACEOF
33492 #define HAVE_FINITE 1
33493 _ACEOF
33494
33495 fi
33496 done
33497
33498 else
33499
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33501 $as_echo_n "checking for _finite declaration... " >&6; }
33502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33504 $as_echo_n "(cached) " >&6
33505 else
33506
33507
33508 ac_ext=cpp
33509 ac_cpp='$CXXCPP $CPPFLAGS'
33510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33513
33514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33515 /* end confdefs.h. */
33516 #include <math.h>
33517 #ifdef HAVE_IEEEFP_H
33518 #include <ieeefp.h>
33519 #endif
33520
33521 int
33522 main ()
33523 {
33524 _finite(0);
33525 ;
33526 return 0;
33527 }
33528 _ACEOF
33529 if ac_fn_cxx_try_compile "$LINENO"; then :
33530 glibcxx_cv_func__finite_use=yes
33531 else
33532 glibcxx_cv_func__finite_use=no
33533 fi
33534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33535 ac_ext=c
33536 ac_cpp='$CPP $CPPFLAGS'
33537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33540
33541
33542 fi
33543
33544 fi
33545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33547
33548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33549 for ac_func in _finite
33550 do :
33551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33552 if test "x$ac_cv_func__finite" = x""yes; then :
33553 cat >>confdefs.h <<_ACEOF
33554 #define HAVE__FINITE 1
33555 _ACEOF
33556
33557 fi
33558 done
33559
33560 fi
33561 fi
33562
33563
33564
33565
33566
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33568 $as_echo_n "checking for sincos declaration... " >&6; }
33569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33571 $as_echo_n "(cached) " >&6
33572 else
33573
33574
33575 ac_ext=cpp
33576 ac_cpp='$CXXCPP $CPPFLAGS'
33577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580
33581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33582 /* end confdefs.h. */
33583 #include <math.h>
33584 int
33585 main ()
33586 {
33587 sincos(0, 0, 0);
33588 ;
33589 return 0;
33590 }
33591 _ACEOF
33592 if ac_fn_cxx_try_compile "$LINENO"; then :
33593 glibcxx_cv_func_sincos_use=yes
33594 else
33595 glibcxx_cv_func_sincos_use=no
33596 fi
33597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33598 ac_ext=c
33599 ac_cpp='$CPP $CPPFLAGS'
33600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33603
33604
33605 fi
33606
33607 fi
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33610
33611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33612 for ac_func in sincos
33613 do :
33614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33615 if test "x$ac_cv_func_sincos" = x""yes; then :
33616 cat >>confdefs.h <<_ACEOF
33617 #define HAVE_SINCOS 1
33618 _ACEOF
33619
33620 fi
33621 done
33622
33623 else
33624
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33626 $as_echo_n "checking for _sincos declaration... " >&6; }
33627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33629 $as_echo_n "(cached) " >&6
33630 else
33631
33632
33633 ac_ext=cpp
33634 ac_cpp='$CXXCPP $CPPFLAGS'
33635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33638
33639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h. */
33641 #include <math.h>
33642 int
33643 main ()
33644 {
33645 _sincos(0, 0, 0);
33646 ;
33647 return 0;
33648 }
33649 _ACEOF
33650 if ac_fn_cxx_try_compile "$LINENO"; then :
33651 glibcxx_cv_func__sincos_use=yes
33652 else
33653 glibcxx_cv_func__sincos_use=no
33654 fi
33655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33656 ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662
33663 fi
33664
33665 fi
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33668
33669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33670 for ac_func in _sincos
33671 do :
33672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33673 if test "x$ac_cv_func__sincos" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define HAVE__SINCOS 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681 fi
33682 fi
33683
33684
33685
33686
33687
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33689 $as_echo_n "checking for fpclass declaration... " >&6; }
33690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33692 $as_echo_n "(cached) " >&6
33693 else
33694
33695
33696 ac_ext=cpp
33697 ac_cpp='$CXXCPP $CPPFLAGS'
33698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701
33702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33703 /* end confdefs.h. */
33704 #include <math.h>
33705 #ifdef HAVE_IEEEFP_H
33706 #include <ieeefp.h>
33707 #endif
33708
33709 int
33710 main ()
33711 {
33712 fpclass(0);
33713 ;
33714 return 0;
33715 }
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718 glibcxx_cv_func_fpclass_use=yes
33719 else
33720 glibcxx_cv_func_fpclass_use=no
33721 fi
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723 ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728
33729
33730 fi
33731
33732 fi
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33735
33736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33737 for ac_func in fpclass
33738 do :
33739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33740 if test "x$ac_cv_func_fpclass" = x""yes; then :
33741 cat >>confdefs.h <<_ACEOF
33742 #define HAVE_FPCLASS 1
33743 _ACEOF
33744
33745 fi
33746 done
33747
33748 else
33749
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33751 $as_echo_n "checking for _fpclass declaration... " >&6; }
33752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33754 $as_echo_n "(cached) " >&6
33755 else
33756
33757
33758 ac_ext=cpp
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763
33764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33765 /* end confdefs.h. */
33766 #include <math.h>
33767 #ifdef HAVE_IEEEFP_H
33768 #include <ieeefp.h>
33769 #endif
33770
33771 int
33772 main ()
33773 {
33774 _fpclass(0);
33775 ;
33776 return 0;
33777 }
33778 _ACEOF
33779 if ac_fn_cxx_try_compile "$LINENO"; then :
33780 glibcxx_cv_func__fpclass_use=yes
33781 else
33782 glibcxx_cv_func__fpclass_use=no
33783 fi
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33785 ac_ext=c
33786 ac_cpp='$CPP $CPPFLAGS'
33787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33790
33791
33792 fi
33793
33794 fi
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33797
33798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33799 for ac_func in _fpclass
33800 do :
33801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33802 if test "x$ac_cv_func__fpclass" = x""yes; then :
33803 cat >>confdefs.h <<_ACEOF
33804 #define HAVE__FPCLASS 1
33805 _ACEOF
33806
33807 fi
33808 done
33809
33810 fi
33811 fi
33812
33813
33814
33815
33816
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33818 $as_echo_n "checking for qfpclass declaration... " >&6; }
33819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33821 $as_echo_n "(cached) " >&6
33822 else
33823
33824
33825 ac_ext=cpp
33826 ac_cpp='$CXXCPP $CPPFLAGS'
33827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830
33831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33832 /* end confdefs.h. */
33833 #include <math.h>
33834 #ifdef HAVE_IEEEFP_H
33835 #include <ieeefp.h>
33836 #endif
33837
33838 int
33839 main ()
33840 {
33841 qfpclass(0);
33842 ;
33843 return 0;
33844 }
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847 glibcxx_cv_func_qfpclass_use=yes
33848 else
33849 glibcxx_cv_func_qfpclass_use=no
33850 fi
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857
33858
33859 fi
33860
33861 fi
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33864
33865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33866 for ac_func in qfpclass
33867 do :
33868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33870 cat >>confdefs.h <<_ACEOF
33871 #define HAVE_QFPCLASS 1
33872 _ACEOF
33873
33874 fi
33875 done
33876
33877 else
33878
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33883 $as_echo_n "(cached) " >&6
33884 else
33885
33886
33887 ac_ext=cpp
33888 ac_cpp='$CXXCPP $CPPFLAGS'
33889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33892
33893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33894 /* end confdefs.h. */
33895 #include <math.h>
33896 #ifdef HAVE_IEEEFP_H
33897 #include <ieeefp.h>
33898 #endif
33899
33900 int
33901 main ()
33902 {
33903 _qfpclass(0);
33904 ;
33905 return 0;
33906 }
33907 _ACEOF
33908 if ac_fn_cxx_try_compile "$LINENO"; then :
33909 glibcxx_cv_func__qfpclass_use=yes
33910 else
33911 glibcxx_cv_func__qfpclass_use=no
33912 fi
33913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 ac_ext=c
33915 ac_cpp='$CPP $CPPFLAGS'
33916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919
33920
33921 fi
33922
33923 fi
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33926
33927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33928 for ac_func in _qfpclass
33929 do :
33930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33932 cat >>confdefs.h <<_ACEOF
33933 #define HAVE__QFPCLASS 1
33934 _ACEOF
33935
33936 fi
33937 done
33938
33939 fi
33940 fi
33941
33942
33943
33944
33945
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33947 $as_echo_n "checking for hypot declaration... " >&6; }
33948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33950 $as_echo_n "(cached) " >&6
33951 else
33952
33953
33954 ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 #include <math.h>
33963 int
33964 main ()
33965 {
33966 hypot(0, 0);
33967 ;
33968 return 0;
33969 }
33970 _ACEOF
33971 if ac_fn_cxx_try_compile "$LINENO"; then :
33972 glibcxx_cv_func_hypot_use=yes
33973 else
33974 glibcxx_cv_func_hypot_use=no
33975 fi
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977 ac_ext=c
33978 ac_cpp='$CPP $CPPFLAGS'
33979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33982
33983
33984 fi
33985
33986 fi
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33989
33990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33991 for ac_func in hypot
33992 do :
33993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33994 if test "x$ac_cv_func_hypot" = x""yes; then :
33995 cat >>confdefs.h <<_ACEOF
33996 #define HAVE_HYPOT 1
33997 _ACEOF
33998
33999 fi
34000 done
34001
34002 else
34003
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34005 $as_echo_n "checking for _hypot declaration... " >&6; }
34006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34008 $as_echo_n "(cached) " >&6
34009 else
34010
34011
34012 ac_ext=cpp
34013 ac_cpp='$CXXCPP $CPPFLAGS'
34014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34017
34018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34019 /* end confdefs.h. */
34020 #include <math.h>
34021 int
34022 main ()
34023 {
34024 _hypot(0, 0);
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030 glibcxx_cv_func__hypot_use=yes
34031 else
34032 glibcxx_cv_func__hypot_use=no
34033 fi
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040
34041
34042 fi
34043
34044 fi
34045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34047
34048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34049 for ac_func in _hypot
34050 do :
34051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34052 if test "x$ac_cv_func__hypot" = x""yes; then :
34053 cat >>confdefs.h <<_ACEOF
34054 #define HAVE__HYPOT 1
34055 _ACEOF
34056
34057 fi
34058 done
34059
34060 fi
34061 fi
34062
34063
34064
34065
34066
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34068 $as_echo_n "checking for float trig functions... " >&6; }
34069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34070 $as_echo_n "(cached) " >&6
34071 else
34072
34073
34074 ac_ext=cpp
34075 ac_cpp='$CXXCPP $CPPFLAGS'
34076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34079
34080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h. */
34082 #include <math.h>
34083 int
34084 main ()
34085 {
34086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092 glibcxx_cv_func_float_trig_use=yes
34093 else
34094 glibcxx_cv_func_float_trig_use=no
34095 fi
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097 ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103 fi
34104
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34109 do :
34110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34112 eval as_val=\$$as_ac_var
34113 if test "x$as_val" = x""yes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34116 _ACEOF
34117
34118 fi
34119 done
34120
34121 else
34122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34123 $as_echo_n "checking for _float trig functions... " >&6; }
34124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34125 $as_echo_n "(cached) " >&6
34126 else
34127
34128
34129 ac_ext=cpp
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134
34135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34136 /* end confdefs.h. */
34137 #include <math.h>
34138 int
34139 main ()
34140 {
34141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34142 ;
34143 return 0;
34144 }
34145 _ACEOF
34146 if ac_fn_cxx_try_compile "$LINENO"; then :
34147 glibcxx_cv_func__float_trig_use=yes
34148 else
34149 glibcxx_cv_func__float_trig_use=no
34150 fi
34151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34152 ac_ext=c
34153 ac_cpp='$CPP $CPPFLAGS'
34154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34157
34158 fi
34159
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34164 do :
34165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34167 eval as_val=\$$as_ac_var
34168 if test "x$as_val" = x""yes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34171 _ACEOF
34172
34173 fi
34174 done
34175
34176 fi
34177 fi
34178
34179
34180
34181
34182
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34184 $as_echo_n "checking for float round functions... " >&6; }
34185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34188
34189
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34199 int
34200 main ()
34201 {
34202 ceilf (0); floorf (0);
34203 ;
34204 return 0;
34205 }
34206 _ACEOF
34207 if ac_fn_cxx_try_compile "$LINENO"; then :
34208 glibcxx_cv_func_float_round_use=yes
34209 else
34210 glibcxx_cv_func_float_round_use=no
34211 fi
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 ac_ext=c
34214 ac_cpp='$CPP $CPPFLAGS'
34215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34218
34219 fi
34220
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34224 for ac_func in ceilf floorf
34225 do :
34226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34228 eval as_val=\$$as_ac_var
34229 if test "x$as_val" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 _ACEOF
34233
34234 fi
34235 done
34236
34237 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34239 $as_echo_n "checking for _float round functions... " >&6; }
34240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34241 $as_echo_n "(cached) " >&6
34242 else
34243
34244
34245 ac_ext=cpp
34246 ac_cpp='$CXXCPP $CPPFLAGS'
34247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34250
34251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34252 /* end confdefs.h. */
34253 #include <math.h>
34254 int
34255 main ()
34256 {
34257 _ceilf (0); _floorf (0);
34258 ;
34259 return 0;
34260 }
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func__float_round_use=yes
34264 else
34265 glibcxx_cv_func__float_round_use=no
34266 fi
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34273
34274 fi
34275
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34279 for ac_func in _ceilf _floorf
34280 do :
34281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34283 eval as_val=\$$as_ac_var
34284 if test "x$as_val" = x""yes; then :
34285 cat >>confdefs.h <<_ACEOF
34286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34288
34289 fi
34290 done
34291
34292 fi
34293 fi
34294
34295
34296
34297
34298
34299
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34301 $as_echo_n "checking for expf declaration... " >&6; }
34302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34306
34307
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34313
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34317 #ifdef HAVE_IEEEFP_H
34318 #include <ieeefp.h>
34319 #endif
34320
34321 int
34322 main ()
34323 {
34324 expf(0);
34325 ;
34326 return 0;
34327 }
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330 glibcxx_cv_func_expf_use=yes
34331 else
34332 glibcxx_cv_func_expf_use=no
34333 fi
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335 ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340
34341
34342 fi
34343
34344 fi
34345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34347
34348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34349 for ac_func in expf
34350 do :
34351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34352 if test "x$ac_cv_func_expf" = x""yes; then :
34353 cat >>confdefs.h <<_ACEOF
34354 #define HAVE_EXPF 1
34355 _ACEOF
34356
34357 fi
34358 done
34359
34360 else
34361
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34363 $as_echo_n "checking for _expf declaration... " >&6; }
34364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34366 $as_echo_n "(cached) " >&6
34367 else
34368
34369
34370 ac_ext=cpp
34371 ac_cpp='$CXXCPP $CPPFLAGS'
34372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375
34376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34377 /* end confdefs.h. */
34378 #include <math.h>
34379 #ifdef HAVE_IEEEFP_H
34380 #include <ieeefp.h>
34381 #endif
34382
34383 int
34384 main ()
34385 {
34386 _expf(0);
34387 ;
34388 return 0;
34389 }
34390 _ACEOF
34391 if ac_fn_cxx_try_compile "$LINENO"; then :
34392 glibcxx_cv_func__expf_use=yes
34393 else
34394 glibcxx_cv_func__expf_use=no
34395 fi
34396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34397 ac_ext=c
34398 ac_cpp='$CPP $CPPFLAGS'
34399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402
34403
34404 fi
34405
34406 fi
34407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34409
34410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34411 for ac_func in _expf
34412 do :
34413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34414 if test "x$ac_cv_func__expf" = x""yes; then :
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE__EXPF 1
34417 _ACEOF
34418
34419 fi
34420 done
34421
34422 fi
34423 fi
34424
34425
34426
34427
34428
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34430 $as_echo_n "checking for isnanf declaration... " >&6; }
34431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34433 $as_echo_n "(cached) " >&6
34434 else
34435
34436
34437 ac_ext=cpp
34438 ac_cpp='$CXXCPP $CPPFLAGS'
34439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34442
34443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34444 /* end confdefs.h. */
34445 #include <math.h>
34446 #ifdef HAVE_IEEEFP_H
34447 #include <ieeefp.h>
34448 #endif
34449
34450 int
34451 main ()
34452 {
34453 isnanf(0);
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 if ac_fn_cxx_try_compile "$LINENO"; then :
34459 glibcxx_cv_func_isnanf_use=yes
34460 else
34461 glibcxx_cv_func_isnanf_use=no
34462 fi
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464 ac_ext=c
34465 ac_cpp='$CPP $CPPFLAGS'
34466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469
34470
34471 fi
34472
34473 fi
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34476
34477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34478 for ac_func in isnanf
34479 do :
34480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34481 if test "x$ac_cv_func_isnanf" = x""yes; then :
34482 cat >>confdefs.h <<_ACEOF
34483 #define HAVE_ISNANF 1
34484 _ACEOF
34485
34486 fi
34487 done
34488
34489 else
34490
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34492 $as_echo_n "checking for _isnanf declaration... " >&6; }
34493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34495 $as_echo_n "(cached) " >&6
34496 else
34497
34498
34499 ac_ext=cpp
34500 ac_cpp='$CXXCPP $CPPFLAGS'
34501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34504
34505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34506 /* end confdefs.h. */
34507 #include <math.h>
34508 #ifdef HAVE_IEEEFP_H
34509 #include <ieeefp.h>
34510 #endif
34511
34512 int
34513 main ()
34514 {
34515 _isnanf(0);
34516 ;
34517 return 0;
34518 }
34519 _ACEOF
34520 if ac_fn_cxx_try_compile "$LINENO"; then :
34521 glibcxx_cv_func__isnanf_use=yes
34522 else
34523 glibcxx_cv_func__isnanf_use=no
34524 fi
34525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526 ac_ext=c
34527 ac_cpp='$CPP $CPPFLAGS'
34528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531
34532
34533 fi
34534
34535 fi
34536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34538
34539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34540 for ac_func in _isnanf
34541 do :
34542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34543 if test "x$ac_cv_func__isnanf" = x""yes; then :
34544 cat >>confdefs.h <<_ACEOF
34545 #define HAVE__ISNANF 1
34546 _ACEOF
34547
34548 fi
34549 done
34550
34551 fi
34552 fi
34553
34554
34555
34556
34557
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34559 $as_echo_n "checking for isinff declaration... " >&6; }
34560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34562 $as_echo_n "(cached) " >&6
34563 else
34564
34565
34566 ac_ext=cpp
34567 ac_cpp='$CXXCPP $CPPFLAGS'
34568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571
34572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h. */
34574 #include <math.h>
34575 #ifdef HAVE_IEEEFP_H
34576 #include <ieeefp.h>
34577 #endif
34578
34579 int
34580 main ()
34581 {
34582 isinff(0);
34583 ;
34584 return 0;
34585 }
34586 _ACEOF
34587 if ac_fn_cxx_try_compile "$LINENO"; then :
34588 glibcxx_cv_func_isinff_use=yes
34589 else
34590 glibcxx_cv_func_isinff_use=no
34591 fi
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593 ac_ext=c
34594 ac_cpp='$CPP $CPPFLAGS'
34595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598
34599
34600 fi
34601
34602 fi
34603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34605
34606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34607 for ac_func in isinff
34608 do :
34609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34610 if test "x$ac_cv_func_isinff" = x""yes; then :
34611 cat >>confdefs.h <<_ACEOF
34612 #define HAVE_ISINFF 1
34613 _ACEOF
34614
34615 fi
34616 done
34617
34618 else
34619
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34621 $as_echo_n "checking for _isinff declaration... " >&6; }
34622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34626
34627
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34633
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34637 #ifdef HAVE_IEEEFP_H
34638 #include <ieeefp.h>
34639 #endif
34640
34641 int
34642 main ()
34643 {
34644 _isinff(0);
34645 ;
34646 return 0;
34647 }
34648 _ACEOF
34649 if ac_fn_cxx_try_compile "$LINENO"; then :
34650 glibcxx_cv_func__isinff_use=yes
34651 else
34652 glibcxx_cv_func__isinff_use=no
34653 fi
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655 ac_ext=c
34656 ac_cpp='$CPP $CPPFLAGS'
34657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34660
34661
34662 fi
34663
34664 fi
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34667
34668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34669 for ac_func in _isinff
34670 do :
34671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34672 if test "x$ac_cv_func__isinff" = x""yes; then :
34673 cat >>confdefs.h <<_ACEOF
34674 #define HAVE__ISINFF 1
34675 _ACEOF
34676
34677 fi
34678 done
34679
34680 fi
34681 fi
34682
34683
34684
34685
34686
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34688 $as_echo_n "checking for atan2f declaration... " >&6; }
34689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34691 $as_echo_n "(cached) " >&6
34692 else
34693
34694
34695 ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34703 #include <math.h>
34704 int
34705 main ()
34706 {
34707 atan2f(0, 0);
34708 ;
34709 return 0;
34710 }
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713 glibcxx_cv_func_atan2f_use=yes
34714 else
34715 glibcxx_cv_func_atan2f_use=no
34716 fi
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723
34724
34725 fi
34726
34727 fi
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34730
34731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34732 for ac_func in atan2f
34733 do :
34734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34735 if test "x$ac_cv_func_atan2f" = x""yes; then :
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE_ATAN2F 1
34738 _ACEOF
34739
34740 fi
34741 done
34742
34743 else
34744
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34746 $as_echo_n "checking for _atan2f declaration... " >&6; }
34747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34749 $as_echo_n "(cached) " >&6
34750 else
34751
34752
34753 ac_ext=cpp
34754 ac_cpp='$CXXCPP $CPPFLAGS'
34755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34758
34759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34760 /* end confdefs.h. */
34761 #include <math.h>
34762 int
34763 main ()
34764 {
34765 _atan2f(0, 0);
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func__atan2f_use=yes
34772 else
34773 glibcxx_cv_func__atan2f_use=no
34774 fi
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781
34782
34783 fi
34784
34785 fi
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34788
34789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34790 for ac_func in _atan2f
34791 do :
34792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34793 if test "x$ac_cv_func__atan2f" = x""yes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE__ATAN2F 1
34796 _ACEOF
34797
34798 fi
34799 done
34800
34801 fi
34802 fi
34803
34804
34805
34806
34807
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34809 $as_echo_n "checking for fabsf declaration... " >&6; }
34810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34814
34815
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34825 #ifdef HAVE_IEEEFP_H
34826 #include <ieeefp.h>
34827 #endif
34828
34829 int
34830 main ()
34831 {
34832 fabsf(0);
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func_fabsf_use=yes
34839 else
34840 glibcxx_cv_func_fabsf_use=no
34841 fi
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848
34849
34850 fi
34851
34852 fi
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34855
34856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34857 for ac_func in fabsf
34858 do :
34859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34860 if test "x$ac_cv_func_fabsf" = x""yes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE_FABSF 1
34863 _ACEOF
34864
34865 fi
34866 done
34867
34868 else
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34871 $as_echo_n "checking for _fabsf declaration... " >&6; }
34872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34876
34877
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 #ifdef HAVE_IEEEFP_H
34888 #include <ieeefp.h>
34889 #endif
34890
34891 int
34892 main ()
34893 {
34894 _fabsf(0);
34895 ;
34896 return 0;
34897 }
34898 _ACEOF
34899 if ac_fn_cxx_try_compile "$LINENO"; then :
34900 glibcxx_cv_func__fabsf_use=yes
34901 else
34902 glibcxx_cv_func__fabsf_use=no
34903 fi
34904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905 ac_ext=c
34906 ac_cpp='$CPP $CPPFLAGS'
34907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34910
34911
34912 fi
34913
34914 fi
34915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34917
34918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34919 for ac_func in _fabsf
34920 do :
34921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34922 if test "x$ac_cv_func__fabsf" = x""yes; then :
34923 cat >>confdefs.h <<_ACEOF
34924 #define HAVE__FABSF 1
34925 _ACEOF
34926
34927 fi
34928 done
34929
34930 fi
34931 fi
34932
34933
34934
34935
34936
34937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34938 $as_echo_n "checking for fmodf declaration... " >&6; }
34939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34941 $as_echo_n "(cached) " >&6
34942 else
34943
34944
34945 ac_ext=cpp
34946 ac_cpp='$CXXCPP $CPPFLAGS'
34947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34950
34951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34952 /* end confdefs.h. */
34953 #include <math.h>
34954 int
34955 main ()
34956 {
34957 fmodf(0, 0);
34958 ;
34959 return 0;
34960 }
34961 _ACEOF
34962 if ac_fn_cxx_try_compile "$LINENO"; then :
34963 glibcxx_cv_func_fmodf_use=yes
34964 else
34965 glibcxx_cv_func_fmodf_use=no
34966 fi
34967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34968 ac_ext=c
34969 ac_cpp='$CPP $CPPFLAGS'
34970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34973
34974
34975 fi
34976
34977 fi
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34980
34981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34982 for ac_func in fmodf
34983 do :
34984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34985 if test "x$ac_cv_func_fmodf" = x""yes; then :
34986 cat >>confdefs.h <<_ACEOF
34987 #define HAVE_FMODF 1
34988 _ACEOF
34989
34990 fi
34991 done
34992
34993 else
34994
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34996 $as_echo_n "checking for _fmodf declaration... " >&6; }
34997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35001
35002
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35012 int
35013 main ()
35014 {
35015 _fmodf(0, 0);
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021 glibcxx_cv_func__fmodf_use=yes
35022 else
35023 glibcxx_cv_func__fmodf_use=no
35024 fi
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031
35032
35033 fi
35034
35035 fi
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35038
35039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35040 for ac_func in _fmodf
35041 do :
35042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35043 if test "x$ac_cv_func__fmodf" = x""yes; then :
35044 cat >>confdefs.h <<_ACEOF
35045 #define HAVE__FMODF 1
35046 _ACEOF
35047
35048 fi
35049 done
35050
35051 fi
35052 fi
35053
35054
35055
35056
35057
35058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35059 $as_echo_n "checking for frexpf declaration... " >&6; }
35060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35062 $as_echo_n "(cached) " >&6
35063 else
35064
35065
35066 ac_ext=cpp
35067 ac_cpp='$CXXCPP $CPPFLAGS'
35068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35071
35072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35073 /* end confdefs.h. */
35074 #include <math.h>
35075 int
35076 main ()
35077 {
35078 frexpf(0, 0);
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084 glibcxx_cv_func_frexpf_use=yes
35085 else
35086 glibcxx_cv_func_frexpf_use=no
35087 fi
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089 ac_ext=c
35090 ac_cpp='$CPP $CPPFLAGS'
35091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35094
35095
35096 fi
35097
35098 fi
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35101
35102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35103 for ac_func in frexpf
35104 do :
35105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35106 if test "x$ac_cv_func_frexpf" = x""yes; then :
35107 cat >>confdefs.h <<_ACEOF
35108 #define HAVE_FREXPF 1
35109 _ACEOF
35110
35111 fi
35112 done
35113
35114 else
35115
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35117 $as_echo_n "checking for _frexpf declaration... " >&6; }
35118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35122
35123
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35133 int
35134 main ()
35135 {
35136 _frexpf(0, 0);
35137 ;
35138 return 0;
35139 }
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142 glibcxx_cv_func__frexpf_use=yes
35143 else
35144 glibcxx_cv_func__frexpf_use=no
35145 fi
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35152
35153
35154 fi
35155
35156 fi
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35159
35160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35161 for ac_func in _frexpf
35162 do :
35163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35164 if test "x$ac_cv_func__frexpf" = x""yes; then :
35165 cat >>confdefs.h <<_ACEOF
35166 #define HAVE__FREXPF 1
35167 _ACEOF
35168
35169 fi
35170 done
35171
35172 fi
35173 fi
35174
35175
35176
35177
35178
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35180 $as_echo_n "checking for hypotf declaration... " >&6; }
35181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35183 $as_echo_n "(cached) " >&6
35184 else
35185
35186
35187 ac_ext=cpp
35188 ac_cpp='$CXXCPP $CPPFLAGS'
35189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192
35193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35194 /* end confdefs.h. */
35195 #include <math.h>
35196 int
35197 main ()
35198 {
35199 hypotf(0, 0);
35200 ;
35201 return 0;
35202 }
35203 _ACEOF
35204 if ac_fn_cxx_try_compile "$LINENO"; then :
35205 glibcxx_cv_func_hypotf_use=yes
35206 else
35207 glibcxx_cv_func_hypotf_use=no
35208 fi
35209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35210 ac_ext=c
35211 ac_cpp='$CPP $CPPFLAGS'
35212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35215
35216
35217 fi
35218
35219 fi
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35222
35223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35224 for ac_func in hypotf
35225 do :
35226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35227 if test "x$ac_cv_func_hypotf" = x""yes; then :
35228 cat >>confdefs.h <<_ACEOF
35229 #define HAVE_HYPOTF 1
35230 _ACEOF
35231
35232 fi
35233 done
35234
35235 else
35236
35237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35238 $as_echo_n "checking for _hypotf declaration... " >&6; }
35239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35241 $as_echo_n "(cached) " >&6
35242 else
35243
35244
35245 ac_ext=cpp
35246 ac_cpp='$CXXCPP $CPPFLAGS'
35247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250
35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h. */
35253 #include <math.h>
35254 int
35255 main ()
35256 {
35257 _hypotf(0, 0);
35258 ;
35259 return 0;
35260 }
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263 glibcxx_cv_func__hypotf_use=yes
35264 else
35265 glibcxx_cv_func__hypotf_use=no
35266 fi
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268 ac_ext=c
35269 ac_cpp='$CPP $CPPFLAGS'
35270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35273
35274
35275 fi
35276
35277 fi
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35280
35281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35282 for ac_func in _hypotf
35283 do :
35284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35285 if test "x$ac_cv_func__hypotf" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define HAVE__HYPOTF 1
35288 _ACEOF
35289
35290 fi
35291 done
35292
35293 fi
35294 fi
35295
35296
35297
35298
35299
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35301 $as_echo_n "checking for ldexpf declaration... " >&6; }
35302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35304 $as_echo_n "(cached) " >&6
35305 else
35306
35307
35308 ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35313
35314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h. */
35316 #include <math.h>
35317 int
35318 main ()
35319 {
35320 ldexpf(0, 0);
35321 ;
35322 return 0;
35323 }
35324 _ACEOF
35325 if ac_fn_cxx_try_compile "$LINENO"; then :
35326 glibcxx_cv_func_ldexpf_use=yes
35327 else
35328 glibcxx_cv_func_ldexpf_use=no
35329 fi
35330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35331 ac_ext=c
35332 ac_cpp='$CPP $CPPFLAGS'
35333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336
35337
35338 fi
35339
35340 fi
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35343
35344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35345 for ac_func in ldexpf
35346 do :
35347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35349 cat >>confdefs.h <<_ACEOF
35350 #define HAVE_LDEXPF 1
35351 _ACEOF
35352
35353 fi
35354 done
35355
35356 else
35357
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35364
35365
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35371
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35375 int
35376 main ()
35377 {
35378 _ldexpf(0, 0);
35379 ;
35380 return 0;
35381 }
35382 _ACEOF
35383 if ac_fn_cxx_try_compile "$LINENO"; then :
35384 glibcxx_cv_func__ldexpf_use=yes
35385 else
35386 glibcxx_cv_func__ldexpf_use=no
35387 fi
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394
35395
35396 fi
35397
35398 fi
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35401
35402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35403 for ac_func in _ldexpf
35404 do :
35405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35407 cat >>confdefs.h <<_ACEOF
35408 #define HAVE__LDEXPF 1
35409 _ACEOF
35410
35411 fi
35412 done
35413
35414 fi
35415 fi
35416
35417
35418
35419
35420
35421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35422 $as_echo_n "checking for logf declaration... " >&6; }
35423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35425 $as_echo_n "(cached) " >&6
35426 else
35427
35428
35429 ac_ext=cpp
35430 ac_cpp='$CXXCPP $CPPFLAGS'
35431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35434
35435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35436 /* end confdefs.h. */
35437 #include <math.h>
35438 #ifdef HAVE_IEEEFP_H
35439 #include <ieeefp.h>
35440 #endif
35441
35442 int
35443 main ()
35444 {
35445 logf(0);
35446 ;
35447 return 0;
35448 }
35449 _ACEOF
35450 if ac_fn_cxx_try_compile "$LINENO"; then :
35451 glibcxx_cv_func_logf_use=yes
35452 else
35453 glibcxx_cv_func_logf_use=no
35454 fi
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35456 ac_ext=c
35457 ac_cpp='$CPP $CPPFLAGS'
35458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35461
35462
35463 fi
35464
35465 fi
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35468
35469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35470 for ac_func in logf
35471 do :
35472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35473 if test "x$ac_cv_func_logf" = x""yes; then :
35474 cat >>confdefs.h <<_ACEOF
35475 #define HAVE_LOGF 1
35476 _ACEOF
35477
35478 fi
35479 done
35480
35481 else
35482
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35484 $as_echo_n "checking for _logf declaration... " >&6; }
35485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35489
35490
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35496
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35500 #ifdef HAVE_IEEEFP_H
35501 #include <ieeefp.h>
35502 #endif
35503
35504 int
35505 main ()
35506 {
35507 _logf(0);
35508 ;
35509 return 0;
35510 }
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513 glibcxx_cv_func__logf_use=yes
35514 else
35515 glibcxx_cv_func__logf_use=no
35516 fi
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525 fi
35526
35527 fi
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35530
35531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35532 for ac_func in _logf
35533 do :
35534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35535 if test "x$ac_cv_func__logf" = x""yes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE__LOGF 1
35538 _ACEOF
35539
35540 fi
35541 done
35542
35543 fi
35544 fi
35545
35546
35547
35548
35549
35550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35551 $as_echo_n "checking for log10f declaration... " >&6; }
35552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35554 $as_echo_n "(cached) " >&6
35555 else
35556
35557
35558 ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35563
35564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h. */
35566 #include <math.h>
35567 #ifdef HAVE_IEEEFP_H
35568 #include <ieeefp.h>
35569 #endif
35570
35571 int
35572 main ()
35573 {
35574 log10f(0);
35575 ;
35576 return 0;
35577 }
35578 _ACEOF
35579 if ac_fn_cxx_try_compile "$LINENO"; then :
35580 glibcxx_cv_func_log10f_use=yes
35581 else
35582 glibcxx_cv_func_log10f_use=no
35583 fi
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35585 ac_ext=c
35586 ac_cpp='$CPP $CPPFLAGS'
35587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35590
35591
35592 fi
35593
35594 fi
35595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35597
35598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35599 for ac_func in log10f
35600 do :
35601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35602 if test "x$ac_cv_func_log10f" = x""yes; then :
35603 cat >>confdefs.h <<_ACEOF
35604 #define HAVE_LOG10F 1
35605 _ACEOF
35606
35607 fi
35608 done
35609
35610 else
35611
35612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35613 $as_echo_n "checking for _log10f declaration... " >&6; }
35614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35616 $as_echo_n "(cached) " >&6
35617 else
35618
35619
35620 ac_ext=cpp
35621 ac_cpp='$CXXCPP $CPPFLAGS'
35622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35625
35626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35632
35633 int
35634 main ()
35635 {
35636 _log10f(0);
35637 ;
35638 return 0;
35639 }
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func__log10f_use=yes
35643 else
35644 glibcxx_cv_func__log10f_use=no
35645 fi
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652
35653
35654 fi
35655
35656 fi
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35659
35660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35661 for ac_func in _log10f
35662 do :
35663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35664 if test "x$ac_cv_func__log10f" = x""yes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE__LOG10F 1
35667 _ACEOF
35668
35669 fi
35670 done
35671
35672 fi
35673 fi
35674
35675
35676
35677
35678
35679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35680 $as_echo_n "checking for modff declaration... " >&6; }
35681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35683 $as_echo_n "(cached) " >&6
35684 else
35685
35686
35687 ac_ext=cpp
35688 ac_cpp='$CXXCPP $CPPFLAGS'
35689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35692
35693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35694 /* end confdefs.h. */
35695 #include <math.h>
35696 int
35697 main ()
35698 {
35699 modff(0, 0);
35700 ;
35701 return 0;
35702 }
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705 glibcxx_cv_func_modff_use=yes
35706 else
35707 glibcxx_cv_func_modff_use=no
35708 fi
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710 ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35715
35716
35717 fi
35718
35719 fi
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35722
35723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35724 for ac_func in modff
35725 do :
35726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35727 if test "x$ac_cv_func_modff" = x""yes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define HAVE_MODFF 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735 else
35736
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35738 $as_echo_n "checking for _modff declaration... " >&6; }
35739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35741 $as_echo_n "(cached) " >&6
35742 else
35743
35744
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750
35751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35752 /* end confdefs.h. */
35753 #include <math.h>
35754 int
35755 main ()
35756 {
35757 _modff(0, 0);
35758 ;
35759 return 0;
35760 }
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763 glibcxx_cv_func__modff_use=yes
35764 else
35765 glibcxx_cv_func__modff_use=no
35766 fi
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35773
35774
35775 fi
35776
35777 fi
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35780
35781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35782 for ac_func in _modff
35783 do :
35784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35785 if test "x$ac_cv_func__modff" = x""yes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE__MODFF 1
35788 _ACEOF
35789
35790 fi
35791 done
35792
35793 fi
35794 fi
35795
35796
35797
35798
35799
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35801 $as_echo_n "checking for modf declaration... " >&6; }
35802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35804 $as_echo_n "(cached) " >&6
35805 else
35806
35807
35808 ac_ext=cpp
35809 ac_cpp='$CXXCPP $CPPFLAGS'
35810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35813
35814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35815 /* end confdefs.h. */
35816 #include <math.h>
35817 int
35818 main ()
35819 {
35820 modf(0, 0);
35821 ;
35822 return 0;
35823 }
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func_modf_use=yes
35827 else
35828 glibcxx_cv_func_modf_use=no
35829 fi
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836
35837
35838 fi
35839
35840 fi
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35843
35844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35845 for ac_func in modf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35848 if test "x$ac_cv_func_modf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE_MODF 1
35851 _ACEOF
35852
35853 fi
35854 done
35855
35856 else
35857
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35859 $as_echo_n "checking for _modf declaration... " >&6; }
35860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35863 else
35864
35865
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35871
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874 #include <math.h>
35875 int
35876 main ()
35877 {
35878 _modf(0, 0);
35879 ;
35880 return 0;
35881 }
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func__modf_use=yes
35885 else
35886 glibcxx_cv_func__modf_use=no
35887 fi
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35894
35895
35896 fi
35897
35898 fi
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35901
35902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35903 for ac_func in _modf
35904 do :
35905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35906 if test "x$ac_cv_func__modf" = x""yes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE__MODF 1
35909 _ACEOF
35910
35911 fi
35912 done
35913
35914 fi
35915 fi
35916
35917
35918
35919
35920
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35922 $as_echo_n "checking for powf declaration... " >&6; }
35923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35927
35928
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35938 int
35939 main ()
35940 {
35941 powf(0, 0);
35942 ;
35943 return 0;
35944 }
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func_powf_use=yes
35948 else
35949 glibcxx_cv_func_powf_use=no
35950 fi
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958
35959 fi
35960
35961 fi
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35964
35965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35966 for ac_func in powf
35967 do :
35968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35969 if test "x$ac_cv_func_powf" = x""yes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE_POWF 1
35972 _ACEOF
35973
35974 fi
35975 done
35976
35977 else
35978
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35980 $as_echo_n "checking for _powf declaration... " >&6; }
35981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35983 $as_echo_n "(cached) " >&6
35984 else
35985
35986
35987 ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35992
35993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h. */
35995 #include <math.h>
35996 int
35997 main ()
35998 {
35999 _powf(0, 0);
36000 ;
36001 return 0;
36002 }
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func__powf_use=yes
36006 else
36007 glibcxx_cv_func__powf_use=no
36008 fi
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010 ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015
36016
36017 fi
36018
36019 fi
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36022
36023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36024 for ac_func in _powf
36025 do :
36026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36027 if test "x$ac_cv_func__powf" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE__POWF 1
36030 _ACEOF
36031
36032 fi
36033 done
36034
36035 fi
36036 fi
36037
36038
36039
36040
36041
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36043 $as_echo_n "checking for sqrtf declaration... " >&6; }
36044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36048
36049
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36055
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36059 #ifdef HAVE_IEEEFP_H
36060 #include <ieeefp.h>
36061 #endif
36062
36063 int
36064 main ()
36065 {
36066 sqrtf(0);
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072 glibcxx_cv_func_sqrtf_use=yes
36073 else
36074 glibcxx_cv_func_sqrtf_use=no
36075 fi
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36082
36083
36084 fi
36085
36086 fi
36087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36089
36090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36091 for ac_func in sqrtf
36092 do :
36093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36095 cat >>confdefs.h <<_ACEOF
36096 #define HAVE_SQRTF 1
36097 _ACEOF
36098
36099 fi
36100 done
36101
36102 else
36103
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36108 $as_echo_n "(cached) " >&6
36109 else
36110
36111
36112 ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117
36118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36119 /* end confdefs.h. */
36120 #include <math.h>
36121 #ifdef HAVE_IEEEFP_H
36122 #include <ieeefp.h>
36123 #endif
36124
36125 int
36126 main ()
36127 {
36128 _sqrtf(0);
36129 ;
36130 return 0;
36131 }
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134 glibcxx_cv_func__sqrtf_use=yes
36135 else
36136 glibcxx_cv_func__sqrtf_use=no
36137 fi
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144
36145
36146 fi
36147
36148 fi
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36151
36152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36153 for ac_func in _sqrtf
36154 do :
36155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36157 cat >>confdefs.h <<_ACEOF
36158 #define HAVE__SQRTF 1
36159 _ACEOF
36160
36161 fi
36162 done
36163
36164 fi
36165 fi
36166
36167
36168
36169
36170
36171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36172 $as_echo_n "checking for sincosf declaration... " >&6; }
36173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36175 $as_echo_n "(cached) " >&6
36176 else
36177
36178
36179 ac_ext=cpp
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36184
36185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36186 /* end confdefs.h. */
36187 #include <math.h>
36188 int
36189 main ()
36190 {
36191 sincosf(0, 0, 0);
36192 ;
36193 return 0;
36194 }
36195 _ACEOF
36196 if ac_fn_cxx_try_compile "$LINENO"; then :
36197 glibcxx_cv_func_sincosf_use=yes
36198 else
36199 glibcxx_cv_func_sincosf_use=no
36200 fi
36201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207
36208
36209 fi
36210
36211 fi
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36214
36215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36216 for ac_func in sincosf
36217 do :
36218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36219 if test "x$ac_cv_func_sincosf" = x""yes; then :
36220 cat >>confdefs.h <<_ACEOF
36221 #define HAVE_SINCOSF 1
36222 _ACEOF
36223
36224 fi
36225 done
36226
36227 else
36228
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36230 $as_echo_n "checking for _sincosf declaration... " >&6; }
36231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36233 $as_echo_n "(cached) " >&6
36234 else
36235
36236
36237 ac_ext=cpp
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36242
36243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36244 /* end confdefs.h. */
36245 #include <math.h>
36246 int
36247 main ()
36248 {
36249 _sincosf(0, 0, 0);
36250 ;
36251 return 0;
36252 }
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func__sincosf_use=yes
36256 else
36257 glibcxx_cv_func__sincosf_use=no
36258 fi
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269 fi
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36272
36273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36274 for ac_func in _sincosf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36277 if test "x$ac_cv_func__sincosf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE__SINCOSF 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285 fi
36286 fi
36287
36288
36289
36290
36291
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36293 $as_echo_n "checking for finitef declaration... " >&6; }
36294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36296 $as_echo_n "(cached) " >&6
36297 else
36298
36299
36300 ac_ext=cpp
36301 ac_cpp='$CXXCPP $CPPFLAGS'
36302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36305
36306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 /* end confdefs.h. */
36308 #include <math.h>
36309 #ifdef HAVE_IEEEFP_H
36310 #include <ieeefp.h>
36311 #endif
36312
36313 int
36314 main ()
36315 {
36316 finitef(0);
36317 ;
36318 return 0;
36319 }
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322 glibcxx_cv_func_finitef_use=yes
36323 else
36324 glibcxx_cv_func_finitef_use=no
36325 fi
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327 ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36332
36333
36334 fi
36335
36336 fi
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36339
36340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36341 for ac_func in finitef
36342 do :
36343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36344 if test "x$ac_cv_func_finitef" = x""yes; then :
36345 cat >>confdefs.h <<_ACEOF
36346 #define HAVE_FINITEF 1
36347 _ACEOF
36348
36349 fi
36350 done
36351
36352 else
36353
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36355 $as_echo_n "checking for _finitef declaration... " >&6; }
36356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36358 $as_echo_n "(cached) " >&6
36359 else
36360
36361
36362 ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367
36368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h. */
36370 #include <math.h>
36371 #ifdef HAVE_IEEEFP_H
36372 #include <ieeefp.h>
36373 #endif
36374
36375 int
36376 main ()
36377 {
36378 _finitef(0);
36379 ;
36380 return 0;
36381 }
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384 glibcxx_cv_func__finitef_use=yes
36385 else
36386 glibcxx_cv_func__finitef_use=no
36387 fi
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36394
36395
36396 fi
36397
36398 fi
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36401
36402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36403 for ac_func in _finitef
36404 do :
36405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36406 if test "x$ac_cv_func__finitef" = x""yes; then :
36407 cat >>confdefs.h <<_ACEOF
36408 #define HAVE__FINITEF 1
36409 _ACEOF
36410
36411 fi
36412 done
36413
36414 fi
36415 fi
36416
36417
36418
36419
36420
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36422 $as_echo_n "checking for long double trig functions... " >&6; }
36423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36424 $as_echo_n "(cached) " >&6
36425 else
36426
36427
36428 ac_ext=cpp
36429 ac_cpp='$CXXCPP $CPPFLAGS'
36430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36433
36434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36435 /* end confdefs.h. */
36436 #include <math.h>
36437 int
36438 main ()
36439 {
36440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36441 ;
36442 return 0;
36443 }
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446 glibcxx_cv_func_long_double_trig_use=yes
36447 else
36448 glibcxx_cv_func_long_double_trig_use=no
36449 fi
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36456
36457 fi
36458
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36463 do :
36464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36466 eval as_val=\$$as_ac_var
36467 if test "x$as_val" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36470 _ACEOF
36471
36472 fi
36473 done
36474
36475 else
36476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36477 $as_echo_n "checking for _long double trig functions... " >&6; }
36478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36479 $as_echo_n "(cached) " >&6
36480 else
36481
36482
36483 ac_ext=cpp
36484 ac_cpp='$CXXCPP $CPPFLAGS'
36485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488
36489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36490 /* end confdefs.h. */
36491 #include <math.h>
36492 int
36493 main ()
36494 {
36495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36496 ;
36497 return 0;
36498 }
36499 _ACEOF
36500 if ac_fn_cxx_try_compile "$LINENO"; then :
36501 glibcxx_cv_func__long_double_trig_use=yes
36502 else
36503 glibcxx_cv_func__long_double_trig_use=no
36504 fi
36505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 ac_ext=c
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36511
36512 fi
36513
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36518 do :
36519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36521 eval as_val=\$$as_ac_var
36522 if test "x$as_val" = x""yes; then :
36523 cat >>confdefs.h <<_ACEOF
36524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36525 _ACEOF
36526
36527 fi
36528 done
36529
36530 fi
36531 fi
36532
36533
36534
36535
36536
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36538 $as_echo_n "checking for long double round functions... " >&6; }
36539 if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
36557 ;
36558 return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_long_double_round_use=yes
36563 else
36564 glibcxx_cv_func_long_double_round_use=no
36565 fi
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573 fi
36574
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36578 for ac_func in ceill floorl
36579 do :
36580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36582 eval as_val=\$$as_ac_var
36583 if test "x$as_val" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36593 $as_echo_n "checking for _long double round functions... " >&6; }
36594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36595 $as_echo_n "(cached) " >&6
36596 else
36597
36598
36599 ac_ext=cpp
36600 ac_cpp='$CXXCPP $CPPFLAGS'
36601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36604
36605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36606 /* end confdefs.h. */
36607 #include <math.h>
36608 int
36609 main ()
36610 {
36611 _ceill (0); _floorl (0);
36612 ;
36613 return 0;
36614 }
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__long_double_round_use=yes
36618 else
36619 glibcxx_cv_func__long_double_round_use=no
36620 fi
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627
36628 fi
36629
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36633 for ac_func in _ceill _floorl
36634 do :
36635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36637 eval as_val=\$$as_ac_var
36638 if test "x$as_val" = x""yes; then :
36639 cat >>confdefs.h <<_ACEOF
36640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36642
36643 fi
36644 done
36645
36646 fi
36647 fi
36648
36649
36650
36651
36652
36653
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36655 $as_echo_n "checking for isnanl declaration... " >&6; }
36656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36660
36661
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36667
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36671 #ifdef HAVE_IEEEFP_H
36672 #include <ieeefp.h>
36673 #endif
36674
36675 int
36676 main ()
36677 {
36678 isnanl(0);
36679 ;
36680 return 0;
36681 }
36682 _ACEOF
36683 if ac_fn_cxx_try_compile "$LINENO"; then :
36684 glibcxx_cv_func_isnanl_use=yes
36685 else
36686 glibcxx_cv_func_isnanl_use=no
36687 fi
36688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36689 ac_ext=c
36690 ac_cpp='$CPP $CPPFLAGS'
36691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36694
36695
36696 fi
36697
36698 fi
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36701
36702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36703 for ac_func in isnanl
36704 do :
36705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36706 if test "x$ac_cv_func_isnanl" = x""yes; then :
36707 cat >>confdefs.h <<_ACEOF
36708 #define HAVE_ISNANL 1
36709 _ACEOF
36710
36711 fi
36712 done
36713
36714 else
36715
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36717 $as_echo_n "checking for _isnanl declaration... " >&6; }
36718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36720 $as_echo_n "(cached) " >&6
36721 else
36722
36723
36724 ac_ext=cpp
36725 ac_cpp='$CXXCPP $CPPFLAGS'
36726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36729
36730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36731 /* end confdefs.h. */
36732 #include <math.h>
36733 #ifdef HAVE_IEEEFP_H
36734 #include <ieeefp.h>
36735 #endif
36736
36737 int
36738 main ()
36739 {
36740 _isnanl(0);
36741 ;
36742 return 0;
36743 }
36744 _ACEOF
36745 if ac_fn_cxx_try_compile "$LINENO"; then :
36746 glibcxx_cv_func__isnanl_use=yes
36747 else
36748 glibcxx_cv_func__isnanl_use=no
36749 fi
36750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36751 ac_ext=c
36752 ac_cpp='$CPP $CPPFLAGS'
36753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36756
36757
36758 fi
36759
36760 fi
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36763
36764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36765 for ac_func in _isnanl
36766 do :
36767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36768 if test "x$ac_cv_func__isnanl" = x""yes; then :
36769 cat >>confdefs.h <<_ACEOF
36770 #define HAVE__ISNANL 1
36771 _ACEOF
36772
36773 fi
36774 done
36775
36776 fi
36777 fi
36778
36779
36780
36781
36782
36783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36784 $as_echo_n "checking for isinfl declaration... " >&6; }
36785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36787 $as_echo_n "(cached) " >&6
36788 else
36789
36790
36791 ac_ext=cpp
36792 ac_cpp='$CXXCPP $CPPFLAGS'
36793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36796
36797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36798 /* end confdefs.h. */
36799 #include <math.h>
36800 #ifdef HAVE_IEEEFP_H
36801 #include <ieeefp.h>
36802 #endif
36803
36804 int
36805 main ()
36806 {
36807 isinfl(0);
36808 ;
36809 return 0;
36810 }
36811 _ACEOF
36812 if ac_fn_cxx_try_compile "$LINENO"; then :
36813 glibcxx_cv_func_isinfl_use=yes
36814 else
36815 glibcxx_cv_func_isinfl_use=no
36816 fi
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818 ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823
36824
36825 fi
36826
36827 fi
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36830
36831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36832 for ac_func in isinfl
36833 do :
36834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36835 if test "x$ac_cv_func_isinfl" = x""yes; then :
36836 cat >>confdefs.h <<_ACEOF
36837 #define HAVE_ISINFL 1
36838 _ACEOF
36839
36840 fi
36841 done
36842
36843 else
36844
36845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36846 $as_echo_n "checking for _isinfl declaration... " >&6; }
36847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36849 $as_echo_n "(cached) " >&6
36850 else
36851
36852
36853 ac_ext=cpp
36854 ac_cpp='$CXXCPP $CPPFLAGS'
36855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36858
36859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36860 /* end confdefs.h. */
36861 #include <math.h>
36862 #ifdef HAVE_IEEEFP_H
36863 #include <ieeefp.h>
36864 #endif
36865
36866 int
36867 main ()
36868 {
36869 _isinfl(0);
36870 ;
36871 return 0;
36872 }
36873 _ACEOF
36874 if ac_fn_cxx_try_compile "$LINENO"; then :
36875 glibcxx_cv_func__isinfl_use=yes
36876 else
36877 glibcxx_cv_func__isinfl_use=no
36878 fi
36879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880 ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36885
36886
36887 fi
36888
36889 fi
36890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36892
36893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36894 for ac_func in _isinfl
36895 do :
36896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36897 if test "x$ac_cv_func__isinfl" = x""yes; then :
36898 cat >>confdefs.h <<_ACEOF
36899 #define HAVE__ISINFL 1
36900 _ACEOF
36901
36902 fi
36903 done
36904
36905 fi
36906 fi
36907
36908
36909
36910
36911
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36913 $as_echo_n "checking for atan2l declaration... " >&6; }
36914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36916 $as_echo_n "(cached) " >&6
36917 else
36918
36919
36920 ac_ext=cpp
36921 ac_cpp='$CXXCPP $CPPFLAGS'
36922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925
36926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36927 /* end confdefs.h. */
36928 #include <math.h>
36929 int
36930 main ()
36931 {
36932 atan2l(0, 0);
36933 ;
36934 return 0;
36935 }
36936 _ACEOF
36937 if ac_fn_cxx_try_compile "$LINENO"; then :
36938 glibcxx_cv_func_atan2l_use=yes
36939 else
36940 glibcxx_cv_func_atan2l_use=no
36941 fi
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36943 ac_ext=c
36944 ac_cpp='$CPP $CPPFLAGS'
36945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36948
36949
36950 fi
36951
36952 fi
36953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36955
36956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36957 for ac_func in atan2l
36958 do :
36959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36960 if test "x$ac_cv_func_atan2l" = x""yes; then :
36961 cat >>confdefs.h <<_ACEOF
36962 #define HAVE_ATAN2L 1
36963 _ACEOF
36964
36965 fi
36966 done
36967
36968 else
36969
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36971 $as_echo_n "checking for _atan2l declaration... " >&6; }
36972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36974 $as_echo_n "(cached) " >&6
36975 else
36976
36977
36978 ac_ext=cpp
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36983
36984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 /* end confdefs.h. */
36986 #include <math.h>
36987 int
36988 main ()
36989 {
36990 _atan2l(0, 0);
36991 ;
36992 return 0;
36993 }
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996 glibcxx_cv_func__atan2l_use=yes
36997 else
36998 glibcxx_cv_func__atan2l_use=no
36999 fi
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001 ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010 fi
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37013
37014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37015 for ac_func in _atan2l
37016 do :
37017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37018 if test "x$ac_cv_func__atan2l" = x""yes; then :
37019 cat >>confdefs.h <<_ACEOF
37020 #define HAVE__ATAN2L 1
37021 _ACEOF
37022
37023 fi
37024 done
37025
37026 fi
37027 fi
37028
37029
37030
37031
37032
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37034 $as_echo_n "checking for expl declaration... " >&6; }
37035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37037 $as_echo_n "(cached) " >&6
37038 else
37039
37040
37041 ac_ext=cpp
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37046
37047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37048 /* end confdefs.h. */
37049 #include <math.h>
37050 #ifdef HAVE_IEEEFP_H
37051 #include <ieeefp.h>
37052 #endif
37053
37054 int
37055 main ()
37056 {
37057 expl(0);
37058 ;
37059 return 0;
37060 }
37061 _ACEOF
37062 if ac_fn_cxx_try_compile "$LINENO"; then :
37063 glibcxx_cv_func_expl_use=yes
37064 else
37065 glibcxx_cv_func_expl_use=no
37066 fi
37067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073
37074
37075 fi
37076
37077 fi
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37080
37081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37082 for ac_func in expl
37083 do :
37084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37085 if test "x$ac_cv_func_expl" = x""yes; then :
37086 cat >>confdefs.h <<_ACEOF
37087 #define HAVE_EXPL 1
37088 _ACEOF
37089
37090 fi
37091 done
37092
37093 else
37094
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37096 $as_echo_n "checking for _expl declaration... " >&6; }
37097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37101
37102
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37108
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37112 #ifdef HAVE_IEEEFP_H
37113 #include <ieeefp.h>
37114 #endif
37115
37116 int
37117 main ()
37118 {
37119 _expl(0);
37120 ;
37121 return 0;
37122 }
37123 _ACEOF
37124 if ac_fn_cxx_try_compile "$LINENO"; then :
37125 glibcxx_cv_func__expl_use=yes
37126 else
37127 glibcxx_cv_func__expl_use=no
37128 fi
37129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37130 ac_ext=c
37131 ac_cpp='$CPP $CPPFLAGS'
37132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37135
37136
37137 fi
37138
37139 fi
37140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37142
37143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37144 for ac_func in _expl
37145 do :
37146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37147 if test "x$ac_cv_func__expl" = x""yes; then :
37148 cat >>confdefs.h <<_ACEOF
37149 #define HAVE__EXPL 1
37150 _ACEOF
37151
37152 fi
37153 done
37154
37155 fi
37156 fi
37157
37158
37159
37160
37161
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37163 $as_echo_n "checking for fabsl declaration... " >&6; }
37164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37168
37169
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37179 #ifdef HAVE_IEEEFP_H
37180 #include <ieeefp.h>
37181 #endif
37182
37183 int
37184 main ()
37185 {
37186 fabsl(0);
37187 ;
37188 return 0;
37189 }
37190 _ACEOF
37191 if ac_fn_cxx_try_compile "$LINENO"; then :
37192 glibcxx_cv_func_fabsl_use=yes
37193 else
37194 glibcxx_cv_func_fabsl_use=no
37195 fi
37196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37197 ac_ext=c
37198 ac_cpp='$CPP $CPPFLAGS'
37199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37202
37203
37204 fi
37205
37206 fi
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37209
37210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37211 for ac_func in fabsl
37212 do :
37213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37214 if test "x$ac_cv_func_fabsl" = x""yes; then :
37215 cat >>confdefs.h <<_ACEOF
37216 #define HAVE_FABSL 1
37217 _ACEOF
37218
37219 fi
37220 done
37221
37222 else
37223
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37225 $as_echo_n "checking for _fabsl declaration... " >&6; }
37226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37228 $as_echo_n "(cached) " >&6
37229 else
37230
37231
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237
37238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <math.h>
37241 #ifdef HAVE_IEEEFP_H
37242 #include <ieeefp.h>
37243 #endif
37244
37245 int
37246 main ()
37247 {
37248 _fabsl(0);
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 glibcxx_cv_func__fabsl_use=yes
37255 else
37256 glibcxx_cv_func__fabsl_use=no
37257 fi
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37264
37265
37266 fi
37267
37268 fi
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37271
37272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37273 for ac_func in _fabsl
37274 do :
37275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37276 if test "x$ac_cv_func__fabsl" = x""yes; then :
37277 cat >>confdefs.h <<_ACEOF
37278 #define HAVE__FABSL 1
37279 _ACEOF
37280
37281 fi
37282 done
37283
37284 fi
37285 fi
37286
37287
37288
37289
37290
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37292 $as_echo_n "checking for fmodl declaration... " >&6; }
37293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37295 $as_echo_n "(cached) " >&6
37296 else
37297
37298
37299 ac_ext=cpp
37300 ac_cpp='$CXXCPP $CPPFLAGS'
37301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37304
37305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37306 /* end confdefs.h. */
37307 #include <math.h>
37308 int
37309 main ()
37310 {
37311 fmodl(0, 0);
37312 ;
37313 return 0;
37314 }
37315 _ACEOF
37316 if ac_fn_cxx_try_compile "$LINENO"; then :
37317 glibcxx_cv_func_fmodl_use=yes
37318 else
37319 glibcxx_cv_func_fmodl_use=no
37320 fi
37321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37322 ac_ext=c
37323 ac_cpp='$CPP $CPPFLAGS'
37324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37327
37328
37329 fi
37330
37331 fi
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37334
37335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37336 for ac_func in fmodl
37337 do :
37338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37339 if test "x$ac_cv_func_fmodl" = x""yes; then :
37340 cat >>confdefs.h <<_ACEOF
37341 #define HAVE_FMODL 1
37342 _ACEOF
37343
37344 fi
37345 done
37346
37347 else
37348
37349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37350 $as_echo_n "checking for _fmodl declaration... " >&6; }
37351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37353 $as_echo_n "(cached) " >&6
37354 else
37355
37356
37357 ac_ext=cpp
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362
37363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37364 /* end confdefs.h. */
37365 #include <math.h>
37366 int
37367 main ()
37368 {
37369 _fmodl(0, 0);
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375 glibcxx_cv_func__fmodl_use=yes
37376 else
37377 glibcxx_cv_func__fmodl_use=no
37378 fi
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385
37386
37387 fi
37388
37389 fi
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37392
37393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37394 for ac_func in _fmodl
37395 do :
37396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37397 if test "x$ac_cv_func__fmodl" = x""yes; then :
37398 cat >>confdefs.h <<_ACEOF
37399 #define HAVE__FMODL 1
37400 _ACEOF
37401
37402 fi
37403 done
37404
37405 fi
37406 fi
37407
37408
37409
37410
37411
37412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37413 $as_echo_n "checking for frexpl declaration... " >&6; }
37414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37416 $as_echo_n "(cached) " >&6
37417 else
37418
37419
37420 ac_ext=cpp
37421 ac_cpp='$CXXCPP $CPPFLAGS'
37422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37425
37426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37427 /* end confdefs.h. */
37428 #include <math.h>
37429 int
37430 main ()
37431 {
37432 frexpl(0, 0);
37433 ;
37434 return 0;
37435 }
37436 _ACEOF
37437 if ac_fn_cxx_try_compile "$LINENO"; then :
37438 glibcxx_cv_func_frexpl_use=yes
37439 else
37440 glibcxx_cv_func_frexpl_use=no
37441 fi
37442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37443 ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448
37449
37450 fi
37451
37452 fi
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37455
37456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37457 for ac_func in frexpl
37458 do :
37459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37460 if test "x$ac_cv_func_frexpl" = x""yes; then :
37461 cat >>confdefs.h <<_ACEOF
37462 #define HAVE_FREXPL 1
37463 _ACEOF
37464
37465 fi
37466 done
37467
37468 else
37469
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37471 $as_echo_n "checking for _frexpl declaration... " >&6; }
37472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37476
37477
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37487 int
37488 main ()
37489 {
37490 _frexpl(0, 0);
37491 ;
37492 return 0;
37493 }
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496 glibcxx_cv_func__frexpl_use=yes
37497 else
37498 glibcxx_cv_func__frexpl_use=no
37499 fi
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506
37507
37508 fi
37509
37510 fi
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37513
37514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37515 for ac_func in _frexpl
37516 do :
37517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37518 if test "x$ac_cv_func__frexpl" = x""yes; then :
37519 cat >>confdefs.h <<_ACEOF
37520 #define HAVE__FREXPL 1
37521 _ACEOF
37522
37523 fi
37524 done
37525
37526 fi
37527 fi
37528
37529
37530
37531
37532
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37534 $as_echo_n "checking for hypotl declaration... " >&6; }
37535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37537 $as_echo_n "(cached) " >&6
37538 else
37539
37540
37541 ac_ext=cpp
37542 ac_cpp='$CXXCPP $CPPFLAGS'
37543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37546
37547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37548 /* end confdefs.h. */
37549 #include <math.h>
37550 int
37551 main ()
37552 {
37553 hypotl(0, 0);
37554 ;
37555 return 0;
37556 }
37557 _ACEOF
37558 if ac_fn_cxx_try_compile "$LINENO"; then :
37559 glibcxx_cv_func_hypotl_use=yes
37560 else
37561 glibcxx_cv_func_hypotl_use=no
37562 fi
37563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37564 ac_ext=c
37565 ac_cpp='$CPP $CPPFLAGS'
37566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569
37570
37571 fi
37572
37573 fi
37574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37576
37577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37578 for ac_func in hypotl
37579 do :
37580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37581 if test "x$ac_cv_func_hypotl" = x""yes; then :
37582 cat >>confdefs.h <<_ACEOF
37583 #define HAVE_HYPOTL 1
37584 _ACEOF
37585
37586 fi
37587 done
37588
37589 else
37590
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37592 $as_echo_n "checking for _hypotl declaration... " >&6; }
37593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37595 $as_echo_n "(cached) " >&6
37596 else
37597
37598
37599 ac_ext=cpp
37600 ac_cpp='$CXXCPP $CPPFLAGS'
37601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37604
37605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606 /* end confdefs.h. */
37607 #include <math.h>
37608 int
37609 main ()
37610 {
37611 _hypotl(0, 0);
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 if ac_fn_cxx_try_compile "$LINENO"; then :
37617 glibcxx_cv_func__hypotl_use=yes
37618 else
37619 glibcxx_cv_func__hypotl_use=no
37620 fi
37621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37622 ac_ext=c
37623 ac_cpp='$CPP $CPPFLAGS'
37624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37627
37628
37629 fi
37630
37631 fi
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37634
37635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37636 for ac_func in _hypotl
37637 do :
37638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37639 if test "x$ac_cv_func__hypotl" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE__HYPOTL 1
37642 _ACEOF
37643
37644 fi
37645 done
37646
37647 fi
37648 fi
37649
37650
37651
37652
37653
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37655 $as_echo_n "checking for ldexpl declaration... " >&6; }
37656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37658 $as_echo_n "(cached) " >&6
37659 else
37660
37661
37662 ac_ext=cpp
37663 ac_cpp='$CXXCPP $CPPFLAGS'
37664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37667
37668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37669 /* end confdefs.h. */
37670 #include <math.h>
37671 int
37672 main ()
37673 {
37674 ldexpl(0, 0);
37675 ;
37676 return 0;
37677 }
37678 _ACEOF
37679 if ac_fn_cxx_try_compile "$LINENO"; then :
37680 glibcxx_cv_func_ldexpl_use=yes
37681 else
37682 glibcxx_cv_func_ldexpl_use=no
37683 fi
37684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37685 ac_ext=c
37686 ac_cpp='$CPP $CPPFLAGS'
37687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37690
37691
37692 fi
37693
37694 fi
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37697
37698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37699 for ac_func in ldexpl
37700 do :
37701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37703 cat >>confdefs.h <<_ACEOF
37704 #define HAVE_LDEXPL 1
37705 _ACEOF
37706
37707 fi
37708 done
37709
37710 else
37711
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37718
37719
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37725
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37729 int
37730 main ()
37731 {
37732 _ldexpl(0, 0);
37733 ;
37734 return 0;
37735 }
37736 _ACEOF
37737 if ac_fn_cxx_try_compile "$LINENO"; then :
37738 glibcxx_cv_func__ldexpl_use=yes
37739 else
37740 glibcxx_cv_func__ldexpl_use=no
37741 fi
37742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743 ac_ext=c
37744 ac_cpp='$CPP $CPPFLAGS'
37745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37748
37749
37750 fi
37751
37752 fi
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37755
37756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37757 for ac_func in _ldexpl
37758 do :
37759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37761 cat >>confdefs.h <<_ACEOF
37762 #define HAVE__LDEXPL 1
37763 _ACEOF
37764
37765 fi
37766 done
37767
37768 fi
37769 fi
37770
37771
37772
37773
37774
37775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37776 $as_echo_n "checking for logl declaration... " >&6; }
37777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37779 $as_echo_n "(cached) " >&6
37780 else
37781
37782
37783 ac_ext=cpp
37784 ac_cpp='$CXXCPP $CPPFLAGS'
37785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37788
37789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37790 /* end confdefs.h. */
37791 #include <math.h>
37792 #ifdef HAVE_IEEEFP_H
37793 #include <ieeefp.h>
37794 #endif
37795
37796 int
37797 main ()
37798 {
37799 logl(0);
37800 ;
37801 return 0;
37802 }
37803 _ACEOF
37804 if ac_fn_cxx_try_compile "$LINENO"; then :
37805 glibcxx_cv_func_logl_use=yes
37806 else
37807 glibcxx_cv_func_logl_use=no
37808 fi
37809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37810 ac_ext=c
37811 ac_cpp='$CPP $CPPFLAGS'
37812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37815
37816
37817 fi
37818
37819 fi
37820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37822
37823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37824 for ac_func in logl
37825 do :
37826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37827 if test "x$ac_cv_func_logl" = x""yes; then :
37828 cat >>confdefs.h <<_ACEOF
37829 #define HAVE_LOGL 1
37830 _ACEOF
37831
37832 fi
37833 done
37834
37835 else
37836
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37838 $as_echo_n "checking for _logl declaration... " >&6; }
37839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37843
37844
37845 ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850
37851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h. */
37853 #include <math.h>
37854 #ifdef HAVE_IEEEFP_H
37855 #include <ieeefp.h>
37856 #endif
37857
37858 int
37859 main ()
37860 {
37861 _logl(0);
37862 ;
37863 return 0;
37864 }
37865 _ACEOF
37866 if ac_fn_cxx_try_compile "$LINENO"; then :
37867 glibcxx_cv_func__logl_use=yes
37868 else
37869 glibcxx_cv_func__logl_use=no
37870 fi
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37877
37878
37879 fi
37880
37881 fi
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37884
37885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37886 for ac_func in _logl
37887 do :
37888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37889 if test "x$ac_cv_func__logl" = x""yes; then :
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE__LOGL 1
37892 _ACEOF
37893
37894 fi
37895 done
37896
37897 fi
37898 fi
37899
37900
37901
37902
37903
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37905 $as_echo_n "checking for log10l declaration... " >&6; }
37906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37908 $as_echo_n "(cached) " >&6
37909 else
37910
37911
37912 ac_ext=cpp
37913 ac_cpp='$CXXCPP $CPPFLAGS'
37914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37917
37918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37919 /* end confdefs.h. */
37920 #include <math.h>
37921 #ifdef HAVE_IEEEFP_H
37922 #include <ieeefp.h>
37923 #endif
37924
37925 int
37926 main ()
37927 {
37928 log10l(0);
37929 ;
37930 return 0;
37931 }
37932 _ACEOF
37933 if ac_fn_cxx_try_compile "$LINENO"; then :
37934 glibcxx_cv_func_log10l_use=yes
37935 else
37936 glibcxx_cv_func_log10l_use=no
37937 fi
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37944
37945
37946 fi
37947
37948 fi
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37951
37952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37953 for ac_func in log10l
37954 do :
37955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37956 if test "x$ac_cv_func_log10l" = x""yes; then :
37957 cat >>confdefs.h <<_ACEOF
37958 #define HAVE_LOG10L 1
37959 _ACEOF
37960
37961 fi
37962 done
37963
37964 else
37965
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37967 $as_echo_n "checking for _log10l declaration... " >&6; }
37968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37970 $as_echo_n "(cached) " >&6
37971 else
37972
37973
37974 ac_ext=cpp
37975 ac_cpp='$CXXCPP $CPPFLAGS'
37976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37979
37980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37981 /* end confdefs.h. */
37982 #include <math.h>
37983 #ifdef HAVE_IEEEFP_H
37984 #include <ieeefp.h>
37985 #endif
37986
37987 int
37988 main ()
37989 {
37990 _log10l(0);
37991 ;
37992 return 0;
37993 }
37994 _ACEOF
37995 if ac_fn_cxx_try_compile "$LINENO"; then :
37996 glibcxx_cv_func__log10l_use=yes
37997 else
37998 glibcxx_cv_func__log10l_use=no
37999 fi
38000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38001 ac_ext=c
38002 ac_cpp='$CPP $CPPFLAGS'
38003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38006
38007
38008 fi
38009
38010 fi
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38013
38014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38015 for ac_func in _log10l
38016 do :
38017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38018 if test "x$ac_cv_func__log10l" = x""yes; then :
38019 cat >>confdefs.h <<_ACEOF
38020 #define HAVE__LOG10L 1
38021 _ACEOF
38022
38023 fi
38024 done
38025
38026 fi
38027 fi
38028
38029
38030
38031
38032
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38034 $as_echo_n "checking for modfl declaration... " >&6; }
38035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38039
38040
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38050 int
38051 main ()
38052 {
38053 modfl(0, 0);
38054 ;
38055 return 0;
38056 }
38057 _ACEOF
38058 if ac_fn_cxx_try_compile "$LINENO"; then :
38059 glibcxx_cv_func_modfl_use=yes
38060 else
38061 glibcxx_cv_func_modfl_use=no
38062 fi
38063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064 ac_ext=c
38065 ac_cpp='$CPP $CPPFLAGS'
38066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38069
38070
38071 fi
38072
38073 fi
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38076
38077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38078 for ac_func in modfl
38079 do :
38080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38081 if test "x$ac_cv_func_modfl" = x""yes; then :
38082 cat >>confdefs.h <<_ACEOF
38083 #define HAVE_MODFL 1
38084 _ACEOF
38085
38086 fi
38087 done
38088
38089 else
38090
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38092 $as_echo_n "checking for _modfl declaration... " >&6; }
38093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38095 $as_echo_n "(cached) " >&6
38096 else
38097
38098
38099 ac_ext=cpp
38100 ac_cpp='$CXXCPP $CPPFLAGS'
38101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38104
38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38106 /* end confdefs.h. */
38107 #include <math.h>
38108 int
38109 main ()
38110 {
38111 _modfl(0, 0);
38112 ;
38113 return 0;
38114 }
38115 _ACEOF
38116 if ac_fn_cxx_try_compile "$LINENO"; then :
38117 glibcxx_cv_func__modfl_use=yes
38118 else
38119 glibcxx_cv_func__modfl_use=no
38120 fi
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 ac_ext=c
38123 ac_cpp='$CPP $CPPFLAGS'
38124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38127
38128
38129 fi
38130
38131 fi
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38134
38135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38136 for ac_func in _modfl
38137 do :
38138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38139 if test "x$ac_cv_func__modfl" = x""yes; then :
38140 cat >>confdefs.h <<_ACEOF
38141 #define HAVE__MODFL 1
38142 _ACEOF
38143
38144 fi
38145 done
38146
38147 fi
38148 fi
38149
38150
38151
38152
38153
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38155 $as_echo_n "checking for powl declaration... " >&6; }
38156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38158 $as_echo_n "(cached) " >&6
38159 else
38160
38161
38162 ac_ext=cpp
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38167
38168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38169 /* end confdefs.h. */
38170 #include <math.h>
38171 int
38172 main ()
38173 {
38174 powl(0, 0);
38175 ;
38176 return 0;
38177 }
38178 _ACEOF
38179 if ac_fn_cxx_try_compile "$LINENO"; then :
38180 glibcxx_cv_func_powl_use=yes
38181 else
38182 glibcxx_cv_func_powl_use=no
38183 fi
38184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190
38191
38192 fi
38193
38194 fi
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38197
38198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38199 for ac_func in powl
38200 do :
38201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38202 if test "x$ac_cv_func_powl" = x""yes; then :
38203 cat >>confdefs.h <<_ACEOF
38204 #define HAVE_POWL 1
38205 _ACEOF
38206
38207 fi
38208 done
38209
38210 else
38211
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38213 $as_echo_n "checking for _powl declaration... " >&6; }
38214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38216 $as_echo_n "(cached) " >&6
38217 else
38218
38219
38220 ac_ext=cpp
38221 ac_cpp='$CXXCPP $CPPFLAGS'
38222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38225
38226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h. */
38228 #include <math.h>
38229 int
38230 main ()
38231 {
38232 _powl(0, 0);
38233 ;
38234 return 0;
38235 }
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func__powl_use=yes
38239 else
38240 glibcxx_cv_func__powl_use=no
38241 fi
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38248
38249
38250 fi
38251
38252 fi
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38255
38256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38257 for ac_func in _powl
38258 do :
38259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38260 if test "x$ac_cv_func__powl" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE__POWL 1
38263 _ACEOF
38264
38265 fi
38266 done
38267
38268 fi
38269 fi
38270
38271
38272
38273
38274
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38276 $as_echo_n "checking for sqrtl declaration... " >&6; }
38277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38279 $as_echo_n "(cached) " >&6
38280 else
38281
38282
38283 ac_ext=cpp
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38288
38289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 /* end confdefs.h. */
38291 #include <math.h>
38292 #ifdef HAVE_IEEEFP_H
38293 #include <ieeefp.h>
38294 #endif
38295
38296 int
38297 main ()
38298 {
38299 sqrtl(0);
38300 ;
38301 return 0;
38302 }
38303 _ACEOF
38304 if ac_fn_cxx_try_compile "$LINENO"; then :
38305 glibcxx_cv_func_sqrtl_use=yes
38306 else
38307 glibcxx_cv_func_sqrtl_use=no
38308 fi
38309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38310 ac_ext=c
38311 ac_cpp='$CPP $CPPFLAGS'
38312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38315
38316
38317 fi
38318
38319 fi
38320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38322
38323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38324 for ac_func in sqrtl
38325 do :
38326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38328 cat >>confdefs.h <<_ACEOF
38329 #define HAVE_SQRTL 1
38330 _ACEOF
38331
38332 fi
38333 done
38334
38335 else
38336
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38341 $as_echo_n "(cached) " >&6
38342 else
38343
38344
38345 ac_ext=cpp
38346 ac_cpp='$CXXCPP $CPPFLAGS'
38347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38350
38351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38352 /* end confdefs.h. */
38353 #include <math.h>
38354 #ifdef HAVE_IEEEFP_H
38355 #include <ieeefp.h>
38356 #endif
38357
38358 int
38359 main ()
38360 {
38361 _sqrtl(0);
38362 ;
38363 return 0;
38364 }
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func__sqrtl_use=yes
38368 else
38369 glibcxx_cv_func__sqrtl_use=no
38370 fi
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377
38378
38379 fi
38380
38381 fi
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38384
38385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38386 for ac_func in _sqrtl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE__SQRTL 1
38392 _ACEOF
38393
38394 fi
38395 done
38396
38397 fi
38398 fi
38399
38400
38401
38402
38403
38404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38405 $as_echo_n "checking for sincosl declaration... " >&6; }
38406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38408 $as_echo_n "(cached) " >&6
38409 else
38410
38411
38412 ac_ext=cpp
38413 ac_cpp='$CXXCPP $CPPFLAGS'
38414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38417
38418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38419 /* end confdefs.h. */
38420 #include <math.h>
38421 int
38422 main ()
38423 {
38424 sincosl(0, 0, 0);
38425 ;
38426 return 0;
38427 }
38428 _ACEOF
38429 if ac_fn_cxx_try_compile "$LINENO"; then :
38430 glibcxx_cv_func_sincosl_use=yes
38431 else
38432 glibcxx_cv_func_sincosl_use=no
38433 fi
38434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38435 ac_ext=c
38436 ac_cpp='$CPP $CPPFLAGS'
38437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440
38441
38442 fi
38443
38444 fi
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38447
38448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38449 for ac_func in sincosl
38450 do :
38451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38452 if test "x$ac_cv_func_sincosl" = x""yes; then :
38453 cat >>confdefs.h <<_ACEOF
38454 #define HAVE_SINCOSL 1
38455 _ACEOF
38456
38457 fi
38458 done
38459
38460 else
38461
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38463 $as_echo_n "checking for _sincosl declaration... " >&6; }
38464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38468
38469
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38479 int
38480 main ()
38481 {
38482 _sincosl(0, 0, 0);
38483 ;
38484 return 0;
38485 }
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488 glibcxx_cv_func__sincosl_use=yes
38489 else
38490 glibcxx_cv_func__sincosl_use=no
38491 fi
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498
38499
38500 fi
38501
38502 fi
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38505
38506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38507 for ac_func in _sincosl
38508 do :
38509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38510 if test "x$ac_cv_func__sincosl" = x""yes; then :
38511 cat >>confdefs.h <<_ACEOF
38512 #define HAVE__SINCOSL 1
38513 _ACEOF
38514
38515 fi
38516 done
38517
38518 fi
38519 fi
38520
38521
38522
38523
38524
38525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38526 $as_echo_n "checking for finitel declaration... " >&6; }
38527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38529 $as_echo_n "(cached) " >&6
38530 else
38531
38532
38533 ac_ext=cpp
38534 ac_cpp='$CXXCPP $CPPFLAGS'
38535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38538
38539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38540 /* end confdefs.h. */
38541 #include <math.h>
38542 #ifdef HAVE_IEEEFP_H
38543 #include <ieeefp.h>
38544 #endif
38545
38546 int
38547 main ()
38548 {
38549 finitel(0);
38550 ;
38551 return 0;
38552 }
38553 _ACEOF
38554 if ac_fn_cxx_try_compile "$LINENO"; then :
38555 glibcxx_cv_func_finitel_use=yes
38556 else
38557 glibcxx_cv_func_finitel_use=no
38558 fi
38559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38560 ac_ext=c
38561 ac_cpp='$CPP $CPPFLAGS'
38562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38565
38566
38567 fi
38568
38569 fi
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38572
38573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38574 for ac_func in finitel
38575 do :
38576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38577 if test "x$ac_cv_func_finitel" = x""yes; then :
38578 cat >>confdefs.h <<_ACEOF
38579 #define HAVE_FINITEL 1
38580 _ACEOF
38581
38582 fi
38583 done
38584
38585 else
38586
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38588 $as_echo_n "checking for _finitel declaration... " >&6; }
38589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38591 $as_echo_n "(cached) " >&6
38592 else
38593
38594
38595 ac_ext=cpp
38596 ac_cpp='$CXXCPP $CPPFLAGS'
38597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600
38601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38602 /* end confdefs.h. */
38603 #include <math.h>
38604 #ifdef HAVE_IEEEFP_H
38605 #include <ieeefp.h>
38606 #endif
38607
38608 int
38609 main ()
38610 {
38611 _finitel(0);
38612 ;
38613 return 0;
38614 }
38615 _ACEOF
38616 if ac_fn_cxx_try_compile "$LINENO"; then :
38617 glibcxx_cv_func__finitel_use=yes
38618 else
38619 glibcxx_cv_func__finitel_use=no
38620 fi
38621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38622 ac_ext=c
38623 ac_cpp='$CPP $CPPFLAGS'
38624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627
38628
38629 fi
38630
38631 fi
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38634
38635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38636 for ac_func in _finitel
38637 do :
38638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38639 if test "x$ac_cv_func__finitel" = x""yes; then :
38640 cat >>confdefs.h <<_ACEOF
38641 #define HAVE__FINITEL 1
38642 _ACEOF
38643
38644 fi
38645 done
38646
38647 fi
38648 fi
38649
38650
38651
38652
38653 LIBS="$ac_save_LIBS"
38654 CXXFLAGS="$ac_save_CXXFLAGS"
38655
38656
38657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38658 ac_save_CXXFLAGS="$CXXFLAGS"
38659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38660
38661
38662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38663 $as_echo_n "checking for strtold declaration... " >&6; }
38664 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38665 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38666 $as_echo_n "(cached) " >&6
38667 else
38668
38669
38670 ac_ext=cpp
38671 ac_cpp='$CXXCPP $CPPFLAGS'
38672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38675
38676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38677 /* end confdefs.h. */
38678 #include <stdlib.h>
38679 int
38680 main ()
38681 {
38682 strtold(0, 0);
38683 ;
38684 return 0;
38685 }
38686 _ACEOF
38687 if ac_fn_cxx_try_compile "$LINENO"; then :
38688 glibcxx_cv_func_strtold_use=yes
38689 else
38690 glibcxx_cv_func_strtold_use=no
38691 fi
38692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38693 ac_ext=c
38694 ac_cpp='$CPP $CPPFLAGS'
38695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38698
38699
38700 fi
38701
38702 fi
38703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38704 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38705 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38706 for ac_func in strtold
38707 do :
38708 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38709 if test "x$ac_cv_func_strtold" = x""yes; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_STRTOLD 1
38712 _ACEOF
38713
38714 fi
38715 done
38716
38717 fi
38718
38719
38720
38721
38722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38723 $as_echo_n "checking for strtof declaration... " >&6; }
38724 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38725 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38726 $as_echo_n "(cached) " >&6
38727 else
38728
38729
38730 ac_ext=cpp
38731 ac_cpp='$CXXCPP $CPPFLAGS'
38732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38735
38736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38737 /* end confdefs.h. */
38738 #include <stdlib.h>
38739 int
38740 main ()
38741 {
38742 strtof(0, 0);
38743 ;
38744 return 0;
38745 }
38746 _ACEOF
38747 if ac_fn_cxx_try_compile "$LINENO"; then :
38748 glibcxx_cv_func_strtof_use=yes
38749 else
38750 glibcxx_cv_func_strtof_use=no
38751 fi
38752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38753 ac_ext=c
38754 ac_cpp='$CPP $CPPFLAGS'
38755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38758
38759
38760 fi
38761
38762 fi
38763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38764 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38765 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38766 for ac_func in strtof
38767 do :
38768 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38769 if test "x$ac_cv_func_strtof" = x""yes; then :
38770 cat >>confdefs.h <<_ACEOF
38771 #define HAVE_STRTOF 1
38772 _ACEOF
38773
38774 fi
38775 done
38776
38777 fi
38778
38779
38780
38781
38782 CXXFLAGS="$ac_save_CXXFLAGS"
38783
38784 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38785
38786 # We don't yet support AIX's TLS ABI.
38787 #GCC_CHECK_TLS
38788
38789
38790
38791
38792
38793 am_save_CPPFLAGS="$CPPFLAGS"
38794
38795 for element in $INCICONV; do
38796 haveit=
38797 for x in $CPPFLAGS; do
38798
38799 acl_save_prefix="$prefix"
38800 prefix="$acl_final_prefix"
38801 acl_save_exec_prefix="$exec_prefix"
38802 exec_prefix="$acl_final_exec_prefix"
38803 eval x=\"$x\"
38804 exec_prefix="$acl_save_exec_prefix"
38805 prefix="$acl_save_prefix"
38806
38807 if test "X$x" = "X$element"; then
38808 haveit=yes
38809 break
38810 fi
38811 done
38812 if test -z "$haveit"; then
38813 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38814 fi
38815 done
38816
38817
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38819 $as_echo_n "checking for iconv... " >&6; }
38820 if test "${am_cv_func_iconv+set}" = set; then :
38821 $as_echo_n "(cached) " >&6
38822 else
38823
38824 am_cv_func_iconv="no, consider installing GNU libiconv"
38825 am_cv_lib_iconv=no
38826 if test x$gcc_no_link = xyes; then
38827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38828 fi
38829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38831 #include <stdlib.h>
38832 #include <iconv.h>
38833 int
38834 main ()
38835 {
38836 iconv_t cd = iconv_open("","");
38837 iconv(cd,NULL,NULL,NULL,NULL);
38838 iconv_close(cd);
38839 ;
38840 return 0;
38841 }
38842 _ACEOF
38843 if ac_fn_c_try_link "$LINENO"; then :
38844 am_cv_func_iconv=yes
38845 fi
38846 rm -f core conftest.err conftest.$ac_objext \
38847 conftest$ac_exeext conftest.$ac_ext
38848 if test "$am_cv_func_iconv" != yes; then
38849 am_save_LIBS="$LIBS"
38850 LIBS="$LIBS $LIBICONV"
38851 if test x$gcc_no_link = xyes; then
38852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38853 fi
38854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38855 /* end confdefs.h. */
38856 #include <stdlib.h>
38857 #include <iconv.h>
38858 int
38859 main ()
38860 {
38861 iconv_t cd = iconv_open("","");
38862 iconv(cd,NULL,NULL,NULL,NULL);
38863 iconv_close(cd);
38864 ;
38865 return 0;
38866 }
38867 _ACEOF
38868 if ac_fn_c_try_link "$LINENO"; then :
38869 am_cv_lib_iconv=yes
38870 am_cv_func_iconv=yes
38871 fi
38872 rm -f core conftest.err conftest.$ac_objext \
38873 conftest$ac_exeext conftest.$ac_ext
38874 LIBS="$am_save_LIBS"
38875 fi
38876
38877 fi
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38879 $as_echo "$am_cv_func_iconv" >&6; }
38880 if test "$am_cv_func_iconv" = yes; then
38881
38882 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38883
38884 fi
38885 if test "$am_cv_lib_iconv" = yes; then
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38887 $as_echo_n "checking how to link with libiconv... " >&6; }
38888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38889 $as_echo "$LIBICONV" >&6; }
38890 else
38891 CPPFLAGS="$am_save_CPPFLAGS"
38892 LIBICONV=
38893 LTLIBICONV=
38894 fi
38895
38896
38897
38898 if test "$am_cv_func_iconv" = yes; then
38899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38900 $as_echo_n "checking for iconv declaration... " >&6; }
38901 if test "${am_cv_proto_iconv+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38904
38905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38906 /* end confdefs.h. */
38907
38908 #include <stdlib.h>
38909 #include <iconv.h>
38910 extern
38911 #ifdef __cplusplus
38912 "C"
38913 #endif
38914 #if defined(__STDC__) || defined(__cplusplus)
38915 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38916 #else
38917 size_t iconv();
38918 #endif
38919
38920 int
38921 main ()
38922 {
38923
38924 ;
38925 return 0;
38926 }
38927 _ACEOF
38928 if ac_fn_c_try_compile "$LINENO"; then :
38929 am_cv_proto_iconv_arg1=""
38930 else
38931 am_cv_proto_iconv_arg1="const"
38932 fi
38933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38934 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);"
38935 fi
38936
38937 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38939 }$am_cv_proto_iconv" >&5
38940 $as_echo "${ac_t:-
38941 }$am_cv_proto_iconv" >&6; }
38942
38943 cat >>confdefs.h <<_ACEOF
38944 #define ICONV_CONST $am_cv_proto_iconv_arg1
38945 _ACEOF
38946
38947 fi
38948
38949 ;;
38950
38951 *-darwin*)
38952 # Darwin versions vary, but the linker should work in a cross environment,
38953 # so we just check for all the features here.
38954 # Check for available headers.
38955
38956 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38957
38958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38959 ac_save_CXXFLAGS="$CXXFLAGS"
38960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38961
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38963 $as_echo_n "checking for sin in -lm... " >&6; }
38964 if test "${ac_cv_lib_m_sin+set}" = set; then :
38965 $as_echo_n "(cached) " >&6
38966 else
38967 ac_check_lib_save_LIBS=$LIBS
38968 LIBS="-lm $LIBS"
38969 if test x$gcc_no_link = xyes; then
38970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38971 fi
38972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38973 /* end confdefs.h. */
38974
38975 /* Override any GCC internal prototype to avoid an error.
38976 Use char because int might match the return type of a GCC
38977 builtin and then its argument prototype would still apply. */
38978 #ifdef __cplusplus
38979 extern "C"
38980 #endif
38981 char sin ();
38982 int
38983 main ()
38984 {
38985 return sin ();
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 if ac_fn_c_try_link "$LINENO"; then :
38991 ac_cv_lib_m_sin=yes
38992 else
38993 ac_cv_lib_m_sin=no
38994 fi
38995 rm -f core conftest.err conftest.$ac_objext \
38996 conftest$ac_exeext conftest.$ac_ext
38997 LIBS=$ac_check_lib_save_LIBS
38998 fi
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39000 $as_echo "$ac_cv_lib_m_sin" >&6; }
39001 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39002 libm="-lm"
39003 fi
39004
39005 ac_save_LIBS="$LIBS"
39006 LIBS="$LIBS $libm"
39007
39008
39009
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39011 $as_echo_n "checking for isinf declaration... " >&6; }
39012 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39013 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39014 $as_echo_n "(cached) " >&6
39015 else
39016
39017
39018 ac_ext=cpp
39019 ac_cpp='$CXXCPP $CPPFLAGS'
39020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39023
39024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39025 /* end confdefs.h. */
39026 #include <math.h>
39027 #ifdef HAVE_IEEEFP_H
39028 #include <ieeefp.h>
39029 #endif
39030
39031 int
39032 main ()
39033 {
39034 isinf(0);
39035 ;
39036 return 0;
39037 }
39038 _ACEOF
39039 if ac_fn_cxx_try_compile "$LINENO"; then :
39040 glibcxx_cv_func_isinf_use=yes
39041 else
39042 glibcxx_cv_func_isinf_use=no
39043 fi
39044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39050
39051
39052 fi
39053
39054 fi
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39056 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39057
39058 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39059 for ac_func in isinf
39060 do :
39061 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39062 if test "x$ac_cv_func_isinf" = x""yes; then :
39063 cat >>confdefs.h <<_ACEOF
39064 #define HAVE_ISINF 1
39065 _ACEOF
39066
39067 fi
39068 done
39069
39070 else
39071
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39073 $as_echo_n "checking for _isinf declaration... " >&6; }
39074 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39075 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39078
39079
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39085
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39089 #ifdef HAVE_IEEEFP_H
39090 #include <ieeefp.h>
39091 #endif
39092
39093 int
39094 main ()
39095 {
39096 _isinf(0);
39097 ;
39098 return 0;
39099 }
39100 _ACEOF
39101 if ac_fn_cxx_try_compile "$LINENO"; then :
39102 glibcxx_cv_func__isinf_use=yes
39103 else
39104 glibcxx_cv_func__isinf_use=no
39105 fi
39106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39107 ac_ext=c
39108 ac_cpp='$CPP $CPPFLAGS'
39109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39112
39113
39114 fi
39115
39116 fi
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39118 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39119
39120 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39121 for ac_func in _isinf
39122 do :
39123 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39124 if test "x$ac_cv_func__isinf" = x""yes; then :
39125 cat >>confdefs.h <<_ACEOF
39126 #define HAVE__ISINF 1
39127 _ACEOF
39128
39129 fi
39130 done
39131
39132 fi
39133 fi
39134
39135
39136
39137
39138
39139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39140 $as_echo_n "checking for isnan declaration... " >&6; }
39141 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39142 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39143 $as_echo_n "(cached) " >&6
39144 else
39145
39146
39147 ac_ext=cpp
39148 ac_cpp='$CXXCPP $CPPFLAGS'
39149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39152
39153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39154 /* end confdefs.h. */
39155 #include <math.h>
39156 #ifdef HAVE_IEEEFP_H
39157 #include <ieeefp.h>
39158 #endif
39159
39160 int
39161 main ()
39162 {
39163 isnan(0);
39164 ;
39165 return 0;
39166 }
39167 _ACEOF
39168 if ac_fn_cxx_try_compile "$LINENO"; then :
39169 glibcxx_cv_func_isnan_use=yes
39170 else
39171 glibcxx_cv_func_isnan_use=no
39172 fi
39173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39174 ac_ext=c
39175 ac_cpp='$CPP $CPPFLAGS'
39176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39179
39180
39181 fi
39182
39183 fi
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39185 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39186
39187 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39188 for ac_func in isnan
39189 do :
39190 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39191 if test "x$ac_cv_func_isnan" = x""yes; then :
39192 cat >>confdefs.h <<_ACEOF
39193 #define HAVE_ISNAN 1
39194 _ACEOF
39195
39196 fi
39197 done
39198
39199 else
39200
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39202 $as_echo_n "checking for _isnan declaration... " >&6; }
39203 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39204 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39205 $as_echo_n "(cached) " >&6
39206 else
39207
39208
39209 ac_ext=cpp
39210 ac_cpp='$CXXCPP $CPPFLAGS'
39211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39214
39215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39216 /* end confdefs.h. */
39217 #include <math.h>
39218 #ifdef HAVE_IEEEFP_H
39219 #include <ieeefp.h>
39220 #endif
39221
39222 int
39223 main ()
39224 {
39225 _isnan(0);
39226 ;
39227 return 0;
39228 }
39229 _ACEOF
39230 if ac_fn_cxx_try_compile "$LINENO"; then :
39231 glibcxx_cv_func__isnan_use=yes
39232 else
39233 glibcxx_cv_func__isnan_use=no
39234 fi
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_ext=c
39237 ac_cpp='$CPP $CPPFLAGS'
39238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39241
39242
39243 fi
39244
39245 fi
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39247 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39248
39249 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39250 for ac_func in _isnan
39251 do :
39252 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39253 if test "x$ac_cv_func__isnan" = x""yes; then :
39254 cat >>confdefs.h <<_ACEOF
39255 #define HAVE__ISNAN 1
39256 _ACEOF
39257
39258 fi
39259 done
39260
39261 fi
39262 fi
39263
39264
39265
39266
39267
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39269 $as_echo_n "checking for finite declaration... " >&6; }
39270 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39271 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39272 $as_echo_n "(cached) " >&6
39273 else
39274
39275
39276 ac_ext=cpp
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39281
39282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283 /* end confdefs.h. */
39284 #include <math.h>
39285 #ifdef HAVE_IEEEFP_H
39286 #include <ieeefp.h>
39287 #endif
39288
39289 int
39290 main ()
39291 {
39292 finite(0);
39293 ;
39294 return 0;
39295 }
39296 _ACEOF
39297 if ac_fn_cxx_try_compile "$LINENO"; then :
39298 glibcxx_cv_func_finite_use=yes
39299 else
39300 glibcxx_cv_func_finite_use=no
39301 fi
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303 ac_ext=c
39304 ac_cpp='$CPP $CPPFLAGS'
39305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308
39309
39310 fi
39311
39312 fi
39313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39314 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39315
39316 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39317 for ac_func in finite
39318 do :
39319 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39320 if test "x$ac_cv_func_finite" = x""yes; then :
39321 cat >>confdefs.h <<_ACEOF
39322 #define HAVE_FINITE 1
39323 _ACEOF
39324
39325 fi
39326 done
39327
39328 else
39329
39330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39331 $as_echo_n "checking for _finite declaration... " >&6; }
39332 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39333 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39334 $as_echo_n "(cached) " >&6
39335 else
39336
39337
39338 ac_ext=cpp
39339 ac_cpp='$CXXCPP $CPPFLAGS'
39340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343
39344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39345 /* end confdefs.h. */
39346 #include <math.h>
39347 #ifdef HAVE_IEEEFP_H
39348 #include <ieeefp.h>
39349 #endif
39350
39351 int
39352 main ()
39353 {
39354 _finite(0);
39355 ;
39356 return 0;
39357 }
39358 _ACEOF
39359 if ac_fn_cxx_try_compile "$LINENO"; then :
39360 glibcxx_cv_func__finite_use=yes
39361 else
39362 glibcxx_cv_func__finite_use=no
39363 fi
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365 ac_ext=c
39366 ac_cpp='$CPP $CPPFLAGS'
39367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39370
39371
39372 fi
39373
39374 fi
39375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39376 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39377
39378 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39379 for ac_func in _finite
39380 do :
39381 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39382 if test "x$ac_cv_func__finite" = x""yes; then :
39383 cat >>confdefs.h <<_ACEOF
39384 #define HAVE__FINITE 1
39385 _ACEOF
39386
39387 fi
39388 done
39389
39390 fi
39391 fi
39392
39393
39394
39395
39396
39397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39398 $as_echo_n "checking for sincos declaration... " >&6; }
39399 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39400 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39401 $as_echo_n "(cached) " >&6
39402 else
39403
39404
39405 ac_ext=cpp
39406 ac_cpp='$CXXCPP $CPPFLAGS'
39407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39410
39411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39412 /* end confdefs.h. */
39413 #include <math.h>
39414 int
39415 main ()
39416 {
39417 sincos(0, 0, 0);
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 if ac_fn_cxx_try_compile "$LINENO"; then :
39423 glibcxx_cv_func_sincos_use=yes
39424 else
39425 glibcxx_cv_func_sincos_use=no
39426 fi
39427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39428 ac_ext=c
39429 ac_cpp='$CPP $CPPFLAGS'
39430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39433
39434
39435 fi
39436
39437 fi
39438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39439 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39440
39441 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39442 for ac_func in sincos
39443 do :
39444 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39445 if test "x$ac_cv_func_sincos" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE_SINCOS 1
39448 _ACEOF
39449
39450 fi
39451 done
39452
39453 else
39454
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39456 $as_echo_n "checking for _sincos declaration... " >&6; }
39457 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39458 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39459 $as_echo_n "(cached) " >&6
39460 else
39461
39462
39463 ac_ext=cpp
39464 ac_cpp='$CXXCPP $CPPFLAGS'
39465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39468
39469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39470 /* end confdefs.h. */
39471 #include <math.h>
39472 int
39473 main ()
39474 {
39475 _sincos(0, 0, 0);
39476 ;
39477 return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481 glibcxx_cv_func__sincos_use=yes
39482 else
39483 glibcxx_cv_func__sincos_use=no
39484 fi
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486 ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491
39492
39493 fi
39494
39495 fi
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39497 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39498
39499 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39500 for ac_func in _sincos
39501 do :
39502 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39503 if test "x$ac_cv_func__sincos" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE__SINCOS 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511 fi
39512 fi
39513
39514
39515
39516
39517
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39519 $as_echo_n "checking for fpclass declaration... " >&6; }
39520 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39521 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39522 $as_echo_n "(cached) " >&6
39523 else
39524
39525
39526 ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39531
39532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h. */
39534 #include <math.h>
39535 #ifdef HAVE_IEEEFP_H
39536 #include <ieeefp.h>
39537 #endif
39538
39539 int
39540 main ()
39541 {
39542 fpclass(0);
39543 ;
39544 return 0;
39545 }
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548 glibcxx_cv_func_fpclass_use=yes
39549 else
39550 glibcxx_cv_func_fpclass_use=no
39551 fi
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553 ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39558
39559
39560 fi
39561
39562 fi
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39564 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39565
39566 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39567 for ac_func in fpclass
39568 do :
39569 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39570 if test "x$ac_cv_func_fpclass" = x""yes; then :
39571 cat >>confdefs.h <<_ACEOF
39572 #define HAVE_FPCLASS 1
39573 _ACEOF
39574
39575 fi
39576 done
39577
39578 else
39579
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39581 $as_echo_n "checking for _fpclass declaration... " >&6; }
39582 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39583 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39584 $as_echo_n "(cached) " >&6
39585 else
39586
39587
39588 ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39593
39594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h. */
39596 #include <math.h>
39597 #ifdef HAVE_IEEEFP_H
39598 #include <ieeefp.h>
39599 #endif
39600
39601 int
39602 main ()
39603 {
39604 _fpclass(0);
39605 ;
39606 return 0;
39607 }
39608 _ACEOF
39609 if ac_fn_cxx_try_compile "$LINENO"; then :
39610 glibcxx_cv_func__fpclass_use=yes
39611 else
39612 glibcxx_cv_func__fpclass_use=no
39613 fi
39614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39615 ac_ext=c
39616 ac_cpp='$CPP $CPPFLAGS'
39617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39620
39621
39622 fi
39623
39624 fi
39625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39626 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39627
39628 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39629 for ac_func in _fpclass
39630 do :
39631 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39632 if test "x$ac_cv_func__fpclass" = x""yes; then :
39633 cat >>confdefs.h <<_ACEOF
39634 #define HAVE__FPCLASS 1
39635 _ACEOF
39636
39637 fi
39638 done
39639
39640 fi
39641 fi
39642
39643
39644
39645
39646
39647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39648 $as_echo_n "checking for qfpclass declaration... " >&6; }
39649 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39650 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39651 $as_echo_n "(cached) " >&6
39652 else
39653
39654
39655 ac_ext=cpp
39656 ac_cpp='$CXXCPP $CPPFLAGS'
39657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660
39661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39662 /* end confdefs.h. */
39663 #include <math.h>
39664 #ifdef HAVE_IEEEFP_H
39665 #include <ieeefp.h>
39666 #endif
39667
39668 int
39669 main ()
39670 {
39671 qfpclass(0);
39672 ;
39673 return 0;
39674 }
39675 _ACEOF
39676 if ac_fn_cxx_try_compile "$LINENO"; then :
39677 glibcxx_cv_func_qfpclass_use=yes
39678 else
39679 glibcxx_cv_func_qfpclass_use=no
39680 fi
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682 ac_ext=c
39683 ac_cpp='$CPP $CPPFLAGS'
39684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687
39688
39689 fi
39690
39691 fi
39692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39693 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39694
39695 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39696 for ac_func in qfpclass
39697 do :
39698 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39699 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39700 cat >>confdefs.h <<_ACEOF
39701 #define HAVE_QFPCLASS 1
39702 _ACEOF
39703
39704 fi
39705 done
39706
39707 else
39708
39709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39710 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39711 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39712 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39713 $as_echo_n "(cached) " >&6
39714 else
39715
39716
39717 ac_ext=cpp
39718 ac_cpp='$CXXCPP $CPPFLAGS'
39719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39722
39723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39724 /* end confdefs.h. */
39725 #include <math.h>
39726 #ifdef HAVE_IEEEFP_H
39727 #include <ieeefp.h>
39728 #endif
39729
39730 int
39731 main ()
39732 {
39733 _qfpclass(0);
39734 ;
39735 return 0;
39736 }
39737 _ACEOF
39738 if ac_fn_cxx_try_compile "$LINENO"; then :
39739 glibcxx_cv_func__qfpclass_use=yes
39740 else
39741 glibcxx_cv_func__qfpclass_use=no
39742 fi
39743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39744 ac_ext=c
39745 ac_cpp='$CPP $CPPFLAGS'
39746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39749
39750
39751 fi
39752
39753 fi
39754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39755 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39756
39757 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39758 for ac_func in _qfpclass
39759 do :
39760 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39761 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39762 cat >>confdefs.h <<_ACEOF
39763 #define HAVE__QFPCLASS 1
39764 _ACEOF
39765
39766 fi
39767 done
39768
39769 fi
39770 fi
39771
39772
39773
39774
39775
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39777 $as_echo_n "checking for hypot declaration... " >&6; }
39778 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39779 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39782
39783
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <math.h>
39793 int
39794 main ()
39795 {
39796 hypot(0, 0);
39797 ;
39798 return 0;
39799 }
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_hypot_use=yes
39803 else
39804 glibcxx_cv_func_hypot_use=no
39805 fi
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39812
39813
39814 fi
39815
39816 fi
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39818 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39819
39820 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39821 for ac_func in hypot
39822 do :
39823 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39824 if test "x$ac_cv_func_hypot" = x""yes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE_HYPOT 1
39827 _ACEOF
39828
39829 fi
39830 done
39831
39832 else
39833
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39835 $as_echo_n "checking for _hypot declaration... " >&6; }
39836 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39837 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39838 $as_echo_n "(cached) " >&6
39839 else
39840
39841
39842 ac_ext=cpp
39843 ac_cpp='$CXXCPP $CPPFLAGS'
39844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39847
39848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39849 /* end confdefs.h. */
39850 #include <math.h>
39851 int
39852 main ()
39853 {
39854 _hypot(0, 0);
39855 ;
39856 return 0;
39857 }
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func__hypot_use=yes
39861 else
39862 glibcxx_cv_func__hypot_use=no
39863 fi
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874 fi
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39876 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39877
39878 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39879 for ac_func in _hypot
39880 do :
39881 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39882 if test "x$ac_cv_func__hypot" = x""yes; then :
39883 cat >>confdefs.h <<_ACEOF
39884 #define HAVE__HYPOT 1
39885 _ACEOF
39886
39887 fi
39888 done
39889
39890 fi
39891 fi
39892
39893
39894
39895
39896
39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39898 $as_echo_n "checking for float trig functions... " >&6; }
39899 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39900 $as_echo_n "(cached) " >&6
39901 else
39902
39903
39904 ac_ext=cpp
39905 ac_cpp='$CXXCPP $CPPFLAGS'
39906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39909
39910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39911 /* end confdefs.h. */
39912 #include <math.h>
39913 int
39914 main ()
39915 {
39916 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39917 ;
39918 return 0;
39919 }
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922 glibcxx_cv_func_float_trig_use=yes
39923 else
39924 glibcxx_cv_func_float_trig_use=no
39925 fi
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927 ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932
39933 fi
39934
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39936 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39937 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39938 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39939 do :
39940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39942 eval as_val=\$$as_ac_var
39943 if test "x$as_val" = x""yes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39946 _ACEOF
39947
39948 fi
39949 done
39950
39951 else
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39953 $as_echo_n "checking for _float trig functions... " >&6; }
39954 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39955 $as_echo_n "(cached) " >&6
39956 else
39957
39958
39959 ac_ext=cpp
39960 ac_cpp='$CXXCPP $CPPFLAGS'
39961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39964
39965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39966 /* end confdefs.h. */
39967 #include <math.h>
39968 int
39969 main ()
39970 {
39971 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39972 ;
39973 return 0;
39974 }
39975 _ACEOF
39976 if ac_fn_cxx_try_compile "$LINENO"; then :
39977 glibcxx_cv_func__float_trig_use=yes
39978 else
39979 glibcxx_cv_func__float_trig_use=no
39980 fi
39981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39982 ac_ext=c
39983 ac_cpp='$CPP $CPPFLAGS'
39984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39987
39988 fi
39989
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39991 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39992 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39993 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39994 do :
39995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39997 eval as_val=\$$as_ac_var
39998 if test "x$as_val" = x""yes; then :
39999 cat >>confdefs.h <<_ACEOF
40000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40001 _ACEOF
40002
40003 fi
40004 done
40005
40006 fi
40007 fi
40008
40009
40010
40011
40012
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40014 $as_echo_n "checking for float round functions... " >&6; }
40015 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40016 $as_echo_n "(cached) " >&6
40017 else
40018
40019
40020 ac_ext=cpp
40021 ac_cpp='$CXXCPP $CPPFLAGS'
40022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40025
40026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40027 /* end confdefs.h. */
40028 #include <math.h>
40029 int
40030 main ()
40031 {
40032 ceilf (0); floorf (0);
40033 ;
40034 return 0;
40035 }
40036 _ACEOF
40037 if ac_fn_cxx_try_compile "$LINENO"; then :
40038 glibcxx_cv_func_float_round_use=yes
40039 else
40040 glibcxx_cv_func_float_round_use=no
40041 fi
40042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40043 ac_ext=c
40044 ac_cpp='$CPP $CPPFLAGS'
40045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40048
40049 fi
40050
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40052 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40053 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40054 for ac_func in ceilf floorf
40055 do :
40056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40058 eval as_val=\$$as_ac_var
40059 if test "x$as_val" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40062 _ACEOF
40063
40064 fi
40065 done
40066
40067 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40069 $as_echo_n "checking for _float round functions... " >&6; }
40070 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40071 $as_echo_n "(cached) " >&6
40072 else
40073
40074
40075 ac_ext=cpp
40076 ac_cpp='$CXXCPP $CPPFLAGS'
40077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40080
40081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 /* end confdefs.h. */
40083 #include <math.h>
40084 int
40085 main ()
40086 {
40087 _ceilf (0); _floorf (0);
40088 ;
40089 return 0;
40090 }
40091 _ACEOF
40092 if ac_fn_cxx_try_compile "$LINENO"; then :
40093 glibcxx_cv_func__float_round_use=yes
40094 else
40095 glibcxx_cv_func__float_round_use=no
40096 fi
40097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40098 ac_ext=c
40099 ac_cpp='$CPP $CPPFLAGS'
40100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40103
40104 fi
40105
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40107 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40108 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40109 for ac_func in _ceilf _floorf
40110 do :
40111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40113 eval as_val=\$$as_ac_var
40114 if test "x$as_val" = x""yes; then :
40115 cat >>confdefs.h <<_ACEOF
40116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40117 _ACEOF
40118
40119 fi
40120 done
40121
40122 fi
40123 fi
40124
40125
40126
40127
40128
40129
40130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40131 $as_echo_n "checking for expf declaration... " >&6; }
40132 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40133 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40134 $as_echo_n "(cached) " >&6
40135 else
40136
40137
40138 ac_ext=cpp
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40143
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40146 #include <math.h>
40147 #ifdef HAVE_IEEEFP_H
40148 #include <ieeefp.h>
40149 #endif
40150
40151 int
40152 main ()
40153 {
40154 expf(0);
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 if ac_fn_cxx_try_compile "$LINENO"; then :
40160 glibcxx_cv_func_expf_use=yes
40161 else
40162 glibcxx_cv_func_expf_use=no
40163 fi
40164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40165 ac_ext=c
40166 ac_cpp='$CPP $CPPFLAGS'
40167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40170
40171
40172 fi
40173
40174 fi
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40176 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40177
40178 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40179 for ac_func in expf
40180 do :
40181 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40182 if test "x$ac_cv_func_expf" = x""yes; then :
40183 cat >>confdefs.h <<_ACEOF
40184 #define HAVE_EXPF 1
40185 _ACEOF
40186
40187 fi
40188 done
40189
40190 else
40191
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40193 $as_echo_n "checking for _expf declaration... " >&6; }
40194 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40195 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40196 $as_echo_n "(cached) " >&6
40197 else
40198
40199
40200 ac_ext=cpp
40201 ac_cpp='$CXXCPP $CPPFLAGS'
40202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40205
40206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40207 /* end confdefs.h. */
40208 #include <math.h>
40209 #ifdef HAVE_IEEEFP_H
40210 #include <ieeefp.h>
40211 #endif
40212
40213 int
40214 main ()
40215 {
40216 _expf(0);
40217 ;
40218 return 0;
40219 }
40220 _ACEOF
40221 if ac_fn_cxx_try_compile "$LINENO"; then :
40222 glibcxx_cv_func__expf_use=yes
40223 else
40224 glibcxx_cv_func__expf_use=no
40225 fi
40226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40227 ac_ext=c
40228 ac_cpp='$CPP $CPPFLAGS'
40229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40232
40233
40234 fi
40235
40236 fi
40237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40238 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40239
40240 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40241 for ac_func in _expf
40242 do :
40243 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40244 if test "x$ac_cv_func__expf" = x""yes; then :
40245 cat >>confdefs.h <<_ACEOF
40246 #define HAVE__EXPF 1
40247 _ACEOF
40248
40249 fi
40250 done
40251
40252 fi
40253 fi
40254
40255
40256
40257
40258
40259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40260 $as_echo_n "checking for isnanf declaration... " >&6; }
40261 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40262 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40263 $as_echo_n "(cached) " >&6
40264 else
40265
40266
40267 ac_ext=cpp
40268 ac_cpp='$CXXCPP $CPPFLAGS'
40269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40272
40273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40274 /* end confdefs.h. */
40275 #include <math.h>
40276 #ifdef HAVE_IEEEFP_H
40277 #include <ieeefp.h>
40278 #endif
40279
40280 int
40281 main ()
40282 {
40283 isnanf(0);
40284 ;
40285 return 0;
40286 }
40287 _ACEOF
40288 if ac_fn_cxx_try_compile "$LINENO"; then :
40289 glibcxx_cv_func_isnanf_use=yes
40290 else
40291 glibcxx_cv_func_isnanf_use=no
40292 fi
40293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40294 ac_ext=c
40295 ac_cpp='$CPP $CPPFLAGS'
40296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40299
40300
40301 fi
40302
40303 fi
40304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40305 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40306
40307 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40308 for ac_func in isnanf
40309 do :
40310 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40311 if test "x$ac_cv_func_isnanf" = x""yes; then :
40312 cat >>confdefs.h <<_ACEOF
40313 #define HAVE_ISNANF 1
40314 _ACEOF
40315
40316 fi
40317 done
40318
40319 else
40320
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40322 $as_echo_n "checking for _isnanf declaration... " >&6; }
40323 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40324 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40325 $as_echo_n "(cached) " >&6
40326 else
40327
40328
40329 ac_ext=cpp
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40334
40335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40336 /* end confdefs.h. */
40337 #include <math.h>
40338 #ifdef HAVE_IEEEFP_H
40339 #include <ieeefp.h>
40340 #endif
40341
40342 int
40343 main ()
40344 {
40345 _isnanf(0);
40346 ;
40347 return 0;
40348 }
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351 glibcxx_cv_func__isnanf_use=yes
40352 else
40353 glibcxx_cv_func__isnanf_use=no
40354 fi
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40361
40362
40363 fi
40364
40365 fi
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40367 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40368
40369 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40370 for ac_func in _isnanf
40371 do :
40372 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40373 if test "x$ac_cv_func__isnanf" = x""yes; then :
40374 cat >>confdefs.h <<_ACEOF
40375 #define HAVE__ISNANF 1
40376 _ACEOF
40377
40378 fi
40379 done
40380
40381 fi
40382 fi
40383
40384
40385
40386
40387
40388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40389 $as_echo_n "checking for isinff declaration... " >&6; }
40390 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40391 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40392 $as_echo_n "(cached) " >&6
40393 else
40394
40395
40396 ac_ext=cpp
40397 ac_cpp='$CXXCPP $CPPFLAGS'
40398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40401
40402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40403 /* end confdefs.h. */
40404 #include <math.h>
40405 #ifdef HAVE_IEEEFP_H
40406 #include <ieeefp.h>
40407 #endif
40408
40409 int
40410 main ()
40411 {
40412 isinff(0);
40413 ;
40414 return 0;
40415 }
40416 _ACEOF
40417 if ac_fn_cxx_try_compile "$LINENO"; then :
40418 glibcxx_cv_func_isinff_use=yes
40419 else
40420 glibcxx_cv_func_isinff_use=no
40421 fi
40422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40423 ac_ext=c
40424 ac_cpp='$CPP $CPPFLAGS'
40425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40428
40429
40430 fi
40431
40432 fi
40433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40434 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40435
40436 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40437 for ac_func in isinff
40438 do :
40439 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40440 if test "x$ac_cv_func_isinff" = x""yes; then :
40441 cat >>confdefs.h <<_ACEOF
40442 #define HAVE_ISINFF 1
40443 _ACEOF
40444
40445 fi
40446 done
40447
40448 else
40449
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40451 $as_echo_n "checking for _isinff declaration... " >&6; }
40452 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40453 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40454 $as_echo_n "(cached) " >&6
40455 else
40456
40457
40458 ac_ext=cpp
40459 ac_cpp='$CXXCPP $CPPFLAGS'
40460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40463
40464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40465 /* end confdefs.h. */
40466 #include <math.h>
40467 #ifdef HAVE_IEEEFP_H
40468 #include <ieeefp.h>
40469 #endif
40470
40471 int
40472 main ()
40473 {
40474 _isinff(0);
40475 ;
40476 return 0;
40477 }
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func__isinff_use=yes
40481 else
40482 glibcxx_cv_func__isinff_use=no
40483 fi
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40490
40491
40492 fi
40493
40494 fi
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40496 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40497
40498 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40499 for ac_func in _isinff
40500 do :
40501 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40502 if test "x$ac_cv_func__isinff" = x""yes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE__ISINFF 1
40505 _ACEOF
40506
40507 fi
40508 done
40509
40510 fi
40511 fi
40512
40513
40514
40515
40516
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40518 $as_echo_n "checking for atan2f declaration... " >&6; }
40519 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40520 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40521 $as_echo_n "(cached) " >&6
40522 else
40523
40524
40525 ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40530
40531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h. */
40533 #include <math.h>
40534 int
40535 main ()
40536 {
40537 atan2f(0, 0);
40538 ;
40539 return 0;
40540 }
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543 glibcxx_cv_func_atan2f_use=yes
40544 else
40545 glibcxx_cv_func_atan2f_use=no
40546 fi
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548 ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40553
40554
40555 fi
40556
40557 fi
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40559 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40560
40561 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40562 for ac_func in atan2f
40563 do :
40564 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40565 if test "x$ac_cv_func_atan2f" = x""yes; then :
40566 cat >>confdefs.h <<_ACEOF
40567 #define HAVE_ATAN2F 1
40568 _ACEOF
40569
40570 fi
40571 done
40572
40573 else
40574
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40576 $as_echo_n "checking for _atan2f declaration... " >&6; }
40577 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40578 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40579 $as_echo_n "(cached) " >&6
40580 else
40581
40582
40583 ac_ext=cpp
40584 ac_cpp='$CXXCPP $CPPFLAGS'
40585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40588
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40590 /* end confdefs.h. */
40591 #include <math.h>
40592 int
40593 main ()
40594 {
40595 _atan2f(0, 0);
40596 ;
40597 return 0;
40598 }
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func__atan2f_use=yes
40602 else
40603 glibcxx_cv_func__atan2f_use=no
40604 fi
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40611
40612
40613 fi
40614
40615 fi
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40617 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40618
40619 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40620 for ac_func in _atan2f
40621 do :
40622 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40623 if test "x$ac_cv_func__atan2f" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE__ATAN2F 1
40626 _ACEOF
40627
40628 fi
40629 done
40630
40631 fi
40632 fi
40633
40634
40635
40636
40637
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40639 $as_echo_n "checking for fabsf declaration... " >&6; }
40640 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40641 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40642 $as_echo_n "(cached) " >&6
40643 else
40644
40645
40646 ac_ext=cpp
40647 ac_cpp='$CXXCPP $CPPFLAGS'
40648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40651
40652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653 /* end confdefs.h. */
40654 #include <math.h>
40655 #ifdef HAVE_IEEEFP_H
40656 #include <ieeefp.h>
40657 #endif
40658
40659 int
40660 main ()
40661 {
40662 fabsf(0);
40663 ;
40664 return 0;
40665 }
40666 _ACEOF
40667 if ac_fn_cxx_try_compile "$LINENO"; then :
40668 glibcxx_cv_func_fabsf_use=yes
40669 else
40670 glibcxx_cv_func_fabsf_use=no
40671 fi
40672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40673 ac_ext=c
40674 ac_cpp='$CPP $CPPFLAGS'
40675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40678
40679
40680 fi
40681
40682 fi
40683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40684 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40685
40686 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40687 for ac_func in fabsf
40688 do :
40689 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40690 if test "x$ac_cv_func_fabsf" = x""yes; then :
40691 cat >>confdefs.h <<_ACEOF
40692 #define HAVE_FABSF 1
40693 _ACEOF
40694
40695 fi
40696 done
40697
40698 else
40699
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40701 $as_echo_n "checking for _fabsf declaration... " >&6; }
40702 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40703 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40704 $as_echo_n "(cached) " >&6
40705 else
40706
40707
40708 ac_ext=cpp
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40715 /* end confdefs.h. */
40716 #include <math.h>
40717 #ifdef HAVE_IEEEFP_H
40718 #include <ieeefp.h>
40719 #endif
40720
40721 int
40722 main ()
40723 {
40724 _fabsf(0);
40725 ;
40726 return 0;
40727 }
40728 _ACEOF
40729 if ac_fn_cxx_try_compile "$LINENO"; then :
40730 glibcxx_cv_func__fabsf_use=yes
40731 else
40732 glibcxx_cv_func__fabsf_use=no
40733 fi
40734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40735 ac_ext=c
40736 ac_cpp='$CPP $CPPFLAGS'
40737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40740
40741
40742 fi
40743
40744 fi
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40746 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40747
40748 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40749 for ac_func in _fabsf
40750 do :
40751 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40752 if test "x$ac_cv_func__fabsf" = x""yes; then :
40753 cat >>confdefs.h <<_ACEOF
40754 #define HAVE__FABSF 1
40755 _ACEOF
40756
40757 fi
40758 done
40759
40760 fi
40761 fi
40762
40763
40764
40765
40766
40767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40768 $as_echo_n "checking for fmodf declaration... " >&6; }
40769 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40770 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40771 $as_echo_n "(cached) " >&6
40772 else
40773
40774
40775 ac_ext=cpp
40776 ac_cpp='$CXXCPP $CPPFLAGS'
40777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40780
40781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40782 /* end confdefs.h. */
40783 #include <math.h>
40784 int
40785 main ()
40786 {
40787 fmodf(0, 0);
40788 ;
40789 return 0;
40790 }
40791 _ACEOF
40792 if ac_fn_cxx_try_compile "$LINENO"; then :
40793 glibcxx_cv_func_fmodf_use=yes
40794 else
40795 glibcxx_cv_func_fmodf_use=no
40796 fi
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798 ac_ext=c
40799 ac_cpp='$CPP $CPPFLAGS'
40800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40803
40804
40805 fi
40806
40807 fi
40808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40809 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40810
40811 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40812 for ac_func in fmodf
40813 do :
40814 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40815 if test "x$ac_cv_func_fmodf" = x""yes; then :
40816 cat >>confdefs.h <<_ACEOF
40817 #define HAVE_FMODF 1
40818 _ACEOF
40819
40820 fi
40821 done
40822
40823 else
40824
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40826 $as_echo_n "checking for _fmodf declaration... " >&6; }
40827 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40828 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40829 $as_echo_n "(cached) " >&6
40830 else
40831
40832
40833 ac_ext=cpp
40834 ac_cpp='$CXXCPP $CPPFLAGS'
40835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40838
40839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40840 /* end confdefs.h. */
40841 #include <math.h>
40842 int
40843 main ()
40844 {
40845 _fmodf(0, 0);
40846 ;
40847 return 0;
40848 }
40849 _ACEOF
40850 if ac_fn_cxx_try_compile "$LINENO"; then :
40851 glibcxx_cv_func__fmodf_use=yes
40852 else
40853 glibcxx_cv_func__fmodf_use=no
40854 fi
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856 ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861
40862
40863 fi
40864
40865 fi
40866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40867 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40868
40869 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40870 for ac_func in _fmodf
40871 do :
40872 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40873 if test "x$ac_cv_func__fmodf" = x""yes; then :
40874 cat >>confdefs.h <<_ACEOF
40875 #define HAVE__FMODF 1
40876 _ACEOF
40877
40878 fi
40879 done
40880
40881 fi
40882 fi
40883
40884
40885
40886
40887
40888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40889 $as_echo_n "checking for frexpf declaration... " >&6; }
40890 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40891 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40892 $as_echo_n "(cached) " >&6
40893 else
40894
40895
40896 ac_ext=cpp
40897 ac_cpp='$CXXCPP $CPPFLAGS'
40898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40901
40902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40903 /* end confdefs.h. */
40904 #include <math.h>
40905 int
40906 main ()
40907 {
40908 frexpf(0, 0);
40909 ;
40910 return 0;
40911 }
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914 glibcxx_cv_func_frexpf_use=yes
40915 else
40916 glibcxx_cv_func_frexpf_use=no
40917 fi
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924
40925
40926 fi
40927
40928 fi
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40930 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40931
40932 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40933 for ac_func in frexpf
40934 do :
40935 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40936 if test "x$ac_cv_func_frexpf" = x""yes; then :
40937 cat >>confdefs.h <<_ACEOF
40938 #define HAVE_FREXPF 1
40939 _ACEOF
40940
40941 fi
40942 done
40943
40944 else
40945
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40947 $as_echo_n "checking for _frexpf declaration... " >&6; }
40948 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40949 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40952
40953
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40963 int
40964 main ()
40965 {
40966 _frexpf(0, 0);
40967 ;
40968 return 0;
40969 }
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func__frexpf_use=yes
40973 else
40974 glibcxx_cv_func__frexpf_use=no
40975 fi
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982
40983
40984 fi
40985
40986 fi
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40988 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40989
40990 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40991 for ac_func in _frexpf
40992 do :
40993 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40994 if test "x$ac_cv_func__frexpf" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE__FREXPF 1
40997 _ACEOF
40998
40999 fi
41000 done
41001
41002 fi
41003 fi
41004
41005
41006
41007
41008
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41010 $as_echo_n "checking for hypotf declaration... " >&6; }
41011 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41012 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41013 $as_echo_n "(cached) " >&6
41014 else
41015
41016
41017 ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <math.h>
41026 int
41027 main ()
41028 {
41029 hypotf(0, 0);
41030 ;
41031 return 0;
41032 }
41033 _ACEOF
41034 if ac_fn_cxx_try_compile "$LINENO"; then :
41035 glibcxx_cv_func_hypotf_use=yes
41036 else
41037 glibcxx_cv_func_hypotf_use=no
41038 fi
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040 ac_ext=c
41041 ac_cpp='$CPP $CPPFLAGS'
41042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045
41046
41047 fi
41048
41049 fi
41050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41051 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41052
41053 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41054 for ac_func in hypotf
41055 do :
41056 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41057 if test "x$ac_cv_func_hypotf" = x""yes; then :
41058 cat >>confdefs.h <<_ACEOF
41059 #define HAVE_HYPOTF 1
41060 _ACEOF
41061
41062 fi
41063 done
41064
41065 else
41066
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41068 $as_echo_n "checking for _hypotf declaration... " >&6; }
41069 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41070 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41071 $as_echo_n "(cached) " >&6
41072 else
41073
41074
41075 ac_ext=cpp
41076 ac_cpp='$CXXCPP $CPPFLAGS'
41077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41080
41081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41082 /* end confdefs.h. */
41083 #include <math.h>
41084 int
41085 main ()
41086 {
41087 _hypotf(0, 0);
41088 ;
41089 return 0;
41090 }
41091 _ACEOF
41092 if ac_fn_cxx_try_compile "$LINENO"; then :
41093 glibcxx_cv_func__hypotf_use=yes
41094 else
41095 glibcxx_cv_func__hypotf_use=no
41096 fi
41097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098 ac_ext=c
41099 ac_cpp='$CPP $CPPFLAGS'
41100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41103
41104
41105 fi
41106
41107 fi
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41109 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41110
41111 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41112 for ac_func in _hypotf
41113 do :
41114 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41115 if test "x$ac_cv_func__hypotf" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define HAVE__HYPOTF 1
41118 _ACEOF
41119
41120 fi
41121 done
41122
41123 fi
41124 fi
41125
41126
41127
41128
41129
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41131 $as_echo_n "checking for ldexpf declaration... " >&6; }
41132 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41133 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41134 $as_echo_n "(cached) " >&6
41135 else
41136
41137
41138 ac_ext=cpp
41139 ac_cpp='$CXXCPP $CPPFLAGS'
41140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41143
41144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41145 /* end confdefs.h. */
41146 #include <math.h>
41147 int
41148 main ()
41149 {
41150 ldexpf(0, 0);
41151 ;
41152 return 0;
41153 }
41154 _ACEOF
41155 if ac_fn_cxx_try_compile "$LINENO"; then :
41156 glibcxx_cv_func_ldexpf_use=yes
41157 else
41158 glibcxx_cv_func_ldexpf_use=no
41159 fi
41160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41161 ac_ext=c
41162 ac_cpp='$CPP $CPPFLAGS'
41163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41166
41167
41168 fi
41169
41170 fi
41171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41172 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41173
41174 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41175 for ac_func in ldexpf
41176 do :
41177 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41178 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41179 cat >>confdefs.h <<_ACEOF
41180 #define HAVE_LDEXPF 1
41181 _ACEOF
41182
41183 fi
41184 done
41185
41186 else
41187
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41189 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41192 $as_echo_n "(cached) " >&6
41193 else
41194
41195
41196 ac_ext=cpp
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201
41202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41203 /* end confdefs.h. */
41204 #include <math.h>
41205 int
41206 main ()
41207 {
41208 _ldexpf(0, 0);
41209 ;
41210 return 0;
41211 }
41212 _ACEOF
41213 if ac_fn_cxx_try_compile "$LINENO"; then :
41214 glibcxx_cv_func__ldexpf_use=yes
41215 else
41216 glibcxx_cv_func__ldexpf_use=no
41217 fi
41218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41219 ac_ext=c
41220 ac_cpp='$CPP $CPPFLAGS'
41221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41224
41225
41226 fi
41227
41228 fi
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41230 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41231
41232 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41233 for ac_func in _ldexpf
41234 do :
41235 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41236 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41237 cat >>confdefs.h <<_ACEOF
41238 #define HAVE__LDEXPF 1
41239 _ACEOF
41240
41241 fi
41242 done
41243
41244 fi
41245 fi
41246
41247
41248
41249
41250
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41252 $as_echo_n "checking for logf declaration... " >&6; }
41253 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41254 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41255 $as_echo_n "(cached) " >&6
41256 else
41257
41258
41259 ac_ext=cpp
41260 ac_cpp='$CXXCPP $CPPFLAGS'
41261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41264
41265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41266 /* end confdefs.h. */
41267 #include <math.h>
41268 #ifdef HAVE_IEEEFP_H
41269 #include <ieeefp.h>
41270 #endif
41271
41272 int
41273 main ()
41274 {
41275 logf(0);
41276 ;
41277 return 0;
41278 }
41279 _ACEOF
41280 if ac_fn_cxx_try_compile "$LINENO"; then :
41281 glibcxx_cv_func_logf_use=yes
41282 else
41283 glibcxx_cv_func_logf_use=no
41284 fi
41285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41286 ac_ext=c
41287 ac_cpp='$CPP $CPPFLAGS'
41288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41291
41292
41293 fi
41294
41295 fi
41296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41297 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41298
41299 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41300 for ac_func in logf
41301 do :
41302 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41303 if test "x$ac_cv_func_logf" = x""yes; then :
41304 cat >>confdefs.h <<_ACEOF
41305 #define HAVE_LOGF 1
41306 _ACEOF
41307
41308 fi
41309 done
41310
41311 else
41312
41313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41314 $as_echo_n "checking for _logf declaration... " >&6; }
41315 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41316 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41317 $as_echo_n "(cached) " >&6
41318 else
41319
41320
41321 ac_ext=cpp
41322 ac_cpp='$CXXCPP $CPPFLAGS'
41323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41326
41327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41328 /* end confdefs.h. */
41329 #include <math.h>
41330 #ifdef HAVE_IEEEFP_H
41331 #include <ieeefp.h>
41332 #endif
41333
41334 int
41335 main ()
41336 {
41337 _logf(0);
41338 ;
41339 return 0;
41340 }
41341 _ACEOF
41342 if ac_fn_cxx_try_compile "$LINENO"; then :
41343 glibcxx_cv_func__logf_use=yes
41344 else
41345 glibcxx_cv_func__logf_use=no
41346 fi
41347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41348 ac_ext=c
41349 ac_cpp='$CPP $CPPFLAGS'
41350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41353
41354
41355 fi
41356
41357 fi
41358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41359 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41360
41361 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41362 for ac_func in _logf
41363 do :
41364 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41365 if test "x$ac_cv_func__logf" = x""yes; then :
41366 cat >>confdefs.h <<_ACEOF
41367 #define HAVE__LOGF 1
41368 _ACEOF
41369
41370 fi
41371 done
41372
41373 fi
41374 fi
41375
41376
41377
41378
41379
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41381 $as_echo_n "checking for log10f declaration... " >&6; }
41382 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41383 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41384 $as_echo_n "(cached) " >&6
41385 else
41386
41387
41388 ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41393
41394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h. */
41396 #include <math.h>
41397 #ifdef HAVE_IEEEFP_H
41398 #include <ieeefp.h>
41399 #endif
41400
41401 int
41402 main ()
41403 {
41404 log10f(0);
41405 ;
41406 return 0;
41407 }
41408 _ACEOF
41409 if ac_fn_cxx_try_compile "$LINENO"; then :
41410 glibcxx_cv_func_log10f_use=yes
41411 else
41412 glibcxx_cv_func_log10f_use=no
41413 fi
41414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415 ac_ext=c
41416 ac_cpp='$CPP $CPPFLAGS'
41417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41420
41421
41422 fi
41423
41424 fi
41425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41426 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41427
41428 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41429 for ac_func in log10f
41430 do :
41431 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41432 if test "x$ac_cv_func_log10f" = x""yes; then :
41433 cat >>confdefs.h <<_ACEOF
41434 #define HAVE_LOG10F 1
41435 _ACEOF
41436
41437 fi
41438 done
41439
41440 else
41441
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41443 $as_echo_n "checking for _log10f declaration... " >&6; }
41444 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41445 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41446 $as_echo_n "(cached) " >&6
41447 else
41448
41449
41450 ac_ext=cpp
41451 ac_cpp='$CXXCPP $CPPFLAGS'
41452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455
41456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41457 /* end confdefs.h. */
41458 #include <math.h>
41459 #ifdef HAVE_IEEEFP_H
41460 #include <ieeefp.h>
41461 #endif
41462
41463 int
41464 main ()
41465 {
41466 _log10f(0);
41467 ;
41468 return 0;
41469 }
41470 _ACEOF
41471 if ac_fn_cxx_try_compile "$LINENO"; then :
41472 glibcxx_cv_func__log10f_use=yes
41473 else
41474 glibcxx_cv_func__log10f_use=no
41475 fi
41476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477 ac_ext=c
41478 ac_cpp='$CPP $CPPFLAGS'
41479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41482
41483
41484 fi
41485
41486 fi
41487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41488 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41489
41490 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41491 for ac_func in _log10f
41492 do :
41493 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41494 if test "x$ac_cv_func__log10f" = x""yes; then :
41495 cat >>confdefs.h <<_ACEOF
41496 #define HAVE__LOG10F 1
41497 _ACEOF
41498
41499 fi
41500 done
41501
41502 fi
41503 fi
41504
41505
41506
41507
41508
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41510 $as_echo_n "checking for modff declaration... " >&6; }
41511 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41512 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41513 $as_echo_n "(cached) " >&6
41514 else
41515
41516
41517 ac_ext=cpp
41518 ac_cpp='$CXXCPP $CPPFLAGS'
41519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41522
41523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41524 /* end confdefs.h. */
41525 #include <math.h>
41526 int
41527 main ()
41528 {
41529 modff(0, 0);
41530 ;
41531 return 0;
41532 }
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535 glibcxx_cv_func_modff_use=yes
41536 else
41537 glibcxx_cv_func_modff_use=no
41538 fi
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540 ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41545
41546
41547 fi
41548
41549 fi
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41551 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41552
41553 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41554 for ac_func in modff
41555 do :
41556 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41557 if test "x$ac_cv_func_modff" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define HAVE_MODFF 1
41560 _ACEOF
41561
41562 fi
41563 done
41564
41565 else
41566
41567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41568 $as_echo_n "checking for _modff declaration... " >&6; }
41569 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41570 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41571 $as_echo_n "(cached) " >&6
41572 else
41573
41574
41575 ac_ext=cpp
41576 ac_cpp='$CXXCPP $CPPFLAGS'
41577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41580
41581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41582 /* end confdefs.h. */
41583 #include <math.h>
41584 int
41585 main ()
41586 {
41587 _modff(0, 0);
41588 ;
41589 return 0;
41590 }
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593 glibcxx_cv_func__modff_use=yes
41594 else
41595 glibcxx_cv_func__modff_use=no
41596 fi
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598 ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603
41604
41605 fi
41606
41607 fi
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41609 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41610
41611 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41612 for ac_func in _modff
41613 do :
41614 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41615 if test "x$ac_cv_func__modff" = x""yes; then :
41616 cat >>confdefs.h <<_ACEOF
41617 #define HAVE__MODFF 1
41618 _ACEOF
41619
41620 fi
41621 done
41622
41623 fi
41624 fi
41625
41626
41627
41628
41629
41630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41631 $as_echo_n "checking for modf declaration... " >&6; }
41632 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41633 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41634 $as_echo_n "(cached) " >&6
41635 else
41636
41637
41638 ac_ext=cpp
41639 ac_cpp='$CXXCPP $CPPFLAGS'
41640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41643
41644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41645 /* end confdefs.h. */
41646 #include <math.h>
41647 int
41648 main ()
41649 {
41650 modf(0, 0);
41651 ;
41652 return 0;
41653 }
41654 _ACEOF
41655 if ac_fn_cxx_try_compile "$LINENO"; then :
41656 glibcxx_cv_func_modf_use=yes
41657 else
41658 glibcxx_cv_func_modf_use=no
41659 fi
41660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661 ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666
41667
41668 fi
41669
41670 fi
41671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41672 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41673
41674 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41675 for ac_func in modf
41676 do :
41677 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41678 if test "x$ac_cv_func_modf" = x""yes; then :
41679 cat >>confdefs.h <<_ACEOF
41680 #define HAVE_MODF 1
41681 _ACEOF
41682
41683 fi
41684 done
41685
41686 else
41687
41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41689 $as_echo_n "checking for _modf declaration... " >&6; }
41690 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41691 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41694
41695
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41701
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41705 int
41706 main ()
41707 {
41708 _modf(0, 0);
41709 ;
41710 return 0;
41711 }
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func__modf_use=yes
41715 else
41716 glibcxx_cv_func__modf_use=no
41717 fi
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41724
41725
41726 fi
41727
41728 fi
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41730 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41731
41732 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41733 for ac_func in _modf
41734 do :
41735 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41736 if test "x$ac_cv_func__modf" = x""yes; then :
41737 cat >>confdefs.h <<_ACEOF
41738 #define HAVE__MODF 1
41739 _ACEOF
41740
41741 fi
41742 done
41743
41744 fi
41745 fi
41746
41747
41748
41749
41750
41751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41752 $as_echo_n "checking for powf declaration... " >&6; }
41753 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41754 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41755 $as_echo_n "(cached) " >&6
41756 else
41757
41758
41759 ac_ext=cpp
41760 ac_cpp='$CXXCPP $CPPFLAGS'
41761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764
41765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41766 /* end confdefs.h. */
41767 #include <math.h>
41768 int
41769 main ()
41770 {
41771 powf(0, 0);
41772 ;
41773 return 0;
41774 }
41775 _ACEOF
41776 if ac_fn_cxx_try_compile "$LINENO"; then :
41777 glibcxx_cv_func_powf_use=yes
41778 else
41779 glibcxx_cv_func_powf_use=no
41780 fi
41781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782 ac_ext=c
41783 ac_cpp='$CPP $CPPFLAGS'
41784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41787
41788
41789 fi
41790
41791 fi
41792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41793 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41794
41795 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41796 for ac_func in powf
41797 do :
41798 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41799 if test "x$ac_cv_func_powf" = x""yes; then :
41800 cat >>confdefs.h <<_ACEOF
41801 #define HAVE_POWF 1
41802 _ACEOF
41803
41804 fi
41805 done
41806
41807 else
41808
41809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41810 $as_echo_n "checking for _powf declaration... " >&6; }
41811 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41812 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41813 $as_echo_n "(cached) " >&6
41814 else
41815
41816
41817 ac_ext=cpp
41818 ac_cpp='$CXXCPP $CPPFLAGS'
41819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41822
41823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h. */
41825 #include <math.h>
41826 int
41827 main ()
41828 {
41829 _powf(0, 0);
41830 ;
41831 return 0;
41832 }
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835 glibcxx_cv_func__powf_use=yes
41836 else
41837 glibcxx_cv_func__powf_use=no
41838 fi
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845
41846
41847 fi
41848
41849 fi
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41851 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41852
41853 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41854 for ac_func in _powf
41855 do :
41856 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41857 if test "x$ac_cv_func__powf" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define HAVE__POWF 1
41860 _ACEOF
41861
41862 fi
41863 done
41864
41865 fi
41866 fi
41867
41868
41869
41870
41871
41872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41873 $as_echo_n "checking for sqrtf declaration... " >&6; }
41874 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41875 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41876 $as_echo_n "(cached) " >&6
41877 else
41878
41879
41880 ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885
41886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h. */
41888 #include <math.h>
41889 #ifdef HAVE_IEEEFP_H
41890 #include <ieeefp.h>
41891 #endif
41892
41893 int
41894 main ()
41895 {
41896 sqrtf(0);
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902 glibcxx_cv_func_sqrtf_use=yes
41903 else
41904 glibcxx_cv_func_sqrtf_use=no
41905 fi
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913
41914 fi
41915
41916 fi
41917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41918 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41919
41920 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41921 for ac_func in sqrtf
41922 do :
41923 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41924 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41925 cat >>confdefs.h <<_ACEOF
41926 #define HAVE_SQRTF 1
41927 _ACEOF
41928
41929 fi
41930 done
41931
41932 else
41933
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41935 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41936 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41937 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41938 $as_echo_n "(cached) " >&6
41939 else
41940
41941
41942 ac_ext=cpp
41943 ac_cpp='$CXXCPP $CPPFLAGS'
41944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41947
41948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949 /* end confdefs.h. */
41950 #include <math.h>
41951 #ifdef HAVE_IEEEFP_H
41952 #include <ieeefp.h>
41953 #endif
41954
41955 int
41956 main ()
41957 {
41958 _sqrtf(0);
41959 ;
41960 return 0;
41961 }
41962 _ACEOF
41963 if ac_fn_cxx_try_compile "$LINENO"; then :
41964 glibcxx_cv_func__sqrtf_use=yes
41965 else
41966 glibcxx_cv_func__sqrtf_use=no
41967 fi
41968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41969 ac_ext=c
41970 ac_cpp='$CPP $CPPFLAGS'
41971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41974
41975
41976 fi
41977
41978 fi
41979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41980 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41981
41982 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41983 for ac_func in _sqrtf
41984 do :
41985 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41986 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41987 cat >>confdefs.h <<_ACEOF
41988 #define HAVE__SQRTF 1
41989 _ACEOF
41990
41991 fi
41992 done
41993
41994 fi
41995 fi
41996
41997
41998
41999
42000
42001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42002 $as_echo_n "checking for sincosf declaration... " >&6; }
42003 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42004 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42005 $as_echo_n "(cached) " >&6
42006 else
42007
42008
42009 ac_ext=cpp
42010 ac_cpp='$CXXCPP $CPPFLAGS'
42011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014
42015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42016 /* end confdefs.h. */
42017 #include <math.h>
42018 int
42019 main ()
42020 {
42021 sincosf(0, 0, 0);
42022 ;
42023 return 0;
42024 }
42025 _ACEOF
42026 if ac_fn_cxx_try_compile "$LINENO"; then :
42027 glibcxx_cv_func_sincosf_use=yes
42028 else
42029 glibcxx_cv_func_sincosf_use=no
42030 fi
42031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42032 ac_ext=c
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42037
42038
42039 fi
42040
42041 fi
42042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42043 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42044
42045 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42046 for ac_func in sincosf
42047 do :
42048 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42049 if test "x$ac_cv_func_sincosf" = x""yes; then :
42050 cat >>confdefs.h <<_ACEOF
42051 #define HAVE_SINCOSF 1
42052 _ACEOF
42053
42054 fi
42055 done
42056
42057 else
42058
42059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42060 $as_echo_n "checking for _sincosf declaration... " >&6; }
42061 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42062 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42063 $as_echo_n "(cached) " >&6
42064 else
42065
42066
42067 ac_ext=cpp
42068 ac_cpp='$CXXCPP $CPPFLAGS'
42069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42072
42073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42074 /* end confdefs.h. */
42075 #include <math.h>
42076 int
42077 main ()
42078 {
42079 _sincosf(0, 0, 0);
42080 ;
42081 return 0;
42082 }
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085 glibcxx_cv_func__sincosf_use=yes
42086 else
42087 glibcxx_cv_func__sincosf_use=no
42088 fi
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090 ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095
42096
42097 fi
42098
42099 fi
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42101 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42102
42103 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42104 for ac_func in _sincosf
42105 do :
42106 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42107 if test "x$ac_cv_func__sincosf" = x""yes; then :
42108 cat >>confdefs.h <<_ACEOF
42109 #define HAVE__SINCOSF 1
42110 _ACEOF
42111
42112 fi
42113 done
42114
42115 fi
42116 fi
42117
42118
42119
42120
42121
42122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42123 $as_echo_n "checking for finitef declaration... " >&6; }
42124 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42125 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42126 $as_echo_n "(cached) " >&6
42127 else
42128
42129
42130 ac_ext=cpp
42131 ac_cpp='$CXXCPP $CPPFLAGS'
42132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42135
42136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42137 /* end confdefs.h. */
42138 #include <math.h>
42139 #ifdef HAVE_IEEEFP_H
42140 #include <ieeefp.h>
42141 #endif
42142
42143 int
42144 main ()
42145 {
42146 finitef(0);
42147 ;
42148 return 0;
42149 }
42150 _ACEOF
42151 if ac_fn_cxx_try_compile "$LINENO"; then :
42152 glibcxx_cv_func_finitef_use=yes
42153 else
42154 glibcxx_cv_func_finitef_use=no
42155 fi
42156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42157 ac_ext=c
42158 ac_cpp='$CPP $CPPFLAGS'
42159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162
42163
42164 fi
42165
42166 fi
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42168 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42169
42170 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42171 for ac_func in finitef
42172 do :
42173 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42174 if test "x$ac_cv_func_finitef" = x""yes; then :
42175 cat >>confdefs.h <<_ACEOF
42176 #define HAVE_FINITEF 1
42177 _ACEOF
42178
42179 fi
42180 done
42181
42182 else
42183
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42185 $as_echo_n "checking for _finitef declaration... " >&6; }
42186 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42187 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 #ifdef HAVE_IEEEFP_H
42202 #include <ieeefp.h>
42203 #endif
42204
42205 int
42206 main ()
42207 {
42208 _finitef(0);
42209 ;
42210 return 0;
42211 }
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214 glibcxx_cv_func__finitef_use=yes
42215 else
42216 glibcxx_cv_func__finitef_use=no
42217 fi
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219 ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224
42225
42226 fi
42227
42228 fi
42229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42230 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42231
42232 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42233 for ac_func in _finitef
42234 do :
42235 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42236 if test "x$ac_cv_func__finitef" = x""yes; then :
42237 cat >>confdefs.h <<_ACEOF
42238 #define HAVE__FINITEF 1
42239 _ACEOF
42240
42241 fi
42242 done
42243
42244 fi
42245 fi
42246
42247
42248
42249
42250
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42252 $as_echo_n "checking for long double trig functions... " >&6; }
42253 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42254 $as_echo_n "(cached) " >&6
42255 else
42256
42257
42258 ac_ext=cpp
42259 ac_cpp='$CXXCPP $CPPFLAGS'
42260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42263
42264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42265 /* end confdefs.h. */
42266 #include <math.h>
42267 int
42268 main ()
42269 {
42270 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42271 ;
42272 return 0;
42273 }
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func_long_double_trig_use=yes
42277 else
42278 glibcxx_cv_func_long_double_trig_use=no
42279 fi
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286
42287 fi
42288
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42290 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42291 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42292 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42293 do :
42294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42296 eval as_val=\$$as_ac_var
42297 if test "x$as_val" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42300 _ACEOF
42301
42302 fi
42303 done
42304
42305 else
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42307 $as_echo_n "checking for _long double trig functions... " >&6; }
42308 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42309 $as_echo_n "(cached) " >&6
42310 else
42311
42312
42313 ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318
42319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h. */
42321 #include <math.h>
42322 int
42323 main ()
42324 {
42325 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42326 ;
42327 return 0;
42328 }
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func__long_double_trig_use=yes
42332 else
42333 glibcxx_cv_func__long_double_trig_use=no
42334 fi
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42341
42342 fi
42343
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42345 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42346 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42347 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42348 do :
42349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42351 eval as_val=\$$as_ac_var
42352 if test "x$as_val" = x""yes; then :
42353 cat >>confdefs.h <<_ACEOF
42354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42355 _ACEOF
42356
42357 fi
42358 done
42359
42360 fi
42361 fi
42362
42363
42364
42365
42366
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42368 $as_echo_n "checking for long double round functions... " >&6; }
42369 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42372
42373
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42383 int
42384 main ()
42385 {
42386 ceill (0); floorl (0);
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func_long_double_round_use=yes
42393 else
42394 glibcxx_cv_func_long_double_round_use=no
42395 fi
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402
42403 fi
42404
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42406 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42407 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42408 for ac_func in ceill floorl
42409 do :
42410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42412 eval as_val=\$$as_ac_var
42413 if test "x$as_val" = x""yes; then :
42414 cat >>confdefs.h <<_ACEOF
42415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42416 _ACEOF
42417
42418 fi
42419 done
42420
42421 else
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42423 $as_echo_n "checking for _long double round functions... " >&6; }
42424 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42427
42428
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42434
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42438 int
42439 main ()
42440 {
42441 _ceill (0); _floorl (0);
42442 ;
42443 return 0;
42444 }
42445 _ACEOF
42446 if ac_fn_cxx_try_compile "$LINENO"; then :
42447 glibcxx_cv_func__long_double_round_use=yes
42448 else
42449 glibcxx_cv_func__long_double_round_use=no
42450 fi
42451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42452 ac_ext=c
42453 ac_cpp='$CPP $CPPFLAGS'
42454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42457
42458 fi
42459
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42461 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42462 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42463 for ac_func in _ceill _floorl
42464 do :
42465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42467 eval as_val=\$$as_ac_var
42468 if test "x$as_val" = x""yes; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42472
42473 fi
42474 done
42475
42476 fi
42477 fi
42478
42479
42480
42481
42482
42483
42484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42485 $as_echo_n "checking for isnanl declaration... " >&6; }
42486 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42487 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42488 $as_echo_n "(cached) " >&6
42489 else
42490
42491
42492 ac_ext=cpp
42493 ac_cpp='$CXXCPP $CPPFLAGS'
42494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42497
42498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499 /* end confdefs.h. */
42500 #include <math.h>
42501 #ifdef HAVE_IEEEFP_H
42502 #include <ieeefp.h>
42503 #endif
42504
42505 int
42506 main ()
42507 {
42508 isnanl(0);
42509 ;
42510 return 0;
42511 }
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514 glibcxx_cv_func_isnanl_use=yes
42515 else
42516 glibcxx_cv_func_isnanl_use=no
42517 fi
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519 ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42524
42525
42526 fi
42527
42528 fi
42529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42530 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42531
42532 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42533 for ac_func in isnanl
42534 do :
42535 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42536 if test "x$ac_cv_func_isnanl" = x""yes; then :
42537 cat >>confdefs.h <<_ACEOF
42538 #define HAVE_ISNANL 1
42539 _ACEOF
42540
42541 fi
42542 done
42543
42544 else
42545
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42547 $as_echo_n "checking for _isnanl declaration... " >&6; }
42548 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42549 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42550 $as_echo_n "(cached) " >&6
42551 else
42552
42553
42554 ac_ext=cpp
42555 ac_cpp='$CXXCPP $CPPFLAGS'
42556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42559
42560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42561 /* end confdefs.h. */
42562 #include <math.h>
42563 #ifdef HAVE_IEEEFP_H
42564 #include <ieeefp.h>
42565 #endif
42566
42567 int
42568 main ()
42569 {
42570 _isnanl(0);
42571 ;
42572 return 0;
42573 }
42574 _ACEOF
42575 if ac_fn_cxx_try_compile "$LINENO"; then :
42576 glibcxx_cv_func__isnanl_use=yes
42577 else
42578 glibcxx_cv_func__isnanl_use=no
42579 fi
42580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42581 ac_ext=c
42582 ac_cpp='$CPP $CPPFLAGS'
42583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42586
42587
42588 fi
42589
42590 fi
42591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42592 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42593
42594 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42595 for ac_func in _isnanl
42596 do :
42597 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42598 if test "x$ac_cv_func__isnanl" = x""yes; then :
42599 cat >>confdefs.h <<_ACEOF
42600 #define HAVE__ISNANL 1
42601 _ACEOF
42602
42603 fi
42604 done
42605
42606 fi
42607 fi
42608
42609
42610
42611
42612
42613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42614 $as_echo_n "checking for isinfl declaration... " >&6; }
42615 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42616 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42617 $as_echo_n "(cached) " >&6
42618 else
42619
42620
42621 ac_ext=cpp
42622 ac_cpp='$CXXCPP $CPPFLAGS'
42623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42626
42627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42628 /* end confdefs.h. */
42629 #include <math.h>
42630 #ifdef HAVE_IEEEFP_H
42631 #include <ieeefp.h>
42632 #endif
42633
42634 int
42635 main ()
42636 {
42637 isinfl(0);
42638 ;
42639 return 0;
42640 }
42641 _ACEOF
42642 if ac_fn_cxx_try_compile "$LINENO"; then :
42643 glibcxx_cv_func_isinfl_use=yes
42644 else
42645 glibcxx_cv_func_isinfl_use=no
42646 fi
42647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42653
42654
42655 fi
42656
42657 fi
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42659 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42660
42661 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42662 for ac_func in isinfl
42663 do :
42664 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42665 if test "x$ac_cv_func_isinfl" = x""yes; then :
42666 cat >>confdefs.h <<_ACEOF
42667 #define HAVE_ISINFL 1
42668 _ACEOF
42669
42670 fi
42671 done
42672
42673 else
42674
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42676 $as_echo_n "checking for _isinfl declaration... " >&6; }
42677 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42678 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42679 $as_echo_n "(cached) " >&6
42680 else
42681
42682
42683 ac_ext=cpp
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42688
42689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690 /* end confdefs.h. */
42691 #include <math.h>
42692 #ifdef HAVE_IEEEFP_H
42693 #include <ieeefp.h>
42694 #endif
42695
42696 int
42697 main ()
42698 {
42699 _isinfl(0);
42700 ;
42701 return 0;
42702 }
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func__isinfl_use=yes
42706 else
42707 glibcxx_cv_func__isinfl_use=no
42708 fi
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42715
42716
42717 fi
42718
42719 fi
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42721 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42722
42723 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42724 for ac_func in _isinfl
42725 do :
42726 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42727 if test "x$ac_cv_func__isinfl" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE__ISINFL 1
42730 _ACEOF
42731
42732 fi
42733 done
42734
42735 fi
42736 fi
42737
42738
42739
42740
42741
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42743 $as_echo_n "checking for atan2l declaration... " >&6; }
42744 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42745 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42746 $as_echo_n "(cached) " >&6
42747 else
42748
42749
42750 ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42755
42756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h. */
42758 #include <math.h>
42759 int
42760 main ()
42761 {
42762 atan2l(0, 0);
42763 ;
42764 return 0;
42765 }
42766 _ACEOF
42767 if ac_fn_cxx_try_compile "$LINENO"; then :
42768 glibcxx_cv_func_atan2l_use=yes
42769 else
42770 glibcxx_cv_func_atan2l_use=no
42771 fi
42772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773 ac_ext=c
42774 ac_cpp='$CPP $CPPFLAGS'
42775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42778
42779
42780 fi
42781
42782 fi
42783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42784 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42785
42786 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42787 for ac_func in atan2l
42788 do :
42789 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42790 if test "x$ac_cv_func_atan2l" = x""yes; then :
42791 cat >>confdefs.h <<_ACEOF
42792 #define HAVE_ATAN2L 1
42793 _ACEOF
42794
42795 fi
42796 done
42797
42798 else
42799
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42801 $as_echo_n "checking for _atan2l declaration... " >&6; }
42802 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42803 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42804 $as_echo_n "(cached) " >&6
42805 else
42806
42807
42808 ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42813
42814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h. */
42816 #include <math.h>
42817 int
42818 main ()
42819 {
42820 _atan2l(0, 0);
42821 ;
42822 return 0;
42823 }
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func__atan2l_use=yes
42827 else
42828 glibcxx_cv_func__atan2l_use=no
42829 fi
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836
42837
42838 fi
42839
42840 fi
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42842 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42843
42844 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42845 for ac_func in _atan2l
42846 do :
42847 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42848 if test "x$ac_cv_func__atan2l" = x""yes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE__ATAN2L 1
42851 _ACEOF
42852
42853 fi
42854 done
42855
42856 fi
42857 fi
42858
42859
42860
42861
42862
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42864 $as_echo_n "checking for expl declaration... " >&6; }
42865 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42866 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42869
42870
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42880 #ifdef HAVE_IEEEFP_H
42881 #include <ieeefp.h>
42882 #endif
42883
42884 int
42885 main ()
42886 {
42887 expl(0);
42888 ;
42889 return 0;
42890 }
42891 _ACEOF
42892 if ac_fn_cxx_try_compile "$LINENO"; then :
42893 glibcxx_cv_func_expl_use=yes
42894 else
42895 glibcxx_cv_func_expl_use=no
42896 fi
42897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42898 ac_ext=c
42899 ac_cpp='$CPP $CPPFLAGS'
42900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42903
42904
42905 fi
42906
42907 fi
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42909 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42910
42911 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42912 for ac_func in expl
42913 do :
42914 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42915 if test "x$ac_cv_func_expl" = x""yes; then :
42916 cat >>confdefs.h <<_ACEOF
42917 #define HAVE_EXPL 1
42918 _ACEOF
42919
42920 fi
42921 done
42922
42923 else
42924
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42926 $as_echo_n "checking for _expl declaration... " >&6; }
42927 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42928 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42929 $as_echo_n "(cached) " >&6
42930 else
42931
42932
42933 ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42938
42939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h. */
42941 #include <math.h>
42942 #ifdef HAVE_IEEEFP_H
42943 #include <ieeefp.h>
42944 #endif
42945
42946 int
42947 main ()
42948 {
42949 _expl(0);
42950 ;
42951 return 0;
42952 }
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func__expl_use=yes
42956 else
42957 glibcxx_cv_func__expl_use=no
42958 fi
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42965
42966
42967 fi
42968
42969 fi
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42971 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42972
42973 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42974 for ac_func in _expl
42975 do :
42976 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42977 if test "x$ac_cv_func__expl" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE__EXPL 1
42980 _ACEOF
42981
42982 fi
42983 done
42984
42985 fi
42986 fi
42987
42988
42989
42990
42991
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42993 $as_echo_n "checking for fabsl declaration... " >&6; }
42994 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42995 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42996 $as_echo_n "(cached) " >&6
42997 else
42998
42999
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h. */
43008 #include <math.h>
43009 #ifdef HAVE_IEEEFP_H
43010 #include <ieeefp.h>
43011 #endif
43012
43013 int
43014 main ()
43015 {
43016 fabsl(0);
43017 ;
43018 return 0;
43019 }
43020 _ACEOF
43021 if ac_fn_cxx_try_compile "$LINENO"; then :
43022 glibcxx_cv_func_fabsl_use=yes
43023 else
43024 glibcxx_cv_func_fabsl_use=no
43025 fi
43026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43027 ac_ext=c
43028 ac_cpp='$CPP $CPPFLAGS'
43029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43032
43033
43034 fi
43035
43036 fi
43037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43038 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43039
43040 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43041 for ac_func in fabsl
43042 do :
43043 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43044 if test "x$ac_cv_func_fabsl" = x""yes; then :
43045 cat >>confdefs.h <<_ACEOF
43046 #define HAVE_FABSL 1
43047 _ACEOF
43048
43049 fi
43050 done
43051
43052 else
43053
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43055 $as_echo_n "checking for _fabsl declaration... " >&6; }
43056 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43057 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43058 $as_echo_n "(cached) " >&6
43059 else
43060
43061
43062 ac_ext=cpp
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067
43068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43069 /* end confdefs.h. */
43070 #include <math.h>
43071 #ifdef HAVE_IEEEFP_H
43072 #include <ieeefp.h>
43073 #endif
43074
43075 int
43076 main ()
43077 {
43078 _fabsl(0);
43079 ;
43080 return 0;
43081 }
43082 _ACEOF
43083 if ac_fn_cxx_try_compile "$LINENO"; then :
43084 glibcxx_cv_func__fabsl_use=yes
43085 else
43086 glibcxx_cv_func__fabsl_use=no
43087 fi
43088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43089 ac_ext=c
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43094
43095
43096 fi
43097
43098 fi
43099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43100 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43101
43102 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43103 for ac_func in _fabsl
43104 do :
43105 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43106 if test "x$ac_cv_func__fabsl" = x""yes; then :
43107 cat >>confdefs.h <<_ACEOF
43108 #define HAVE__FABSL 1
43109 _ACEOF
43110
43111 fi
43112 done
43113
43114 fi
43115 fi
43116
43117
43118
43119
43120
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43122 $as_echo_n "checking for fmodl declaration... " >&6; }
43123 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43124 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43125 $as_echo_n "(cached) " >&6
43126 else
43127
43128
43129 ac_ext=cpp
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134
43135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136 /* end confdefs.h. */
43137 #include <math.h>
43138 int
43139 main ()
43140 {
43141 fmodl(0, 0);
43142 ;
43143 return 0;
43144 }
43145 _ACEOF
43146 if ac_fn_cxx_try_compile "$LINENO"; then :
43147 glibcxx_cv_func_fmodl_use=yes
43148 else
43149 glibcxx_cv_func_fmodl_use=no
43150 fi
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157
43158
43159 fi
43160
43161 fi
43162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43163 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43164
43165 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43166 for ac_func in fmodl
43167 do :
43168 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43169 if test "x$ac_cv_func_fmodl" = x""yes; then :
43170 cat >>confdefs.h <<_ACEOF
43171 #define HAVE_FMODL 1
43172 _ACEOF
43173
43174 fi
43175 done
43176
43177 else
43178
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43180 $as_echo_n "checking for _fmodl declaration... " >&6; }
43181 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43182 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43183 $as_echo_n "(cached) " >&6
43184 else
43185
43186
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h. */
43195 #include <math.h>
43196 int
43197 main ()
43198 {
43199 _fmodl(0, 0);
43200 ;
43201 return 0;
43202 }
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func__fmodl_use=yes
43206 else
43207 glibcxx_cv_func__fmodl_use=no
43208 fi
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218
43219 fi
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43221 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43222
43223 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43224 for ac_func in _fmodl
43225 do :
43226 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43227 if test "x$ac_cv_func__fmodl" = x""yes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE__FMODL 1
43230 _ACEOF
43231
43232 fi
43233 done
43234
43235 fi
43236 fi
43237
43238
43239
43240
43241
43242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43243 $as_echo_n "checking for frexpl declaration... " >&6; }
43244 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43245 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43246 $as_echo_n "(cached) " >&6
43247 else
43248
43249
43250 ac_ext=cpp
43251 ac_cpp='$CXXCPP $CPPFLAGS'
43252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43255
43256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43257 /* end confdefs.h. */
43258 #include <math.h>
43259 int
43260 main ()
43261 {
43262 frexpl(0, 0);
43263 ;
43264 return 0;
43265 }
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268 glibcxx_cv_func_frexpl_use=yes
43269 else
43270 glibcxx_cv_func_frexpl_use=no
43271 fi
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273 ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278
43279
43280 fi
43281
43282 fi
43283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43284 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43285
43286 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43287 for ac_func in frexpl
43288 do :
43289 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43290 if test "x$ac_cv_func_frexpl" = x""yes; then :
43291 cat >>confdefs.h <<_ACEOF
43292 #define HAVE_FREXPL 1
43293 _ACEOF
43294
43295 fi
43296 done
43297
43298 else
43299
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43301 $as_echo_n "checking for _frexpl declaration... " >&6; }
43302 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43303 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43306
43307
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43313
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43317 int
43318 main ()
43319 {
43320 _frexpl(0, 0);
43321 ;
43322 return 0;
43323 }
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func__frexpl_use=yes
43327 else
43328 glibcxx_cv_func__frexpl_use=no
43329 fi
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336
43337
43338 fi
43339
43340 fi
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43342 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43343
43344 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43345 for ac_func in _frexpl
43346 do :
43347 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43348 if test "x$ac_cv_func__frexpl" = x""yes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE__FREXPL 1
43351 _ACEOF
43352
43353 fi
43354 done
43355
43356 fi
43357 fi
43358
43359
43360
43361
43362
43363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43364 $as_echo_n "checking for hypotl declaration... " >&6; }
43365 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43366 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43367 $as_echo_n "(cached) " >&6
43368 else
43369
43370
43371 ac_ext=cpp
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43376
43377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378 /* end confdefs.h. */
43379 #include <math.h>
43380 int
43381 main ()
43382 {
43383 hypotl(0, 0);
43384 ;
43385 return 0;
43386 }
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389 glibcxx_cv_func_hypotl_use=yes
43390 else
43391 glibcxx_cv_func_hypotl_use=no
43392 fi
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399
43400
43401 fi
43402
43403 fi
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43405 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43406
43407 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43408 for ac_func in hypotl
43409 do :
43410 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43411 if test "x$ac_cv_func_hypotl" = x""yes; then :
43412 cat >>confdefs.h <<_ACEOF
43413 #define HAVE_HYPOTL 1
43414 _ACEOF
43415
43416 fi
43417 done
43418
43419 else
43420
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43422 $as_echo_n "checking for _hypotl declaration... " >&6; }
43423 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43424 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43427
43428
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43438 int
43439 main ()
43440 {
43441 _hypotl(0, 0);
43442 ;
43443 return 0;
43444 }
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func__hypotl_use=yes
43448 else
43449 glibcxx_cv_func__hypotl_use=no
43450 fi
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43457
43458
43459 fi
43460
43461 fi
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43463 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43464
43465 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43466 for ac_func in _hypotl
43467 do :
43468 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43469 if test "x$ac_cv_func__hypotl" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE__HYPOTL 1
43472 _ACEOF
43473
43474 fi
43475 done
43476
43477 fi
43478 fi
43479
43480
43481
43482
43483
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43485 $as_echo_n "checking for ldexpl declaration... " >&6; }
43486 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43487 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43488 $as_echo_n "(cached) " >&6
43489 else
43490
43491
43492 ac_ext=cpp
43493 ac_cpp='$CXXCPP $CPPFLAGS'
43494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43497
43498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43499 /* end confdefs.h. */
43500 #include <math.h>
43501 int
43502 main ()
43503 {
43504 ldexpl(0, 0);
43505 ;
43506 return 0;
43507 }
43508 _ACEOF
43509 if ac_fn_cxx_try_compile "$LINENO"; then :
43510 glibcxx_cv_func_ldexpl_use=yes
43511 else
43512 glibcxx_cv_func_ldexpl_use=no
43513 fi
43514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43515 ac_ext=c
43516 ac_cpp='$CPP $CPPFLAGS'
43517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520
43521
43522 fi
43523
43524 fi
43525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43526 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43527
43528 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43529 for ac_func in ldexpl
43530 do :
43531 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43532 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43533 cat >>confdefs.h <<_ACEOF
43534 #define HAVE_LDEXPL 1
43535 _ACEOF
43536
43537 fi
43538 done
43539
43540 else
43541
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43543 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43544 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43545 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43548
43549
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43559 int
43560 main ()
43561 {
43562 _ldexpl(0, 0);
43563 ;
43564 return 0;
43565 }
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func__ldexpl_use=yes
43569 else
43570 glibcxx_cv_func__ldexpl_use=no
43571 fi
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578
43579
43580 fi
43581
43582 fi
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43584 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43585
43586 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43587 for ac_func in _ldexpl
43588 do :
43589 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43590 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE__LDEXPL 1
43593 _ACEOF
43594
43595 fi
43596 done
43597
43598 fi
43599 fi
43600
43601
43602
43603
43604
43605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43606 $as_echo_n "checking for logl declaration... " >&6; }
43607 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43608 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43609 $as_echo_n "(cached) " >&6
43610 else
43611
43612
43613 ac_ext=cpp
43614 ac_cpp='$CXXCPP $CPPFLAGS'
43615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43618
43619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620 /* end confdefs.h. */
43621 #include <math.h>
43622 #ifdef HAVE_IEEEFP_H
43623 #include <ieeefp.h>
43624 #endif
43625
43626 int
43627 main ()
43628 {
43629 logl(0);
43630 ;
43631 return 0;
43632 }
43633 _ACEOF
43634 if ac_fn_cxx_try_compile "$LINENO"; then :
43635 glibcxx_cv_func_logl_use=yes
43636 else
43637 glibcxx_cv_func_logl_use=no
43638 fi
43639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640 ac_ext=c
43641 ac_cpp='$CPP $CPPFLAGS'
43642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43645
43646
43647 fi
43648
43649 fi
43650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43651 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43652
43653 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43654 for ac_func in logl
43655 do :
43656 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43657 if test "x$ac_cv_func_logl" = x""yes; then :
43658 cat >>confdefs.h <<_ACEOF
43659 #define HAVE_LOGL 1
43660 _ACEOF
43661
43662 fi
43663 done
43664
43665 else
43666
43667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43668 $as_echo_n "checking for _logl declaration... " >&6; }
43669 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43670 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43671 $as_echo_n "(cached) " >&6
43672 else
43673
43674
43675 ac_ext=cpp
43676 ac_cpp='$CXXCPP $CPPFLAGS'
43677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680
43681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43682 /* end confdefs.h. */
43683 #include <math.h>
43684 #ifdef HAVE_IEEEFP_H
43685 #include <ieeefp.h>
43686 #endif
43687
43688 int
43689 main ()
43690 {
43691 _logl(0);
43692 ;
43693 return 0;
43694 }
43695 _ACEOF
43696 if ac_fn_cxx_try_compile "$LINENO"; then :
43697 glibcxx_cv_func__logl_use=yes
43698 else
43699 glibcxx_cv_func__logl_use=no
43700 fi
43701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43702 ac_ext=c
43703 ac_cpp='$CPP $CPPFLAGS'
43704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707
43708
43709 fi
43710
43711 fi
43712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43713 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43714
43715 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43716 for ac_func in _logl
43717 do :
43718 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43719 if test "x$ac_cv_func__logl" = x""yes; then :
43720 cat >>confdefs.h <<_ACEOF
43721 #define HAVE__LOGL 1
43722 _ACEOF
43723
43724 fi
43725 done
43726
43727 fi
43728 fi
43729
43730
43731
43732
43733
43734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43735 $as_echo_n "checking for log10l declaration... " >&6; }
43736 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43737 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43738 $as_echo_n "(cached) " >&6
43739 else
43740
43741
43742 ac_ext=cpp
43743 ac_cpp='$CXXCPP $CPPFLAGS'
43744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43747
43748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43749 /* end confdefs.h. */
43750 #include <math.h>
43751 #ifdef HAVE_IEEEFP_H
43752 #include <ieeefp.h>
43753 #endif
43754
43755 int
43756 main ()
43757 {
43758 log10l(0);
43759 ;
43760 return 0;
43761 }
43762 _ACEOF
43763 if ac_fn_cxx_try_compile "$LINENO"; then :
43764 glibcxx_cv_func_log10l_use=yes
43765 else
43766 glibcxx_cv_func_log10l_use=no
43767 fi
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 ac_ext=c
43770 ac_cpp='$CPP $CPPFLAGS'
43771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43774
43775
43776 fi
43777
43778 fi
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43780 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43781
43782 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43783 for ac_func in log10l
43784 do :
43785 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43786 if test "x$ac_cv_func_log10l" = x""yes; then :
43787 cat >>confdefs.h <<_ACEOF
43788 #define HAVE_LOG10L 1
43789 _ACEOF
43790
43791 fi
43792 done
43793
43794 else
43795
43796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43797 $as_echo_n "checking for _log10l declaration... " >&6; }
43798 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43799 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43800 $as_echo_n "(cached) " >&6
43801 else
43802
43803
43804 ac_ext=cpp
43805 ac_cpp='$CXXCPP $CPPFLAGS'
43806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43809
43810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43811 /* end confdefs.h. */
43812 #include <math.h>
43813 #ifdef HAVE_IEEEFP_H
43814 #include <ieeefp.h>
43815 #endif
43816
43817 int
43818 main ()
43819 {
43820 _log10l(0);
43821 ;
43822 return 0;
43823 }
43824 _ACEOF
43825 if ac_fn_cxx_try_compile "$LINENO"; then :
43826 glibcxx_cv_func__log10l_use=yes
43827 else
43828 glibcxx_cv_func__log10l_use=no
43829 fi
43830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836
43837
43838 fi
43839
43840 fi
43841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43842 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43843
43844 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43845 for ac_func in _log10l
43846 do :
43847 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43848 if test "x$ac_cv_func__log10l" = x""yes; then :
43849 cat >>confdefs.h <<_ACEOF
43850 #define HAVE__LOG10L 1
43851 _ACEOF
43852
43853 fi
43854 done
43855
43856 fi
43857 fi
43858
43859
43860
43861
43862
43863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43864 $as_echo_n "checking for modfl declaration... " >&6; }
43865 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43866 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43867 $as_echo_n "(cached) " >&6
43868 else
43869
43870
43871 ac_ext=cpp
43872 ac_cpp='$CXXCPP $CPPFLAGS'
43873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43876
43877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878 /* end confdefs.h. */
43879 #include <math.h>
43880 int
43881 main ()
43882 {
43883 modfl(0, 0);
43884 ;
43885 return 0;
43886 }
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func_modfl_use=yes
43890 else
43891 glibcxx_cv_func_modfl_use=no
43892 fi
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899
43900
43901 fi
43902
43903 fi
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43905 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43906
43907 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43908 for ac_func in modfl
43909 do :
43910 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43911 if test "x$ac_cv_func_modfl" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE_MODFL 1
43914 _ACEOF
43915
43916 fi
43917 done
43918
43919 else
43920
43921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43922 $as_echo_n "checking for _modfl declaration... " >&6; }
43923 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43924 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43925 $as_echo_n "(cached) " >&6
43926 else
43927
43928
43929 ac_ext=cpp
43930 ac_cpp='$CXXCPP $CPPFLAGS'
43931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43934
43935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43936 /* end confdefs.h. */
43937 #include <math.h>
43938 int
43939 main ()
43940 {
43941 _modfl(0, 0);
43942 ;
43943 return 0;
43944 }
43945 _ACEOF
43946 if ac_fn_cxx_try_compile "$LINENO"; then :
43947 glibcxx_cv_func__modfl_use=yes
43948 else
43949 glibcxx_cv_func__modfl_use=no
43950 fi
43951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43952 ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957
43958
43959 fi
43960
43961 fi
43962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43963 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43964
43965 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43966 for ac_func in _modfl
43967 do :
43968 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43969 if test "x$ac_cv_func__modfl" = x""yes; then :
43970 cat >>confdefs.h <<_ACEOF
43971 #define HAVE__MODFL 1
43972 _ACEOF
43973
43974 fi
43975 done
43976
43977 fi
43978 fi
43979
43980
43981
43982
43983
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43985 $as_echo_n "checking for powl declaration... " >&6; }
43986 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43987 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43990
43991
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44001 int
44002 main ()
44003 {
44004 powl(0, 0);
44005 ;
44006 return 0;
44007 }
44008 _ACEOF
44009 if ac_fn_cxx_try_compile "$LINENO"; then :
44010 glibcxx_cv_func_powl_use=yes
44011 else
44012 glibcxx_cv_func_powl_use=no
44013 fi
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 ac_ext=c
44016 ac_cpp='$CPP $CPPFLAGS'
44017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020
44021
44022 fi
44023
44024 fi
44025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44026 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44027
44028 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44029 for ac_func in powl
44030 do :
44031 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44032 if test "x$ac_cv_func_powl" = x""yes; then :
44033 cat >>confdefs.h <<_ACEOF
44034 #define HAVE_POWL 1
44035 _ACEOF
44036
44037 fi
44038 done
44039
44040 else
44041
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44043 $as_echo_n "checking for _powl declaration... " >&6; }
44044 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44045 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44048
44049
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44059 int
44060 main ()
44061 {
44062 _powl(0, 0);
44063 ;
44064 return 0;
44065 }
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func__powl_use=yes
44069 else
44070 glibcxx_cv_func__powl_use=no
44071 fi
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078
44079
44080 fi
44081
44082 fi
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44084 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44085
44086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44087 for ac_func in _powl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44090 if test "x$ac_cv_func__powl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE__POWL 1
44093 _ACEOF
44094
44095 fi
44096 done
44097
44098 fi
44099 fi
44100
44101
44102
44103
44104
44105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44106 $as_echo_n "checking for sqrtl declaration... " >&6; }
44107 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44108 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44109 $as_echo_n "(cached) " >&6
44110 else
44111
44112
44113 ac_ext=cpp
44114 ac_cpp='$CXXCPP $CPPFLAGS'
44115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44118
44119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44120 /* end confdefs.h. */
44121 #include <math.h>
44122 #ifdef HAVE_IEEEFP_H
44123 #include <ieeefp.h>
44124 #endif
44125
44126 int
44127 main ()
44128 {
44129 sqrtl(0);
44130 ;
44131 return 0;
44132 }
44133 _ACEOF
44134 if ac_fn_cxx_try_compile "$LINENO"; then :
44135 glibcxx_cv_func_sqrtl_use=yes
44136 else
44137 glibcxx_cv_func_sqrtl_use=no
44138 fi
44139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44140 ac_ext=c
44141 ac_cpp='$CPP $CPPFLAGS'
44142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44145
44146
44147 fi
44148
44149 fi
44150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44151 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44152
44153 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44154 for ac_func in sqrtl
44155 do :
44156 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44157 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44158 cat >>confdefs.h <<_ACEOF
44159 #define HAVE_SQRTL 1
44160 _ACEOF
44161
44162 fi
44163 done
44164
44165 else
44166
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44168 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44169 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44170 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44171 $as_echo_n "(cached) " >&6
44172 else
44173
44174
44175 ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180
44181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h. */
44183 #include <math.h>
44184 #ifdef HAVE_IEEEFP_H
44185 #include <ieeefp.h>
44186 #endif
44187
44188 int
44189 main ()
44190 {
44191 _sqrtl(0);
44192 ;
44193 return 0;
44194 }
44195 _ACEOF
44196 if ac_fn_cxx_try_compile "$LINENO"; then :
44197 glibcxx_cv_func__sqrtl_use=yes
44198 else
44199 glibcxx_cv_func__sqrtl_use=no
44200 fi
44201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44202 ac_ext=c
44203 ac_cpp='$CPP $CPPFLAGS'
44204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207
44208
44209 fi
44210
44211 fi
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44213 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44214
44215 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44216 for ac_func in _sqrtl
44217 do :
44218 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44219 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44220 cat >>confdefs.h <<_ACEOF
44221 #define HAVE__SQRTL 1
44222 _ACEOF
44223
44224 fi
44225 done
44226
44227 fi
44228 fi
44229
44230
44231
44232
44233
44234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44235 $as_echo_n "checking for sincosl declaration... " >&6; }
44236 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44237 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44238 $as_echo_n "(cached) " >&6
44239 else
44240
44241
44242 ac_ext=cpp
44243 ac_cpp='$CXXCPP $CPPFLAGS'
44244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44247
44248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44249 /* end confdefs.h. */
44250 #include <math.h>
44251 int
44252 main ()
44253 {
44254 sincosl(0, 0, 0);
44255 ;
44256 return 0;
44257 }
44258 _ACEOF
44259 if ac_fn_cxx_try_compile "$LINENO"; then :
44260 glibcxx_cv_func_sincosl_use=yes
44261 else
44262 glibcxx_cv_func_sincosl_use=no
44263 fi
44264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44265 ac_ext=c
44266 ac_cpp='$CPP $CPPFLAGS'
44267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44270
44271
44272 fi
44273
44274 fi
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44276 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44277
44278 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44279 for ac_func in sincosl
44280 do :
44281 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44282 if test "x$ac_cv_func_sincosl" = x""yes; then :
44283 cat >>confdefs.h <<_ACEOF
44284 #define HAVE_SINCOSL 1
44285 _ACEOF
44286
44287 fi
44288 done
44289
44290 else
44291
44292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44293 $as_echo_n "checking for _sincosl declaration... " >&6; }
44294 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44295 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44296 $as_echo_n "(cached) " >&6
44297 else
44298
44299
44300 ac_ext=cpp
44301 ac_cpp='$CXXCPP $CPPFLAGS'
44302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44305
44306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44307 /* end confdefs.h. */
44308 #include <math.h>
44309 int
44310 main ()
44311 {
44312 _sincosl(0, 0, 0);
44313 ;
44314 return 0;
44315 }
44316 _ACEOF
44317 if ac_fn_cxx_try_compile "$LINENO"; then :
44318 glibcxx_cv_func__sincosl_use=yes
44319 else
44320 glibcxx_cv_func__sincosl_use=no
44321 fi
44322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44323 ac_ext=c
44324 ac_cpp='$CPP $CPPFLAGS'
44325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328
44329
44330 fi
44331
44332 fi
44333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44334 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44335
44336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44337 for ac_func in _sincosl
44338 do :
44339 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44340 if test "x$ac_cv_func__sincosl" = x""yes; then :
44341 cat >>confdefs.h <<_ACEOF
44342 #define HAVE__SINCOSL 1
44343 _ACEOF
44344
44345 fi
44346 done
44347
44348 fi
44349 fi
44350
44351
44352
44353
44354
44355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44356 $as_echo_n "checking for finitel declaration... " >&6; }
44357 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44358 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44359 $as_echo_n "(cached) " >&6
44360 else
44361
44362
44363 ac_ext=cpp
44364 ac_cpp='$CXXCPP $CPPFLAGS'
44365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44368
44369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44370 /* end confdefs.h. */
44371 #include <math.h>
44372 #ifdef HAVE_IEEEFP_H
44373 #include <ieeefp.h>
44374 #endif
44375
44376 int
44377 main ()
44378 {
44379 finitel(0);
44380 ;
44381 return 0;
44382 }
44383 _ACEOF
44384 if ac_fn_cxx_try_compile "$LINENO"; then :
44385 glibcxx_cv_func_finitel_use=yes
44386 else
44387 glibcxx_cv_func_finitel_use=no
44388 fi
44389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44390 ac_ext=c
44391 ac_cpp='$CPP $CPPFLAGS'
44392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44395
44396
44397 fi
44398
44399 fi
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44401 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44402
44403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44404 for ac_func in finitel
44405 do :
44406 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44407 if test "x$ac_cv_func_finitel" = x""yes; then :
44408 cat >>confdefs.h <<_ACEOF
44409 #define HAVE_FINITEL 1
44410 _ACEOF
44411
44412 fi
44413 done
44414
44415 else
44416
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44418 $as_echo_n "checking for _finitel declaration... " >&6; }
44419 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44420 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44421 $as_echo_n "(cached) " >&6
44422 else
44423
44424
44425 ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44430
44431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h. */
44433 #include <math.h>
44434 #ifdef HAVE_IEEEFP_H
44435 #include <ieeefp.h>
44436 #endif
44437
44438 int
44439 main ()
44440 {
44441 _finitel(0);
44442 ;
44443 return 0;
44444 }
44445 _ACEOF
44446 if ac_fn_cxx_try_compile "$LINENO"; then :
44447 glibcxx_cv_func__finitel_use=yes
44448 else
44449 glibcxx_cv_func__finitel_use=no
44450 fi
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 ac_ext=c
44453 ac_cpp='$CPP $CPPFLAGS'
44454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44457
44458
44459 fi
44460
44461 fi
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44463 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44464
44465 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44466 for ac_func in _finitel
44467 do :
44468 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44469 if test "x$ac_cv_func__finitel" = x""yes; then :
44470 cat >>confdefs.h <<_ACEOF
44471 #define HAVE__FINITEL 1
44472 _ACEOF
44473
44474 fi
44475 done
44476
44477 fi
44478 fi
44479
44480
44481
44482
44483 LIBS="$ac_save_LIBS"
44484 CXXFLAGS="$ac_save_CXXFLAGS"
44485
44486
44487 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44488 ac_save_CXXFLAGS="$CXXFLAGS"
44489 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44490
44491
44492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44493 $as_echo_n "checking for strtold declaration... " >&6; }
44494 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44495 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44496 $as_echo_n "(cached) " >&6
44497 else
44498
44499
44500 ac_ext=cpp
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44505
44506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44507 /* end confdefs.h. */
44508 #include <stdlib.h>
44509 int
44510 main ()
44511 {
44512 strtold(0, 0);
44513 ;
44514 return 0;
44515 }
44516 _ACEOF
44517 if ac_fn_cxx_try_compile "$LINENO"; then :
44518 glibcxx_cv_func_strtold_use=yes
44519 else
44520 glibcxx_cv_func_strtold_use=no
44521 fi
44522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44523 ac_ext=c
44524 ac_cpp='$CPP $CPPFLAGS'
44525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44528
44529
44530 fi
44531
44532 fi
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44534 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44535 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44536 for ac_func in strtold
44537 do :
44538 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44539 if test "x$ac_cv_func_strtold" = x""yes; then :
44540 cat >>confdefs.h <<_ACEOF
44541 #define HAVE_STRTOLD 1
44542 _ACEOF
44543
44544 fi
44545 done
44546
44547 fi
44548
44549
44550
44551
44552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44553 $as_echo_n "checking for strtof declaration... " >&6; }
44554 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44555 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44556 $as_echo_n "(cached) " >&6
44557 else
44558
44559
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44565
44566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44567 /* end confdefs.h. */
44568 #include <stdlib.h>
44569 int
44570 main ()
44571 {
44572 strtof(0, 0);
44573 ;
44574 return 0;
44575 }
44576 _ACEOF
44577 if ac_fn_cxx_try_compile "$LINENO"; then :
44578 glibcxx_cv_func_strtof_use=yes
44579 else
44580 glibcxx_cv_func_strtof_use=no
44581 fi
44582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44583 ac_ext=c
44584 ac_cpp='$CPP $CPPFLAGS'
44585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44588
44589
44590 fi
44591
44592 fi
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44594 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44595 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44596 for ac_func in strtof
44597 do :
44598 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44599 if test "x$ac_cv_func_strtof" = x""yes; then :
44600 cat >>confdefs.h <<_ACEOF
44601 #define HAVE_STRTOF 1
44602 _ACEOF
44603
44604 fi
44605 done
44606
44607 fi
44608
44609
44610
44611
44612 CXXFLAGS="$ac_save_CXXFLAGS"
44613
44614 ;;
44615
44616 *djgpp)
44617 # GLIBCXX_CHECK_MATH_SUPPORT
44618 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44619
44620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44621
44622 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44623
44624 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44625
44626 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44627
44628 ;;
44629
44630 *-freebsd*)
44631 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44632
44633
44634 # If we're not using GNU ld, then there's no point in even trying these
44635 # tests. Check for that first. We should have already tested for gld
44636 # by now (in libtool), but require it now just to be safe...
44637 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44638 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44639
44640
44641
44642 # The name set by libtool depends on the version of libtool. Shame on us
44643 # for depending on an impl detail, but c'est la vie. Older versions used
44644 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44645 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44646 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44647 # set (hence we're using an older libtool), then set it.
44648 if test x${with_gnu_ld+set} != xset; then
44649 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44650 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44651 with_gnu_ld=no
44652 else
44653 with_gnu_ld=$ac_cv_prog_gnu_ld
44654 fi
44655 fi
44656
44657 # Start by getting the version number. I think the libtool test already
44658 # does some of this, but throws away the result.
44659 glibcxx_ld_is_gold=no
44660 if test x"$with_gnu_ld" = x"yes"; then
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44662 $as_echo_n "checking for ld version... " >&6; }
44663
44664 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44665 glibcxx_ld_is_gold=yes
44666 fi
44667 ldver=`$LD --version 2>/dev/null |
44668 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'`
44669
44670 glibcxx_gnu_ld_version=`echo $ldver | \
44671 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44673 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44674 fi
44675
44676 # Set --gc-sections.
44677 glibcxx_have_gc_sections=no
44678 if test "$glibcxx_ld_is_gold" = "yes"; then
44679 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44680 glibcxx_have_gc_sections=yes
44681 fi
44682 else
44683 glibcxx_gcsections_min_ld=21602
44684 if test x"$with_gnu_ld" = x"yes" &&
44685 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44686 glibcxx_have_gc_sections=yes
44687 fi
44688 fi
44689 if test "$glibcxx_have_gc_sections" = "yes"; then
44690 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44691 # NB: This flag only works reliably after 2.16.1. Configure tests
44692 # for this are difficult, so hard wire a value that should work.
44693
44694 ac_test_CFLAGS="${CFLAGS+set}"
44695 ac_save_CFLAGS="$CFLAGS"
44696 CFLAGS='-Wl,--gc-sections'
44697
44698 # Check for -Wl,--gc-sections
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44701 if test x$gcc_no_link = xyes; then
44702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44703 fi
44704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705 /* end confdefs.h. */
44706 int one(void) { return 1; }
44707 int two(void) { return 2; }
44708
44709 int
44710 main ()
44711 {
44712 two();
44713 ;
44714 return 0;
44715 }
44716 _ACEOF
44717 if ac_fn_c_try_link "$LINENO"; then :
44718 ac_gcsections=yes
44719 else
44720 ac_gcsections=no
44721 fi
44722 rm -f core conftest.err conftest.$ac_objext \
44723 conftest$ac_exeext conftest.$ac_ext
44724 if test "$ac_gcsections" = "yes"; then
44725 rm -f conftest.c
44726 touch conftest.c
44727 if $CC -c conftest.c; then
44728 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44729 grep "Warning: gc-sections option ignored" > /dev/null; then
44730 ac_gcsections=no
44731 fi
44732 fi
44733 rm -f conftest.c conftest.o conftest
44734 fi
44735 if test "$ac_gcsections" = "yes"; then
44736 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44737 fi
44738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44739 $as_echo "$ac_gcsections" >&6; }
44740
44741 if test "$ac_test_CFLAGS" = set; then
44742 CFLAGS="$ac_save_CFLAGS"
44743 else
44744 # this is the suspicious part
44745 CFLAGS=''
44746 fi
44747 fi
44748
44749 # Set -z,relro.
44750 # Note this is only for shared objects.
44751 ac_ld_relro=no
44752 if test x"$with_gnu_ld" = x"yes"; then
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44754 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44755 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44756 if test -n "$cxx_z_relo"; then
44757 OPT_LDFLAGS="-Wl,-z,relro"
44758 ac_ld_relro=yes
44759 fi
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44761 $as_echo "$ac_ld_relro" >&6; }
44762 fi
44763
44764 # Set linker optimization flags.
44765 if test x"$with_gnu_ld" = x"yes"; then
44766 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44767 fi
44768
44769
44770
44771
44772 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44773
44774 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44775
44776 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44777
44778 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44779
44780 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44781
44782 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44783
44784 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44785
44786 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44787
44788 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44789
44790
44791 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44792
44793 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44794
44795 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44796
44797 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44798
44799 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44800
44801 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44802
44803 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44804
44805 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44806
44807 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44808
44809 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44810
44811 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44812
44813 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44814
44815 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44816
44817 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44818
44819 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44820
44821 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44822
44823 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44824
44825 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44826
44827 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44828
44829 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44830
44831 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44832
44833 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44834
44835 if test x"long_double_math_on_this_cpu" = x"yes"; then
44836 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44837
44838 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44839
44840 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44841
44842 fi
44843 ;;
44844 *-hpux*)
44845 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44846
44847
44848 # If we're not using GNU ld, then there's no point in even trying these
44849 # tests. Check for that first. We should have already tested for gld
44850 # by now (in libtool), but require it now just to be safe...
44851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44853
44854
44855
44856 # The name set by libtool depends on the version of libtool. Shame on us
44857 # for depending on an impl detail, but c'est la vie. Older versions used
44858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44861 # set (hence we're using an older libtool), then set it.
44862 if test x${with_gnu_ld+set} != xset; then
44863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44865 with_gnu_ld=no
44866 else
44867 with_gnu_ld=$ac_cv_prog_gnu_ld
44868 fi
44869 fi
44870
44871 # Start by getting the version number. I think the libtool test already
44872 # does some of this, but throws away the result.
44873 glibcxx_ld_is_gold=no
44874 if test x"$with_gnu_ld" = x"yes"; then
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44876 $as_echo_n "checking for ld version... " >&6; }
44877
44878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44879 glibcxx_ld_is_gold=yes
44880 fi
44881 ldver=`$LD --version 2>/dev/null |
44882 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'`
44883
44884 glibcxx_gnu_ld_version=`echo $ldver | \
44885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44888 fi
44889
44890 # Set --gc-sections.
44891 glibcxx_have_gc_sections=no
44892 if test "$glibcxx_ld_is_gold" = "yes"; then
44893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44894 glibcxx_have_gc_sections=yes
44895 fi
44896 else
44897 glibcxx_gcsections_min_ld=21602
44898 if test x"$with_gnu_ld" = x"yes" &&
44899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44900 glibcxx_have_gc_sections=yes
44901 fi
44902 fi
44903 if test "$glibcxx_have_gc_sections" = "yes"; then
44904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44905 # NB: This flag only works reliably after 2.16.1. Configure tests
44906 # for this are difficult, so hard wire a value that should work.
44907
44908 ac_test_CFLAGS="${CFLAGS+set}"
44909 ac_save_CFLAGS="$CFLAGS"
44910 CFLAGS='-Wl,--gc-sections'
44911
44912 # Check for -Wl,--gc-sections
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44915 if test x$gcc_no_link = xyes; then
44916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44917 fi
44918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44919 /* end confdefs.h. */
44920 int one(void) { return 1; }
44921 int two(void) { return 2; }
44922
44923 int
44924 main ()
44925 {
44926 two();
44927 ;
44928 return 0;
44929 }
44930 _ACEOF
44931 if ac_fn_c_try_link "$LINENO"; then :
44932 ac_gcsections=yes
44933 else
44934 ac_gcsections=no
44935 fi
44936 rm -f core conftest.err conftest.$ac_objext \
44937 conftest$ac_exeext conftest.$ac_ext
44938 if test "$ac_gcsections" = "yes"; then
44939 rm -f conftest.c
44940 touch conftest.c
44941 if $CC -c conftest.c; then
44942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44943 grep "Warning: gc-sections option ignored" > /dev/null; then
44944 ac_gcsections=no
44945 fi
44946 fi
44947 rm -f conftest.c conftest.o conftest
44948 fi
44949 if test "$ac_gcsections" = "yes"; then
44950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44951 fi
44952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44953 $as_echo "$ac_gcsections" >&6; }
44954
44955 if test "$ac_test_CFLAGS" = set; then
44956 CFLAGS="$ac_save_CFLAGS"
44957 else
44958 # this is the suspicious part
44959 CFLAGS=''
44960 fi
44961 fi
44962
44963 # Set -z,relro.
44964 # Note this is only for shared objects.
44965 ac_ld_relro=no
44966 if test x"$with_gnu_ld" = x"yes"; then
44967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44970 if test -n "$cxx_z_relo"; then
44971 OPT_LDFLAGS="-Wl,-z,relro"
44972 ac_ld_relro=yes
44973 fi
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44975 $as_echo "$ac_ld_relro" >&6; }
44976 fi
44977
44978 # Set linker optimization flags.
44979 if test x"$with_gnu_ld" = x"yes"; then
44980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44981 fi
44982
44983
44984
44985
44986
44987 # GLIBCXX_CHECK_MATH_SUPPORT
44988 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44989
44990 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44991
44992 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44993
44994 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44995
44996 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44997
44998 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44999
45000 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45001
45002 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45003
45004 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45005
45006 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45007
45008 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45009
45010 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45011
45012 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45013
45014 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45015
45016 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45017
45018 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45019
45020 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45021
45022 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45023
45024 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45025
45026 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45027
45028 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45029
45030
45031 # GLIBCXX_CHECK_STDLIB_SUPPORT
45032 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45033
45034
45035
45036
45037 # Check whether --enable-tls was given.
45038 if test "${enable_tls+set}" = set; then :
45039 enableval=$enable_tls;
45040 case "$enableval" in
45041 yes|no) ;;
45042 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45043 esac
45044
45045 else
45046 enable_tls=yes
45047 fi
45048
45049
45050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45051 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45052 if test "${gcc_cv_have_tls+set}" = set; then :
45053 $as_echo_n "(cached) " >&6
45054 else
45055
45056 if test "$cross_compiling" = yes; then :
45057 if test x$gcc_no_link = xyes; then
45058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45059 fi
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 __thread int a; int b; int main() { return a = b; }
45063 _ACEOF
45064 if ac_fn_c_try_link "$LINENO"; then :
45065 chktls_save_LDFLAGS="$LDFLAGS"
45066 case $host in
45067 *-*-linux*)
45068 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45069 ;;
45070 esac
45071 chktls_save_CFLAGS="$CFLAGS"
45072 CFLAGS="-fPIC $CFLAGS"
45073 if test x$gcc_no_link = xyes; then
45074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45075 fi
45076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45077 /* end confdefs.h. */
45078 int f() { return 0; }
45079 _ACEOF
45080 if ac_fn_c_try_link "$LINENO"; then :
45081 if test x$gcc_no_link = xyes; then
45082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45083 fi
45084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45085 /* end confdefs.h. */
45086 __thread int a; int b; int f() { return a = b; }
45087 _ACEOF
45088 if ac_fn_c_try_link "$LINENO"; then :
45089 gcc_cv_have_tls=yes
45090 else
45091 gcc_cv_have_tls=no
45092 fi
45093 rm -f core conftest.err conftest.$ac_objext \
45094 conftest$ac_exeext conftest.$ac_ext
45095 else
45096 gcc_cv_have_tls=yes
45097 fi
45098 rm -f core conftest.err conftest.$ac_objext \
45099 conftest$ac_exeext conftest.$ac_ext
45100 CFLAGS="$chktls_save_CFLAGS"
45101 LDFLAGS="$chktls_save_LDFLAGS"
45102 else
45103 gcc_cv_have_tls=no
45104 fi
45105 rm -f core conftest.err conftest.$ac_objext \
45106 conftest$ac_exeext conftest.$ac_ext
45107
45108
45109 else
45110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45111 /* end confdefs.h. */
45112 __thread int a; int b; int main() { return a = b; }
45113 _ACEOF
45114 if ac_fn_c_try_run "$LINENO"; then :
45115 chktls_save_LDFLAGS="$LDFLAGS"
45116 LDFLAGS="-static $LDFLAGS"
45117 if test x$gcc_no_link = xyes; then
45118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45119 fi
45120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45121 /* end confdefs.h. */
45122 int main() { return 0; }
45123 _ACEOF
45124 if ac_fn_c_try_link "$LINENO"; then :
45125 if test "$cross_compiling" = yes; then :
45126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45128 as_fn_error "cannot run test program while cross compiling
45129 See \`config.log' for more details." "$LINENO" 5; }
45130 else
45131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45132 /* end confdefs.h. */
45133 __thread int a; int b; int main() { return a = b; }
45134 _ACEOF
45135 if ac_fn_c_try_run "$LINENO"; then :
45136 gcc_cv_have_tls=yes
45137 else
45138 gcc_cv_have_tls=no
45139 fi
45140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45141 conftest.$ac_objext conftest.beam conftest.$ac_ext
45142 fi
45143
45144 else
45145 gcc_cv_have_tls=yes
45146 fi
45147 rm -f core conftest.err conftest.$ac_objext \
45148 conftest$ac_exeext conftest.$ac_ext
45149 LDFLAGS="$chktls_save_LDFLAGS"
45150 if test $gcc_cv_have_tls = yes; then
45151 chktls_save_CFLAGS="$CFLAGS"
45152 thread_CFLAGS=failed
45153 for flag in '' '-pthread' '-lpthread'; do
45154 CFLAGS="$flag $chktls_save_CFLAGS"
45155 if test x$gcc_no_link = xyes; then
45156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45157 fi
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <pthread.h>
45161 void *g(void *d) { return NULL; }
45162 int
45163 main ()
45164 {
45165 pthread_t t; pthread_create(&t,NULL,g,NULL);
45166 ;
45167 return 0;
45168 }
45169 _ACEOF
45170 if ac_fn_c_try_link "$LINENO"; then :
45171 thread_CFLAGS="$flag"
45172 fi
45173 rm -f core conftest.err conftest.$ac_objext \
45174 conftest$ac_exeext conftest.$ac_ext
45175 if test "X$thread_CFLAGS" != Xfailed; then
45176 break
45177 fi
45178 done
45179 CFLAGS="$chktls_save_CFLAGS"
45180 if test "X$thread_CFLAGS" != Xfailed; then
45181 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45182 if test "$cross_compiling" = yes; then :
45183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45185 as_fn_error "cannot run test program while cross compiling
45186 See \`config.log' for more details." "$LINENO" 5; }
45187 else
45188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45189 /* end confdefs.h. */
45190 #include <pthread.h>
45191 __thread int a;
45192 static int *volatile a_in_other_thread;
45193 static void *
45194 thread_func (void *arg)
45195 {
45196 a_in_other_thread = &a;
45197 return (void *)0;
45198 }
45199 int
45200 main ()
45201 {
45202 pthread_t thread;
45203 void *thread_retval;
45204 int *volatile a_in_main_thread;
45205 a_in_main_thread = &a;
45206 if (pthread_create (&thread, (pthread_attr_t *)0,
45207 thread_func, (void *)0))
45208 return 0;
45209 if (pthread_join (thread, &thread_retval))
45210 return 0;
45211 return (a_in_other_thread == a_in_main_thread);
45212 ;
45213 return 0;
45214 }
45215 _ACEOF
45216 if ac_fn_c_try_run "$LINENO"; then :
45217 gcc_cv_have_tls=yes
45218 else
45219 gcc_cv_have_tls=no
45220 fi
45221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45222 conftest.$ac_objext conftest.beam conftest.$ac_ext
45223 fi
45224
45225 CFLAGS="$chktls_save_CFLAGS"
45226 fi
45227 fi
45228 else
45229 gcc_cv_have_tls=no
45230 fi
45231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45232 conftest.$ac_objext conftest.beam conftest.$ac_ext
45233 fi
45234
45235 fi
45236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45237 $as_echo "$gcc_cv_have_tls" >&6; }
45238 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45239
45240 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45241
45242 fi
45243 case "$target" in
45244 *-hpux10*)
45245 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45246
45247 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45248
45249 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45250
45251 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45252
45253 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45254
45255 ;;
45256 esac
45257 ;;
45258 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45259
45260 # All these tests are for C++; save the language and the compiler flags.
45261 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45262 # found in GLIBCXX_CONFIGURE.
45263
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269
45270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45271 ac_save_CXXFLAGS="$CXXFLAGS"
45272
45273 # Check for maintainer-mode bits.
45274 if test x"$USE_MAINTAINER_MODE" = xno; then
45275 WERROR=''
45276 else
45277 WERROR='-Werror'
45278 fi
45279
45280 # Check for -ffunction-sections -fdata-sections
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45282 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45283 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45285 /* end confdefs.h. */
45286 int foo; void bar() { };
45287 int
45288 main ()
45289 {
45290
45291 ;
45292 return 0;
45293 }
45294 _ACEOF
45295 if ac_fn_cxx_try_compile "$LINENO"; then :
45296 ac_fdsections=yes
45297 else
45298 ac_fdsections=no
45299 fi
45300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45301 if test "$ac_test_CXXFLAGS" = set; then
45302 CXXFLAGS="$ac_save_CXXFLAGS"
45303 else
45304 # this is the suspicious part
45305 CXXFLAGS=''
45306 fi
45307 if test x"$ac_fdsections" = x"yes"; then
45308 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45309 fi
45310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45311 $as_echo "$ac_fdsections" >&6; }
45312
45313 ac_ext=c
45314 ac_cpp='$CPP $CPPFLAGS'
45315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45318
45319
45320
45321
45322
45323 # If we're not using GNU ld, then there's no point in even trying these
45324 # tests. Check for that first. We should have already tested for gld
45325 # by now (in libtool), but require it now just to be safe...
45326 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45327 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45328
45329
45330
45331 # The name set by libtool depends on the version of libtool. Shame on us
45332 # for depending on an impl detail, but c'est la vie. Older versions used
45333 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45334 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45335 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45336 # set (hence we're using an older libtool), then set it.
45337 if test x${with_gnu_ld+set} != xset; then
45338 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45339 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45340 with_gnu_ld=no
45341 else
45342 with_gnu_ld=$ac_cv_prog_gnu_ld
45343 fi
45344 fi
45345
45346 # Start by getting the version number. I think the libtool test already
45347 # does some of this, but throws away the result.
45348 glibcxx_ld_is_gold=no
45349 if test x"$with_gnu_ld" = x"yes"; then
45350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45351 $as_echo_n "checking for ld version... " >&6; }
45352
45353 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45354 glibcxx_ld_is_gold=yes
45355 fi
45356 ldver=`$LD --version 2>/dev/null |
45357 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'`
45358
45359 glibcxx_gnu_ld_version=`echo $ldver | \
45360 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45362 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45363 fi
45364
45365 # Set --gc-sections.
45366 glibcxx_have_gc_sections=no
45367 if test "$glibcxx_ld_is_gold" = "yes"; then
45368 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45369 glibcxx_have_gc_sections=yes
45370 fi
45371 else
45372 glibcxx_gcsections_min_ld=21602
45373 if test x"$with_gnu_ld" = x"yes" &&
45374 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45375 glibcxx_have_gc_sections=yes
45376 fi
45377 fi
45378 if test "$glibcxx_have_gc_sections" = "yes"; then
45379 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45380 # NB: This flag only works reliably after 2.16.1. Configure tests
45381 # for this are difficult, so hard wire a value that should work.
45382
45383 ac_test_CFLAGS="${CFLAGS+set}"
45384 ac_save_CFLAGS="$CFLAGS"
45385 CFLAGS='-Wl,--gc-sections'
45386
45387 # Check for -Wl,--gc-sections
45388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45389 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45390 if test x$gcc_no_link = xyes; then
45391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45392 fi
45393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394 /* end confdefs.h. */
45395 int one(void) { return 1; }
45396 int two(void) { return 2; }
45397
45398 int
45399 main ()
45400 {
45401 two();
45402 ;
45403 return 0;
45404 }
45405 _ACEOF
45406 if ac_fn_c_try_link "$LINENO"; then :
45407 ac_gcsections=yes
45408 else
45409 ac_gcsections=no
45410 fi
45411 rm -f core conftest.err conftest.$ac_objext \
45412 conftest$ac_exeext conftest.$ac_ext
45413 if test "$ac_gcsections" = "yes"; then
45414 rm -f conftest.c
45415 touch conftest.c
45416 if $CC -c conftest.c; then
45417 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45418 grep "Warning: gc-sections option ignored" > /dev/null; then
45419 ac_gcsections=no
45420 fi
45421 fi
45422 rm -f conftest.c conftest.o conftest
45423 fi
45424 if test "$ac_gcsections" = "yes"; then
45425 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45426 fi
45427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45428 $as_echo "$ac_gcsections" >&6; }
45429
45430 if test "$ac_test_CFLAGS" = set; then
45431 CFLAGS="$ac_save_CFLAGS"
45432 else
45433 # this is the suspicious part
45434 CFLAGS=''
45435 fi
45436 fi
45437
45438 # Set -z,relro.
45439 # Note this is only for shared objects.
45440 ac_ld_relro=no
45441 if test x"$with_gnu_ld" = x"yes"; then
45442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45443 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45444 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45445 if test -n "$cxx_z_relo"; then
45446 OPT_LDFLAGS="-Wl,-z,relro"
45447 ac_ld_relro=yes
45448 fi
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45450 $as_echo "$ac_ld_relro" >&6; }
45451 fi
45452
45453 # Set linker optimization flags.
45454 if test x"$with_gnu_ld" = x"yes"; then
45455 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45456 fi
45457
45458
45459
45460
45461
45462 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45463 ac_save_CXXFLAGS="$CXXFLAGS"
45464 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45465
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45467 $as_echo_n "checking for sin in -lm... " >&6; }
45468 if test "${ac_cv_lib_m_sin+set}" = set; then :
45469 $as_echo_n "(cached) " >&6
45470 else
45471 ac_check_lib_save_LIBS=$LIBS
45472 LIBS="-lm $LIBS"
45473 if test x$gcc_no_link = xyes; then
45474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45475 fi
45476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45477 /* end confdefs.h. */
45478
45479 /* Override any GCC internal prototype to avoid an error.
45480 Use char because int might match the return type of a GCC
45481 builtin and then its argument prototype would still apply. */
45482 #ifdef __cplusplus
45483 extern "C"
45484 #endif
45485 char sin ();
45486 int
45487 main ()
45488 {
45489 return sin ();
45490 ;
45491 return 0;
45492 }
45493 _ACEOF
45494 if ac_fn_c_try_link "$LINENO"; then :
45495 ac_cv_lib_m_sin=yes
45496 else
45497 ac_cv_lib_m_sin=no
45498 fi
45499 rm -f core conftest.err conftest.$ac_objext \
45500 conftest$ac_exeext conftest.$ac_ext
45501 LIBS=$ac_check_lib_save_LIBS
45502 fi
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45504 $as_echo "$ac_cv_lib_m_sin" >&6; }
45505 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45506 libm="-lm"
45507 fi
45508
45509 ac_save_LIBS="$LIBS"
45510 LIBS="$LIBS $libm"
45511
45512
45513
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45515 $as_echo_n "checking for isinf declaration... " >&6; }
45516 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45517 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45520
45521
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45531 #ifdef HAVE_IEEEFP_H
45532 #include <ieeefp.h>
45533 #endif
45534
45535 int
45536 main ()
45537 {
45538 isinf(0);
45539 ;
45540 return 0;
45541 }
45542 _ACEOF
45543 if ac_fn_cxx_try_compile "$LINENO"; then :
45544 glibcxx_cv_func_isinf_use=yes
45545 else
45546 glibcxx_cv_func_isinf_use=no
45547 fi
45548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45549 ac_ext=c
45550 ac_cpp='$CPP $CPPFLAGS'
45551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554
45555
45556 fi
45557
45558 fi
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45560 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45561
45562 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45563 for ac_func in isinf
45564 do :
45565 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45566 if test "x$ac_cv_func_isinf" = x""yes; then :
45567 cat >>confdefs.h <<_ACEOF
45568 #define HAVE_ISINF 1
45569 _ACEOF
45570
45571 fi
45572 done
45573
45574 else
45575
45576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45577 $as_echo_n "checking for _isinf declaration... " >&6; }
45578 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45579 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45580 $as_echo_n "(cached) " >&6
45581 else
45582
45583
45584 ac_ext=cpp
45585 ac_cpp='$CXXCPP $CPPFLAGS'
45586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45589
45590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45591 /* end confdefs.h. */
45592 #include <math.h>
45593 #ifdef HAVE_IEEEFP_H
45594 #include <ieeefp.h>
45595 #endif
45596
45597 int
45598 main ()
45599 {
45600 _isinf(0);
45601 ;
45602 return 0;
45603 }
45604 _ACEOF
45605 if ac_fn_cxx_try_compile "$LINENO"; then :
45606 glibcxx_cv_func__isinf_use=yes
45607 else
45608 glibcxx_cv_func__isinf_use=no
45609 fi
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 ac_ext=c
45612 ac_cpp='$CPP $CPPFLAGS'
45613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45616
45617
45618 fi
45619
45620 fi
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45622 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45623
45624 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45625 for ac_func in _isinf
45626 do :
45627 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45628 if test "x$ac_cv_func__isinf" = x""yes; then :
45629 cat >>confdefs.h <<_ACEOF
45630 #define HAVE__ISINF 1
45631 _ACEOF
45632
45633 fi
45634 done
45635
45636 fi
45637 fi
45638
45639
45640
45641
45642
45643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45644 $as_echo_n "checking for isnan declaration... " >&6; }
45645 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45646 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45647 $as_echo_n "(cached) " >&6
45648 else
45649
45650
45651 ac_ext=cpp
45652 ac_cpp='$CXXCPP $CPPFLAGS'
45653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45656
45657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45658 /* end confdefs.h. */
45659 #include <math.h>
45660 #ifdef HAVE_IEEEFP_H
45661 #include <ieeefp.h>
45662 #endif
45663
45664 int
45665 main ()
45666 {
45667 isnan(0);
45668 ;
45669 return 0;
45670 }
45671 _ACEOF
45672 if ac_fn_cxx_try_compile "$LINENO"; then :
45673 glibcxx_cv_func_isnan_use=yes
45674 else
45675 glibcxx_cv_func_isnan_use=no
45676 fi
45677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45678 ac_ext=c
45679 ac_cpp='$CPP $CPPFLAGS'
45680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45683
45684
45685 fi
45686
45687 fi
45688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45689 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45690
45691 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45692 for ac_func in isnan
45693 do :
45694 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45695 if test "x$ac_cv_func_isnan" = x""yes; then :
45696 cat >>confdefs.h <<_ACEOF
45697 #define HAVE_ISNAN 1
45698 _ACEOF
45699
45700 fi
45701 done
45702
45703 else
45704
45705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45706 $as_echo_n "checking for _isnan declaration... " >&6; }
45707 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45708 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45709 $as_echo_n "(cached) " >&6
45710 else
45711
45712
45713 ac_ext=cpp
45714 ac_cpp='$CXXCPP $CPPFLAGS'
45715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45718
45719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45720 /* end confdefs.h. */
45721 #include <math.h>
45722 #ifdef HAVE_IEEEFP_H
45723 #include <ieeefp.h>
45724 #endif
45725
45726 int
45727 main ()
45728 {
45729 _isnan(0);
45730 ;
45731 return 0;
45732 }
45733 _ACEOF
45734 if ac_fn_cxx_try_compile "$LINENO"; then :
45735 glibcxx_cv_func__isnan_use=yes
45736 else
45737 glibcxx_cv_func__isnan_use=no
45738 fi
45739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45740 ac_ext=c
45741 ac_cpp='$CPP $CPPFLAGS'
45742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45745
45746
45747 fi
45748
45749 fi
45750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45751 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45752
45753 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45754 for ac_func in _isnan
45755 do :
45756 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45757 if test "x$ac_cv_func__isnan" = x""yes; then :
45758 cat >>confdefs.h <<_ACEOF
45759 #define HAVE__ISNAN 1
45760 _ACEOF
45761
45762 fi
45763 done
45764
45765 fi
45766 fi
45767
45768
45769
45770
45771
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45773 $as_echo_n "checking for finite declaration... " >&6; }
45774 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45775 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45776 $as_echo_n "(cached) " >&6
45777 else
45778
45779
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45785
45786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45787 /* end confdefs.h. */
45788 #include <math.h>
45789 #ifdef HAVE_IEEEFP_H
45790 #include <ieeefp.h>
45791 #endif
45792
45793 int
45794 main ()
45795 {
45796 finite(0);
45797 ;
45798 return 0;
45799 }
45800 _ACEOF
45801 if ac_fn_cxx_try_compile "$LINENO"; then :
45802 glibcxx_cv_func_finite_use=yes
45803 else
45804 glibcxx_cv_func_finite_use=no
45805 fi
45806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45807 ac_ext=c
45808 ac_cpp='$CPP $CPPFLAGS'
45809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812
45813
45814 fi
45815
45816 fi
45817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45818 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45819
45820 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45821 for ac_func in finite
45822 do :
45823 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45824 if test "x$ac_cv_func_finite" = x""yes; then :
45825 cat >>confdefs.h <<_ACEOF
45826 #define HAVE_FINITE 1
45827 _ACEOF
45828
45829 fi
45830 done
45831
45832 else
45833
45834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45835 $as_echo_n "checking for _finite declaration... " >&6; }
45836 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45837 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45838 $as_echo_n "(cached) " >&6
45839 else
45840
45841
45842 ac_ext=cpp
45843 ac_cpp='$CXXCPP $CPPFLAGS'
45844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45847
45848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45849 /* end confdefs.h. */
45850 #include <math.h>
45851 #ifdef HAVE_IEEEFP_H
45852 #include <ieeefp.h>
45853 #endif
45854
45855 int
45856 main ()
45857 {
45858 _finite(0);
45859 ;
45860 return 0;
45861 }
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func__finite_use=yes
45865 else
45866 glibcxx_cv_func__finite_use=no
45867 fi
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45874
45875
45876 fi
45877
45878 fi
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45880 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45881
45882 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45883 for ac_func in _finite
45884 do :
45885 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45886 if test "x$ac_cv_func__finite" = x""yes; then :
45887 cat >>confdefs.h <<_ACEOF
45888 #define HAVE__FINITE 1
45889 _ACEOF
45890
45891 fi
45892 done
45893
45894 fi
45895 fi
45896
45897
45898
45899
45900
45901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45902 $as_echo_n "checking for sincos declaration... " >&6; }
45903 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45904 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45905 $as_echo_n "(cached) " >&6
45906 else
45907
45908
45909 ac_ext=cpp
45910 ac_cpp='$CXXCPP $CPPFLAGS'
45911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45914
45915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45916 /* end confdefs.h. */
45917 #include <math.h>
45918 int
45919 main ()
45920 {
45921 sincos(0, 0, 0);
45922 ;
45923 return 0;
45924 }
45925 _ACEOF
45926 if ac_fn_cxx_try_compile "$LINENO"; then :
45927 glibcxx_cv_func_sincos_use=yes
45928 else
45929 glibcxx_cv_func_sincos_use=no
45930 fi
45931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45932 ac_ext=c
45933 ac_cpp='$CPP $CPPFLAGS'
45934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45937
45938
45939 fi
45940
45941 fi
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45943 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45944
45945 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45946 for ac_func in sincos
45947 do :
45948 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45949 if test "x$ac_cv_func_sincos" = x""yes; then :
45950 cat >>confdefs.h <<_ACEOF
45951 #define HAVE_SINCOS 1
45952 _ACEOF
45953
45954 fi
45955 done
45956
45957 else
45958
45959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45960 $as_echo_n "checking for _sincos declaration... " >&6; }
45961 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45962 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45963 $as_echo_n "(cached) " >&6
45964 else
45965
45966
45967 ac_ext=cpp
45968 ac_cpp='$CXXCPP $CPPFLAGS'
45969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45972
45973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45974 /* end confdefs.h. */
45975 #include <math.h>
45976 int
45977 main ()
45978 {
45979 _sincos(0, 0, 0);
45980 ;
45981 return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_cxx_try_compile "$LINENO"; then :
45985 glibcxx_cv_func__sincos_use=yes
45986 else
45987 glibcxx_cv_func__sincos_use=no
45988 fi
45989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45990 ac_ext=c
45991 ac_cpp='$CPP $CPPFLAGS'
45992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995
45996
45997 fi
45998
45999 fi
46000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46001 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46002
46003 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46004 for ac_func in _sincos
46005 do :
46006 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46007 if test "x$ac_cv_func__sincos" = x""yes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define HAVE__SINCOS 1
46010 _ACEOF
46011
46012 fi
46013 done
46014
46015 fi
46016 fi
46017
46018
46019
46020
46021
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46023 $as_echo_n "checking for fpclass declaration... " >&6; }
46024 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46025 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46026 $as_echo_n "(cached) " >&6
46027 else
46028
46029
46030 ac_ext=cpp
46031 ac_cpp='$CXXCPP $CPPFLAGS'
46032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46035
46036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46037 /* end confdefs.h. */
46038 #include <math.h>
46039 #ifdef HAVE_IEEEFP_H
46040 #include <ieeefp.h>
46041 #endif
46042
46043 int
46044 main ()
46045 {
46046 fpclass(0);
46047 ;
46048 return 0;
46049 }
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052 glibcxx_cv_func_fpclass_use=yes
46053 else
46054 glibcxx_cv_func_fpclass_use=no
46055 fi
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057 ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46062
46063
46064 fi
46065
46066 fi
46067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46068 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46069
46070 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46071 for ac_func in fpclass
46072 do :
46073 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46074 if test "x$ac_cv_func_fpclass" = x""yes; then :
46075 cat >>confdefs.h <<_ACEOF
46076 #define HAVE_FPCLASS 1
46077 _ACEOF
46078
46079 fi
46080 done
46081
46082 else
46083
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46085 $as_echo_n "checking for _fpclass declaration... " >&6; }
46086 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46087 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46090
46091
46092 ac_ext=cpp
46093 ac_cpp='$CXXCPP $CPPFLAGS'
46094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46097
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <math.h>
46101 #ifdef HAVE_IEEEFP_H
46102 #include <ieeefp.h>
46103 #endif
46104
46105 int
46106 main ()
46107 {
46108 _fpclass(0);
46109 ;
46110 return 0;
46111 }
46112 _ACEOF
46113 if ac_fn_cxx_try_compile "$LINENO"; then :
46114 glibcxx_cv_func__fpclass_use=yes
46115 else
46116 glibcxx_cv_func__fpclass_use=no
46117 fi
46118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46119 ac_ext=c
46120 ac_cpp='$CPP $CPPFLAGS'
46121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46124
46125
46126 fi
46127
46128 fi
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46130 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46131
46132 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46133 for ac_func in _fpclass
46134 do :
46135 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46136 if test "x$ac_cv_func__fpclass" = x""yes; then :
46137 cat >>confdefs.h <<_ACEOF
46138 #define HAVE__FPCLASS 1
46139 _ACEOF
46140
46141 fi
46142 done
46143
46144 fi
46145 fi
46146
46147
46148
46149
46150
46151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46152 $as_echo_n "checking for qfpclass declaration... " >&6; }
46153 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46154 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46155 $as_echo_n "(cached) " >&6
46156 else
46157
46158
46159 ac_ext=cpp
46160 ac_cpp='$CXXCPP $CPPFLAGS'
46161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164
46165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46166 /* end confdefs.h. */
46167 #include <math.h>
46168 #ifdef HAVE_IEEEFP_H
46169 #include <ieeefp.h>
46170 #endif
46171
46172 int
46173 main ()
46174 {
46175 qfpclass(0);
46176 ;
46177 return 0;
46178 }
46179 _ACEOF
46180 if ac_fn_cxx_try_compile "$LINENO"; then :
46181 glibcxx_cv_func_qfpclass_use=yes
46182 else
46183 glibcxx_cv_func_qfpclass_use=no
46184 fi
46185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46186 ac_ext=c
46187 ac_cpp='$CPP $CPPFLAGS'
46188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46191
46192
46193 fi
46194
46195 fi
46196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46197 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46198
46199 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46200 for ac_func in qfpclass
46201 do :
46202 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46203 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46204 cat >>confdefs.h <<_ACEOF
46205 #define HAVE_QFPCLASS 1
46206 _ACEOF
46207
46208 fi
46209 done
46210
46211 else
46212
46213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46214 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46215 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46216 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46217 $as_echo_n "(cached) " >&6
46218 else
46219
46220
46221 ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46226
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46229 #include <math.h>
46230 #ifdef HAVE_IEEEFP_H
46231 #include <ieeefp.h>
46232 #endif
46233
46234 int
46235 main ()
46236 {
46237 _qfpclass(0);
46238 ;
46239 return 0;
46240 }
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243 glibcxx_cv_func__qfpclass_use=yes
46244 else
46245 glibcxx_cv_func__qfpclass_use=no
46246 fi
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248 ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46253
46254
46255 fi
46256
46257 fi
46258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46259 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46260
46261 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46262 for ac_func in _qfpclass
46263 do :
46264 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46265 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46266 cat >>confdefs.h <<_ACEOF
46267 #define HAVE__QFPCLASS 1
46268 _ACEOF
46269
46270 fi
46271 done
46272
46273 fi
46274 fi
46275
46276
46277
46278
46279
46280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46281 $as_echo_n "checking for hypot declaration... " >&6; }
46282 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46283 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46284 $as_echo_n "(cached) " >&6
46285 else
46286
46287
46288 ac_ext=cpp
46289 ac_cpp='$CXXCPP $CPPFLAGS'
46290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46293
46294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46295 /* end confdefs.h. */
46296 #include <math.h>
46297 int
46298 main ()
46299 {
46300 hypot(0, 0);
46301 ;
46302 return 0;
46303 }
46304 _ACEOF
46305 if ac_fn_cxx_try_compile "$LINENO"; then :
46306 glibcxx_cv_func_hypot_use=yes
46307 else
46308 glibcxx_cv_func_hypot_use=no
46309 fi
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46316
46317
46318 fi
46319
46320 fi
46321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46322 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46323
46324 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46325 for ac_func in hypot
46326 do :
46327 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46328 if test "x$ac_cv_func_hypot" = x""yes; then :
46329 cat >>confdefs.h <<_ACEOF
46330 #define HAVE_HYPOT 1
46331 _ACEOF
46332
46333 fi
46334 done
46335
46336 else
46337
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46339 $as_echo_n "checking for _hypot declaration... " >&6; }
46340 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46341 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46342 $as_echo_n "(cached) " >&6
46343 else
46344
46345
46346 ac_ext=cpp
46347 ac_cpp='$CXXCPP $CPPFLAGS'
46348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351
46352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46353 /* end confdefs.h. */
46354 #include <math.h>
46355 int
46356 main ()
46357 {
46358 _hypot(0, 0);
46359 ;
46360 return 0;
46361 }
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364 glibcxx_cv_func__hypot_use=yes
46365 else
46366 glibcxx_cv_func__hypot_use=no
46367 fi
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369 ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374
46375
46376 fi
46377
46378 fi
46379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46380 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46381
46382 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46383 for ac_func in _hypot
46384 do :
46385 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46386 if test "x$ac_cv_func__hypot" = x""yes; then :
46387 cat >>confdefs.h <<_ACEOF
46388 #define HAVE__HYPOT 1
46389 _ACEOF
46390
46391 fi
46392 done
46393
46394 fi
46395 fi
46396
46397
46398
46399
46400
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46402 $as_echo_n "checking for float trig functions... " >&6; }
46403 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46404 $as_echo_n "(cached) " >&6
46405 else
46406
46407
46408 ac_ext=cpp
46409 ac_cpp='$CXXCPP $CPPFLAGS'
46410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46413
46414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46415 /* end confdefs.h. */
46416 #include <math.h>
46417 int
46418 main ()
46419 {
46420 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46421 ;
46422 return 0;
46423 }
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426 glibcxx_cv_func_float_trig_use=yes
46427 else
46428 glibcxx_cv_func_float_trig_use=no
46429 fi
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431 ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436
46437 fi
46438
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46440 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46441 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46442 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46443 do :
46444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46446 eval as_val=\$$as_ac_var
46447 if test "x$as_val" = x""yes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46450 _ACEOF
46451
46452 fi
46453 done
46454
46455 else
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46457 $as_echo_n "checking for _float trig functions... " >&6; }
46458 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46459 $as_echo_n "(cached) " >&6
46460 else
46461
46462
46463 ac_ext=cpp
46464 ac_cpp='$CXXCPP $CPPFLAGS'
46465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46468
46469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46470 /* end confdefs.h. */
46471 #include <math.h>
46472 int
46473 main ()
46474 {
46475 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46476 ;
46477 return 0;
46478 }
46479 _ACEOF
46480 if ac_fn_cxx_try_compile "$LINENO"; then :
46481 glibcxx_cv_func__float_trig_use=yes
46482 else
46483 glibcxx_cv_func__float_trig_use=no
46484 fi
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486 ac_ext=c
46487 ac_cpp='$CPP $CPPFLAGS'
46488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491
46492 fi
46493
46494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46495 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46496 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46497 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46498 do :
46499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46501 eval as_val=\$$as_ac_var
46502 if test "x$as_val" = x""yes; then :
46503 cat >>confdefs.h <<_ACEOF
46504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46505 _ACEOF
46506
46507 fi
46508 done
46509
46510 fi
46511 fi
46512
46513
46514
46515
46516
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46518 $as_echo_n "checking for float round functions... " >&6; }
46519 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46520 $as_echo_n "(cached) " >&6
46521 else
46522
46523
46524 ac_ext=cpp
46525 ac_cpp='$CXXCPP $CPPFLAGS'
46526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46529
46530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46531 /* end confdefs.h. */
46532 #include <math.h>
46533 int
46534 main ()
46535 {
46536 ceilf (0); floorf (0);
46537 ;
46538 return 0;
46539 }
46540 _ACEOF
46541 if ac_fn_cxx_try_compile "$LINENO"; then :
46542 glibcxx_cv_func_float_round_use=yes
46543 else
46544 glibcxx_cv_func_float_round_use=no
46545 fi
46546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46547 ac_ext=c
46548 ac_cpp='$CPP $CPPFLAGS'
46549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46552
46553 fi
46554
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46556 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46557 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46558 for ac_func in ceilf floorf
46559 do :
46560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46562 eval as_val=\$$as_ac_var
46563 if test "x$as_val" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46566 _ACEOF
46567
46568 fi
46569 done
46570
46571 else
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46573 $as_echo_n "checking for _float round functions... " >&6; }
46574 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46577
46578
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46584
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46588 int
46589 main ()
46590 {
46591 _ceilf (0); _floorf (0);
46592 ;
46593 return 0;
46594 }
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__float_round_use=yes
46598 else
46599 glibcxx_cv_func__float_round_use=no
46600 fi
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46607
46608 fi
46609
46610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46611 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46612 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46613 for ac_func in _ceilf _floorf
46614 do :
46615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46617 eval as_val=\$$as_ac_var
46618 if test "x$as_val" = x""yes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46621 _ACEOF
46622
46623 fi
46624 done
46625
46626 fi
46627 fi
46628
46629
46630
46631
46632
46633
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46635 $as_echo_n "checking for expf declaration... " >&6; }
46636 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46637 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46640
46641
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46647
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 #ifdef HAVE_IEEEFP_H
46652 #include <ieeefp.h>
46653 #endif
46654
46655 int
46656 main ()
46657 {
46658 expf(0);
46659 ;
46660 return 0;
46661 }
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func_expf_use=yes
46665 else
46666 glibcxx_cv_func_expf_use=no
46667 fi
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46674
46675
46676 fi
46677
46678 fi
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46680 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46681
46682 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46683 for ac_func in expf
46684 do :
46685 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46686 if test "x$ac_cv_func_expf" = x""yes; then :
46687 cat >>confdefs.h <<_ACEOF
46688 #define HAVE_EXPF 1
46689 _ACEOF
46690
46691 fi
46692 done
46693
46694 else
46695
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46697 $as_echo_n "checking for _expf declaration... " >&6; }
46698 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46699 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46700 $as_echo_n "(cached) " >&6
46701 else
46702
46703
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709
46710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711 /* end confdefs.h. */
46712 #include <math.h>
46713 #ifdef HAVE_IEEEFP_H
46714 #include <ieeefp.h>
46715 #endif
46716
46717 int
46718 main ()
46719 {
46720 _expf(0);
46721 ;
46722 return 0;
46723 }
46724 _ACEOF
46725 if ac_fn_cxx_try_compile "$LINENO"; then :
46726 glibcxx_cv_func__expf_use=yes
46727 else
46728 glibcxx_cv_func__expf_use=no
46729 fi
46730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736
46737
46738 fi
46739
46740 fi
46741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46742 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46743
46744 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46745 for ac_func in _expf
46746 do :
46747 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46748 if test "x$ac_cv_func__expf" = x""yes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE__EXPF 1
46751 _ACEOF
46752
46753 fi
46754 done
46755
46756 fi
46757 fi
46758
46759
46760
46761
46762
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46764 $as_echo_n "checking for isnanf declaration... " >&6; }
46765 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46766 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46767 $as_echo_n "(cached) " >&6
46768 else
46769
46770
46771 ac_ext=cpp
46772 ac_cpp='$CXXCPP $CPPFLAGS'
46773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46776
46777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46778 /* end confdefs.h. */
46779 #include <math.h>
46780 #ifdef HAVE_IEEEFP_H
46781 #include <ieeefp.h>
46782 #endif
46783
46784 int
46785 main ()
46786 {
46787 isnanf(0);
46788 ;
46789 return 0;
46790 }
46791 _ACEOF
46792 if ac_fn_cxx_try_compile "$LINENO"; then :
46793 glibcxx_cv_func_isnanf_use=yes
46794 else
46795 glibcxx_cv_func_isnanf_use=no
46796 fi
46797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46798 ac_ext=c
46799 ac_cpp='$CPP $CPPFLAGS'
46800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803
46804
46805 fi
46806
46807 fi
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46809 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46810
46811 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46812 for ac_func in isnanf
46813 do :
46814 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46815 if test "x$ac_cv_func_isnanf" = x""yes; then :
46816 cat >>confdefs.h <<_ACEOF
46817 #define HAVE_ISNANF 1
46818 _ACEOF
46819
46820 fi
46821 done
46822
46823 else
46824
46825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46826 $as_echo_n "checking for _isnanf declaration... " >&6; }
46827 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46828 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46829 $as_echo_n "(cached) " >&6
46830 else
46831
46832
46833 ac_ext=cpp
46834 ac_cpp='$CXXCPP $CPPFLAGS'
46835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46838
46839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46840 /* end confdefs.h. */
46841 #include <math.h>
46842 #ifdef HAVE_IEEEFP_H
46843 #include <ieeefp.h>
46844 #endif
46845
46846 int
46847 main ()
46848 {
46849 _isnanf(0);
46850 ;
46851 return 0;
46852 }
46853 _ACEOF
46854 if ac_fn_cxx_try_compile "$LINENO"; then :
46855 glibcxx_cv_func__isnanf_use=yes
46856 else
46857 glibcxx_cv_func__isnanf_use=no
46858 fi
46859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860 ac_ext=c
46861 ac_cpp='$CPP $CPPFLAGS'
46862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865
46866
46867 fi
46868
46869 fi
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46871 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46872
46873 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46874 for ac_func in _isnanf
46875 do :
46876 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46877 if test "x$ac_cv_func__isnanf" = x""yes; then :
46878 cat >>confdefs.h <<_ACEOF
46879 #define HAVE__ISNANF 1
46880 _ACEOF
46881
46882 fi
46883 done
46884
46885 fi
46886 fi
46887
46888
46889
46890
46891
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46893 $as_echo_n "checking for isinff declaration... " >&6; }
46894 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46895 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46896 $as_echo_n "(cached) " >&6
46897 else
46898
46899
46900 ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905
46906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h. */
46908 #include <math.h>
46909 #ifdef HAVE_IEEEFP_H
46910 #include <ieeefp.h>
46911 #endif
46912
46913 int
46914 main ()
46915 {
46916 isinff(0);
46917 ;
46918 return 0;
46919 }
46920 _ACEOF
46921 if ac_fn_cxx_try_compile "$LINENO"; then :
46922 glibcxx_cv_func_isinff_use=yes
46923 else
46924 glibcxx_cv_func_isinff_use=no
46925 fi
46926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46927 ac_ext=c
46928 ac_cpp='$CPP $CPPFLAGS'
46929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46932
46933
46934 fi
46935
46936 fi
46937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46938 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46939
46940 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46941 for ac_func in isinff
46942 do :
46943 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46944 if test "x$ac_cv_func_isinff" = x""yes; then :
46945 cat >>confdefs.h <<_ACEOF
46946 #define HAVE_ISINFF 1
46947 _ACEOF
46948
46949 fi
46950 done
46951
46952 else
46953
46954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46955 $as_echo_n "checking for _isinff declaration... " >&6; }
46956 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46957 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46958 $as_echo_n "(cached) " >&6
46959 else
46960
46961
46962 ac_ext=cpp
46963 ac_cpp='$CXXCPP $CPPFLAGS'
46964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46967
46968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46969 /* end confdefs.h. */
46970 #include <math.h>
46971 #ifdef HAVE_IEEEFP_H
46972 #include <ieeefp.h>
46973 #endif
46974
46975 int
46976 main ()
46977 {
46978 _isinff(0);
46979 ;
46980 return 0;
46981 }
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func__isinff_use=yes
46985 else
46986 glibcxx_cv_func__isinff_use=no
46987 fi
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46994
46995
46996 fi
46997
46998 fi
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47000 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47001
47002 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47003 for ac_func in _isinff
47004 do :
47005 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47006 if test "x$ac_cv_func__isinff" = x""yes; then :
47007 cat >>confdefs.h <<_ACEOF
47008 #define HAVE__ISINFF 1
47009 _ACEOF
47010
47011 fi
47012 done
47013
47014 fi
47015 fi
47016
47017
47018
47019
47020
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47022 $as_echo_n "checking for atan2f declaration... " >&6; }
47023 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47024 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47027
47028
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <math.h>
47038 int
47039 main ()
47040 {
47041 atan2f(0, 0);
47042 ;
47043 return 0;
47044 }
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func_atan2f_use=yes
47048 else
47049 glibcxx_cv_func_atan2f_use=no
47050 fi
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47057
47058
47059 fi
47060
47061 fi
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47063 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47064
47065 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47066 for ac_func in atan2f
47067 do :
47068 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47069 if test "x$ac_cv_func_atan2f" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE_ATAN2F 1
47072 _ACEOF
47073
47074 fi
47075 done
47076
47077 else
47078
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47080 $as_echo_n "checking for _atan2f declaration... " >&6; }
47081 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47082 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47083 $as_echo_n "(cached) " >&6
47084 else
47085
47086
47087 ac_ext=cpp
47088 ac_cpp='$CXXCPP $CPPFLAGS'
47089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47092
47093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47094 /* end confdefs.h. */
47095 #include <math.h>
47096 int
47097 main ()
47098 {
47099 _atan2f(0, 0);
47100 ;
47101 return 0;
47102 }
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105 glibcxx_cv_func__atan2f_use=yes
47106 else
47107 glibcxx_cv_func__atan2f_use=no
47108 fi
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115
47116
47117 fi
47118
47119 fi
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47121 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47122
47123 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47124 for ac_func in _atan2f
47125 do :
47126 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47127 if test "x$ac_cv_func__atan2f" = x""yes; then :
47128 cat >>confdefs.h <<_ACEOF
47129 #define HAVE__ATAN2F 1
47130 _ACEOF
47131
47132 fi
47133 done
47134
47135 fi
47136 fi
47137
47138
47139
47140
47141
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47143 $as_echo_n "checking for fabsf declaration... " >&6; }
47144 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47145 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47148
47149
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47155
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47159 #ifdef HAVE_IEEEFP_H
47160 #include <ieeefp.h>
47161 #endif
47162
47163 int
47164 main ()
47165 {
47166 fabsf(0);
47167 ;
47168 return 0;
47169 }
47170 _ACEOF
47171 if ac_fn_cxx_try_compile "$LINENO"; then :
47172 glibcxx_cv_func_fabsf_use=yes
47173 else
47174 glibcxx_cv_func_fabsf_use=no
47175 fi
47176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47177 ac_ext=c
47178 ac_cpp='$CPP $CPPFLAGS'
47179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47182
47183
47184 fi
47185
47186 fi
47187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47188 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47189
47190 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47191 for ac_func in fabsf
47192 do :
47193 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47194 if test "x$ac_cv_func_fabsf" = x""yes; then :
47195 cat >>confdefs.h <<_ACEOF
47196 #define HAVE_FABSF 1
47197 _ACEOF
47198
47199 fi
47200 done
47201
47202 else
47203
47204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47205 $as_echo_n "checking for _fabsf declaration... " >&6; }
47206 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47207 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47208 $as_echo_n "(cached) " >&6
47209 else
47210
47211
47212 ac_ext=cpp
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47217
47218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47219 /* end confdefs.h. */
47220 #include <math.h>
47221 #ifdef HAVE_IEEEFP_H
47222 #include <ieeefp.h>
47223 #endif
47224
47225 int
47226 main ()
47227 {
47228 _fabsf(0);
47229 ;
47230 return 0;
47231 }
47232 _ACEOF
47233 if ac_fn_cxx_try_compile "$LINENO"; then :
47234 glibcxx_cv_func__fabsf_use=yes
47235 else
47236 glibcxx_cv_func__fabsf_use=no
47237 fi
47238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47239 ac_ext=c
47240 ac_cpp='$CPP $CPPFLAGS'
47241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47244
47245
47246 fi
47247
47248 fi
47249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47250 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47251
47252 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47253 for ac_func in _fabsf
47254 do :
47255 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47256 if test "x$ac_cv_func__fabsf" = x""yes; then :
47257 cat >>confdefs.h <<_ACEOF
47258 #define HAVE__FABSF 1
47259 _ACEOF
47260
47261 fi
47262 done
47263
47264 fi
47265 fi
47266
47267
47268
47269
47270
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47272 $as_echo_n "checking for fmodf declaration... " >&6; }
47273 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47274 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47277
47278
47279 ac_ext=cpp
47280 ac_cpp='$CXXCPP $CPPFLAGS'
47281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47284
47285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47286 /* end confdefs.h. */
47287 #include <math.h>
47288 int
47289 main ()
47290 {
47291 fmodf(0, 0);
47292 ;
47293 return 0;
47294 }
47295 _ACEOF
47296 if ac_fn_cxx_try_compile "$LINENO"; then :
47297 glibcxx_cv_func_fmodf_use=yes
47298 else
47299 glibcxx_cv_func_fmodf_use=no
47300 fi
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302 ac_ext=c
47303 ac_cpp='$CPP $CPPFLAGS'
47304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47307
47308
47309 fi
47310
47311 fi
47312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47313 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47314
47315 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47316 for ac_func in fmodf
47317 do :
47318 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47319 if test "x$ac_cv_func_fmodf" = x""yes; then :
47320 cat >>confdefs.h <<_ACEOF
47321 #define HAVE_FMODF 1
47322 _ACEOF
47323
47324 fi
47325 done
47326
47327 else
47328
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47330 $as_echo_n "checking for _fmodf declaration... " >&6; }
47331 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47332 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47333 $as_echo_n "(cached) " >&6
47334 else
47335
47336
47337 ac_ext=cpp
47338 ac_cpp='$CXXCPP $CPPFLAGS'
47339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47342
47343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47344 /* end confdefs.h. */
47345 #include <math.h>
47346 int
47347 main ()
47348 {
47349 _fmodf(0, 0);
47350 ;
47351 return 0;
47352 }
47353 _ACEOF
47354 if ac_fn_cxx_try_compile "$LINENO"; then :
47355 glibcxx_cv_func__fmodf_use=yes
47356 else
47357 glibcxx_cv_func__fmodf_use=no
47358 fi
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360 ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368
47369 fi
47370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47371 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47372
47373 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47374 for ac_func in _fmodf
47375 do :
47376 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47377 if test "x$ac_cv_func__fmodf" = x""yes; then :
47378 cat >>confdefs.h <<_ACEOF
47379 #define HAVE__FMODF 1
47380 _ACEOF
47381
47382 fi
47383 done
47384
47385 fi
47386 fi
47387
47388
47389
47390
47391
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47393 $as_echo_n "checking for frexpf declaration... " >&6; }
47394 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47395 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47396 $as_echo_n "(cached) " >&6
47397 else
47398
47399
47400 ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47405
47406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h. */
47408 #include <math.h>
47409 int
47410 main ()
47411 {
47412 frexpf(0, 0);
47413 ;
47414 return 0;
47415 }
47416 _ACEOF
47417 if ac_fn_cxx_try_compile "$LINENO"; then :
47418 glibcxx_cv_func_frexpf_use=yes
47419 else
47420 glibcxx_cv_func_frexpf_use=no
47421 fi
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423 ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428
47429
47430 fi
47431
47432 fi
47433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47434 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47435
47436 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47437 for ac_func in frexpf
47438 do :
47439 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47440 if test "x$ac_cv_func_frexpf" = x""yes; then :
47441 cat >>confdefs.h <<_ACEOF
47442 #define HAVE_FREXPF 1
47443 _ACEOF
47444
47445 fi
47446 done
47447
47448 else
47449
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47451 $as_echo_n "checking for _frexpf declaration... " >&6; }
47452 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47453 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47456
47457
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47463
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47467 int
47468 main ()
47469 {
47470 _frexpf(0, 0);
47471 ;
47472 return 0;
47473 }
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476 glibcxx_cv_func__frexpf_use=yes
47477 else
47478 glibcxx_cv_func__frexpf_use=no
47479 fi
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47486
47487
47488 fi
47489
47490 fi
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47492 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47493
47494 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47495 for ac_func in _frexpf
47496 do :
47497 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47498 if test "x$ac_cv_func__frexpf" = x""yes; then :
47499 cat >>confdefs.h <<_ACEOF
47500 #define HAVE__FREXPF 1
47501 _ACEOF
47502
47503 fi
47504 done
47505
47506 fi
47507 fi
47508
47509
47510
47511
47512
47513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47514 $as_echo_n "checking for hypotf declaration... " >&6; }
47515 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47516 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47517 $as_echo_n "(cached) " >&6
47518 else
47519
47520
47521 ac_ext=cpp
47522 ac_cpp='$CXXCPP $CPPFLAGS'
47523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47526
47527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47528 /* end confdefs.h. */
47529 #include <math.h>
47530 int
47531 main ()
47532 {
47533 hypotf(0, 0);
47534 ;
47535 return 0;
47536 }
47537 _ACEOF
47538 if ac_fn_cxx_try_compile "$LINENO"; then :
47539 glibcxx_cv_func_hypotf_use=yes
47540 else
47541 glibcxx_cv_func_hypotf_use=no
47542 fi
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544 ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549
47550
47551 fi
47552
47553 fi
47554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47555 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47556
47557 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47558 for ac_func in hypotf
47559 do :
47560 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47561 if test "x$ac_cv_func_hypotf" = x""yes; then :
47562 cat >>confdefs.h <<_ACEOF
47563 #define HAVE_HYPOTF 1
47564 _ACEOF
47565
47566 fi
47567 done
47568
47569 else
47570
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47572 $as_echo_n "checking for _hypotf declaration... " >&6; }
47573 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47574 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47577
47578
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47584
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47588 int
47589 main ()
47590 {
47591 _hypotf(0, 0);
47592 ;
47593 return 0;
47594 }
47595 _ACEOF
47596 if ac_fn_cxx_try_compile "$LINENO"; then :
47597 glibcxx_cv_func__hypotf_use=yes
47598 else
47599 glibcxx_cv_func__hypotf_use=no
47600 fi
47601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47602 ac_ext=c
47603 ac_cpp='$CPP $CPPFLAGS'
47604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47607
47608
47609 fi
47610
47611 fi
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47613 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47614
47615 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47616 for ac_func in _hypotf
47617 do :
47618 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47619 if test "x$ac_cv_func__hypotf" = x""yes; then :
47620 cat >>confdefs.h <<_ACEOF
47621 #define HAVE__HYPOTF 1
47622 _ACEOF
47623
47624 fi
47625 done
47626
47627 fi
47628 fi
47629
47630
47631
47632
47633
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47635 $as_echo_n "checking for ldexpf declaration... " >&6; }
47636 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47637 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47638 $as_echo_n "(cached) " >&6
47639 else
47640
47641
47642 ac_ext=cpp
47643 ac_cpp='$CXXCPP $CPPFLAGS'
47644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47647
47648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47649 /* end confdefs.h. */
47650 #include <math.h>
47651 int
47652 main ()
47653 {
47654 ldexpf(0, 0);
47655 ;
47656 return 0;
47657 }
47658 _ACEOF
47659 if ac_fn_cxx_try_compile "$LINENO"; then :
47660 glibcxx_cv_func_ldexpf_use=yes
47661 else
47662 glibcxx_cv_func_ldexpf_use=no
47663 fi
47664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47665 ac_ext=c
47666 ac_cpp='$CPP $CPPFLAGS'
47667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47670
47671
47672 fi
47673
47674 fi
47675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47676 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47677
47678 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47679 for ac_func in ldexpf
47680 do :
47681 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47682 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47683 cat >>confdefs.h <<_ACEOF
47684 #define HAVE_LDEXPF 1
47685 _ACEOF
47686
47687 fi
47688 done
47689
47690 else
47691
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47693 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47694 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47695 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47696 $as_echo_n "(cached) " >&6
47697 else
47698
47699
47700 ac_ext=cpp
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705
47706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707 /* end confdefs.h. */
47708 #include <math.h>
47709 int
47710 main ()
47711 {
47712 _ldexpf(0, 0);
47713 ;
47714 return 0;
47715 }
47716 _ACEOF
47717 if ac_fn_cxx_try_compile "$LINENO"; then :
47718 glibcxx_cv_func__ldexpf_use=yes
47719 else
47720 glibcxx_cv_func__ldexpf_use=no
47721 fi
47722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 ac_ext=c
47724 ac_cpp='$CPP $CPPFLAGS'
47725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47728
47729
47730 fi
47731
47732 fi
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47734 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47735
47736 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47737 for ac_func in _ldexpf
47738 do :
47739 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47740 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47741 cat >>confdefs.h <<_ACEOF
47742 #define HAVE__LDEXPF 1
47743 _ACEOF
47744
47745 fi
47746 done
47747
47748 fi
47749 fi
47750
47751
47752
47753
47754
47755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47756 $as_echo_n "checking for logf declaration... " >&6; }
47757 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47758 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47759 $as_echo_n "(cached) " >&6
47760 else
47761
47762
47763 ac_ext=cpp
47764 ac_cpp='$CXXCPP $CPPFLAGS'
47765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47768
47769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47770 /* end confdefs.h. */
47771 #include <math.h>
47772 #ifdef HAVE_IEEEFP_H
47773 #include <ieeefp.h>
47774 #endif
47775
47776 int
47777 main ()
47778 {
47779 logf(0);
47780 ;
47781 return 0;
47782 }
47783 _ACEOF
47784 if ac_fn_cxx_try_compile "$LINENO"; then :
47785 glibcxx_cv_func_logf_use=yes
47786 else
47787 glibcxx_cv_func_logf_use=no
47788 fi
47789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47790 ac_ext=c
47791 ac_cpp='$CPP $CPPFLAGS'
47792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47795
47796
47797 fi
47798
47799 fi
47800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47801 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47802
47803 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47804 for ac_func in logf
47805 do :
47806 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47807 if test "x$ac_cv_func_logf" = x""yes; then :
47808 cat >>confdefs.h <<_ACEOF
47809 #define HAVE_LOGF 1
47810 _ACEOF
47811
47812 fi
47813 done
47814
47815 else
47816
47817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47818 $as_echo_n "checking for _logf declaration... " >&6; }
47819 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47820 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47821 $as_echo_n "(cached) " >&6
47822 else
47823
47824
47825 ac_ext=cpp
47826 ac_cpp='$CXXCPP $CPPFLAGS'
47827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47830
47831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47832 /* end confdefs.h. */
47833 #include <math.h>
47834 #ifdef HAVE_IEEEFP_H
47835 #include <ieeefp.h>
47836 #endif
47837
47838 int
47839 main ()
47840 {
47841 _logf(0);
47842 ;
47843 return 0;
47844 }
47845 _ACEOF
47846 if ac_fn_cxx_try_compile "$LINENO"; then :
47847 glibcxx_cv_func__logf_use=yes
47848 else
47849 glibcxx_cv_func__logf_use=no
47850 fi
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852 ac_ext=c
47853 ac_cpp='$CPP $CPPFLAGS'
47854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47857
47858
47859 fi
47860
47861 fi
47862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47863 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47864
47865 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47866 for ac_func in _logf
47867 do :
47868 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47869 if test "x$ac_cv_func__logf" = x""yes; then :
47870 cat >>confdefs.h <<_ACEOF
47871 #define HAVE__LOGF 1
47872 _ACEOF
47873
47874 fi
47875 done
47876
47877 fi
47878 fi
47879
47880
47881
47882
47883
47884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47885 $as_echo_n "checking for log10f declaration... " >&6; }
47886 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47887 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47888 $as_echo_n "(cached) " >&6
47889 else
47890
47891
47892 ac_ext=cpp
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47897
47898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47899 /* end confdefs.h. */
47900 #include <math.h>
47901 #ifdef HAVE_IEEEFP_H
47902 #include <ieeefp.h>
47903 #endif
47904
47905 int
47906 main ()
47907 {
47908 log10f(0);
47909 ;
47910 return 0;
47911 }
47912 _ACEOF
47913 if ac_fn_cxx_try_compile "$LINENO"; then :
47914 glibcxx_cv_func_log10f_use=yes
47915 else
47916 glibcxx_cv_func_log10f_use=no
47917 fi
47918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47919 ac_ext=c
47920 ac_cpp='$CPP $CPPFLAGS'
47921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47924
47925
47926 fi
47927
47928 fi
47929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47930 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47931
47932 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47933 for ac_func in log10f
47934 do :
47935 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47936 if test "x$ac_cv_func_log10f" = x""yes; then :
47937 cat >>confdefs.h <<_ACEOF
47938 #define HAVE_LOG10F 1
47939 _ACEOF
47940
47941 fi
47942 done
47943
47944 else
47945
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47947 $as_echo_n "checking for _log10f declaration... " >&6; }
47948 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47949 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47950 $as_echo_n "(cached) " >&6
47951 else
47952
47953
47954 ac_ext=cpp
47955 ac_cpp='$CXXCPP $CPPFLAGS'
47956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47959
47960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47961 /* end confdefs.h. */
47962 #include <math.h>
47963 #ifdef HAVE_IEEEFP_H
47964 #include <ieeefp.h>
47965 #endif
47966
47967 int
47968 main ()
47969 {
47970 _log10f(0);
47971 ;
47972 return 0;
47973 }
47974 _ACEOF
47975 if ac_fn_cxx_try_compile "$LINENO"; then :
47976 glibcxx_cv_func__log10f_use=yes
47977 else
47978 glibcxx_cv_func__log10f_use=no
47979 fi
47980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47981 ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47986
47987
47988 fi
47989
47990 fi
47991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47992 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47993
47994 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47995 for ac_func in _log10f
47996 do :
47997 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47998 if test "x$ac_cv_func__log10f" = x""yes; then :
47999 cat >>confdefs.h <<_ACEOF
48000 #define HAVE__LOG10F 1
48001 _ACEOF
48002
48003 fi
48004 done
48005
48006 fi
48007 fi
48008
48009
48010
48011
48012
48013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48014 $as_echo_n "checking for modff declaration... " >&6; }
48015 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48016 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48017 $as_echo_n "(cached) " >&6
48018 else
48019
48020
48021 ac_ext=cpp
48022 ac_cpp='$CXXCPP $CPPFLAGS'
48023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48026
48027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48028 /* end confdefs.h. */
48029 #include <math.h>
48030 int
48031 main ()
48032 {
48033 modff(0, 0);
48034 ;
48035 return 0;
48036 }
48037 _ACEOF
48038 if ac_fn_cxx_try_compile "$LINENO"; then :
48039 glibcxx_cv_func_modff_use=yes
48040 else
48041 glibcxx_cv_func_modff_use=no
48042 fi
48043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48044 ac_ext=c
48045 ac_cpp='$CPP $CPPFLAGS'
48046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48049
48050
48051 fi
48052
48053 fi
48054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48055 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48056
48057 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48058 for ac_func in modff
48059 do :
48060 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48061 if test "x$ac_cv_func_modff" = x""yes; then :
48062 cat >>confdefs.h <<_ACEOF
48063 #define HAVE_MODFF 1
48064 _ACEOF
48065
48066 fi
48067 done
48068
48069 else
48070
48071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48072 $as_echo_n "checking for _modff declaration... " >&6; }
48073 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48074 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48075 $as_echo_n "(cached) " >&6
48076 else
48077
48078
48079 ac_ext=cpp
48080 ac_cpp='$CXXCPP $CPPFLAGS'
48081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48084
48085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48086 /* end confdefs.h. */
48087 #include <math.h>
48088 int
48089 main ()
48090 {
48091 _modff(0, 0);
48092 ;
48093 return 0;
48094 }
48095 _ACEOF
48096 if ac_fn_cxx_try_compile "$LINENO"; then :
48097 glibcxx_cv_func__modff_use=yes
48098 else
48099 glibcxx_cv_func__modff_use=no
48100 fi
48101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48102 ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48107
48108
48109 fi
48110
48111 fi
48112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48113 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48114
48115 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48116 for ac_func in _modff
48117 do :
48118 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48119 if test "x$ac_cv_func__modff" = x""yes; then :
48120 cat >>confdefs.h <<_ACEOF
48121 #define HAVE__MODFF 1
48122 _ACEOF
48123
48124 fi
48125 done
48126
48127 fi
48128 fi
48129
48130
48131
48132
48133
48134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48135 $as_echo_n "checking for modf declaration... " >&6; }
48136 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48137 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48138 $as_echo_n "(cached) " >&6
48139 else
48140
48141
48142 ac_ext=cpp
48143 ac_cpp='$CXXCPP $CPPFLAGS'
48144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48147
48148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48149 /* end confdefs.h. */
48150 #include <math.h>
48151 int
48152 main ()
48153 {
48154 modf(0, 0);
48155 ;
48156 return 0;
48157 }
48158 _ACEOF
48159 if ac_fn_cxx_try_compile "$LINENO"; then :
48160 glibcxx_cv_func_modf_use=yes
48161 else
48162 glibcxx_cv_func_modf_use=no
48163 fi
48164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48165 ac_ext=c
48166 ac_cpp='$CPP $CPPFLAGS'
48167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170
48171
48172 fi
48173
48174 fi
48175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48176 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48177
48178 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48179 for ac_func in modf
48180 do :
48181 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48182 if test "x$ac_cv_func_modf" = x""yes; then :
48183 cat >>confdefs.h <<_ACEOF
48184 #define HAVE_MODF 1
48185 _ACEOF
48186
48187 fi
48188 done
48189
48190 else
48191
48192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48193 $as_echo_n "checking for _modf declaration... " >&6; }
48194 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48195 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48197 else
48198
48199
48200 ac_ext=cpp
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48205
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 #include <math.h>
48209 int
48210 main ()
48211 {
48212 _modf(0, 0);
48213 ;
48214 return 0;
48215 }
48216 _ACEOF
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func__modf_use=yes
48219 else
48220 glibcxx_cv_func__modf_use=no
48221 fi
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48223 ac_ext=c
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48228
48229
48230 fi
48231
48232 fi
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48234 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48235
48236 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48237 for ac_func in _modf
48238 do :
48239 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48240 if test "x$ac_cv_func__modf" = x""yes; then :
48241 cat >>confdefs.h <<_ACEOF
48242 #define HAVE__MODF 1
48243 _ACEOF
48244
48245 fi
48246 done
48247
48248 fi
48249 fi
48250
48251
48252
48253
48254
48255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48256 $as_echo_n "checking for powf declaration... " >&6; }
48257 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48258 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48259 $as_echo_n "(cached) " >&6
48260 else
48261
48262
48263 ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 #include <math.h>
48272 int
48273 main ()
48274 {
48275 powf(0, 0);
48276 ;
48277 return 0;
48278 }
48279 _ACEOF
48280 if ac_fn_cxx_try_compile "$LINENO"; then :
48281 glibcxx_cv_func_powf_use=yes
48282 else
48283 glibcxx_cv_func_powf_use=no
48284 fi
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 ac_ext=c
48287 ac_cpp='$CPP $CPPFLAGS'
48288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48291
48292
48293 fi
48294
48295 fi
48296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48297 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48298
48299 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48300 for ac_func in powf
48301 do :
48302 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48303 if test "x$ac_cv_func_powf" = x""yes; then :
48304 cat >>confdefs.h <<_ACEOF
48305 #define HAVE_POWF 1
48306 _ACEOF
48307
48308 fi
48309 done
48310
48311 else
48312
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48314 $as_echo_n "checking for _powf declaration... " >&6; }
48315 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48316 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48319
48320
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48326
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48330 int
48331 main ()
48332 {
48333 _powf(0, 0);
48334 ;
48335 return 0;
48336 }
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339 glibcxx_cv_func__powf_use=yes
48340 else
48341 glibcxx_cv_func__powf_use=no
48342 fi
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349
48350
48351 fi
48352
48353 fi
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48355 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48356
48357 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48358 for ac_func in _powf
48359 do :
48360 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48361 if test "x$ac_cv_func__powf" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define HAVE__POWF 1
48364 _ACEOF
48365
48366 fi
48367 done
48368
48369 fi
48370 fi
48371
48372
48373
48374
48375
48376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48377 $as_echo_n "checking for sqrtf declaration... " >&6; }
48378 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48379 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48380 $as_echo_n "(cached) " >&6
48381 else
48382
48383
48384 ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48389
48390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h. */
48392 #include <math.h>
48393 #ifdef HAVE_IEEEFP_H
48394 #include <ieeefp.h>
48395 #endif
48396
48397 int
48398 main ()
48399 {
48400 sqrtf(0);
48401 ;
48402 return 0;
48403 }
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func_sqrtf_use=yes
48407 else
48408 glibcxx_cv_func_sqrtf_use=no
48409 fi
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48416
48417
48418 fi
48419
48420 fi
48421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48422 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48423
48424 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48425 for ac_func in sqrtf
48426 do :
48427 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48428 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48429 cat >>confdefs.h <<_ACEOF
48430 #define HAVE_SQRTF 1
48431 _ACEOF
48432
48433 fi
48434 done
48435
48436 else
48437
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48439 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48440 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48441 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48442 $as_echo_n "(cached) " >&6
48443 else
48444
48445
48446 ac_ext=cpp
48447 ac_cpp='$CXXCPP $CPPFLAGS'
48448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48451
48452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48453 /* end confdefs.h. */
48454 #include <math.h>
48455 #ifdef HAVE_IEEEFP_H
48456 #include <ieeefp.h>
48457 #endif
48458
48459 int
48460 main ()
48461 {
48462 _sqrtf(0);
48463 ;
48464 return 0;
48465 }
48466 _ACEOF
48467 if ac_fn_cxx_try_compile "$LINENO"; then :
48468 glibcxx_cv_func__sqrtf_use=yes
48469 else
48470 glibcxx_cv_func__sqrtf_use=no
48471 fi
48472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48473 ac_ext=c
48474 ac_cpp='$CPP $CPPFLAGS'
48475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48478
48479
48480 fi
48481
48482 fi
48483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48484 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48485
48486 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48487 for ac_func in _sqrtf
48488 do :
48489 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48490 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48491 cat >>confdefs.h <<_ACEOF
48492 #define HAVE__SQRTF 1
48493 _ACEOF
48494
48495 fi
48496 done
48497
48498 fi
48499 fi
48500
48501
48502
48503
48504
48505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48506 $as_echo_n "checking for sincosf declaration... " >&6; }
48507 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48508 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48509 $as_echo_n "(cached) " >&6
48510 else
48511
48512
48513 ac_ext=cpp
48514 ac_cpp='$CXXCPP $CPPFLAGS'
48515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518
48519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48520 /* end confdefs.h. */
48521 #include <math.h>
48522 int
48523 main ()
48524 {
48525 sincosf(0, 0, 0);
48526 ;
48527 return 0;
48528 }
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func_sincosf_use=yes
48532 else
48533 glibcxx_cv_func_sincosf_use=no
48534 fi
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48541
48542
48543 fi
48544
48545 fi
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48547 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48548
48549 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48550 for ac_func in sincosf
48551 do :
48552 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48553 if test "x$ac_cv_func_sincosf" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE_SINCOSF 1
48556 _ACEOF
48557
48558 fi
48559 done
48560
48561 else
48562
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48564 $as_echo_n "checking for _sincosf declaration... " >&6; }
48565 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48566 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48567 $as_echo_n "(cached) " >&6
48568 else
48569
48570
48571 ac_ext=cpp
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48576
48577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48578 /* end confdefs.h. */
48579 #include <math.h>
48580 int
48581 main ()
48582 {
48583 _sincosf(0, 0, 0);
48584 ;
48585 return 0;
48586 }
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589 glibcxx_cv_func__sincosf_use=yes
48590 else
48591 glibcxx_cv_func__sincosf_use=no
48592 fi
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594 ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48599
48600
48601 fi
48602
48603 fi
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48605 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48606
48607 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48608 for ac_func in _sincosf
48609 do :
48610 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48611 if test "x$ac_cv_func__sincosf" = x""yes; then :
48612 cat >>confdefs.h <<_ACEOF
48613 #define HAVE__SINCOSF 1
48614 _ACEOF
48615
48616 fi
48617 done
48618
48619 fi
48620 fi
48621
48622
48623
48624
48625
48626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48627 $as_echo_n "checking for finitef declaration... " >&6; }
48628 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48629 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48630 $as_echo_n "(cached) " >&6
48631 else
48632
48633
48634 ac_ext=cpp
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48639
48640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641 /* end confdefs.h. */
48642 #include <math.h>
48643 #ifdef HAVE_IEEEFP_H
48644 #include <ieeefp.h>
48645 #endif
48646
48647 int
48648 main ()
48649 {
48650 finitef(0);
48651 ;
48652 return 0;
48653 }
48654 _ACEOF
48655 if ac_fn_cxx_try_compile "$LINENO"; then :
48656 glibcxx_cv_func_finitef_use=yes
48657 else
48658 glibcxx_cv_func_finitef_use=no
48659 fi
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661 ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666
48667
48668 fi
48669
48670 fi
48671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48672 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48673
48674 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48675 for ac_func in finitef
48676 do :
48677 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48678 if test "x$ac_cv_func_finitef" = x""yes; then :
48679 cat >>confdefs.h <<_ACEOF
48680 #define HAVE_FINITEF 1
48681 _ACEOF
48682
48683 fi
48684 done
48685
48686 else
48687
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48689 $as_echo_n "checking for _finitef declaration... " >&6; }
48690 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48691 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48705 #ifdef HAVE_IEEEFP_H
48706 #include <ieeefp.h>
48707 #endif
48708
48709 int
48710 main ()
48711 {
48712 _finitef(0);
48713 ;
48714 return 0;
48715 }
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718 glibcxx_cv_func__finitef_use=yes
48719 else
48720 glibcxx_cv_func__finitef_use=no
48721 fi
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723 ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48728
48729
48730 fi
48731
48732 fi
48733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48734 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48735
48736 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48737 for ac_func in _finitef
48738 do :
48739 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48740 if test "x$ac_cv_func__finitef" = x""yes; then :
48741 cat >>confdefs.h <<_ACEOF
48742 #define HAVE__FINITEF 1
48743 _ACEOF
48744
48745 fi
48746 done
48747
48748 fi
48749 fi
48750
48751
48752
48753
48754
48755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48756 $as_echo_n "checking for long double trig functions... " >&6; }
48757 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48758 $as_echo_n "(cached) " >&6
48759 else
48760
48761
48762 ac_ext=cpp
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48767
48768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48769 /* end confdefs.h. */
48770 #include <math.h>
48771 int
48772 main ()
48773 {
48774 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48775 ;
48776 return 0;
48777 }
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func_long_double_trig_use=yes
48781 else
48782 glibcxx_cv_func_long_double_trig_use=no
48783 fi
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791 fi
48792
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48794 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48795 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48796 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48797 do :
48798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48800 eval as_val=\$$as_ac_var
48801 if test "x$as_val" = x""yes; then :
48802 cat >>confdefs.h <<_ACEOF
48803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48804 _ACEOF
48805
48806 fi
48807 done
48808
48809 else
48810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48811 $as_echo_n "checking for _long double trig functions... " >&6; }
48812 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48815
48816
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48822
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48826 int
48827 main ()
48828 {
48829 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48830 ;
48831 return 0;
48832 }
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__long_double_trig_use=yes
48836 else
48837 glibcxx_cv_func__long_double_trig_use=no
48838 fi
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48845
48846 fi
48847
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48849 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48850 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48851 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48852 do :
48853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48855 eval as_val=\$$as_ac_var
48856 if test "x$as_val" = x""yes; then :
48857 cat >>confdefs.h <<_ACEOF
48858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48859 _ACEOF
48860
48861 fi
48862 done
48863
48864 fi
48865 fi
48866
48867
48868
48869
48870
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48872 $as_echo_n "checking for long double round functions... " >&6; }
48873 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48874 $as_echo_n "(cached) " >&6
48875 else
48876
48877
48878 ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883
48884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h. */
48886 #include <math.h>
48887 int
48888 main ()
48889 {
48890 ceill (0); floorl (0);
48891 ;
48892 return 0;
48893 }
48894 _ACEOF
48895 if ac_fn_cxx_try_compile "$LINENO"; then :
48896 glibcxx_cv_func_long_double_round_use=yes
48897 else
48898 glibcxx_cv_func_long_double_round_use=no
48899 fi
48900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48901 ac_ext=c
48902 ac_cpp='$CPP $CPPFLAGS'
48903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48906
48907 fi
48908
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48910 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48911 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48912 for ac_func in ceill floorl
48913 do :
48914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48916 eval as_val=\$$as_ac_var
48917 if test "x$as_val" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48920 _ACEOF
48921
48922 fi
48923 done
48924
48925 else
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48927 $as_echo_n "checking for _long double round functions... " >&6; }
48928 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48931
48932
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48938
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48942 int
48943 main ()
48944 {
48945 _ceill (0); _floorl (0);
48946 ;
48947 return 0;
48948 }
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__long_double_round_use=yes
48952 else
48953 glibcxx_cv_func__long_double_round_use=no
48954 fi
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48961
48962 fi
48963
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48965 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48966 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48967 for ac_func in _ceill _floorl
48968 do :
48969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48971 eval as_val=\$$as_ac_var
48972 if test "x$as_val" = x""yes; then :
48973 cat >>confdefs.h <<_ACEOF
48974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48975 _ACEOF
48976
48977 fi
48978 done
48979
48980 fi
48981 fi
48982
48983
48984
48985
48986
48987
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48989 $as_echo_n "checking for isnanl declaration... " >&6; }
48990 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48991 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48994
48995
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49001
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49005 #ifdef HAVE_IEEEFP_H
49006 #include <ieeefp.h>
49007 #endif
49008
49009 int
49010 main ()
49011 {
49012 isnanl(0);
49013 ;
49014 return 0;
49015 }
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018 glibcxx_cv_func_isnanl_use=yes
49019 else
49020 glibcxx_cv_func_isnanl_use=no
49021 fi
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023 ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028
49029
49030 fi
49031
49032 fi
49033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49034 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49035
49036 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49037 for ac_func in isnanl
49038 do :
49039 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49040 if test "x$ac_cv_func_isnanl" = x""yes; then :
49041 cat >>confdefs.h <<_ACEOF
49042 #define HAVE_ISNANL 1
49043 _ACEOF
49044
49045 fi
49046 done
49047
49048 else
49049
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49051 $as_echo_n "checking for _isnanl declaration... " >&6; }
49052 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49053 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49054 $as_echo_n "(cached) " >&6
49055 else
49056
49057
49058 ac_ext=cpp
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49063
49064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49065 /* end confdefs.h. */
49066 #include <math.h>
49067 #ifdef HAVE_IEEEFP_H
49068 #include <ieeefp.h>
49069 #endif
49070
49071 int
49072 main ()
49073 {
49074 _isnanl(0);
49075 ;
49076 return 0;
49077 }
49078 _ACEOF
49079 if ac_fn_cxx_try_compile "$LINENO"; then :
49080 glibcxx_cv_func__isnanl_use=yes
49081 else
49082 glibcxx_cv_func__isnanl_use=no
49083 fi
49084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49085 ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49090
49091
49092 fi
49093
49094 fi
49095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49096 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49097
49098 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49099 for ac_func in _isnanl
49100 do :
49101 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49102 if test "x$ac_cv_func__isnanl" = x""yes; then :
49103 cat >>confdefs.h <<_ACEOF
49104 #define HAVE__ISNANL 1
49105 _ACEOF
49106
49107 fi
49108 done
49109
49110 fi
49111 fi
49112
49113
49114
49115
49116
49117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49118 $as_echo_n "checking for isinfl declaration... " >&6; }
49119 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49120 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49121 $as_echo_n "(cached) " >&6
49122 else
49123
49124
49125 ac_ext=cpp
49126 ac_cpp='$CXXCPP $CPPFLAGS'
49127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49130
49131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49132 /* end confdefs.h. */
49133 #include <math.h>
49134 #ifdef HAVE_IEEEFP_H
49135 #include <ieeefp.h>
49136 #endif
49137
49138 int
49139 main ()
49140 {
49141 isinfl(0);
49142 ;
49143 return 0;
49144 }
49145 _ACEOF
49146 if ac_fn_cxx_try_compile "$LINENO"; then :
49147 glibcxx_cv_func_isinfl_use=yes
49148 else
49149 glibcxx_cv_func_isinfl_use=no
49150 fi
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49152 ac_ext=c
49153 ac_cpp='$CPP $CPPFLAGS'
49154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49157
49158
49159 fi
49160
49161 fi
49162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49163 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49164
49165 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49166 for ac_func in isinfl
49167 do :
49168 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49169 if test "x$ac_cv_func_isinfl" = x""yes; then :
49170 cat >>confdefs.h <<_ACEOF
49171 #define HAVE_ISINFL 1
49172 _ACEOF
49173
49174 fi
49175 done
49176
49177 else
49178
49179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49180 $as_echo_n "checking for _isinfl declaration... " >&6; }
49181 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49182 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49183 $as_echo_n "(cached) " >&6
49184 else
49185
49186
49187 ac_ext=cpp
49188 ac_cpp='$CXXCPP $CPPFLAGS'
49189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49192
49193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49194 /* end confdefs.h. */
49195 #include <math.h>
49196 #ifdef HAVE_IEEEFP_H
49197 #include <ieeefp.h>
49198 #endif
49199
49200 int
49201 main ()
49202 {
49203 _isinfl(0);
49204 ;
49205 return 0;
49206 }
49207 _ACEOF
49208 if ac_fn_cxx_try_compile "$LINENO"; then :
49209 glibcxx_cv_func__isinfl_use=yes
49210 else
49211 glibcxx_cv_func__isinfl_use=no
49212 fi
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 ac_ext=c
49215 ac_cpp='$CPP $CPPFLAGS'
49216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49219
49220
49221 fi
49222
49223 fi
49224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49225 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49226
49227 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49228 for ac_func in _isinfl
49229 do :
49230 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49231 if test "x$ac_cv_func__isinfl" = x""yes; then :
49232 cat >>confdefs.h <<_ACEOF
49233 #define HAVE__ISINFL 1
49234 _ACEOF
49235
49236 fi
49237 done
49238
49239 fi
49240 fi
49241
49242
49243
49244
49245
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49247 $as_echo_n "checking for atan2l declaration... " >&6; }
49248 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49249 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49250 $as_echo_n "(cached) " >&6
49251 else
49252
49253
49254 ac_ext=cpp
49255 ac_cpp='$CXXCPP $CPPFLAGS'
49256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49259
49260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49261 /* end confdefs.h. */
49262 #include <math.h>
49263 int
49264 main ()
49265 {
49266 atan2l(0, 0);
49267 ;
49268 return 0;
49269 }
49270 _ACEOF
49271 if ac_fn_cxx_try_compile "$LINENO"; then :
49272 glibcxx_cv_func_atan2l_use=yes
49273 else
49274 glibcxx_cv_func_atan2l_use=no
49275 fi
49276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49277 ac_ext=c
49278 ac_cpp='$CPP $CPPFLAGS'
49279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49282
49283
49284 fi
49285
49286 fi
49287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49288 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49289
49290 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49291 for ac_func in atan2l
49292 do :
49293 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49294 if test "x$ac_cv_func_atan2l" = x""yes; then :
49295 cat >>confdefs.h <<_ACEOF
49296 #define HAVE_ATAN2L 1
49297 _ACEOF
49298
49299 fi
49300 done
49301
49302 else
49303
49304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49305 $as_echo_n "checking for _atan2l declaration... " >&6; }
49306 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49307 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49308 $as_echo_n "(cached) " >&6
49309 else
49310
49311
49312 ac_ext=cpp
49313 ac_cpp='$CXXCPP $CPPFLAGS'
49314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49317
49318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49319 /* end confdefs.h. */
49320 #include <math.h>
49321 int
49322 main ()
49323 {
49324 _atan2l(0, 0);
49325 ;
49326 return 0;
49327 }
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func__atan2l_use=yes
49331 else
49332 glibcxx_cv_func__atan2l_use=no
49333 fi
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344 fi
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49346 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49347
49348 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49349 for ac_func in _atan2l
49350 do :
49351 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49352 if test "x$ac_cv_func__atan2l" = x""yes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE__ATAN2L 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360 fi
49361 fi
49362
49363
49364
49365
49366
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49368 $as_echo_n "checking for expl declaration... " >&6; }
49369 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49370 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49371 $as_echo_n "(cached) " >&6
49372 else
49373
49374
49375 ac_ext=cpp
49376 ac_cpp='$CXXCPP $CPPFLAGS'
49377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49380
49381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49382 /* end confdefs.h. */
49383 #include <math.h>
49384 #ifdef HAVE_IEEEFP_H
49385 #include <ieeefp.h>
49386 #endif
49387
49388 int
49389 main ()
49390 {
49391 expl(0);
49392 ;
49393 return 0;
49394 }
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func_expl_use=yes
49398 else
49399 glibcxx_cv_func_expl_use=no
49400 fi
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49407
49408
49409 fi
49410
49411 fi
49412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49413 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49414
49415 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49416 for ac_func in expl
49417 do :
49418 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49419 if test "x$ac_cv_func_expl" = x""yes; then :
49420 cat >>confdefs.h <<_ACEOF
49421 #define HAVE_EXPL 1
49422 _ACEOF
49423
49424 fi
49425 done
49426
49427 else
49428
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49430 $as_echo_n "checking for _expl declaration... " >&6; }
49431 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49432 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49435
49436
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49442
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49446 #ifdef HAVE_IEEEFP_H
49447 #include <ieeefp.h>
49448 #endif
49449
49450 int
49451 main ()
49452 {
49453 _expl(0);
49454 ;
49455 return 0;
49456 }
49457 _ACEOF
49458 if ac_fn_cxx_try_compile "$LINENO"; then :
49459 glibcxx_cv_func__expl_use=yes
49460 else
49461 glibcxx_cv_func__expl_use=no
49462 fi
49463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49464 ac_ext=c
49465 ac_cpp='$CPP $CPPFLAGS'
49466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49469
49470
49471 fi
49472
49473 fi
49474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49475 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49476
49477 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49478 for ac_func in _expl
49479 do :
49480 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49481 if test "x$ac_cv_func__expl" = x""yes; then :
49482 cat >>confdefs.h <<_ACEOF
49483 #define HAVE__EXPL 1
49484 _ACEOF
49485
49486 fi
49487 done
49488
49489 fi
49490 fi
49491
49492
49493
49494
49495
49496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49497 $as_echo_n "checking for fabsl declaration... " >&6; }
49498 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49499 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49502
49503
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49509
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49513 #ifdef HAVE_IEEEFP_H
49514 #include <ieeefp.h>
49515 #endif
49516
49517 int
49518 main ()
49519 {
49520 fabsl(0);
49521 ;
49522 return 0;
49523 }
49524 _ACEOF
49525 if ac_fn_cxx_try_compile "$LINENO"; then :
49526 glibcxx_cv_func_fabsl_use=yes
49527 else
49528 glibcxx_cv_func_fabsl_use=no
49529 fi
49530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49531 ac_ext=c
49532 ac_cpp='$CPP $CPPFLAGS'
49533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49536
49537
49538 fi
49539
49540 fi
49541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49542 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49543
49544 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49545 for ac_func in fabsl
49546 do :
49547 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49548 if test "x$ac_cv_func_fabsl" = x""yes; then :
49549 cat >>confdefs.h <<_ACEOF
49550 #define HAVE_FABSL 1
49551 _ACEOF
49552
49553 fi
49554 done
49555
49556 else
49557
49558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49559 $as_echo_n "checking for _fabsl declaration... " >&6; }
49560 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49561 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49562 $as_echo_n "(cached) " >&6
49563 else
49564
49565
49566 ac_ext=cpp
49567 ac_cpp='$CXXCPP $CPPFLAGS'
49568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49571
49572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49573 /* end confdefs.h. */
49574 #include <math.h>
49575 #ifdef HAVE_IEEEFP_H
49576 #include <ieeefp.h>
49577 #endif
49578
49579 int
49580 main ()
49581 {
49582 _fabsl(0);
49583 ;
49584 return 0;
49585 }
49586 _ACEOF
49587 if ac_fn_cxx_try_compile "$LINENO"; then :
49588 glibcxx_cv_func__fabsl_use=yes
49589 else
49590 glibcxx_cv_func__fabsl_use=no
49591 fi
49592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49593 ac_ext=c
49594 ac_cpp='$CPP $CPPFLAGS'
49595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49598
49599
49600 fi
49601
49602 fi
49603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49604 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49605
49606 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49607 for ac_func in _fabsl
49608 do :
49609 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49610 if test "x$ac_cv_func__fabsl" = x""yes; then :
49611 cat >>confdefs.h <<_ACEOF
49612 #define HAVE__FABSL 1
49613 _ACEOF
49614
49615 fi
49616 done
49617
49618 fi
49619 fi
49620
49621
49622
49623
49624
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49626 $as_echo_n "checking for fmodl declaration... " >&6; }
49627 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49628 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49629 $as_echo_n "(cached) " >&6
49630 else
49631
49632
49633 ac_ext=cpp
49634 ac_cpp='$CXXCPP $CPPFLAGS'
49635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49638
49639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49640 /* end confdefs.h. */
49641 #include <math.h>
49642 int
49643 main ()
49644 {
49645 fmodl(0, 0);
49646 ;
49647 return 0;
49648 }
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func_fmodl_use=yes
49652 else
49653 glibcxx_cv_func_fmodl_use=no
49654 fi
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49661
49662
49663 fi
49664
49665 fi
49666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49667 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49668
49669 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49670 for ac_func in fmodl
49671 do :
49672 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49673 if test "x$ac_cv_func_fmodl" = x""yes; then :
49674 cat >>confdefs.h <<_ACEOF
49675 #define HAVE_FMODL 1
49676 _ACEOF
49677
49678 fi
49679 done
49680
49681 else
49682
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49684 $as_echo_n "checking for _fmodl declaration... " >&6; }
49685 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49686 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49687 $as_echo_n "(cached) " >&6
49688 else
49689
49690
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49696
49697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h. */
49699 #include <math.h>
49700 int
49701 main ()
49702 {
49703 _fmodl(0, 0);
49704 ;
49705 return 0;
49706 }
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709 glibcxx_cv_func__fmodl_use=yes
49710 else
49711 glibcxx_cv_func__fmodl_use=no
49712 fi
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714 ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719
49720
49721 fi
49722
49723 fi
49724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49725 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49726
49727 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49728 for ac_func in _fmodl
49729 do :
49730 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49731 if test "x$ac_cv_func__fmodl" = x""yes; then :
49732 cat >>confdefs.h <<_ACEOF
49733 #define HAVE__FMODL 1
49734 _ACEOF
49735
49736 fi
49737 done
49738
49739 fi
49740 fi
49741
49742
49743
49744
49745
49746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49747 $as_echo_n "checking for frexpl declaration... " >&6; }
49748 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49749 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49750 $as_echo_n "(cached) " >&6
49751 else
49752
49753
49754 ac_ext=cpp
49755 ac_cpp='$CXXCPP $CPPFLAGS'
49756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49759
49760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49761 /* end confdefs.h. */
49762 #include <math.h>
49763 int
49764 main ()
49765 {
49766 frexpl(0, 0);
49767 ;
49768 return 0;
49769 }
49770 _ACEOF
49771 if ac_fn_cxx_try_compile "$LINENO"; then :
49772 glibcxx_cv_func_frexpl_use=yes
49773 else
49774 glibcxx_cv_func_frexpl_use=no
49775 fi
49776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49777 ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782
49783
49784 fi
49785
49786 fi
49787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49788 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49789
49790 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49791 for ac_func in frexpl
49792 do :
49793 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49794 if test "x$ac_cv_func_frexpl" = x""yes; then :
49795 cat >>confdefs.h <<_ACEOF
49796 #define HAVE_FREXPL 1
49797 _ACEOF
49798
49799 fi
49800 done
49801
49802 else
49803
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49805 $as_echo_n "checking for _frexpl declaration... " >&6; }
49806 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49807 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49810
49811
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49817
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49821 int
49822 main ()
49823 {
49824 _frexpl(0, 0);
49825 ;
49826 return 0;
49827 }
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830 glibcxx_cv_func__frexpl_use=yes
49831 else
49832 glibcxx_cv_func__frexpl_use=no
49833 fi
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49840
49841
49842 fi
49843
49844 fi
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49846 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49847
49848 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49849 for ac_func in _frexpl
49850 do :
49851 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49852 if test "x$ac_cv_func__frexpl" = x""yes; then :
49853 cat >>confdefs.h <<_ACEOF
49854 #define HAVE__FREXPL 1
49855 _ACEOF
49856
49857 fi
49858 done
49859
49860 fi
49861 fi
49862
49863
49864
49865
49866
49867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49868 $as_echo_n "checking for hypotl declaration... " >&6; }
49869 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49870 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49871 $as_echo_n "(cached) " >&6
49872 else
49873
49874
49875 ac_ext=cpp
49876 ac_cpp='$CXXCPP $CPPFLAGS'
49877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49880
49881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49882 /* end confdefs.h. */
49883 #include <math.h>
49884 int
49885 main ()
49886 {
49887 hypotl(0, 0);
49888 ;
49889 return 0;
49890 }
49891 _ACEOF
49892 if ac_fn_cxx_try_compile "$LINENO"; then :
49893 glibcxx_cv_func_hypotl_use=yes
49894 else
49895 glibcxx_cv_func_hypotl_use=no
49896 fi
49897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49898 ac_ext=c
49899 ac_cpp='$CPP $CPPFLAGS'
49900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49903
49904
49905 fi
49906
49907 fi
49908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49909 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49910
49911 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49912 for ac_func in hypotl
49913 do :
49914 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49915 if test "x$ac_cv_func_hypotl" = x""yes; then :
49916 cat >>confdefs.h <<_ACEOF
49917 #define HAVE_HYPOTL 1
49918 _ACEOF
49919
49920 fi
49921 done
49922
49923 else
49924
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49926 $as_echo_n "checking for _hypotl declaration... " >&6; }
49927 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49928 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49929 $as_echo_n "(cached) " >&6
49930 else
49931
49932
49933 ac_ext=cpp
49934 ac_cpp='$CXXCPP $CPPFLAGS'
49935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49938
49939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49940 /* end confdefs.h. */
49941 #include <math.h>
49942 int
49943 main ()
49944 {
49945 _hypotl(0, 0);
49946 ;
49947 return 0;
49948 }
49949 _ACEOF
49950 if ac_fn_cxx_try_compile "$LINENO"; then :
49951 glibcxx_cv_func__hypotl_use=yes
49952 else
49953 glibcxx_cv_func__hypotl_use=no
49954 fi
49955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49956 ac_ext=c
49957 ac_cpp='$CPP $CPPFLAGS'
49958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49961
49962
49963 fi
49964
49965 fi
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49967 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49968
49969 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49970 for ac_func in _hypotl
49971 do :
49972 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49973 if test "x$ac_cv_func__hypotl" = x""yes; then :
49974 cat >>confdefs.h <<_ACEOF
49975 #define HAVE__HYPOTL 1
49976 _ACEOF
49977
49978 fi
49979 done
49980
49981 fi
49982 fi
49983
49984
49985
49986
49987
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49989 $as_echo_n "checking for ldexpl declaration... " >&6; }
49990 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49991 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49992 $as_echo_n "(cached) " >&6
49993 else
49994
49995
49996 ac_ext=cpp
49997 ac_cpp='$CXXCPP $CPPFLAGS'
49998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50001
50002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50003 /* end confdefs.h. */
50004 #include <math.h>
50005 int
50006 main ()
50007 {
50008 ldexpl(0, 0);
50009 ;
50010 return 0;
50011 }
50012 _ACEOF
50013 if ac_fn_cxx_try_compile "$LINENO"; then :
50014 glibcxx_cv_func_ldexpl_use=yes
50015 else
50016 glibcxx_cv_func_ldexpl_use=no
50017 fi
50018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50024
50025
50026 fi
50027
50028 fi
50029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50030 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50031
50032 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50033 for ac_func in ldexpl
50034 do :
50035 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50036 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50037 cat >>confdefs.h <<_ACEOF
50038 #define HAVE_LDEXPL 1
50039 _ACEOF
50040
50041 fi
50042 done
50043
50044 else
50045
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50047 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50048 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50049 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50052
50053
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50059
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50063 int
50064 main ()
50065 {
50066 _ldexpl(0, 0);
50067 ;
50068 return 0;
50069 }
50070 _ACEOF
50071 if ac_fn_cxx_try_compile "$LINENO"; then :
50072 glibcxx_cv_func__ldexpl_use=yes
50073 else
50074 glibcxx_cv_func__ldexpl_use=no
50075 fi
50076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50077 ac_ext=c
50078 ac_cpp='$CPP $CPPFLAGS'
50079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50082
50083
50084 fi
50085
50086 fi
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50088 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50089
50090 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50091 for ac_func in _ldexpl
50092 do :
50093 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50094 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50095 cat >>confdefs.h <<_ACEOF
50096 #define HAVE__LDEXPL 1
50097 _ACEOF
50098
50099 fi
50100 done
50101
50102 fi
50103 fi
50104
50105
50106
50107
50108
50109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50110 $as_echo_n "checking for logl declaration... " >&6; }
50111 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50112 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50113 $as_echo_n "(cached) " >&6
50114 else
50115
50116
50117 ac_ext=cpp
50118 ac_cpp='$CXXCPP $CPPFLAGS'
50119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50122
50123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50124 /* end confdefs.h. */
50125 #include <math.h>
50126 #ifdef HAVE_IEEEFP_H
50127 #include <ieeefp.h>
50128 #endif
50129
50130 int
50131 main ()
50132 {
50133 logl(0);
50134 ;
50135 return 0;
50136 }
50137 _ACEOF
50138 if ac_fn_cxx_try_compile "$LINENO"; then :
50139 glibcxx_cv_func_logl_use=yes
50140 else
50141 glibcxx_cv_func_logl_use=no
50142 fi
50143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50144 ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50149
50150
50151 fi
50152
50153 fi
50154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50155 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50156
50157 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50158 for ac_func in logl
50159 do :
50160 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50161 if test "x$ac_cv_func_logl" = x""yes; then :
50162 cat >>confdefs.h <<_ACEOF
50163 #define HAVE_LOGL 1
50164 _ACEOF
50165
50166 fi
50167 done
50168
50169 else
50170
50171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50172 $as_echo_n "checking for _logl declaration... " >&6; }
50173 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50174 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50175 $as_echo_n "(cached) " >&6
50176 else
50177
50178
50179 ac_ext=cpp
50180 ac_cpp='$CXXCPP $CPPFLAGS'
50181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50184
50185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50186 /* end confdefs.h. */
50187 #include <math.h>
50188 #ifdef HAVE_IEEEFP_H
50189 #include <ieeefp.h>
50190 #endif
50191
50192 int
50193 main ()
50194 {
50195 _logl(0);
50196 ;
50197 return 0;
50198 }
50199 _ACEOF
50200 if ac_fn_cxx_try_compile "$LINENO"; then :
50201 glibcxx_cv_func__logl_use=yes
50202 else
50203 glibcxx_cv_func__logl_use=no
50204 fi
50205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50206 ac_ext=c
50207 ac_cpp='$CPP $CPPFLAGS'
50208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50211
50212
50213 fi
50214
50215 fi
50216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50217 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50218
50219 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50220 for ac_func in _logl
50221 do :
50222 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50223 if test "x$ac_cv_func__logl" = x""yes; then :
50224 cat >>confdefs.h <<_ACEOF
50225 #define HAVE__LOGL 1
50226 _ACEOF
50227
50228 fi
50229 done
50230
50231 fi
50232 fi
50233
50234
50235
50236
50237
50238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50239 $as_echo_n "checking for log10l declaration... " >&6; }
50240 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50241 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50242 $as_echo_n "(cached) " >&6
50243 else
50244
50245
50246 ac_ext=cpp
50247 ac_cpp='$CXXCPP $CPPFLAGS'
50248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50251
50252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50253 /* end confdefs.h. */
50254 #include <math.h>
50255 #ifdef HAVE_IEEEFP_H
50256 #include <ieeefp.h>
50257 #endif
50258
50259 int
50260 main ()
50261 {
50262 log10l(0);
50263 ;
50264 return 0;
50265 }
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func_log10l_use=yes
50269 else
50270 glibcxx_cv_func_log10l_use=no
50271 fi
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50278
50279
50280 fi
50281
50282 fi
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50284 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50285
50286 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50287 for ac_func in log10l
50288 do :
50289 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50290 if test "x$ac_cv_func_log10l" = x""yes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE_LOG10L 1
50293 _ACEOF
50294
50295 fi
50296 done
50297
50298 else
50299
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50301 $as_echo_n "checking for _log10l declaration... " >&6; }
50302 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50303 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50304 $as_echo_n "(cached) " >&6
50305 else
50306
50307
50308 ac_ext=cpp
50309 ac_cpp='$CXXCPP $CPPFLAGS'
50310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50313
50314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50315 /* end confdefs.h. */
50316 #include <math.h>
50317 #ifdef HAVE_IEEEFP_H
50318 #include <ieeefp.h>
50319 #endif
50320
50321 int
50322 main ()
50323 {
50324 _log10l(0);
50325 ;
50326 return 0;
50327 }
50328 _ACEOF
50329 if ac_fn_cxx_try_compile "$LINENO"; then :
50330 glibcxx_cv_func__log10l_use=yes
50331 else
50332 glibcxx_cv_func__log10l_use=no
50333 fi
50334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50335 ac_ext=c
50336 ac_cpp='$CPP $CPPFLAGS'
50337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50340
50341
50342 fi
50343
50344 fi
50345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50346 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50347
50348 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50349 for ac_func in _log10l
50350 do :
50351 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50352 if test "x$ac_cv_func__log10l" = x""yes; then :
50353 cat >>confdefs.h <<_ACEOF
50354 #define HAVE__LOG10L 1
50355 _ACEOF
50356
50357 fi
50358 done
50359
50360 fi
50361 fi
50362
50363
50364
50365
50366
50367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50368 $as_echo_n "checking for modfl declaration... " >&6; }
50369 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50370 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50371 $as_echo_n "(cached) " >&6
50372 else
50373
50374
50375 ac_ext=cpp
50376 ac_cpp='$CXXCPP $CPPFLAGS'
50377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50380
50381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50382 /* end confdefs.h. */
50383 #include <math.h>
50384 int
50385 main ()
50386 {
50387 modfl(0, 0);
50388 ;
50389 return 0;
50390 }
50391 _ACEOF
50392 if ac_fn_cxx_try_compile "$LINENO"; then :
50393 glibcxx_cv_func_modfl_use=yes
50394 else
50395 glibcxx_cv_func_modfl_use=no
50396 fi
50397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50403
50404
50405 fi
50406
50407 fi
50408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50409 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50410
50411 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50412 for ac_func in modfl
50413 do :
50414 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50415 if test "x$ac_cv_func_modfl" = x""yes; then :
50416 cat >>confdefs.h <<_ACEOF
50417 #define HAVE_MODFL 1
50418 _ACEOF
50419
50420 fi
50421 done
50422
50423 else
50424
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50426 $as_echo_n "checking for _modfl declaration... " >&6; }
50427 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50428 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50429 $as_echo_n "(cached) " >&6
50430 else
50431
50432
50433 ac_ext=cpp
50434 ac_cpp='$CXXCPP $CPPFLAGS'
50435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50438
50439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50440 /* end confdefs.h. */
50441 #include <math.h>
50442 int
50443 main ()
50444 {
50445 _modfl(0, 0);
50446 ;
50447 return 0;
50448 }
50449 _ACEOF
50450 if ac_fn_cxx_try_compile "$LINENO"; then :
50451 glibcxx_cv_func__modfl_use=yes
50452 else
50453 glibcxx_cv_func__modfl_use=no
50454 fi
50455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50456 ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461
50462
50463 fi
50464
50465 fi
50466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50467 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50468
50469 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50470 for ac_func in _modfl
50471 do :
50472 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50473 if test "x$ac_cv_func__modfl" = x""yes; then :
50474 cat >>confdefs.h <<_ACEOF
50475 #define HAVE__MODFL 1
50476 _ACEOF
50477
50478 fi
50479 done
50480
50481 fi
50482 fi
50483
50484
50485
50486
50487
50488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50489 $as_echo_n "checking for powl declaration... " >&6; }
50490 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50491 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50492 $as_echo_n "(cached) " >&6
50493 else
50494
50495
50496 ac_ext=cpp
50497 ac_cpp='$CXXCPP $CPPFLAGS'
50498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50501
50502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50503 /* end confdefs.h. */
50504 #include <math.h>
50505 int
50506 main ()
50507 {
50508 powl(0, 0);
50509 ;
50510 return 0;
50511 }
50512 _ACEOF
50513 if ac_fn_cxx_try_compile "$LINENO"; then :
50514 glibcxx_cv_func_powl_use=yes
50515 else
50516 glibcxx_cv_func_powl_use=no
50517 fi
50518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50519 ac_ext=c
50520 ac_cpp='$CPP $CPPFLAGS'
50521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50524
50525
50526 fi
50527
50528 fi
50529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50530 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50531
50532 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50533 for ac_func in powl
50534 do :
50535 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50536 if test "x$ac_cv_func_powl" = x""yes; then :
50537 cat >>confdefs.h <<_ACEOF
50538 #define HAVE_POWL 1
50539 _ACEOF
50540
50541 fi
50542 done
50543
50544 else
50545
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50547 $as_echo_n "checking for _powl declaration... " >&6; }
50548 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50549 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50550 $as_echo_n "(cached) " >&6
50551 else
50552
50553
50554 ac_ext=cpp
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50559
50560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50561 /* end confdefs.h. */
50562 #include <math.h>
50563 int
50564 main ()
50565 {
50566 _powl(0, 0);
50567 ;
50568 return 0;
50569 }
50570 _ACEOF
50571 if ac_fn_cxx_try_compile "$LINENO"; then :
50572 glibcxx_cv_func__powl_use=yes
50573 else
50574 glibcxx_cv_func__powl_use=no
50575 fi
50576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50582
50583
50584 fi
50585
50586 fi
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50588 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50589
50590 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50591 for ac_func in _powl
50592 do :
50593 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50594 if test "x$ac_cv_func__powl" = x""yes; then :
50595 cat >>confdefs.h <<_ACEOF
50596 #define HAVE__POWL 1
50597 _ACEOF
50598
50599 fi
50600 done
50601
50602 fi
50603 fi
50604
50605
50606
50607
50608
50609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50610 $as_echo_n "checking for sqrtl declaration... " >&6; }
50611 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50612 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50613 $as_echo_n "(cached) " >&6
50614 else
50615
50616
50617 ac_ext=cpp
50618 ac_cpp='$CXXCPP $CPPFLAGS'
50619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50622
50623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50624 /* end confdefs.h. */
50625 #include <math.h>
50626 #ifdef HAVE_IEEEFP_H
50627 #include <ieeefp.h>
50628 #endif
50629
50630 int
50631 main ()
50632 {
50633 sqrtl(0);
50634 ;
50635 return 0;
50636 }
50637 _ACEOF
50638 if ac_fn_cxx_try_compile "$LINENO"; then :
50639 glibcxx_cv_func_sqrtl_use=yes
50640 else
50641 glibcxx_cv_func_sqrtl_use=no
50642 fi
50643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50644 ac_ext=c
50645 ac_cpp='$CPP $CPPFLAGS'
50646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50649
50650
50651 fi
50652
50653 fi
50654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50655 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50656
50657 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50658 for ac_func in sqrtl
50659 do :
50660 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50661 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50662 cat >>confdefs.h <<_ACEOF
50663 #define HAVE_SQRTL 1
50664 _ACEOF
50665
50666 fi
50667 done
50668
50669 else
50670
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50672 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50673 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50674 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50675 $as_echo_n "(cached) " >&6
50676 else
50677
50678
50679 ac_ext=cpp
50680 ac_cpp='$CXXCPP $CPPFLAGS'
50681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50684
50685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50686 /* end confdefs.h. */
50687 #include <math.h>
50688 #ifdef HAVE_IEEEFP_H
50689 #include <ieeefp.h>
50690 #endif
50691
50692 int
50693 main ()
50694 {
50695 _sqrtl(0);
50696 ;
50697 return 0;
50698 }
50699 _ACEOF
50700 if ac_fn_cxx_try_compile "$LINENO"; then :
50701 glibcxx_cv_func__sqrtl_use=yes
50702 else
50703 glibcxx_cv_func__sqrtl_use=no
50704 fi
50705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50706 ac_ext=c
50707 ac_cpp='$CPP $CPPFLAGS'
50708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50711
50712
50713 fi
50714
50715 fi
50716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50717 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50718
50719 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50720 for ac_func in _sqrtl
50721 do :
50722 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50723 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50724 cat >>confdefs.h <<_ACEOF
50725 #define HAVE__SQRTL 1
50726 _ACEOF
50727
50728 fi
50729 done
50730
50731 fi
50732 fi
50733
50734
50735
50736
50737
50738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50739 $as_echo_n "checking for sincosl declaration... " >&6; }
50740 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50741 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50742 $as_echo_n "(cached) " >&6
50743 else
50744
50745
50746 ac_ext=cpp
50747 ac_cpp='$CXXCPP $CPPFLAGS'
50748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50751
50752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50753 /* end confdefs.h. */
50754 #include <math.h>
50755 int
50756 main ()
50757 {
50758 sincosl(0, 0, 0);
50759 ;
50760 return 0;
50761 }
50762 _ACEOF
50763 if ac_fn_cxx_try_compile "$LINENO"; then :
50764 glibcxx_cv_func_sincosl_use=yes
50765 else
50766 glibcxx_cv_func_sincosl_use=no
50767 fi
50768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50769 ac_ext=c
50770 ac_cpp='$CPP $CPPFLAGS'
50771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50774
50775
50776 fi
50777
50778 fi
50779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50780 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50781
50782 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50783 for ac_func in sincosl
50784 do :
50785 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50786 if test "x$ac_cv_func_sincosl" = x""yes; then :
50787 cat >>confdefs.h <<_ACEOF
50788 #define HAVE_SINCOSL 1
50789 _ACEOF
50790
50791 fi
50792 done
50793
50794 else
50795
50796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50797 $as_echo_n "checking for _sincosl declaration... " >&6; }
50798 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50799 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50800 $as_echo_n "(cached) " >&6
50801 else
50802
50803
50804 ac_ext=cpp
50805 ac_cpp='$CXXCPP $CPPFLAGS'
50806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50809
50810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50811 /* end confdefs.h. */
50812 #include <math.h>
50813 int
50814 main ()
50815 {
50816 _sincosl(0, 0, 0);
50817 ;
50818 return 0;
50819 }
50820 _ACEOF
50821 if ac_fn_cxx_try_compile "$LINENO"; then :
50822 glibcxx_cv_func__sincosl_use=yes
50823 else
50824 glibcxx_cv_func__sincosl_use=no
50825 fi
50826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50827 ac_ext=c
50828 ac_cpp='$CPP $CPPFLAGS'
50829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50832
50833
50834 fi
50835
50836 fi
50837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50838 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50839
50840 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50841 for ac_func in _sincosl
50842 do :
50843 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50844 if test "x$ac_cv_func__sincosl" = x""yes; then :
50845 cat >>confdefs.h <<_ACEOF
50846 #define HAVE__SINCOSL 1
50847 _ACEOF
50848
50849 fi
50850 done
50851
50852 fi
50853 fi
50854
50855
50856
50857
50858
50859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50860 $as_echo_n "checking for finitel declaration... " >&6; }
50861 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50862 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50863 $as_echo_n "(cached) " >&6
50864 else
50865
50866
50867 ac_ext=cpp
50868 ac_cpp='$CXXCPP $CPPFLAGS'
50869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50872
50873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50874 /* end confdefs.h. */
50875 #include <math.h>
50876 #ifdef HAVE_IEEEFP_H
50877 #include <ieeefp.h>
50878 #endif
50879
50880 int
50881 main ()
50882 {
50883 finitel(0);
50884 ;
50885 return 0;
50886 }
50887 _ACEOF
50888 if ac_fn_cxx_try_compile "$LINENO"; then :
50889 glibcxx_cv_func_finitel_use=yes
50890 else
50891 glibcxx_cv_func_finitel_use=no
50892 fi
50893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50894 ac_ext=c
50895 ac_cpp='$CPP $CPPFLAGS'
50896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50899
50900
50901 fi
50902
50903 fi
50904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50905 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50906
50907 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50908 for ac_func in finitel
50909 do :
50910 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50911 if test "x$ac_cv_func_finitel" = x""yes; then :
50912 cat >>confdefs.h <<_ACEOF
50913 #define HAVE_FINITEL 1
50914 _ACEOF
50915
50916 fi
50917 done
50918
50919 else
50920
50921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50922 $as_echo_n "checking for _finitel declaration... " >&6; }
50923 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50924 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50925 $as_echo_n "(cached) " >&6
50926 else
50927
50928
50929 ac_ext=cpp
50930 ac_cpp='$CXXCPP $CPPFLAGS'
50931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934
50935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50936 /* end confdefs.h. */
50937 #include <math.h>
50938 #ifdef HAVE_IEEEFP_H
50939 #include <ieeefp.h>
50940 #endif
50941
50942 int
50943 main ()
50944 {
50945 _finitel(0);
50946 ;
50947 return 0;
50948 }
50949 _ACEOF
50950 if ac_fn_cxx_try_compile "$LINENO"; then :
50951 glibcxx_cv_func__finitel_use=yes
50952 else
50953 glibcxx_cv_func__finitel_use=no
50954 fi
50955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50956 ac_ext=c
50957 ac_cpp='$CPP $CPPFLAGS'
50958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50961
50962
50963 fi
50964
50965 fi
50966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50967 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50968
50969 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50970 for ac_func in _finitel
50971 do :
50972 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50973 if test "x$ac_cv_func__finitel" = x""yes; then :
50974 cat >>confdefs.h <<_ACEOF
50975 #define HAVE__FINITEL 1
50976 _ACEOF
50977
50978 fi
50979 done
50980
50981 fi
50982 fi
50983
50984
50985
50986
50987 LIBS="$ac_save_LIBS"
50988 CXXFLAGS="$ac_save_CXXFLAGS"
50989
50990
50991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50992 ac_save_CXXFLAGS="$CXXFLAGS"
50993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50994
50995
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50997 $as_echo_n "checking for strtold declaration... " >&6; }
50998 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50999 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51002
51003
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <stdlib.h>
51013 int
51014 main ()
51015 {
51016 strtold(0, 0);
51017 ;
51018 return 0;
51019 }
51020 _ACEOF
51021 if ac_fn_cxx_try_compile "$LINENO"; then :
51022 glibcxx_cv_func_strtold_use=yes
51023 else
51024 glibcxx_cv_func_strtold_use=no
51025 fi
51026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51027 ac_ext=c
51028 ac_cpp='$CPP $CPPFLAGS'
51029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51032
51033
51034 fi
51035
51036 fi
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51038 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51039 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51040 for ac_func in strtold
51041 do :
51042 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51043 if test "x$ac_cv_func_strtold" = x""yes; then :
51044 cat >>confdefs.h <<_ACEOF
51045 #define HAVE_STRTOLD 1
51046 _ACEOF
51047
51048 fi
51049 done
51050
51051 fi
51052
51053
51054
51055
51056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51057 $as_echo_n "checking for strtof declaration... " >&6; }
51058 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51059 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51060 $as_echo_n "(cached) " >&6
51061 else
51062
51063
51064 ac_ext=cpp
51065 ac_cpp='$CXXCPP $CPPFLAGS'
51066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51069
51070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51071 /* end confdefs.h. */
51072 #include <stdlib.h>
51073 int
51074 main ()
51075 {
51076 strtof(0, 0);
51077 ;
51078 return 0;
51079 }
51080 _ACEOF
51081 if ac_fn_cxx_try_compile "$LINENO"; then :
51082 glibcxx_cv_func_strtof_use=yes
51083 else
51084 glibcxx_cv_func_strtof_use=no
51085 fi
51086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51087 ac_ext=c
51088 ac_cpp='$CPP $CPPFLAGS'
51089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51092
51093
51094 fi
51095
51096 fi
51097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51098 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51099 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51100 for ac_func in strtof
51101 do :
51102 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51103 if test "x$ac_cv_func_strtof" = x""yes; then :
51104 cat >>confdefs.h <<_ACEOF
51105 #define HAVE_STRTOF 1
51106 _ACEOF
51107
51108 fi
51109 done
51110
51111 fi
51112
51113
51114
51115
51116 CXXFLAGS="$ac_save_CXXFLAGS"
51117
51118 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51119
51120
51121
51122 # Check whether --enable-tls was given.
51123 if test "${enable_tls+set}" = set; then :
51124 enableval=$enable_tls;
51125 case "$enableval" in
51126 yes|no) ;;
51127 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51128 esac
51129
51130 else
51131 enable_tls=yes
51132 fi
51133
51134
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51136 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51137 if test "${gcc_cv_have_tls+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51139 else
51140
51141 if test "$cross_compiling" = yes; then :
51142 if test x$gcc_no_link = xyes; then
51143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51144 fi
51145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51146 /* end confdefs.h. */
51147 __thread int a; int b; int main() { return a = b; }
51148 _ACEOF
51149 if ac_fn_c_try_link "$LINENO"; then :
51150 chktls_save_LDFLAGS="$LDFLAGS"
51151 case $host in
51152 *-*-linux*)
51153 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51154 ;;
51155 esac
51156 chktls_save_CFLAGS="$CFLAGS"
51157 CFLAGS="-fPIC $CFLAGS"
51158 if test x$gcc_no_link = xyes; then
51159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51160 fi
51161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51162 /* end confdefs.h. */
51163 int f() { return 0; }
51164 _ACEOF
51165 if ac_fn_c_try_link "$LINENO"; then :
51166 if test x$gcc_no_link = xyes; then
51167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51168 fi
51169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51170 /* end confdefs.h. */
51171 __thread int a; int b; int f() { return a = b; }
51172 _ACEOF
51173 if ac_fn_c_try_link "$LINENO"; then :
51174 gcc_cv_have_tls=yes
51175 else
51176 gcc_cv_have_tls=no
51177 fi
51178 rm -f core conftest.err conftest.$ac_objext \
51179 conftest$ac_exeext conftest.$ac_ext
51180 else
51181 gcc_cv_have_tls=yes
51182 fi
51183 rm -f core conftest.err conftest.$ac_objext \
51184 conftest$ac_exeext conftest.$ac_ext
51185 CFLAGS="$chktls_save_CFLAGS"
51186 LDFLAGS="$chktls_save_LDFLAGS"
51187 else
51188 gcc_cv_have_tls=no
51189 fi
51190 rm -f core conftest.err conftest.$ac_objext \
51191 conftest$ac_exeext conftest.$ac_ext
51192
51193
51194 else
51195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51196 /* end confdefs.h. */
51197 __thread int a; int b; int main() { return a = b; }
51198 _ACEOF
51199 if ac_fn_c_try_run "$LINENO"; then :
51200 chktls_save_LDFLAGS="$LDFLAGS"
51201 LDFLAGS="-static $LDFLAGS"
51202 if test x$gcc_no_link = xyes; then
51203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51204 fi
51205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51206 /* end confdefs.h. */
51207 int main() { return 0; }
51208 _ACEOF
51209 if ac_fn_c_try_link "$LINENO"; then :
51210 if test "$cross_compiling" = yes; then :
51211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51213 as_fn_error "cannot run test program while cross compiling
51214 See \`config.log' for more details." "$LINENO" 5; }
51215 else
51216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h. */
51218 __thread int a; int b; int main() { return a = b; }
51219 _ACEOF
51220 if ac_fn_c_try_run "$LINENO"; then :
51221 gcc_cv_have_tls=yes
51222 else
51223 gcc_cv_have_tls=no
51224 fi
51225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51226 conftest.$ac_objext conftest.beam conftest.$ac_ext
51227 fi
51228
51229 else
51230 gcc_cv_have_tls=yes
51231 fi
51232 rm -f core conftest.err conftest.$ac_objext \
51233 conftest$ac_exeext conftest.$ac_ext
51234 LDFLAGS="$chktls_save_LDFLAGS"
51235 if test $gcc_cv_have_tls = yes; then
51236 chktls_save_CFLAGS="$CFLAGS"
51237 thread_CFLAGS=failed
51238 for flag in '' '-pthread' '-lpthread'; do
51239 CFLAGS="$flag $chktls_save_CFLAGS"
51240 if test x$gcc_no_link = xyes; then
51241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51242 fi
51243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51244 /* end confdefs.h. */
51245 #include <pthread.h>
51246 void *g(void *d) { return NULL; }
51247 int
51248 main ()
51249 {
51250 pthread_t t; pthread_create(&t,NULL,g,NULL);
51251 ;
51252 return 0;
51253 }
51254 _ACEOF
51255 if ac_fn_c_try_link "$LINENO"; then :
51256 thread_CFLAGS="$flag"
51257 fi
51258 rm -f core conftest.err conftest.$ac_objext \
51259 conftest$ac_exeext conftest.$ac_ext
51260 if test "X$thread_CFLAGS" != Xfailed; then
51261 break
51262 fi
51263 done
51264 CFLAGS="$chktls_save_CFLAGS"
51265 if test "X$thread_CFLAGS" != Xfailed; then
51266 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51267 if test "$cross_compiling" = yes; then :
51268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51270 as_fn_error "cannot run test program while cross compiling
51271 See \`config.log' for more details." "$LINENO" 5; }
51272 else
51273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51274 /* end confdefs.h. */
51275 #include <pthread.h>
51276 __thread int a;
51277 static int *volatile a_in_other_thread;
51278 static void *
51279 thread_func (void *arg)
51280 {
51281 a_in_other_thread = &a;
51282 return (void *)0;
51283 }
51284 int
51285 main ()
51286 {
51287 pthread_t thread;
51288 void *thread_retval;
51289 int *volatile a_in_main_thread;
51290 a_in_main_thread = &a;
51291 if (pthread_create (&thread, (pthread_attr_t *)0,
51292 thread_func, (void *)0))
51293 return 0;
51294 if (pthread_join (thread, &thread_retval))
51295 return 0;
51296 return (a_in_other_thread == a_in_main_thread);
51297 ;
51298 return 0;
51299 }
51300 _ACEOF
51301 if ac_fn_c_try_run "$LINENO"; then :
51302 gcc_cv_have_tls=yes
51303 else
51304 gcc_cv_have_tls=no
51305 fi
51306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51307 conftest.$ac_objext conftest.beam conftest.$ac_ext
51308 fi
51309
51310 CFLAGS="$chktls_save_CFLAGS"
51311 fi
51312 fi
51313 else
51314 gcc_cv_have_tls=no
51315 fi
51316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51317 conftest.$ac_objext conftest.beam conftest.$ac_ext
51318 fi
51319
51320 fi
51321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51322 $as_echo "$gcc_cv_have_tls" >&6; }
51323 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51324
51325 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51326
51327 fi
51328
51329
51330
51331
51332
51333 am_save_CPPFLAGS="$CPPFLAGS"
51334
51335 for element in $INCICONV; do
51336 haveit=
51337 for x in $CPPFLAGS; do
51338
51339 acl_save_prefix="$prefix"
51340 prefix="$acl_final_prefix"
51341 acl_save_exec_prefix="$exec_prefix"
51342 exec_prefix="$acl_final_exec_prefix"
51343 eval x=\"$x\"
51344 exec_prefix="$acl_save_exec_prefix"
51345 prefix="$acl_save_prefix"
51346
51347 if test "X$x" = "X$element"; then
51348 haveit=yes
51349 break
51350 fi
51351 done
51352 if test -z "$haveit"; then
51353 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51354 fi
51355 done
51356
51357
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51359 $as_echo_n "checking for iconv... " >&6; }
51360 if test "${am_cv_func_iconv+set}" = set; then :
51361 $as_echo_n "(cached) " >&6
51362 else
51363
51364 am_cv_func_iconv="no, consider installing GNU libiconv"
51365 am_cv_lib_iconv=no
51366 if test x$gcc_no_link = xyes; then
51367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51368 fi
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <stdlib.h>
51372 #include <iconv.h>
51373 int
51374 main ()
51375 {
51376 iconv_t cd = iconv_open("","");
51377 iconv(cd,NULL,NULL,NULL,NULL);
51378 iconv_close(cd);
51379 ;
51380 return 0;
51381 }
51382 _ACEOF
51383 if ac_fn_c_try_link "$LINENO"; then :
51384 am_cv_func_iconv=yes
51385 fi
51386 rm -f core conftest.err conftest.$ac_objext \
51387 conftest$ac_exeext conftest.$ac_ext
51388 if test "$am_cv_func_iconv" != yes; then
51389 am_save_LIBS="$LIBS"
51390 LIBS="$LIBS $LIBICONV"
51391 if test x$gcc_no_link = xyes; then
51392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51393 fi
51394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51395 /* end confdefs.h. */
51396 #include <stdlib.h>
51397 #include <iconv.h>
51398 int
51399 main ()
51400 {
51401 iconv_t cd = iconv_open("","");
51402 iconv(cd,NULL,NULL,NULL,NULL);
51403 iconv_close(cd);
51404 ;
51405 return 0;
51406 }
51407 _ACEOF
51408 if ac_fn_c_try_link "$LINENO"; then :
51409 am_cv_lib_iconv=yes
51410 am_cv_func_iconv=yes
51411 fi
51412 rm -f core conftest.err conftest.$ac_objext \
51413 conftest$ac_exeext conftest.$ac_ext
51414 LIBS="$am_save_LIBS"
51415 fi
51416
51417 fi
51418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51419 $as_echo "$am_cv_func_iconv" >&6; }
51420 if test "$am_cv_func_iconv" = yes; then
51421
51422 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51423
51424 fi
51425 if test "$am_cv_lib_iconv" = yes; then
51426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51427 $as_echo_n "checking how to link with libiconv... " >&6; }
51428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51429 $as_echo "$LIBICONV" >&6; }
51430 else
51431 CPPFLAGS="$am_save_CPPFLAGS"
51432 LIBICONV=
51433 LTLIBICONV=
51434 fi
51435
51436
51437
51438 if test "$am_cv_func_iconv" = yes; then
51439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51440 $as_echo_n "checking for iconv declaration... " >&6; }
51441 if test "${am_cv_proto_iconv+set}" = set; then :
51442 $as_echo_n "(cached) " >&6
51443 else
51444
51445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51446 /* end confdefs.h. */
51447
51448 #include <stdlib.h>
51449 #include <iconv.h>
51450 extern
51451 #ifdef __cplusplus
51452 "C"
51453 #endif
51454 #if defined(__STDC__) || defined(__cplusplus)
51455 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51456 #else
51457 size_t iconv();
51458 #endif
51459
51460 int
51461 main ()
51462 {
51463
51464 ;
51465 return 0;
51466 }
51467 _ACEOF
51468 if ac_fn_c_try_compile "$LINENO"; then :
51469 am_cv_proto_iconv_arg1=""
51470 else
51471 am_cv_proto_iconv_arg1="const"
51472 fi
51473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51474 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);"
51475 fi
51476
51477 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51479 }$am_cv_proto_iconv" >&5
51480 $as_echo "${ac_t:-
51481 }$am_cv_proto_iconv" >&6; }
51482
51483 cat >>confdefs.h <<_ACEOF
51484 #define ICONV_CONST $am_cv_proto_iconv_arg1
51485 _ACEOF
51486
51487 fi
51488
51489 ;;
51490 *-mingw32*)
51491
51492 # If we're not using GNU ld, then there's no point in even trying these
51493 # tests. Check for that first. We should have already tested for gld
51494 # by now (in libtool), but require it now just to be safe...
51495 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51496 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51497
51498
51499
51500 # The name set by libtool depends on the version of libtool. Shame on us
51501 # for depending on an impl detail, but c'est la vie. Older versions used
51502 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51503 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51504 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51505 # set (hence we're using an older libtool), then set it.
51506 if test x${with_gnu_ld+set} != xset; then
51507 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51508 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51509 with_gnu_ld=no
51510 else
51511 with_gnu_ld=$ac_cv_prog_gnu_ld
51512 fi
51513 fi
51514
51515 # Start by getting the version number. I think the libtool test already
51516 # does some of this, but throws away the result.
51517 glibcxx_ld_is_gold=no
51518 if test x"$with_gnu_ld" = x"yes"; then
51519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51520 $as_echo_n "checking for ld version... " >&6; }
51521
51522 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51523 glibcxx_ld_is_gold=yes
51524 fi
51525 ldver=`$LD --version 2>/dev/null |
51526 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'`
51527
51528 glibcxx_gnu_ld_version=`echo $ldver | \
51529 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51531 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51532 fi
51533
51534 # Set --gc-sections.
51535 glibcxx_have_gc_sections=no
51536 if test "$glibcxx_ld_is_gold" = "yes"; then
51537 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51538 glibcxx_have_gc_sections=yes
51539 fi
51540 else
51541 glibcxx_gcsections_min_ld=21602
51542 if test x"$with_gnu_ld" = x"yes" &&
51543 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51544 glibcxx_have_gc_sections=yes
51545 fi
51546 fi
51547 if test "$glibcxx_have_gc_sections" = "yes"; then
51548 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51549 # NB: This flag only works reliably after 2.16.1. Configure tests
51550 # for this are difficult, so hard wire a value that should work.
51551
51552 ac_test_CFLAGS="${CFLAGS+set}"
51553 ac_save_CFLAGS="$CFLAGS"
51554 CFLAGS='-Wl,--gc-sections'
51555
51556 # Check for -Wl,--gc-sections
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51558 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51559 if test x$gcc_no_link = xyes; then
51560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51561 fi
51562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51563 /* end confdefs.h. */
51564 int one(void) { return 1; }
51565 int two(void) { return 2; }
51566
51567 int
51568 main ()
51569 {
51570 two();
51571 ;
51572 return 0;
51573 }
51574 _ACEOF
51575 if ac_fn_c_try_link "$LINENO"; then :
51576 ac_gcsections=yes
51577 else
51578 ac_gcsections=no
51579 fi
51580 rm -f core conftest.err conftest.$ac_objext \
51581 conftest$ac_exeext conftest.$ac_ext
51582 if test "$ac_gcsections" = "yes"; then
51583 rm -f conftest.c
51584 touch conftest.c
51585 if $CC -c conftest.c; then
51586 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51587 grep "Warning: gc-sections option ignored" > /dev/null; then
51588 ac_gcsections=no
51589 fi
51590 fi
51591 rm -f conftest.c conftest.o conftest
51592 fi
51593 if test "$ac_gcsections" = "yes"; then
51594 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51595 fi
51596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51597 $as_echo "$ac_gcsections" >&6; }
51598
51599 if test "$ac_test_CFLAGS" = set; then
51600 CFLAGS="$ac_save_CFLAGS"
51601 else
51602 # this is the suspicious part
51603 CFLAGS=''
51604 fi
51605 fi
51606
51607 # Set -z,relro.
51608 # Note this is only for shared objects.
51609 ac_ld_relro=no
51610 if test x"$with_gnu_ld" = x"yes"; then
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51612 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51613 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51614 if test -n "$cxx_z_relo"; then
51615 OPT_LDFLAGS="-Wl,-z,relro"
51616 ac_ld_relro=yes
51617 fi
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51619 $as_echo "$ac_ld_relro" >&6; }
51620 fi
51621
51622 # Set linker optimization flags.
51623 if test x"$with_gnu_ld" = x"yes"; then
51624 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51625 fi
51626
51627
51628
51629
51630
51631 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51632 ac_save_CXXFLAGS="$CXXFLAGS"
51633 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51634
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51636 $as_echo_n "checking for sin in -lm... " >&6; }
51637 if test "${ac_cv_lib_m_sin+set}" = set; then :
51638 $as_echo_n "(cached) " >&6
51639 else
51640 ac_check_lib_save_LIBS=$LIBS
51641 LIBS="-lm $LIBS"
51642 if test x$gcc_no_link = xyes; then
51643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51644 fi
51645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51646 /* end confdefs.h. */
51647
51648 /* Override any GCC internal prototype to avoid an error.
51649 Use char because int might match the return type of a GCC
51650 builtin and then its argument prototype would still apply. */
51651 #ifdef __cplusplus
51652 extern "C"
51653 #endif
51654 char sin ();
51655 int
51656 main ()
51657 {
51658 return sin ();
51659 ;
51660 return 0;
51661 }
51662 _ACEOF
51663 if ac_fn_c_try_link "$LINENO"; then :
51664 ac_cv_lib_m_sin=yes
51665 else
51666 ac_cv_lib_m_sin=no
51667 fi
51668 rm -f core conftest.err conftest.$ac_objext \
51669 conftest$ac_exeext conftest.$ac_ext
51670 LIBS=$ac_check_lib_save_LIBS
51671 fi
51672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51673 $as_echo "$ac_cv_lib_m_sin" >&6; }
51674 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51675 libm="-lm"
51676 fi
51677
51678 ac_save_LIBS="$LIBS"
51679 LIBS="$LIBS $libm"
51680
51681
51682
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51684 $as_echo_n "checking for isinf declaration... " >&6; }
51685 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51686 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51689
51690
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51700 #ifdef HAVE_IEEEFP_H
51701 #include <ieeefp.h>
51702 #endif
51703
51704 int
51705 main ()
51706 {
51707 isinf(0);
51708 ;
51709 return 0;
51710 }
51711 _ACEOF
51712 if ac_fn_cxx_try_compile "$LINENO"; then :
51713 glibcxx_cv_func_isinf_use=yes
51714 else
51715 glibcxx_cv_func_isinf_use=no
51716 fi
51717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51718 ac_ext=c
51719 ac_cpp='$CPP $CPPFLAGS'
51720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51723
51724
51725 fi
51726
51727 fi
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51729 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51730
51731 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51732 for ac_func in isinf
51733 do :
51734 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51735 if test "x$ac_cv_func_isinf" = x""yes; then :
51736 cat >>confdefs.h <<_ACEOF
51737 #define HAVE_ISINF 1
51738 _ACEOF
51739
51740 fi
51741 done
51742
51743 else
51744
51745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51746 $as_echo_n "checking for _isinf declaration... " >&6; }
51747 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51748 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51749 $as_echo_n "(cached) " >&6
51750 else
51751
51752
51753 ac_ext=cpp
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51758
51759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51760 /* end confdefs.h. */
51761 #include <math.h>
51762 #ifdef HAVE_IEEEFP_H
51763 #include <ieeefp.h>
51764 #endif
51765
51766 int
51767 main ()
51768 {
51769 _isinf(0);
51770 ;
51771 return 0;
51772 }
51773 _ACEOF
51774 if ac_fn_cxx_try_compile "$LINENO"; then :
51775 glibcxx_cv_func__isinf_use=yes
51776 else
51777 glibcxx_cv_func__isinf_use=no
51778 fi
51779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51780 ac_ext=c
51781 ac_cpp='$CPP $CPPFLAGS'
51782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51785
51786
51787 fi
51788
51789 fi
51790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51791 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51792
51793 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51794 for ac_func in _isinf
51795 do :
51796 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51797 if test "x$ac_cv_func__isinf" = x""yes; then :
51798 cat >>confdefs.h <<_ACEOF
51799 #define HAVE__ISINF 1
51800 _ACEOF
51801
51802 fi
51803 done
51804
51805 fi
51806 fi
51807
51808
51809
51810
51811
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51813 $as_echo_n "checking for isnan declaration... " >&6; }
51814 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51815 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51816 $as_echo_n "(cached) " >&6
51817 else
51818
51819
51820 ac_ext=cpp
51821 ac_cpp='$CXXCPP $CPPFLAGS'
51822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51825
51826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51827 /* end confdefs.h. */
51828 #include <math.h>
51829 #ifdef HAVE_IEEEFP_H
51830 #include <ieeefp.h>
51831 #endif
51832
51833 int
51834 main ()
51835 {
51836 isnan(0);
51837 ;
51838 return 0;
51839 }
51840 _ACEOF
51841 if ac_fn_cxx_try_compile "$LINENO"; then :
51842 glibcxx_cv_func_isnan_use=yes
51843 else
51844 glibcxx_cv_func_isnan_use=no
51845 fi
51846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51847 ac_ext=c
51848 ac_cpp='$CPP $CPPFLAGS'
51849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51852
51853
51854 fi
51855
51856 fi
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51858 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51859
51860 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51861 for ac_func in isnan
51862 do :
51863 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51864 if test "x$ac_cv_func_isnan" = x""yes; then :
51865 cat >>confdefs.h <<_ACEOF
51866 #define HAVE_ISNAN 1
51867 _ACEOF
51868
51869 fi
51870 done
51871
51872 else
51873
51874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51875 $as_echo_n "checking for _isnan declaration... " >&6; }
51876 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51877 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51878 $as_echo_n "(cached) " >&6
51879 else
51880
51881
51882 ac_ext=cpp
51883 ac_cpp='$CXXCPP $CPPFLAGS'
51884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51887
51888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51889 /* end confdefs.h. */
51890 #include <math.h>
51891 #ifdef HAVE_IEEEFP_H
51892 #include <ieeefp.h>
51893 #endif
51894
51895 int
51896 main ()
51897 {
51898 _isnan(0);
51899 ;
51900 return 0;
51901 }
51902 _ACEOF
51903 if ac_fn_cxx_try_compile "$LINENO"; then :
51904 glibcxx_cv_func__isnan_use=yes
51905 else
51906 glibcxx_cv_func__isnan_use=no
51907 fi
51908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51909 ac_ext=c
51910 ac_cpp='$CPP $CPPFLAGS'
51911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51914
51915
51916 fi
51917
51918 fi
51919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51920 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51921
51922 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51923 for ac_func in _isnan
51924 do :
51925 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51926 if test "x$ac_cv_func__isnan" = x""yes; then :
51927 cat >>confdefs.h <<_ACEOF
51928 #define HAVE__ISNAN 1
51929 _ACEOF
51930
51931 fi
51932 done
51933
51934 fi
51935 fi
51936
51937
51938
51939
51940
51941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51942 $as_echo_n "checking for finite declaration... " >&6; }
51943 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51944 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51945 $as_echo_n "(cached) " >&6
51946 else
51947
51948
51949 ac_ext=cpp
51950 ac_cpp='$CXXCPP $CPPFLAGS'
51951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51954
51955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51956 /* end confdefs.h. */
51957 #include <math.h>
51958 #ifdef HAVE_IEEEFP_H
51959 #include <ieeefp.h>
51960 #endif
51961
51962 int
51963 main ()
51964 {
51965 finite(0);
51966 ;
51967 return 0;
51968 }
51969 _ACEOF
51970 if ac_fn_cxx_try_compile "$LINENO"; then :
51971 glibcxx_cv_func_finite_use=yes
51972 else
51973 glibcxx_cv_func_finite_use=no
51974 fi
51975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51976 ac_ext=c
51977 ac_cpp='$CPP $CPPFLAGS'
51978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51981
51982
51983 fi
51984
51985 fi
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51987 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51988
51989 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51990 for ac_func in finite
51991 do :
51992 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51993 if test "x$ac_cv_func_finite" = x""yes; then :
51994 cat >>confdefs.h <<_ACEOF
51995 #define HAVE_FINITE 1
51996 _ACEOF
51997
51998 fi
51999 done
52000
52001 else
52002
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52004 $as_echo_n "checking for _finite declaration... " >&6; }
52005 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52006 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52007 $as_echo_n "(cached) " >&6
52008 else
52009
52010
52011 ac_ext=cpp
52012 ac_cpp='$CXXCPP $CPPFLAGS'
52013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52016
52017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52018 /* end confdefs.h. */
52019 #include <math.h>
52020 #ifdef HAVE_IEEEFP_H
52021 #include <ieeefp.h>
52022 #endif
52023
52024 int
52025 main ()
52026 {
52027 _finite(0);
52028 ;
52029 return 0;
52030 }
52031 _ACEOF
52032 if ac_fn_cxx_try_compile "$LINENO"; then :
52033 glibcxx_cv_func__finite_use=yes
52034 else
52035 glibcxx_cv_func__finite_use=no
52036 fi
52037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52038 ac_ext=c
52039 ac_cpp='$CPP $CPPFLAGS'
52040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52043
52044
52045 fi
52046
52047 fi
52048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52049 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52050
52051 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52052 for ac_func in _finite
52053 do :
52054 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52055 if test "x$ac_cv_func__finite" = x""yes; then :
52056 cat >>confdefs.h <<_ACEOF
52057 #define HAVE__FINITE 1
52058 _ACEOF
52059
52060 fi
52061 done
52062
52063 fi
52064 fi
52065
52066
52067
52068
52069
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52071 $as_echo_n "checking for sincos declaration... " >&6; }
52072 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52073 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52074 $as_echo_n "(cached) " >&6
52075 else
52076
52077
52078 ac_ext=cpp
52079 ac_cpp='$CXXCPP $CPPFLAGS'
52080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52083
52084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52085 /* end confdefs.h. */
52086 #include <math.h>
52087 int
52088 main ()
52089 {
52090 sincos(0, 0, 0);
52091 ;
52092 return 0;
52093 }
52094 _ACEOF
52095 if ac_fn_cxx_try_compile "$LINENO"; then :
52096 glibcxx_cv_func_sincos_use=yes
52097 else
52098 glibcxx_cv_func_sincos_use=no
52099 fi
52100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52101 ac_ext=c
52102 ac_cpp='$CPP $CPPFLAGS'
52103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52106
52107
52108 fi
52109
52110 fi
52111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52112 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52113
52114 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52115 for ac_func in sincos
52116 do :
52117 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52118 if test "x$ac_cv_func_sincos" = x""yes; then :
52119 cat >>confdefs.h <<_ACEOF
52120 #define HAVE_SINCOS 1
52121 _ACEOF
52122
52123 fi
52124 done
52125
52126 else
52127
52128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52129 $as_echo_n "checking for _sincos declaration... " >&6; }
52130 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52131 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52132 $as_echo_n "(cached) " >&6
52133 else
52134
52135
52136 ac_ext=cpp
52137 ac_cpp='$CXXCPP $CPPFLAGS'
52138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52141
52142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52143 /* end confdefs.h. */
52144 #include <math.h>
52145 int
52146 main ()
52147 {
52148 _sincos(0, 0, 0);
52149 ;
52150 return 0;
52151 }
52152 _ACEOF
52153 if ac_fn_cxx_try_compile "$LINENO"; then :
52154 glibcxx_cv_func__sincos_use=yes
52155 else
52156 glibcxx_cv_func__sincos_use=no
52157 fi
52158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52159 ac_ext=c
52160 ac_cpp='$CPP $CPPFLAGS'
52161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52164
52165
52166 fi
52167
52168 fi
52169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52170 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52171
52172 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52173 for ac_func in _sincos
52174 do :
52175 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52176 if test "x$ac_cv_func__sincos" = x""yes; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define HAVE__SINCOS 1
52179 _ACEOF
52180
52181 fi
52182 done
52183
52184 fi
52185 fi
52186
52187
52188
52189
52190
52191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52192 $as_echo_n "checking for fpclass declaration... " >&6; }
52193 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52194 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52195 $as_echo_n "(cached) " >&6
52196 else
52197
52198
52199 ac_ext=cpp
52200 ac_cpp='$CXXCPP $CPPFLAGS'
52201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52204
52205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52206 /* end confdefs.h. */
52207 #include <math.h>
52208 #ifdef HAVE_IEEEFP_H
52209 #include <ieeefp.h>
52210 #endif
52211
52212 int
52213 main ()
52214 {
52215 fpclass(0);
52216 ;
52217 return 0;
52218 }
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221 glibcxx_cv_func_fpclass_use=yes
52222 else
52223 glibcxx_cv_func_fpclass_use=no
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226 ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52231
52232
52233 fi
52234
52235 fi
52236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52237 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52238
52239 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52240 for ac_func in fpclass
52241 do :
52242 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52243 if test "x$ac_cv_func_fpclass" = x""yes; then :
52244 cat >>confdefs.h <<_ACEOF
52245 #define HAVE_FPCLASS 1
52246 _ACEOF
52247
52248 fi
52249 done
52250
52251 else
52252
52253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52254 $as_echo_n "checking for _fpclass declaration... " >&6; }
52255 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52256 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52257 $as_echo_n "(cached) " >&6
52258 else
52259
52260
52261 ac_ext=cpp
52262 ac_cpp='$CXXCPP $CPPFLAGS'
52263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52266
52267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52268 /* end confdefs.h. */
52269 #include <math.h>
52270 #ifdef HAVE_IEEEFP_H
52271 #include <ieeefp.h>
52272 #endif
52273
52274 int
52275 main ()
52276 {
52277 _fpclass(0);
52278 ;
52279 return 0;
52280 }
52281 _ACEOF
52282 if ac_fn_cxx_try_compile "$LINENO"; then :
52283 glibcxx_cv_func__fpclass_use=yes
52284 else
52285 glibcxx_cv_func__fpclass_use=no
52286 fi
52287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52288 ac_ext=c
52289 ac_cpp='$CPP $CPPFLAGS'
52290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52293
52294
52295 fi
52296
52297 fi
52298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52299 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52300
52301 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52302 for ac_func in _fpclass
52303 do :
52304 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52305 if test "x$ac_cv_func__fpclass" = x""yes; then :
52306 cat >>confdefs.h <<_ACEOF
52307 #define HAVE__FPCLASS 1
52308 _ACEOF
52309
52310 fi
52311 done
52312
52313 fi
52314 fi
52315
52316
52317
52318
52319
52320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52321 $as_echo_n "checking for qfpclass declaration... " >&6; }
52322 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52323 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52324 $as_echo_n "(cached) " >&6
52325 else
52326
52327
52328 ac_ext=cpp
52329 ac_cpp='$CXXCPP $CPPFLAGS'
52330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52333
52334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52335 /* end confdefs.h. */
52336 #include <math.h>
52337 #ifdef HAVE_IEEEFP_H
52338 #include <ieeefp.h>
52339 #endif
52340
52341 int
52342 main ()
52343 {
52344 qfpclass(0);
52345 ;
52346 return 0;
52347 }
52348 _ACEOF
52349 if ac_fn_cxx_try_compile "$LINENO"; then :
52350 glibcxx_cv_func_qfpclass_use=yes
52351 else
52352 glibcxx_cv_func_qfpclass_use=no
52353 fi
52354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52355 ac_ext=c
52356 ac_cpp='$CPP $CPPFLAGS'
52357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52360
52361
52362 fi
52363
52364 fi
52365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52366 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52367
52368 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52369 for ac_func in qfpclass
52370 do :
52371 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52372 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52373 cat >>confdefs.h <<_ACEOF
52374 #define HAVE_QFPCLASS 1
52375 _ACEOF
52376
52377 fi
52378 done
52379
52380 else
52381
52382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52383 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52384 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52385 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52386 $as_echo_n "(cached) " >&6
52387 else
52388
52389
52390 ac_ext=cpp
52391 ac_cpp='$CXXCPP $CPPFLAGS'
52392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52395
52396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52397 /* end confdefs.h. */
52398 #include <math.h>
52399 #ifdef HAVE_IEEEFP_H
52400 #include <ieeefp.h>
52401 #endif
52402
52403 int
52404 main ()
52405 {
52406 _qfpclass(0);
52407 ;
52408 return 0;
52409 }
52410 _ACEOF
52411 if ac_fn_cxx_try_compile "$LINENO"; then :
52412 glibcxx_cv_func__qfpclass_use=yes
52413 else
52414 glibcxx_cv_func__qfpclass_use=no
52415 fi
52416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52417 ac_ext=c
52418 ac_cpp='$CPP $CPPFLAGS'
52419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52422
52423
52424 fi
52425
52426 fi
52427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52428 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52429
52430 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52431 for ac_func in _qfpclass
52432 do :
52433 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52434 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52435 cat >>confdefs.h <<_ACEOF
52436 #define HAVE__QFPCLASS 1
52437 _ACEOF
52438
52439 fi
52440 done
52441
52442 fi
52443 fi
52444
52445
52446
52447
52448
52449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52450 $as_echo_n "checking for hypot declaration... " >&6; }
52451 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52452 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52453 $as_echo_n "(cached) " >&6
52454 else
52455
52456
52457 ac_ext=cpp
52458 ac_cpp='$CXXCPP $CPPFLAGS'
52459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52462
52463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52464 /* end confdefs.h. */
52465 #include <math.h>
52466 int
52467 main ()
52468 {
52469 hypot(0, 0);
52470 ;
52471 return 0;
52472 }
52473 _ACEOF
52474 if ac_fn_cxx_try_compile "$LINENO"; then :
52475 glibcxx_cv_func_hypot_use=yes
52476 else
52477 glibcxx_cv_func_hypot_use=no
52478 fi
52479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52480 ac_ext=c
52481 ac_cpp='$CPP $CPPFLAGS'
52482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52485
52486
52487 fi
52488
52489 fi
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52491 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52492
52493 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52494 for ac_func in hypot
52495 do :
52496 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52497 if test "x$ac_cv_func_hypot" = x""yes; then :
52498 cat >>confdefs.h <<_ACEOF
52499 #define HAVE_HYPOT 1
52500 _ACEOF
52501
52502 fi
52503 done
52504
52505 else
52506
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52508 $as_echo_n "checking for _hypot declaration... " >&6; }
52509 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52510 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52511 $as_echo_n "(cached) " >&6
52512 else
52513
52514
52515 ac_ext=cpp
52516 ac_cpp='$CXXCPP $CPPFLAGS'
52517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52520
52521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52522 /* end confdefs.h. */
52523 #include <math.h>
52524 int
52525 main ()
52526 {
52527 _hypot(0, 0);
52528 ;
52529 return 0;
52530 }
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 glibcxx_cv_func__hypot_use=yes
52534 else
52535 glibcxx_cv_func__hypot_use=no
52536 fi
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543
52544
52545 fi
52546
52547 fi
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52549 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52550
52551 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52552 for ac_func in _hypot
52553 do :
52554 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52555 if test "x$ac_cv_func__hypot" = x""yes; then :
52556 cat >>confdefs.h <<_ACEOF
52557 #define HAVE__HYPOT 1
52558 _ACEOF
52559
52560 fi
52561 done
52562
52563 fi
52564 fi
52565
52566
52567
52568
52569
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52571 $as_echo_n "checking for float trig functions... " >&6; }
52572 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52573 $as_echo_n "(cached) " >&6
52574 else
52575
52576
52577 ac_ext=cpp
52578 ac_cpp='$CXXCPP $CPPFLAGS'
52579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52582
52583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584 /* end confdefs.h. */
52585 #include <math.h>
52586 int
52587 main ()
52588 {
52589 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52590 ;
52591 return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595 glibcxx_cv_func_float_trig_use=yes
52596 else
52597 glibcxx_cv_func_float_trig_use=no
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600 ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605
52606 fi
52607
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52609 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52610 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52611 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52612 do :
52613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52615 eval as_val=\$$as_ac_var
52616 if test "x$as_val" = x""yes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52619 _ACEOF
52620
52621 fi
52622 done
52623
52624 else
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52626 $as_echo_n "checking for _float trig functions... " >&6; }
52627 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52628 $as_echo_n "(cached) " >&6
52629 else
52630
52631
52632 ac_ext=cpp
52633 ac_cpp='$CXXCPP $CPPFLAGS'
52634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52637
52638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52639 /* end confdefs.h. */
52640 #include <math.h>
52641 int
52642 main ()
52643 {
52644 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52645 ;
52646 return 0;
52647 }
52648 _ACEOF
52649 if ac_fn_cxx_try_compile "$LINENO"; then :
52650 glibcxx_cv_func__float_trig_use=yes
52651 else
52652 glibcxx_cv_func__float_trig_use=no
52653 fi
52654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52655 ac_ext=c
52656 ac_cpp='$CPP $CPPFLAGS'
52657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52660
52661 fi
52662
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52664 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52665 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52666 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52667 do :
52668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52670 eval as_val=\$$as_ac_var
52671 if test "x$as_val" = x""yes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52674 _ACEOF
52675
52676 fi
52677 done
52678
52679 fi
52680 fi
52681
52682
52683
52684
52685
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52687 $as_echo_n "checking for float round functions... " >&6; }
52688 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52691
52692
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52698
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52702 int
52703 main ()
52704 {
52705 ceilf (0); floorf (0);
52706 ;
52707 return 0;
52708 }
52709 _ACEOF
52710 if ac_fn_cxx_try_compile "$LINENO"; then :
52711 glibcxx_cv_func_float_round_use=yes
52712 else
52713 glibcxx_cv_func_float_round_use=no
52714 fi
52715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52716 ac_ext=c
52717 ac_cpp='$CPP $CPPFLAGS'
52718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52721
52722 fi
52723
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52725 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52726 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52727 for ac_func in ceilf floorf
52728 do :
52729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52731 eval as_val=\$$as_ac_var
52732 if test "x$as_val" = x""yes; then :
52733 cat >>confdefs.h <<_ACEOF
52734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52735 _ACEOF
52736
52737 fi
52738 done
52739
52740 else
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52742 $as_echo_n "checking for _float round functions... " >&6; }
52743 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52746
52747
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52753
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52757 int
52758 main ()
52759 {
52760 _ceilf (0); _floorf (0);
52761 ;
52762 return 0;
52763 }
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func__float_round_use=yes
52767 else
52768 glibcxx_cv_func__float_round_use=no
52769 fi
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52776
52777 fi
52778
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52780 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52781 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52782 for ac_func in _ceilf _floorf
52783 do :
52784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52786 eval as_val=\$$as_ac_var
52787 if test "x$as_val" = x""yes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52790 _ACEOF
52791
52792 fi
52793 done
52794
52795 fi
52796 fi
52797
52798
52799
52800
52801
52802
52803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52804 $as_echo_n "checking for expf declaration... " >&6; }
52805 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52806 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52807 $as_echo_n "(cached) " >&6
52808 else
52809
52810
52811 ac_ext=cpp
52812 ac_cpp='$CXXCPP $CPPFLAGS'
52813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52816
52817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52818 /* end confdefs.h. */
52819 #include <math.h>
52820 #ifdef HAVE_IEEEFP_H
52821 #include <ieeefp.h>
52822 #endif
52823
52824 int
52825 main ()
52826 {
52827 expf(0);
52828 ;
52829 return 0;
52830 }
52831 _ACEOF
52832 if ac_fn_cxx_try_compile "$LINENO"; then :
52833 glibcxx_cv_func_expf_use=yes
52834 else
52835 glibcxx_cv_func_expf_use=no
52836 fi
52837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52838 ac_ext=c
52839 ac_cpp='$CPP $CPPFLAGS'
52840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52843
52844
52845 fi
52846
52847 fi
52848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52849 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52850
52851 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52852 for ac_func in expf
52853 do :
52854 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52855 if test "x$ac_cv_func_expf" = x""yes; then :
52856 cat >>confdefs.h <<_ACEOF
52857 #define HAVE_EXPF 1
52858 _ACEOF
52859
52860 fi
52861 done
52862
52863 else
52864
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52866 $as_echo_n "checking for _expf declaration... " >&6; }
52867 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52868 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52869 $as_echo_n "(cached) " >&6
52870 else
52871
52872
52873 ac_ext=cpp
52874 ac_cpp='$CXXCPP $CPPFLAGS'
52875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52878
52879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52880 /* end confdefs.h. */
52881 #include <math.h>
52882 #ifdef HAVE_IEEEFP_H
52883 #include <ieeefp.h>
52884 #endif
52885
52886 int
52887 main ()
52888 {
52889 _expf(0);
52890 ;
52891 return 0;
52892 }
52893 _ACEOF
52894 if ac_fn_cxx_try_compile "$LINENO"; then :
52895 glibcxx_cv_func__expf_use=yes
52896 else
52897 glibcxx_cv_func__expf_use=no
52898 fi
52899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52900 ac_ext=c
52901 ac_cpp='$CPP $CPPFLAGS'
52902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52905
52906
52907 fi
52908
52909 fi
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52911 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52912
52913 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52914 for ac_func in _expf
52915 do :
52916 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52917 if test "x$ac_cv_func__expf" = x""yes; then :
52918 cat >>confdefs.h <<_ACEOF
52919 #define HAVE__EXPF 1
52920 _ACEOF
52921
52922 fi
52923 done
52924
52925 fi
52926 fi
52927
52928
52929
52930
52931
52932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52933 $as_echo_n "checking for isnanf declaration... " >&6; }
52934 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52935 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52936 $as_echo_n "(cached) " >&6
52937 else
52938
52939
52940 ac_ext=cpp
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52945
52946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <math.h>
52949 #ifdef HAVE_IEEEFP_H
52950 #include <ieeefp.h>
52951 #endif
52952
52953 int
52954 main ()
52955 {
52956 isnanf(0);
52957 ;
52958 return 0;
52959 }
52960 _ACEOF
52961 if ac_fn_cxx_try_compile "$LINENO"; then :
52962 glibcxx_cv_func_isnanf_use=yes
52963 else
52964 glibcxx_cv_func_isnanf_use=no
52965 fi
52966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52967 ac_ext=c
52968 ac_cpp='$CPP $CPPFLAGS'
52969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52972
52973
52974 fi
52975
52976 fi
52977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52978 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52979
52980 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52981 for ac_func in isnanf
52982 do :
52983 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52984 if test "x$ac_cv_func_isnanf" = x""yes; then :
52985 cat >>confdefs.h <<_ACEOF
52986 #define HAVE_ISNANF 1
52987 _ACEOF
52988
52989 fi
52990 done
52991
52992 else
52993
52994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52995 $as_echo_n "checking for _isnanf declaration... " >&6; }
52996 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52997 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52998 $as_echo_n "(cached) " >&6
52999 else
53000
53001
53002 ac_ext=cpp
53003 ac_cpp='$CXXCPP $CPPFLAGS'
53004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53007
53008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53009 /* end confdefs.h. */
53010 #include <math.h>
53011 #ifdef HAVE_IEEEFP_H
53012 #include <ieeefp.h>
53013 #endif
53014
53015 int
53016 main ()
53017 {
53018 _isnanf(0);
53019 ;
53020 return 0;
53021 }
53022 _ACEOF
53023 if ac_fn_cxx_try_compile "$LINENO"; then :
53024 glibcxx_cv_func__isnanf_use=yes
53025 else
53026 glibcxx_cv_func__isnanf_use=no
53027 fi
53028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029 ac_ext=c
53030 ac_cpp='$CPP $CPPFLAGS'
53031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53034
53035
53036 fi
53037
53038 fi
53039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53040 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53041
53042 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53043 for ac_func in _isnanf
53044 do :
53045 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53046 if test "x$ac_cv_func__isnanf" = x""yes; then :
53047 cat >>confdefs.h <<_ACEOF
53048 #define HAVE__ISNANF 1
53049 _ACEOF
53050
53051 fi
53052 done
53053
53054 fi
53055 fi
53056
53057
53058
53059
53060
53061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53062 $as_echo_n "checking for isinff declaration... " >&6; }
53063 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53064 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53065 $as_echo_n "(cached) " >&6
53066 else
53067
53068
53069 ac_ext=cpp
53070 ac_cpp='$CXXCPP $CPPFLAGS'
53071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074
53075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53076 /* end confdefs.h. */
53077 #include <math.h>
53078 #ifdef HAVE_IEEEFP_H
53079 #include <ieeefp.h>
53080 #endif
53081
53082 int
53083 main ()
53084 {
53085 isinff(0);
53086 ;
53087 return 0;
53088 }
53089 _ACEOF
53090 if ac_fn_cxx_try_compile "$LINENO"; then :
53091 glibcxx_cv_func_isinff_use=yes
53092 else
53093 glibcxx_cv_func_isinff_use=no
53094 fi
53095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53096 ac_ext=c
53097 ac_cpp='$CPP $CPPFLAGS'
53098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101
53102
53103 fi
53104
53105 fi
53106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53107 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53108
53109 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53110 for ac_func in isinff
53111 do :
53112 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53113 if test "x$ac_cv_func_isinff" = x""yes; then :
53114 cat >>confdefs.h <<_ACEOF
53115 #define HAVE_ISINFF 1
53116 _ACEOF
53117
53118 fi
53119 done
53120
53121 else
53122
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53124 $as_echo_n "checking for _isinff declaration... " >&6; }
53125 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53126 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53129
53130
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53140 #ifdef HAVE_IEEEFP_H
53141 #include <ieeefp.h>
53142 #endif
53143
53144 int
53145 main ()
53146 {
53147 _isinff(0);
53148 ;
53149 return 0;
53150 }
53151 _ACEOF
53152 if ac_fn_cxx_try_compile "$LINENO"; then :
53153 glibcxx_cv_func__isinff_use=yes
53154 else
53155 glibcxx_cv_func__isinff_use=no
53156 fi
53157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_ext=c
53159 ac_cpp='$CPP $CPPFLAGS'
53160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53163
53164
53165 fi
53166
53167 fi
53168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53169 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53170
53171 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53172 for ac_func in _isinff
53173 do :
53174 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53175 if test "x$ac_cv_func__isinff" = x""yes; then :
53176 cat >>confdefs.h <<_ACEOF
53177 #define HAVE__ISINFF 1
53178 _ACEOF
53179
53180 fi
53181 done
53182
53183 fi
53184 fi
53185
53186
53187
53188
53189
53190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53191 $as_echo_n "checking for atan2f declaration... " >&6; }
53192 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53193 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53194 $as_echo_n "(cached) " >&6
53195 else
53196
53197
53198 ac_ext=cpp
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53203
53204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h. */
53206 #include <math.h>
53207 int
53208 main ()
53209 {
53210 atan2f(0, 0);
53211 ;
53212 return 0;
53213 }
53214 _ACEOF
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216 glibcxx_cv_func_atan2f_use=yes
53217 else
53218 glibcxx_cv_func_atan2f_use=no
53219 fi
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53221 ac_ext=c
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53226
53227
53228 fi
53229
53230 fi
53231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53232 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53233
53234 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53235 for ac_func in atan2f
53236 do :
53237 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53238 if test "x$ac_cv_func_atan2f" = x""yes; then :
53239 cat >>confdefs.h <<_ACEOF
53240 #define HAVE_ATAN2F 1
53241 _ACEOF
53242
53243 fi
53244 done
53245
53246 else
53247
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53249 $as_echo_n "checking for _atan2f declaration... " >&6; }
53250 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53251 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53252 $as_echo_n "(cached) " >&6
53253 else
53254
53255
53256 ac_ext=cpp
53257 ac_cpp='$CXXCPP $CPPFLAGS'
53258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53261
53262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53263 /* end confdefs.h. */
53264 #include <math.h>
53265 int
53266 main ()
53267 {
53268 _atan2f(0, 0);
53269 ;
53270 return 0;
53271 }
53272 _ACEOF
53273 if ac_fn_cxx_try_compile "$LINENO"; then :
53274 glibcxx_cv_func__atan2f_use=yes
53275 else
53276 glibcxx_cv_func__atan2f_use=no
53277 fi
53278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53279 ac_ext=c
53280 ac_cpp='$CPP $CPPFLAGS'
53281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53284
53285
53286 fi
53287
53288 fi
53289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53290 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53291
53292 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53293 for ac_func in _atan2f
53294 do :
53295 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53296 if test "x$ac_cv_func__atan2f" = x""yes; then :
53297 cat >>confdefs.h <<_ACEOF
53298 #define HAVE__ATAN2F 1
53299 _ACEOF
53300
53301 fi
53302 done
53303
53304 fi
53305 fi
53306
53307
53308
53309
53310
53311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53312 $as_echo_n "checking for fabsf declaration... " >&6; }
53313 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53314 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53315 $as_echo_n "(cached) " >&6
53316 else
53317
53318
53319 ac_ext=cpp
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53324
53325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53326 /* end confdefs.h. */
53327 #include <math.h>
53328 #ifdef HAVE_IEEEFP_H
53329 #include <ieeefp.h>
53330 #endif
53331
53332 int
53333 main ()
53334 {
53335 fabsf(0);
53336 ;
53337 return 0;
53338 }
53339 _ACEOF
53340 if ac_fn_cxx_try_compile "$LINENO"; then :
53341 glibcxx_cv_func_fabsf_use=yes
53342 else
53343 glibcxx_cv_func_fabsf_use=no
53344 fi
53345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53346 ac_ext=c
53347 ac_cpp='$CPP $CPPFLAGS'
53348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53351
53352
53353 fi
53354
53355 fi
53356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53357 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53358
53359 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53360 for ac_func in fabsf
53361 do :
53362 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53363 if test "x$ac_cv_func_fabsf" = x""yes; then :
53364 cat >>confdefs.h <<_ACEOF
53365 #define HAVE_FABSF 1
53366 _ACEOF
53367
53368 fi
53369 done
53370
53371 else
53372
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53374 $as_echo_n "checking for _fabsf declaration... " >&6; }
53375 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53376 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53377 $as_echo_n "(cached) " >&6
53378 else
53379
53380
53381 ac_ext=cpp
53382 ac_cpp='$CXXCPP $CPPFLAGS'
53383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53386
53387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h. */
53389 #include <math.h>
53390 #ifdef HAVE_IEEEFP_H
53391 #include <ieeefp.h>
53392 #endif
53393
53394 int
53395 main ()
53396 {
53397 _fabsf(0);
53398 ;
53399 return 0;
53400 }
53401 _ACEOF
53402 if ac_fn_cxx_try_compile "$LINENO"; then :
53403 glibcxx_cv_func__fabsf_use=yes
53404 else
53405 glibcxx_cv_func__fabsf_use=no
53406 fi
53407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53408 ac_ext=c
53409 ac_cpp='$CPP $CPPFLAGS'
53410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53413
53414
53415 fi
53416
53417 fi
53418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53419 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53420
53421 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53422 for ac_func in _fabsf
53423 do :
53424 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53425 if test "x$ac_cv_func__fabsf" = x""yes; then :
53426 cat >>confdefs.h <<_ACEOF
53427 #define HAVE__FABSF 1
53428 _ACEOF
53429
53430 fi
53431 done
53432
53433 fi
53434 fi
53435
53436
53437
53438
53439
53440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53441 $as_echo_n "checking for fmodf declaration... " >&6; }
53442 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53443 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53444 $as_echo_n "(cached) " >&6
53445 else
53446
53447
53448 ac_ext=cpp
53449 ac_cpp='$CXXCPP $CPPFLAGS'
53450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53453
53454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53455 /* end confdefs.h. */
53456 #include <math.h>
53457 int
53458 main ()
53459 {
53460 fmodf(0, 0);
53461 ;
53462 return 0;
53463 }
53464 _ACEOF
53465 if ac_fn_cxx_try_compile "$LINENO"; then :
53466 glibcxx_cv_func_fmodf_use=yes
53467 else
53468 glibcxx_cv_func_fmodf_use=no
53469 fi
53470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53471 ac_ext=c
53472 ac_cpp='$CPP $CPPFLAGS'
53473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476
53477
53478 fi
53479
53480 fi
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53482 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53483
53484 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53485 for ac_func in fmodf
53486 do :
53487 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53488 if test "x$ac_cv_func_fmodf" = x""yes; then :
53489 cat >>confdefs.h <<_ACEOF
53490 #define HAVE_FMODF 1
53491 _ACEOF
53492
53493 fi
53494 done
53495
53496 else
53497
53498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53499 $as_echo_n "checking for _fmodf declaration... " >&6; }
53500 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53501 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53502 $as_echo_n "(cached) " >&6
53503 else
53504
53505
53506 ac_ext=cpp
53507 ac_cpp='$CXXCPP $CPPFLAGS'
53508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53511
53512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53513 /* end confdefs.h. */
53514 #include <math.h>
53515 int
53516 main ()
53517 {
53518 _fmodf(0, 0);
53519 ;
53520 return 0;
53521 }
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524 glibcxx_cv_func__fmodf_use=yes
53525 else
53526 glibcxx_cv_func__fmodf_use=no
53527 fi
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529 ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534
53535
53536 fi
53537
53538 fi
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53540 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53541
53542 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53543 for ac_func in _fmodf
53544 do :
53545 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53546 if test "x$ac_cv_func__fmodf" = x""yes; then :
53547 cat >>confdefs.h <<_ACEOF
53548 #define HAVE__FMODF 1
53549 _ACEOF
53550
53551 fi
53552 done
53553
53554 fi
53555 fi
53556
53557
53558
53559
53560
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53562 $as_echo_n "checking for frexpf declaration... " >&6; }
53563 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53564 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53565 $as_echo_n "(cached) " >&6
53566 else
53567
53568
53569 ac_ext=cpp
53570 ac_cpp='$CXXCPP $CPPFLAGS'
53571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53574
53575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53576 /* end confdefs.h. */
53577 #include <math.h>
53578 int
53579 main ()
53580 {
53581 frexpf(0, 0);
53582 ;
53583 return 0;
53584 }
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587 glibcxx_cv_func_frexpf_use=yes
53588 else
53589 glibcxx_cv_func_frexpf_use=no
53590 fi
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592 ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597
53598
53599 fi
53600
53601 fi
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53603 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53604
53605 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53606 for ac_func in frexpf
53607 do :
53608 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53609 if test "x$ac_cv_func_frexpf" = x""yes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define HAVE_FREXPF 1
53612 _ACEOF
53613
53614 fi
53615 done
53616
53617 else
53618
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53620 $as_echo_n "checking for _frexpf declaration... " >&6; }
53621 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53622 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53625
53626
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53636 int
53637 main ()
53638 {
53639 _frexpf(0, 0);
53640 ;
53641 return 0;
53642 }
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645 glibcxx_cv_func__frexpf_use=yes
53646 else
53647 glibcxx_cv_func__frexpf_use=no
53648 fi
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53655
53656
53657 fi
53658
53659 fi
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53661 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53662
53663 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53664 for ac_func in _frexpf
53665 do :
53666 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53667 if test "x$ac_cv_func__frexpf" = x""yes; then :
53668 cat >>confdefs.h <<_ACEOF
53669 #define HAVE__FREXPF 1
53670 _ACEOF
53671
53672 fi
53673 done
53674
53675 fi
53676 fi
53677
53678
53679
53680
53681
53682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53683 $as_echo_n "checking for hypotf declaration... " >&6; }
53684 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53685 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53686 $as_echo_n "(cached) " >&6
53687 else
53688
53689
53690 ac_ext=cpp
53691 ac_cpp='$CXXCPP $CPPFLAGS'
53692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695
53696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53697 /* end confdefs.h. */
53698 #include <math.h>
53699 int
53700 main ()
53701 {
53702 hypotf(0, 0);
53703 ;
53704 return 0;
53705 }
53706 _ACEOF
53707 if ac_fn_cxx_try_compile "$LINENO"; then :
53708 glibcxx_cv_func_hypotf_use=yes
53709 else
53710 glibcxx_cv_func_hypotf_use=no
53711 fi
53712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53713 ac_ext=c
53714 ac_cpp='$CPP $CPPFLAGS'
53715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53718
53719
53720 fi
53721
53722 fi
53723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53724 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53725
53726 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53727 for ac_func in hypotf
53728 do :
53729 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53730 if test "x$ac_cv_func_hypotf" = x""yes; then :
53731 cat >>confdefs.h <<_ACEOF
53732 #define HAVE_HYPOTF 1
53733 _ACEOF
53734
53735 fi
53736 done
53737
53738 else
53739
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53741 $as_echo_n "checking for _hypotf declaration... " >&6; }
53742 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53743 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53746
53747
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53753
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <math.h>
53757 int
53758 main ()
53759 {
53760 _hypotf(0, 0);
53761 ;
53762 return 0;
53763 }
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func__hypotf_use=yes
53767 else
53768 glibcxx_cv_func__hypotf_use=no
53769 fi
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53776
53777
53778 fi
53779
53780 fi
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53782 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53783
53784 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53785 for ac_func in _hypotf
53786 do :
53787 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53788 if test "x$ac_cv_func__hypotf" = x""yes; then :
53789 cat >>confdefs.h <<_ACEOF
53790 #define HAVE__HYPOTF 1
53791 _ACEOF
53792
53793 fi
53794 done
53795
53796 fi
53797 fi
53798
53799
53800
53801
53802
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53804 $as_echo_n "checking for ldexpf declaration... " >&6; }
53805 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53806 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53809
53810
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53820 int
53821 main ()
53822 {
53823 ldexpf(0, 0);
53824 ;
53825 return 0;
53826 }
53827 _ACEOF
53828 if ac_fn_cxx_try_compile "$LINENO"; then :
53829 glibcxx_cv_func_ldexpf_use=yes
53830 else
53831 glibcxx_cv_func_ldexpf_use=no
53832 fi
53833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53834 ac_ext=c
53835 ac_cpp='$CPP $CPPFLAGS'
53836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839
53840
53841 fi
53842
53843 fi
53844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53845 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53846
53847 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53848 for ac_func in ldexpf
53849 do :
53850 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53851 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53852 cat >>confdefs.h <<_ACEOF
53853 #define HAVE_LDEXPF 1
53854 _ACEOF
53855
53856 fi
53857 done
53858
53859 else
53860
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53862 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53863 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53864 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53865 $as_echo_n "(cached) " >&6
53866 else
53867
53868
53869 ac_ext=cpp
53870 ac_cpp='$CXXCPP $CPPFLAGS'
53871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53874
53875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h. */
53877 #include <math.h>
53878 int
53879 main ()
53880 {
53881 _ldexpf(0, 0);
53882 ;
53883 return 0;
53884 }
53885 _ACEOF
53886 if ac_fn_cxx_try_compile "$LINENO"; then :
53887 glibcxx_cv_func__ldexpf_use=yes
53888 else
53889 glibcxx_cv_func__ldexpf_use=no
53890 fi
53891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53892 ac_ext=c
53893 ac_cpp='$CPP $CPPFLAGS'
53894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53897
53898
53899 fi
53900
53901 fi
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53903 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53904
53905 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53906 for ac_func in _ldexpf
53907 do :
53908 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53909 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53910 cat >>confdefs.h <<_ACEOF
53911 #define HAVE__LDEXPF 1
53912 _ACEOF
53913
53914 fi
53915 done
53916
53917 fi
53918 fi
53919
53920
53921
53922
53923
53924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53925 $as_echo_n "checking for logf declaration... " >&6; }
53926 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53927 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53928 $as_echo_n "(cached) " >&6
53929 else
53930
53931
53932 ac_ext=cpp
53933 ac_cpp='$CXXCPP $CPPFLAGS'
53934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53937
53938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53939 /* end confdefs.h. */
53940 #include <math.h>
53941 #ifdef HAVE_IEEEFP_H
53942 #include <ieeefp.h>
53943 #endif
53944
53945 int
53946 main ()
53947 {
53948 logf(0);
53949 ;
53950 return 0;
53951 }
53952 _ACEOF
53953 if ac_fn_cxx_try_compile "$LINENO"; then :
53954 glibcxx_cv_func_logf_use=yes
53955 else
53956 glibcxx_cv_func_logf_use=no
53957 fi
53958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53959 ac_ext=c
53960 ac_cpp='$CPP $CPPFLAGS'
53961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53964
53965
53966 fi
53967
53968 fi
53969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53970 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53971
53972 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53973 for ac_func in logf
53974 do :
53975 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53976 if test "x$ac_cv_func_logf" = x""yes; then :
53977 cat >>confdefs.h <<_ACEOF
53978 #define HAVE_LOGF 1
53979 _ACEOF
53980
53981 fi
53982 done
53983
53984 else
53985
53986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53987 $as_echo_n "checking for _logf declaration... " >&6; }
53988 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53989 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53990 $as_echo_n "(cached) " >&6
53991 else
53992
53993
53994 ac_ext=cpp
53995 ac_cpp='$CXXCPP $CPPFLAGS'
53996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53999
54000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54001 /* end confdefs.h. */
54002 #include <math.h>
54003 #ifdef HAVE_IEEEFP_H
54004 #include <ieeefp.h>
54005 #endif
54006
54007 int
54008 main ()
54009 {
54010 _logf(0);
54011 ;
54012 return 0;
54013 }
54014 _ACEOF
54015 if ac_fn_cxx_try_compile "$LINENO"; then :
54016 glibcxx_cv_func__logf_use=yes
54017 else
54018 glibcxx_cv_func__logf_use=no
54019 fi
54020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54021 ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54026
54027
54028 fi
54029
54030 fi
54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54032 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54033
54034 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54035 for ac_func in _logf
54036 do :
54037 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54038 if test "x$ac_cv_func__logf" = x""yes; then :
54039 cat >>confdefs.h <<_ACEOF
54040 #define HAVE__LOGF 1
54041 _ACEOF
54042
54043 fi
54044 done
54045
54046 fi
54047 fi
54048
54049
54050
54051
54052
54053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54054 $as_echo_n "checking for log10f declaration... " >&6; }
54055 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54056 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54057 $as_echo_n "(cached) " >&6
54058 else
54059
54060
54061 ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066
54067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h. */
54069 #include <math.h>
54070 #ifdef HAVE_IEEEFP_H
54071 #include <ieeefp.h>
54072 #endif
54073
54074 int
54075 main ()
54076 {
54077 log10f(0);
54078 ;
54079 return 0;
54080 }
54081 _ACEOF
54082 if ac_fn_cxx_try_compile "$LINENO"; then :
54083 glibcxx_cv_func_log10f_use=yes
54084 else
54085 glibcxx_cv_func_log10f_use=no
54086 fi
54087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54088 ac_ext=c
54089 ac_cpp='$CPP $CPPFLAGS'
54090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54093
54094
54095 fi
54096
54097 fi
54098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54099 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54100
54101 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54102 for ac_func in log10f
54103 do :
54104 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54105 if test "x$ac_cv_func_log10f" = x""yes; then :
54106 cat >>confdefs.h <<_ACEOF
54107 #define HAVE_LOG10F 1
54108 _ACEOF
54109
54110 fi
54111 done
54112
54113 else
54114
54115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54116 $as_echo_n "checking for _log10f declaration... " >&6; }
54117 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54118 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54119 $as_echo_n "(cached) " >&6
54120 else
54121
54122
54123 ac_ext=cpp
54124 ac_cpp='$CXXCPP $CPPFLAGS'
54125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54128
54129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54130 /* end confdefs.h. */
54131 #include <math.h>
54132 #ifdef HAVE_IEEEFP_H
54133 #include <ieeefp.h>
54134 #endif
54135
54136 int
54137 main ()
54138 {
54139 _log10f(0);
54140 ;
54141 return 0;
54142 }
54143 _ACEOF
54144 if ac_fn_cxx_try_compile "$LINENO"; then :
54145 glibcxx_cv_func__log10f_use=yes
54146 else
54147 glibcxx_cv_func__log10f_use=no
54148 fi
54149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54150 ac_ext=c
54151 ac_cpp='$CPP $CPPFLAGS'
54152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54155
54156
54157 fi
54158
54159 fi
54160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54161 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54162
54163 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54164 for ac_func in _log10f
54165 do :
54166 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54167 if test "x$ac_cv_func__log10f" = x""yes; then :
54168 cat >>confdefs.h <<_ACEOF
54169 #define HAVE__LOG10F 1
54170 _ACEOF
54171
54172 fi
54173 done
54174
54175 fi
54176 fi
54177
54178
54179
54180
54181
54182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54183 $as_echo_n "checking for modff declaration... " >&6; }
54184 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54185 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54186 $as_echo_n "(cached) " >&6
54187 else
54188
54189
54190 ac_ext=cpp
54191 ac_cpp='$CXXCPP $CPPFLAGS'
54192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54195
54196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54197 /* end confdefs.h. */
54198 #include <math.h>
54199 int
54200 main ()
54201 {
54202 modff(0, 0);
54203 ;
54204 return 0;
54205 }
54206 _ACEOF
54207 if ac_fn_cxx_try_compile "$LINENO"; then :
54208 glibcxx_cv_func_modff_use=yes
54209 else
54210 glibcxx_cv_func_modff_use=no
54211 fi
54212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54213 ac_ext=c
54214 ac_cpp='$CPP $CPPFLAGS'
54215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54218
54219
54220 fi
54221
54222 fi
54223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54224 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54225
54226 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54227 for ac_func in modff
54228 do :
54229 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54230 if test "x$ac_cv_func_modff" = x""yes; then :
54231 cat >>confdefs.h <<_ACEOF
54232 #define HAVE_MODFF 1
54233 _ACEOF
54234
54235 fi
54236 done
54237
54238 else
54239
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54241 $as_echo_n "checking for _modff declaration... " >&6; }
54242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54243 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54244 $as_echo_n "(cached) " >&6
54245 else
54246
54247
54248 ac_ext=cpp
54249 ac_cpp='$CXXCPP $CPPFLAGS'
54250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54253
54254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54255 /* end confdefs.h. */
54256 #include <math.h>
54257 int
54258 main ()
54259 {
54260 _modff(0, 0);
54261 ;
54262 return 0;
54263 }
54264 _ACEOF
54265 if ac_fn_cxx_try_compile "$LINENO"; then :
54266 glibcxx_cv_func__modff_use=yes
54267 else
54268 glibcxx_cv_func__modff_use=no
54269 fi
54270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54271 ac_ext=c
54272 ac_cpp='$CPP $CPPFLAGS'
54273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54276
54277
54278 fi
54279
54280 fi
54281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54282 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54283
54284 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54285 for ac_func in _modff
54286 do :
54287 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54288 if test "x$ac_cv_func__modff" = x""yes; then :
54289 cat >>confdefs.h <<_ACEOF
54290 #define HAVE__MODFF 1
54291 _ACEOF
54292
54293 fi
54294 done
54295
54296 fi
54297 fi
54298
54299
54300
54301
54302
54303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54304 $as_echo_n "checking for modf declaration... " >&6; }
54305 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54306 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54307 $as_echo_n "(cached) " >&6
54308 else
54309
54310
54311 ac_ext=cpp
54312 ac_cpp='$CXXCPP $CPPFLAGS'
54313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54316
54317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54318 /* end confdefs.h. */
54319 #include <math.h>
54320 int
54321 main ()
54322 {
54323 modf(0, 0);
54324 ;
54325 return 0;
54326 }
54327 _ACEOF
54328 if ac_fn_cxx_try_compile "$LINENO"; then :
54329 glibcxx_cv_func_modf_use=yes
54330 else
54331 glibcxx_cv_func_modf_use=no
54332 fi
54333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54334 ac_ext=c
54335 ac_cpp='$CPP $CPPFLAGS'
54336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339
54340
54341 fi
54342
54343 fi
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54345 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54346
54347 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54348 for ac_func in modf
54349 do :
54350 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54351 if test "x$ac_cv_func_modf" = x""yes; then :
54352 cat >>confdefs.h <<_ACEOF
54353 #define HAVE_MODF 1
54354 _ACEOF
54355
54356 fi
54357 done
54358
54359 else
54360
54361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54362 $as_echo_n "checking for _modf declaration... " >&6; }
54363 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54364 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54366 else
54367
54368
54369 ac_ext=cpp
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54374
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54377 #include <math.h>
54378 int
54379 main ()
54380 {
54381 _modf(0, 0);
54382 ;
54383 return 0;
54384 }
54385 _ACEOF
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func__modf_use=yes
54388 else
54389 glibcxx_cv_func__modf_use=no
54390 fi
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397
54398
54399 fi
54400
54401 fi
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54403 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54404
54405 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54406 for ac_func in _modf
54407 do :
54408 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54409 if test "x$ac_cv_func__modf" = x""yes; then :
54410 cat >>confdefs.h <<_ACEOF
54411 #define HAVE__MODF 1
54412 _ACEOF
54413
54414 fi
54415 done
54416
54417 fi
54418 fi
54419
54420
54421
54422
54423
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54425 $as_echo_n "checking for powf declaration... " >&6; }
54426 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54427 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54428 $as_echo_n "(cached) " >&6
54429 else
54430
54431
54432 ac_ext=cpp
54433 ac_cpp='$CXXCPP $CPPFLAGS'
54434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54437
54438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54439 /* end confdefs.h. */
54440 #include <math.h>
54441 int
54442 main ()
54443 {
54444 powf(0, 0);
54445 ;
54446 return 0;
54447 }
54448 _ACEOF
54449 if ac_fn_cxx_try_compile "$LINENO"; then :
54450 glibcxx_cv_func_powf_use=yes
54451 else
54452 glibcxx_cv_func_powf_use=no
54453 fi
54454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54455 ac_ext=c
54456 ac_cpp='$CPP $CPPFLAGS'
54457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54460
54461
54462 fi
54463
54464 fi
54465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54466 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54467
54468 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54469 for ac_func in powf
54470 do :
54471 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54472 if test "x$ac_cv_func_powf" = x""yes; then :
54473 cat >>confdefs.h <<_ACEOF
54474 #define HAVE_POWF 1
54475 _ACEOF
54476
54477 fi
54478 done
54479
54480 else
54481
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54483 $as_echo_n "checking for _powf declaration... " >&6; }
54484 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54485 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54486 $as_echo_n "(cached) " >&6
54487 else
54488
54489
54490 ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54495
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <math.h>
54499 int
54500 main ()
54501 {
54502 _powf(0, 0);
54503 ;
54504 return 0;
54505 }
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508 glibcxx_cv_func__powf_use=yes
54509 else
54510 glibcxx_cv_func__powf_use=no
54511 fi
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513 ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54518
54519
54520 fi
54521
54522 fi
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54524 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54525
54526 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54527 for ac_func in _powf
54528 do :
54529 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54530 if test "x$ac_cv_func__powf" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define HAVE__POWF 1
54533 _ACEOF
54534
54535 fi
54536 done
54537
54538 fi
54539 fi
54540
54541
54542
54543
54544
54545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54546 $as_echo_n "checking for sqrtf declaration... " >&6; }
54547 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54548 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54549 $as_echo_n "(cached) " >&6
54550 else
54551
54552
54553 ac_ext=cpp
54554 ac_cpp='$CXXCPP $CPPFLAGS'
54555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54558
54559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54560 /* end confdefs.h. */
54561 #include <math.h>
54562 #ifdef HAVE_IEEEFP_H
54563 #include <ieeefp.h>
54564 #endif
54565
54566 int
54567 main ()
54568 {
54569 sqrtf(0);
54570 ;
54571 return 0;
54572 }
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575 glibcxx_cv_func_sqrtf_use=yes
54576 else
54577 glibcxx_cv_func_sqrtf_use=no
54578 fi
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580 ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54585
54586
54587 fi
54588
54589 fi
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54591 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54592
54593 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54594 for ac_func in sqrtf
54595 do :
54596 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54597 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54598 cat >>confdefs.h <<_ACEOF
54599 #define HAVE_SQRTF 1
54600 _ACEOF
54601
54602 fi
54603 done
54604
54605 else
54606
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54608 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54609 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54610 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54611 $as_echo_n "(cached) " >&6
54612 else
54613
54614
54615 ac_ext=cpp
54616 ac_cpp='$CXXCPP $CPPFLAGS'
54617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54620
54621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54622 /* end confdefs.h. */
54623 #include <math.h>
54624 #ifdef HAVE_IEEEFP_H
54625 #include <ieeefp.h>
54626 #endif
54627
54628 int
54629 main ()
54630 {
54631 _sqrtf(0);
54632 ;
54633 return 0;
54634 }
54635 _ACEOF
54636 if ac_fn_cxx_try_compile "$LINENO"; then :
54637 glibcxx_cv_func__sqrtf_use=yes
54638 else
54639 glibcxx_cv_func__sqrtf_use=no
54640 fi
54641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54642 ac_ext=c
54643 ac_cpp='$CPP $CPPFLAGS'
54644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54647
54648
54649 fi
54650
54651 fi
54652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54653 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54654
54655 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54656 for ac_func in _sqrtf
54657 do :
54658 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54659 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54660 cat >>confdefs.h <<_ACEOF
54661 #define HAVE__SQRTF 1
54662 _ACEOF
54663
54664 fi
54665 done
54666
54667 fi
54668 fi
54669
54670
54671
54672
54673
54674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54675 $as_echo_n "checking for sincosf declaration... " >&6; }
54676 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54677 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54678 $as_echo_n "(cached) " >&6
54679 else
54680
54681
54682 ac_ext=cpp
54683 ac_cpp='$CXXCPP $CPPFLAGS'
54684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54687
54688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54689 /* end confdefs.h. */
54690 #include <math.h>
54691 int
54692 main ()
54693 {
54694 sincosf(0, 0, 0);
54695 ;
54696 return 0;
54697 }
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func_sincosf_use=yes
54701 else
54702 glibcxx_cv_func_sincosf_use=no
54703 fi
54704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54705 ac_ext=c
54706 ac_cpp='$CPP $CPPFLAGS'
54707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54710
54711
54712 fi
54713
54714 fi
54715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54716 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54717
54718 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54719 for ac_func in sincosf
54720 do :
54721 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54722 if test "x$ac_cv_func_sincosf" = x""yes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE_SINCOSF 1
54725 _ACEOF
54726
54727 fi
54728 done
54729
54730 else
54731
54732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54733 $as_echo_n "checking for _sincosf declaration... " >&6; }
54734 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54735 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54736 $as_echo_n "(cached) " >&6
54737 else
54738
54739
54740 ac_ext=cpp
54741 ac_cpp='$CXXCPP $CPPFLAGS'
54742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54745
54746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54747 /* end confdefs.h. */
54748 #include <math.h>
54749 int
54750 main ()
54751 {
54752 _sincosf(0, 0, 0);
54753 ;
54754 return 0;
54755 }
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758 glibcxx_cv_func__sincosf_use=yes
54759 else
54760 glibcxx_cv_func__sincosf_use=no
54761 fi
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763 ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768
54769
54770 fi
54771
54772 fi
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54774 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54775
54776 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54777 for ac_func in _sincosf
54778 do :
54779 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54780 if test "x$ac_cv_func__sincosf" = x""yes; then :
54781 cat >>confdefs.h <<_ACEOF
54782 #define HAVE__SINCOSF 1
54783 _ACEOF
54784
54785 fi
54786 done
54787
54788 fi
54789 fi
54790
54791
54792
54793
54794
54795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54796 $as_echo_n "checking for finitef declaration... " >&6; }
54797 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54798 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54799 $as_echo_n "(cached) " >&6
54800 else
54801
54802
54803 ac_ext=cpp
54804 ac_cpp='$CXXCPP $CPPFLAGS'
54805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54808
54809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54810 /* end confdefs.h. */
54811 #include <math.h>
54812 #ifdef HAVE_IEEEFP_H
54813 #include <ieeefp.h>
54814 #endif
54815
54816 int
54817 main ()
54818 {
54819 finitef(0);
54820 ;
54821 return 0;
54822 }
54823 _ACEOF
54824 if ac_fn_cxx_try_compile "$LINENO"; then :
54825 glibcxx_cv_func_finitef_use=yes
54826 else
54827 glibcxx_cv_func_finitef_use=no
54828 fi
54829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54830 ac_ext=c
54831 ac_cpp='$CPP $CPPFLAGS'
54832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54835
54836
54837 fi
54838
54839 fi
54840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54841 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54842
54843 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54844 for ac_func in finitef
54845 do :
54846 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54847 if test "x$ac_cv_func_finitef" = x""yes; then :
54848 cat >>confdefs.h <<_ACEOF
54849 #define HAVE_FINITEF 1
54850 _ACEOF
54851
54852 fi
54853 done
54854
54855 else
54856
54857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54858 $as_echo_n "checking for _finitef declaration... " >&6; }
54859 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54860 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54861 $as_echo_n "(cached) " >&6
54862 else
54863
54864
54865 ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870
54871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h. */
54873 #include <math.h>
54874 #ifdef HAVE_IEEEFP_H
54875 #include <ieeefp.h>
54876 #endif
54877
54878 int
54879 main ()
54880 {
54881 _finitef(0);
54882 ;
54883 return 0;
54884 }
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887 glibcxx_cv_func__finitef_use=yes
54888 else
54889 glibcxx_cv_func__finitef_use=no
54890 fi
54891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54892 ac_ext=c
54893 ac_cpp='$CPP $CPPFLAGS'
54894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54897
54898
54899 fi
54900
54901 fi
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54903 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54904
54905 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54906 for ac_func in _finitef
54907 do :
54908 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54909 if test "x$ac_cv_func__finitef" = x""yes; then :
54910 cat >>confdefs.h <<_ACEOF
54911 #define HAVE__FINITEF 1
54912 _ACEOF
54913
54914 fi
54915 done
54916
54917 fi
54918 fi
54919
54920
54921
54922
54923
54924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54925 $as_echo_n "checking for long double trig functions... " >&6; }
54926 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54927 $as_echo_n "(cached) " >&6
54928 else
54929
54930
54931 ac_ext=cpp
54932 ac_cpp='$CXXCPP $CPPFLAGS'
54933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54936
54937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54938 /* end confdefs.h. */
54939 #include <math.h>
54940 int
54941 main ()
54942 {
54943 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54944 ;
54945 return 0;
54946 }
54947 _ACEOF
54948 if ac_fn_cxx_try_compile "$LINENO"; then :
54949 glibcxx_cv_func_long_double_trig_use=yes
54950 else
54951 glibcxx_cv_func_long_double_trig_use=no
54952 fi
54953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54954 ac_ext=c
54955 ac_cpp='$CPP $CPPFLAGS'
54956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54959
54960 fi
54961
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54963 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54964 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54965 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54966 do :
54967 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54968 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54969 eval as_val=\$$as_ac_var
54970 if test "x$as_val" = x""yes; then :
54971 cat >>confdefs.h <<_ACEOF
54972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54973 _ACEOF
54974
54975 fi
54976 done
54977
54978 else
54979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54980 $as_echo_n "checking for _long double trig functions... " >&6; }
54981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54982 $as_echo_n "(cached) " >&6
54983 else
54984
54985
54986 ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54991
54992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h. */
54994 #include <math.h>
54995 int
54996 main ()
54997 {
54998 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54999 ;
55000 return 0;
55001 }
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func__long_double_trig_use=yes
55005 else
55006 glibcxx_cv_func__long_double_trig_use=no
55007 fi
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55014
55015 fi
55016
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55018 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55019 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55020 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55021 do :
55022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55023 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55024 eval as_val=\$$as_ac_var
55025 if test "x$as_val" = x""yes; then :
55026 cat >>confdefs.h <<_ACEOF
55027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55028 _ACEOF
55029
55030 fi
55031 done
55032
55033 fi
55034 fi
55035
55036
55037
55038
55039
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55041 $as_echo_n "checking for long double round functions... " >&6; }
55042 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55043 $as_echo_n "(cached) " >&6
55044 else
55045
55046
55047 ac_ext=cpp
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052
55053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55054 /* end confdefs.h. */
55055 #include <math.h>
55056 int
55057 main ()
55058 {
55059 ceill (0); floorl (0);
55060 ;
55061 return 0;
55062 }
55063 _ACEOF
55064 if ac_fn_cxx_try_compile "$LINENO"; then :
55065 glibcxx_cv_func_long_double_round_use=yes
55066 else
55067 glibcxx_cv_func_long_double_round_use=no
55068 fi
55069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55070 ac_ext=c
55071 ac_cpp='$CPP $CPPFLAGS'
55072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55075
55076 fi
55077
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55079 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55080 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55081 for ac_func in ceill floorl
55082 do :
55083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55085 eval as_val=\$$as_ac_var
55086 if test "x$as_val" = x""yes; then :
55087 cat >>confdefs.h <<_ACEOF
55088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55089 _ACEOF
55090
55091 fi
55092 done
55093
55094 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55096 $as_echo_n "checking for _long double round functions... " >&6; }
55097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55098 $as_echo_n "(cached) " >&6
55099 else
55100
55101
55102 ac_ext=cpp
55103 ac_cpp='$CXXCPP $CPPFLAGS'
55104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55107
55108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55109 /* end confdefs.h. */
55110 #include <math.h>
55111 int
55112 main ()
55113 {
55114 _ceill (0); _floorl (0);
55115 ;
55116 return 0;
55117 }
55118 _ACEOF
55119 if ac_fn_cxx_try_compile "$LINENO"; then :
55120 glibcxx_cv_func__long_double_round_use=yes
55121 else
55122 glibcxx_cv_func__long_double_round_use=no
55123 fi
55124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55125 ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55130
55131 fi
55132
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55134 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55135 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55136 for ac_func in _ceill _floorl
55137 do :
55138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55140 eval as_val=\$$as_ac_var
55141 if test "x$as_val" = x""yes; then :
55142 cat >>confdefs.h <<_ACEOF
55143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55144 _ACEOF
55145
55146 fi
55147 done
55148
55149 fi
55150 fi
55151
55152
55153
55154
55155
55156
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55158 $as_echo_n "checking for isnanl declaration... " >&6; }
55159 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55160 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55163
55164
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55170
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55174 #ifdef HAVE_IEEEFP_H
55175 #include <ieeefp.h>
55176 #endif
55177
55178 int
55179 main ()
55180 {
55181 isnanl(0);
55182 ;
55183 return 0;
55184 }
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func_isnanl_use=yes
55188 else
55189 glibcxx_cv_func_isnanl_use=no
55190 fi
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197
55198
55199 fi
55200
55201 fi
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55203 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55204
55205 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55206 for ac_func in isnanl
55207 do :
55208 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55209 if test "x$ac_cv_func_isnanl" = x""yes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE_ISNANL 1
55212 _ACEOF
55213
55214 fi
55215 done
55216
55217 else
55218
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55220 $as_echo_n "checking for _isnanl declaration... " >&6; }
55221 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55222 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55223 $as_echo_n "(cached) " >&6
55224 else
55225
55226
55227 ac_ext=cpp
55228 ac_cpp='$CXXCPP $CPPFLAGS'
55229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55232
55233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55234 /* end confdefs.h. */
55235 #include <math.h>
55236 #ifdef HAVE_IEEEFP_H
55237 #include <ieeefp.h>
55238 #endif
55239
55240 int
55241 main ()
55242 {
55243 _isnanl(0);
55244 ;
55245 return 0;
55246 }
55247 _ACEOF
55248 if ac_fn_cxx_try_compile "$LINENO"; then :
55249 glibcxx_cv_func__isnanl_use=yes
55250 else
55251 glibcxx_cv_func__isnanl_use=no
55252 fi
55253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55254 ac_ext=c
55255 ac_cpp='$CPP $CPPFLAGS'
55256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55259
55260
55261 fi
55262
55263 fi
55264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55265 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55266
55267 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55268 for ac_func in _isnanl
55269 do :
55270 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55271 if test "x$ac_cv_func__isnanl" = x""yes; then :
55272 cat >>confdefs.h <<_ACEOF
55273 #define HAVE__ISNANL 1
55274 _ACEOF
55275
55276 fi
55277 done
55278
55279 fi
55280 fi
55281
55282
55283
55284
55285
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55287 $as_echo_n "checking for isinfl declaration... " >&6; }
55288 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55289 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55290 $as_echo_n "(cached) " >&6
55291 else
55292
55293
55294 ac_ext=cpp
55295 ac_cpp='$CXXCPP $CPPFLAGS'
55296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55299
55300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55301 /* end confdefs.h. */
55302 #include <math.h>
55303 #ifdef HAVE_IEEEFP_H
55304 #include <ieeefp.h>
55305 #endif
55306
55307 int
55308 main ()
55309 {
55310 isinfl(0);
55311 ;
55312 return 0;
55313 }
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func_isinfl_use=yes
55317 else
55318 glibcxx_cv_func_isinfl_use=no
55319 fi
55320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55321 ac_ext=c
55322 ac_cpp='$CPP $CPPFLAGS'
55323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55326
55327
55328 fi
55329
55330 fi
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55332 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55333
55334 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55335 for ac_func in isinfl
55336 do :
55337 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55338 if test "x$ac_cv_func_isinfl" = x""yes; then :
55339 cat >>confdefs.h <<_ACEOF
55340 #define HAVE_ISINFL 1
55341 _ACEOF
55342
55343 fi
55344 done
55345
55346 else
55347
55348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55349 $as_echo_n "checking for _isinfl declaration... " >&6; }
55350 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55351 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55352 $as_echo_n "(cached) " >&6
55353 else
55354
55355
55356 ac_ext=cpp
55357 ac_cpp='$CXXCPP $CPPFLAGS'
55358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55361
55362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55363 /* end confdefs.h. */
55364 #include <math.h>
55365 #ifdef HAVE_IEEEFP_H
55366 #include <ieeefp.h>
55367 #endif
55368
55369 int
55370 main ()
55371 {
55372 _isinfl(0);
55373 ;
55374 return 0;
55375 }
55376 _ACEOF
55377 if ac_fn_cxx_try_compile "$LINENO"; then :
55378 glibcxx_cv_func__isinfl_use=yes
55379 else
55380 glibcxx_cv_func__isinfl_use=no
55381 fi
55382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55383 ac_ext=c
55384 ac_cpp='$CPP $CPPFLAGS'
55385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55388
55389
55390 fi
55391
55392 fi
55393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55394 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55395
55396 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55397 for ac_func in _isinfl
55398 do :
55399 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55400 if test "x$ac_cv_func__isinfl" = x""yes; then :
55401 cat >>confdefs.h <<_ACEOF
55402 #define HAVE__ISINFL 1
55403 _ACEOF
55404
55405 fi
55406 done
55407
55408 fi
55409 fi
55410
55411
55412
55413
55414
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55416 $as_echo_n "checking for atan2l declaration... " >&6; }
55417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55419 $as_echo_n "(cached) " >&6
55420 else
55421
55422
55423 ac_ext=cpp
55424 ac_cpp='$CXXCPP $CPPFLAGS'
55425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55428
55429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55430 /* end confdefs.h. */
55431 #include <math.h>
55432 int
55433 main ()
55434 {
55435 atan2l(0, 0);
55436 ;
55437 return 0;
55438 }
55439 _ACEOF
55440 if ac_fn_cxx_try_compile "$LINENO"; then :
55441 glibcxx_cv_func_atan2l_use=yes
55442 else
55443 glibcxx_cv_func_atan2l_use=no
55444 fi
55445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55446 ac_ext=c
55447 ac_cpp='$CPP $CPPFLAGS'
55448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55451
55452
55453 fi
55454
55455 fi
55456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55457 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55458
55459 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55460 for ac_func in atan2l
55461 do :
55462 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55463 if test "x$ac_cv_func_atan2l" = x""yes; then :
55464 cat >>confdefs.h <<_ACEOF
55465 #define HAVE_ATAN2L 1
55466 _ACEOF
55467
55468 fi
55469 done
55470
55471 else
55472
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55474 $as_echo_n "checking for _atan2l declaration... " >&6; }
55475 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55476 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55477 $as_echo_n "(cached) " >&6
55478 else
55479
55480
55481 ac_ext=cpp
55482 ac_cpp='$CXXCPP $CPPFLAGS'
55483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55486
55487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55488 /* end confdefs.h. */
55489 #include <math.h>
55490 int
55491 main ()
55492 {
55493 _atan2l(0, 0);
55494 ;
55495 return 0;
55496 }
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499 glibcxx_cv_func__atan2l_use=yes
55500 else
55501 glibcxx_cv_func__atan2l_use=no
55502 fi
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504 ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509
55510
55511 fi
55512
55513 fi
55514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55515 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55516
55517 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55518 for ac_func in _atan2l
55519 do :
55520 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55521 if test "x$ac_cv_func__atan2l" = x""yes; then :
55522 cat >>confdefs.h <<_ACEOF
55523 #define HAVE__ATAN2L 1
55524 _ACEOF
55525
55526 fi
55527 done
55528
55529 fi
55530 fi
55531
55532
55533
55534
55535
55536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55537 $as_echo_n "checking for expl declaration... " >&6; }
55538 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55539 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55540 $as_echo_n "(cached) " >&6
55541 else
55542
55543
55544 ac_ext=cpp
55545 ac_cpp='$CXXCPP $CPPFLAGS'
55546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55549
55550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55551 /* end confdefs.h. */
55552 #include <math.h>
55553 #ifdef HAVE_IEEEFP_H
55554 #include <ieeefp.h>
55555 #endif
55556
55557 int
55558 main ()
55559 {
55560 expl(0);
55561 ;
55562 return 0;
55563 }
55564 _ACEOF
55565 if ac_fn_cxx_try_compile "$LINENO"; then :
55566 glibcxx_cv_func_expl_use=yes
55567 else
55568 glibcxx_cv_func_expl_use=no
55569 fi
55570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55571 ac_ext=c
55572 ac_cpp='$CPP $CPPFLAGS'
55573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55576
55577
55578 fi
55579
55580 fi
55581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55582 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55583
55584 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55585 for ac_func in expl
55586 do :
55587 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55588 if test "x$ac_cv_func_expl" = x""yes; then :
55589 cat >>confdefs.h <<_ACEOF
55590 #define HAVE_EXPL 1
55591 _ACEOF
55592
55593 fi
55594 done
55595
55596 else
55597
55598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55599 $as_echo_n "checking for _expl declaration... " >&6; }
55600 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55601 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55602 $as_echo_n "(cached) " >&6
55603 else
55604
55605
55606 ac_ext=cpp
55607 ac_cpp='$CXXCPP $CPPFLAGS'
55608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55611
55612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55613 /* end confdefs.h. */
55614 #include <math.h>
55615 #ifdef HAVE_IEEEFP_H
55616 #include <ieeefp.h>
55617 #endif
55618
55619 int
55620 main ()
55621 {
55622 _expl(0);
55623 ;
55624 return 0;
55625 }
55626 _ACEOF
55627 if ac_fn_cxx_try_compile "$LINENO"; then :
55628 glibcxx_cv_func__expl_use=yes
55629 else
55630 glibcxx_cv_func__expl_use=no
55631 fi
55632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55633 ac_ext=c
55634 ac_cpp='$CPP $CPPFLAGS'
55635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55638
55639
55640 fi
55641
55642 fi
55643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55644 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55645
55646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55647 for ac_func in _expl
55648 do :
55649 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55650 if test "x$ac_cv_func__expl" = x""yes; then :
55651 cat >>confdefs.h <<_ACEOF
55652 #define HAVE__EXPL 1
55653 _ACEOF
55654
55655 fi
55656 done
55657
55658 fi
55659 fi
55660
55661
55662
55663
55664
55665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55666 $as_echo_n "checking for fabsl declaration... " >&6; }
55667 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55668 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55669 $as_echo_n "(cached) " >&6
55670 else
55671
55672
55673 ac_ext=cpp
55674 ac_cpp='$CXXCPP $CPPFLAGS'
55675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55678
55679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55680 /* end confdefs.h. */
55681 #include <math.h>
55682 #ifdef HAVE_IEEEFP_H
55683 #include <ieeefp.h>
55684 #endif
55685
55686 int
55687 main ()
55688 {
55689 fabsl(0);
55690 ;
55691 return 0;
55692 }
55693 _ACEOF
55694 if ac_fn_cxx_try_compile "$LINENO"; then :
55695 glibcxx_cv_func_fabsl_use=yes
55696 else
55697 glibcxx_cv_func_fabsl_use=no
55698 fi
55699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55700 ac_ext=c
55701 ac_cpp='$CPP $CPPFLAGS'
55702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55705
55706
55707 fi
55708
55709 fi
55710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55711 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55712
55713 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55714 for ac_func in fabsl
55715 do :
55716 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55717 if test "x$ac_cv_func_fabsl" = x""yes; then :
55718 cat >>confdefs.h <<_ACEOF
55719 #define HAVE_FABSL 1
55720 _ACEOF
55721
55722 fi
55723 done
55724
55725 else
55726
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55728 $as_echo_n "checking for _fabsl declaration... " >&6; }
55729 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55730 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55731 $as_echo_n "(cached) " >&6
55732 else
55733
55734
55735 ac_ext=cpp
55736 ac_cpp='$CXXCPP $CPPFLAGS'
55737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55740
55741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55742 /* end confdefs.h. */
55743 #include <math.h>
55744 #ifdef HAVE_IEEEFP_H
55745 #include <ieeefp.h>
55746 #endif
55747
55748 int
55749 main ()
55750 {
55751 _fabsl(0);
55752 ;
55753 return 0;
55754 }
55755 _ACEOF
55756 if ac_fn_cxx_try_compile "$LINENO"; then :
55757 glibcxx_cv_func__fabsl_use=yes
55758 else
55759 glibcxx_cv_func__fabsl_use=no
55760 fi
55761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55762 ac_ext=c
55763 ac_cpp='$CPP $CPPFLAGS'
55764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55767
55768
55769 fi
55770
55771 fi
55772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55773 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55774
55775 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55776 for ac_func in _fabsl
55777 do :
55778 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55779 if test "x$ac_cv_func__fabsl" = x""yes; then :
55780 cat >>confdefs.h <<_ACEOF
55781 #define HAVE__FABSL 1
55782 _ACEOF
55783
55784 fi
55785 done
55786
55787 fi
55788 fi
55789
55790
55791
55792
55793
55794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55795 $as_echo_n "checking for fmodl declaration... " >&6; }
55796 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55797 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55798 $as_echo_n "(cached) " >&6
55799 else
55800
55801
55802 ac_ext=cpp
55803 ac_cpp='$CXXCPP $CPPFLAGS'
55804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55807
55808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55809 /* end confdefs.h. */
55810 #include <math.h>
55811 int
55812 main ()
55813 {
55814 fmodl(0, 0);
55815 ;
55816 return 0;
55817 }
55818 _ACEOF
55819 if ac_fn_cxx_try_compile "$LINENO"; then :
55820 glibcxx_cv_func_fmodl_use=yes
55821 else
55822 glibcxx_cv_func_fmodl_use=no
55823 fi
55824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55825 ac_ext=c
55826 ac_cpp='$CPP $CPPFLAGS'
55827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55830
55831
55832 fi
55833
55834 fi
55835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55836 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55837
55838 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55839 for ac_func in fmodl
55840 do :
55841 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55842 if test "x$ac_cv_func_fmodl" = x""yes; then :
55843 cat >>confdefs.h <<_ACEOF
55844 #define HAVE_FMODL 1
55845 _ACEOF
55846
55847 fi
55848 done
55849
55850 else
55851
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55853 $as_echo_n "checking for _fmodl declaration... " >&6; }
55854 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55855 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55856 $as_echo_n "(cached) " >&6
55857 else
55858
55859
55860 ac_ext=cpp
55861 ac_cpp='$CXXCPP $CPPFLAGS'
55862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55865
55866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55867 /* end confdefs.h. */
55868 #include <math.h>
55869 int
55870 main ()
55871 {
55872 _fmodl(0, 0);
55873 ;
55874 return 0;
55875 }
55876 _ACEOF
55877 if ac_fn_cxx_try_compile "$LINENO"; then :
55878 glibcxx_cv_func__fmodl_use=yes
55879 else
55880 glibcxx_cv_func__fmodl_use=no
55881 fi
55882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55883 ac_ext=c
55884 ac_cpp='$CPP $CPPFLAGS'
55885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888
55889
55890 fi
55891
55892 fi
55893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55894 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55895
55896 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55897 for ac_func in _fmodl
55898 do :
55899 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55900 if test "x$ac_cv_func__fmodl" = x""yes; then :
55901 cat >>confdefs.h <<_ACEOF
55902 #define HAVE__FMODL 1
55903 _ACEOF
55904
55905 fi
55906 done
55907
55908 fi
55909 fi
55910
55911
55912
55913
55914
55915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55916 $as_echo_n "checking for frexpl declaration... " >&6; }
55917 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55918 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55919 $as_echo_n "(cached) " >&6
55920 else
55921
55922
55923 ac_ext=cpp
55924 ac_cpp='$CXXCPP $CPPFLAGS'
55925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55928
55929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55930 /* end confdefs.h. */
55931 #include <math.h>
55932 int
55933 main ()
55934 {
55935 frexpl(0, 0);
55936 ;
55937 return 0;
55938 }
55939 _ACEOF
55940 if ac_fn_cxx_try_compile "$LINENO"; then :
55941 glibcxx_cv_func_frexpl_use=yes
55942 else
55943 glibcxx_cv_func_frexpl_use=no
55944 fi
55945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55946 ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951
55952
55953 fi
55954
55955 fi
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55957 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55958
55959 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55960 for ac_func in frexpl
55961 do :
55962 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55963 if test "x$ac_cv_func_frexpl" = x""yes; then :
55964 cat >>confdefs.h <<_ACEOF
55965 #define HAVE_FREXPL 1
55966 _ACEOF
55967
55968 fi
55969 done
55970
55971 else
55972
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55974 $as_echo_n "checking for _frexpl declaration... " >&6; }
55975 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55976 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55977 $as_echo_n "(cached) " >&6
55978 else
55979
55980
55981 ac_ext=cpp
55982 ac_cpp='$CXXCPP $CPPFLAGS'
55983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55986
55987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55988 /* end confdefs.h. */
55989 #include <math.h>
55990 int
55991 main ()
55992 {
55993 _frexpl(0, 0);
55994 ;
55995 return 0;
55996 }
55997 _ACEOF
55998 if ac_fn_cxx_try_compile "$LINENO"; then :
55999 glibcxx_cv_func__frexpl_use=yes
56000 else
56001 glibcxx_cv_func__frexpl_use=no
56002 fi
56003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56004 ac_ext=c
56005 ac_cpp='$CPP $CPPFLAGS'
56006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56009
56010
56011 fi
56012
56013 fi
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56015 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56016
56017 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56018 for ac_func in _frexpl
56019 do :
56020 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56021 if test "x$ac_cv_func__frexpl" = x""yes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE__FREXPL 1
56024 _ACEOF
56025
56026 fi
56027 done
56028
56029 fi
56030 fi
56031
56032
56033
56034
56035
56036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56037 $as_echo_n "checking for hypotl declaration... " >&6; }
56038 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56039 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56040 $as_echo_n "(cached) " >&6
56041 else
56042
56043
56044 ac_ext=cpp
56045 ac_cpp='$CXXCPP $CPPFLAGS'
56046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56049
56050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56051 /* end confdefs.h. */
56052 #include <math.h>
56053 int
56054 main ()
56055 {
56056 hypotl(0, 0);
56057 ;
56058 return 0;
56059 }
56060 _ACEOF
56061 if ac_fn_cxx_try_compile "$LINENO"; then :
56062 glibcxx_cv_func_hypotl_use=yes
56063 else
56064 glibcxx_cv_func_hypotl_use=no
56065 fi
56066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56067 ac_ext=c
56068 ac_cpp='$CPP $CPPFLAGS'
56069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56072
56073
56074 fi
56075
56076 fi
56077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56078 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56079
56080 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56081 for ac_func in hypotl
56082 do :
56083 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56084 if test "x$ac_cv_func_hypotl" = x""yes; then :
56085 cat >>confdefs.h <<_ACEOF
56086 #define HAVE_HYPOTL 1
56087 _ACEOF
56088
56089 fi
56090 done
56091
56092 else
56093
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56095 $as_echo_n "checking for _hypotl declaration... " >&6; }
56096 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56097 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56098 $as_echo_n "(cached) " >&6
56099 else
56100
56101
56102 ac_ext=cpp
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56107
56108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56109 /* end confdefs.h. */
56110 #include <math.h>
56111 int
56112 main ()
56113 {
56114 _hypotl(0, 0);
56115 ;
56116 return 0;
56117 }
56118 _ACEOF
56119 if ac_fn_cxx_try_compile "$LINENO"; then :
56120 glibcxx_cv_func__hypotl_use=yes
56121 else
56122 glibcxx_cv_func__hypotl_use=no
56123 fi
56124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56125 ac_ext=c
56126 ac_cpp='$CPP $CPPFLAGS'
56127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56130
56131
56132 fi
56133
56134 fi
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56136 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56137
56138 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56139 for ac_func in _hypotl
56140 do :
56141 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56142 if test "x$ac_cv_func__hypotl" = x""yes; then :
56143 cat >>confdefs.h <<_ACEOF
56144 #define HAVE__HYPOTL 1
56145 _ACEOF
56146
56147 fi
56148 done
56149
56150 fi
56151 fi
56152
56153
56154
56155
56156
56157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56158 $as_echo_n "checking for ldexpl declaration... " >&6; }
56159 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56160 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56161 $as_echo_n "(cached) " >&6
56162 else
56163
56164
56165 ac_ext=cpp
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56170
56171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56172 /* end confdefs.h. */
56173 #include <math.h>
56174 int
56175 main ()
56176 {
56177 ldexpl(0, 0);
56178 ;
56179 return 0;
56180 }
56181 _ACEOF
56182 if ac_fn_cxx_try_compile "$LINENO"; then :
56183 glibcxx_cv_func_ldexpl_use=yes
56184 else
56185 glibcxx_cv_func_ldexpl_use=no
56186 fi
56187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56188 ac_ext=c
56189 ac_cpp='$CPP $CPPFLAGS'
56190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56193
56194
56195 fi
56196
56197 fi
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56199 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56200
56201 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56202 for ac_func in ldexpl
56203 do :
56204 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56205 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56206 cat >>confdefs.h <<_ACEOF
56207 #define HAVE_LDEXPL 1
56208 _ACEOF
56209
56210 fi
56211 done
56212
56213 else
56214
56215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56216 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56217 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56218 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56219 $as_echo_n "(cached) " >&6
56220 else
56221
56222
56223 ac_ext=cpp
56224 ac_cpp='$CXXCPP $CPPFLAGS'
56225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56228
56229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56230 /* end confdefs.h. */
56231 #include <math.h>
56232 int
56233 main ()
56234 {
56235 _ldexpl(0, 0);
56236 ;
56237 return 0;
56238 }
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func__ldexpl_use=yes
56242 else
56243 glibcxx_cv_func__ldexpl_use=no
56244 fi
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56251
56252
56253 fi
56254
56255 fi
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56257 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56258
56259 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56260 for ac_func in _ldexpl
56261 do :
56262 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56263 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE__LDEXPL 1
56266 _ACEOF
56267
56268 fi
56269 done
56270
56271 fi
56272 fi
56273
56274
56275
56276
56277
56278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56279 $as_echo_n "checking for logl declaration... " >&6; }
56280 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56281 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56282 $as_echo_n "(cached) " >&6
56283 else
56284
56285
56286 ac_ext=cpp
56287 ac_cpp='$CXXCPP $CPPFLAGS'
56288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56291
56292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56293 /* end confdefs.h. */
56294 #include <math.h>
56295 #ifdef HAVE_IEEEFP_H
56296 #include <ieeefp.h>
56297 #endif
56298
56299 int
56300 main ()
56301 {
56302 logl(0);
56303 ;
56304 return 0;
56305 }
56306 _ACEOF
56307 if ac_fn_cxx_try_compile "$LINENO"; then :
56308 glibcxx_cv_func_logl_use=yes
56309 else
56310 glibcxx_cv_func_logl_use=no
56311 fi
56312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56313 ac_ext=c
56314 ac_cpp='$CPP $CPPFLAGS'
56315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56318
56319
56320 fi
56321
56322 fi
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56324 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56325
56326 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56327 for ac_func in logl
56328 do :
56329 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56330 if test "x$ac_cv_func_logl" = x""yes; then :
56331 cat >>confdefs.h <<_ACEOF
56332 #define HAVE_LOGL 1
56333 _ACEOF
56334
56335 fi
56336 done
56337
56338 else
56339
56340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56341 $as_echo_n "checking for _logl declaration... " >&6; }
56342 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56343 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56344 $as_echo_n "(cached) " >&6
56345 else
56346
56347
56348 ac_ext=cpp
56349 ac_cpp='$CXXCPP $CPPFLAGS'
56350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56353
56354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56355 /* end confdefs.h. */
56356 #include <math.h>
56357 #ifdef HAVE_IEEEFP_H
56358 #include <ieeefp.h>
56359 #endif
56360
56361 int
56362 main ()
56363 {
56364 _logl(0);
56365 ;
56366 return 0;
56367 }
56368 _ACEOF
56369 if ac_fn_cxx_try_compile "$LINENO"; then :
56370 glibcxx_cv_func__logl_use=yes
56371 else
56372 glibcxx_cv_func__logl_use=no
56373 fi
56374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56375 ac_ext=c
56376 ac_cpp='$CPP $CPPFLAGS'
56377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56380
56381
56382 fi
56383
56384 fi
56385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56386 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56387
56388 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56389 for ac_func in _logl
56390 do :
56391 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56392 if test "x$ac_cv_func__logl" = x""yes; then :
56393 cat >>confdefs.h <<_ACEOF
56394 #define HAVE__LOGL 1
56395 _ACEOF
56396
56397 fi
56398 done
56399
56400 fi
56401 fi
56402
56403
56404
56405
56406
56407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56408 $as_echo_n "checking for log10l declaration... " >&6; }
56409 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56410 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56411 $as_echo_n "(cached) " >&6
56412 else
56413
56414
56415 ac_ext=cpp
56416 ac_cpp='$CXXCPP $CPPFLAGS'
56417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56420
56421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56422 /* end confdefs.h. */
56423 #include <math.h>
56424 #ifdef HAVE_IEEEFP_H
56425 #include <ieeefp.h>
56426 #endif
56427
56428 int
56429 main ()
56430 {
56431 log10l(0);
56432 ;
56433 return 0;
56434 }
56435 _ACEOF
56436 if ac_fn_cxx_try_compile "$LINENO"; then :
56437 glibcxx_cv_func_log10l_use=yes
56438 else
56439 glibcxx_cv_func_log10l_use=no
56440 fi
56441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56442 ac_ext=c
56443 ac_cpp='$CPP $CPPFLAGS'
56444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56447
56448
56449 fi
56450
56451 fi
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56453 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56454
56455 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56456 for ac_func in log10l
56457 do :
56458 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56459 if test "x$ac_cv_func_log10l" = x""yes; then :
56460 cat >>confdefs.h <<_ACEOF
56461 #define HAVE_LOG10L 1
56462 _ACEOF
56463
56464 fi
56465 done
56466
56467 else
56468
56469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56470 $as_echo_n "checking for _log10l declaration... " >&6; }
56471 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56472 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56473 $as_echo_n "(cached) " >&6
56474 else
56475
56476
56477 ac_ext=cpp
56478 ac_cpp='$CXXCPP $CPPFLAGS'
56479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56482
56483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56484 /* end confdefs.h. */
56485 #include <math.h>
56486 #ifdef HAVE_IEEEFP_H
56487 #include <ieeefp.h>
56488 #endif
56489
56490 int
56491 main ()
56492 {
56493 _log10l(0);
56494 ;
56495 return 0;
56496 }
56497 _ACEOF
56498 if ac_fn_cxx_try_compile "$LINENO"; then :
56499 glibcxx_cv_func__log10l_use=yes
56500 else
56501 glibcxx_cv_func__log10l_use=no
56502 fi
56503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56504 ac_ext=c
56505 ac_cpp='$CPP $CPPFLAGS'
56506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56509
56510
56511 fi
56512
56513 fi
56514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56515 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56516
56517 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56518 for ac_func in _log10l
56519 do :
56520 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56521 if test "x$ac_cv_func__log10l" = x""yes; then :
56522 cat >>confdefs.h <<_ACEOF
56523 #define HAVE__LOG10L 1
56524 _ACEOF
56525
56526 fi
56527 done
56528
56529 fi
56530 fi
56531
56532
56533
56534
56535
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56537 $as_echo_n "checking for modfl declaration... " >&6; }
56538 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56539 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56540 $as_echo_n "(cached) " >&6
56541 else
56542
56543
56544 ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56549
56550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h. */
56552 #include <math.h>
56553 int
56554 main ()
56555 {
56556 modfl(0, 0);
56557 ;
56558 return 0;
56559 }
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562 glibcxx_cv_func_modfl_use=yes
56563 else
56564 glibcxx_cv_func_modfl_use=no
56565 fi
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567 ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56572
56573
56574 fi
56575
56576 fi
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56578 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56579
56580 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56581 for ac_func in modfl
56582 do :
56583 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56584 if test "x$ac_cv_func_modfl" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE_MODFL 1
56587 _ACEOF
56588
56589 fi
56590 done
56591
56592 else
56593
56594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56595 $as_echo_n "checking for _modfl declaration... " >&6; }
56596 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56597 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56598 $as_echo_n "(cached) " >&6
56599 else
56600
56601
56602 ac_ext=cpp
56603 ac_cpp='$CXXCPP $CPPFLAGS'
56604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56607
56608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56609 /* end confdefs.h. */
56610 #include <math.h>
56611 int
56612 main ()
56613 {
56614 _modfl(0, 0);
56615 ;
56616 return 0;
56617 }
56618 _ACEOF
56619 if ac_fn_cxx_try_compile "$LINENO"; then :
56620 glibcxx_cv_func__modfl_use=yes
56621 else
56622 glibcxx_cv_func__modfl_use=no
56623 fi
56624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56625 ac_ext=c
56626 ac_cpp='$CPP $CPPFLAGS'
56627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56630
56631
56632 fi
56633
56634 fi
56635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56636 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56637
56638 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56639 for ac_func in _modfl
56640 do :
56641 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56642 if test "x$ac_cv_func__modfl" = x""yes; then :
56643 cat >>confdefs.h <<_ACEOF
56644 #define HAVE__MODFL 1
56645 _ACEOF
56646
56647 fi
56648 done
56649
56650 fi
56651 fi
56652
56653
56654
56655
56656
56657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56658 $as_echo_n "checking for powl declaration... " >&6; }
56659 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56660 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56661 $as_echo_n "(cached) " >&6
56662 else
56663
56664
56665 ac_ext=cpp
56666 ac_cpp='$CXXCPP $CPPFLAGS'
56667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56670
56671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56672 /* end confdefs.h. */
56673 #include <math.h>
56674 int
56675 main ()
56676 {
56677 powl(0, 0);
56678 ;
56679 return 0;
56680 }
56681 _ACEOF
56682 if ac_fn_cxx_try_compile "$LINENO"; then :
56683 glibcxx_cv_func_powl_use=yes
56684 else
56685 glibcxx_cv_func_powl_use=no
56686 fi
56687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56688 ac_ext=c
56689 ac_cpp='$CPP $CPPFLAGS'
56690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56693
56694
56695 fi
56696
56697 fi
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56699 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56700
56701 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56702 for ac_func in powl
56703 do :
56704 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56705 if test "x$ac_cv_func_powl" = x""yes; then :
56706 cat >>confdefs.h <<_ACEOF
56707 #define HAVE_POWL 1
56708 _ACEOF
56709
56710 fi
56711 done
56712
56713 else
56714
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56716 $as_echo_n "checking for _powl declaration... " >&6; }
56717 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56718 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56719 $as_echo_n "(cached) " >&6
56720 else
56721
56722
56723 ac_ext=cpp
56724 ac_cpp='$CXXCPP $CPPFLAGS'
56725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56728
56729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56730 /* end confdefs.h. */
56731 #include <math.h>
56732 int
56733 main ()
56734 {
56735 _powl(0, 0);
56736 ;
56737 return 0;
56738 }
56739 _ACEOF
56740 if ac_fn_cxx_try_compile "$LINENO"; then :
56741 glibcxx_cv_func__powl_use=yes
56742 else
56743 glibcxx_cv_func__powl_use=no
56744 fi
56745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56746 ac_ext=c
56747 ac_cpp='$CPP $CPPFLAGS'
56748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56751
56752
56753 fi
56754
56755 fi
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56757 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56758
56759 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56760 for ac_func in _powl
56761 do :
56762 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56763 if test "x$ac_cv_func__powl" = x""yes; then :
56764 cat >>confdefs.h <<_ACEOF
56765 #define HAVE__POWL 1
56766 _ACEOF
56767
56768 fi
56769 done
56770
56771 fi
56772 fi
56773
56774
56775
56776
56777
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56779 $as_echo_n "checking for sqrtl declaration... " >&6; }
56780 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56781 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56782 $as_echo_n "(cached) " >&6
56783 else
56784
56785
56786 ac_ext=cpp
56787 ac_cpp='$CXXCPP $CPPFLAGS'
56788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56791
56792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56793 /* end confdefs.h. */
56794 #include <math.h>
56795 #ifdef HAVE_IEEEFP_H
56796 #include <ieeefp.h>
56797 #endif
56798
56799 int
56800 main ()
56801 {
56802 sqrtl(0);
56803 ;
56804 return 0;
56805 }
56806 _ACEOF
56807 if ac_fn_cxx_try_compile "$LINENO"; then :
56808 glibcxx_cv_func_sqrtl_use=yes
56809 else
56810 glibcxx_cv_func_sqrtl_use=no
56811 fi
56812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56813 ac_ext=c
56814 ac_cpp='$CPP $CPPFLAGS'
56815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56818
56819
56820 fi
56821
56822 fi
56823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56824 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56825
56826 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56827 for ac_func in sqrtl
56828 do :
56829 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56830 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56831 cat >>confdefs.h <<_ACEOF
56832 #define HAVE_SQRTL 1
56833 _ACEOF
56834
56835 fi
56836 done
56837
56838 else
56839
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56841 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56842 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56843 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56844 $as_echo_n "(cached) " >&6
56845 else
56846
56847
56848 ac_ext=cpp
56849 ac_cpp='$CXXCPP $CPPFLAGS'
56850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56853
56854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56855 /* end confdefs.h. */
56856 #include <math.h>
56857 #ifdef HAVE_IEEEFP_H
56858 #include <ieeefp.h>
56859 #endif
56860
56861 int
56862 main ()
56863 {
56864 _sqrtl(0);
56865 ;
56866 return 0;
56867 }
56868 _ACEOF
56869 if ac_fn_cxx_try_compile "$LINENO"; then :
56870 glibcxx_cv_func__sqrtl_use=yes
56871 else
56872 glibcxx_cv_func__sqrtl_use=no
56873 fi
56874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56875 ac_ext=c
56876 ac_cpp='$CPP $CPPFLAGS'
56877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56880
56881
56882 fi
56883
56884 fi
56885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56886 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56887
56888 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56889 for ac_func in _sqrtl
56890 do :
56891 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56892 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56893 cat >>confdefs.h <<_ACEOF
56894 #define HAVE__SQRTL 1
56895 _ACEOF
56896
56897 fi
56898 done
56899
56900 fi
56901 fi
56902
56903
56904
56905
56906
56907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56908 $as_echo_n "checking for sincosl declaration... " >&6; }
56909 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56910 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56911 $as_echo_n "(cached) " >&6
56912 else
56913
56914
56915 ac_ext=cpp
56916 ac_cpp='$CXXCPP $CPPFLAGS'
56917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56920
56921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56922 /* end confdefs.h. */
56923 #include <math.h>
56924 int
56925 main ()
56926 {
56927 sincosl(0, 0, 0);
56928 ;
56929 return 0;
56930 }
56931 _ACEOF
56932 if ac_fn_cxx_try_compile "$LINENO"; then :
56933 glibcxx_cv_func_sincosl_use=yes
56934 else
56935 glibcxx_cv_func_sincosl_use=no
56936 fi
56937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56938 ac_ext=c
56939 ac_cpp='$CPP $CPPFLAGS'
56940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56943
56944
56945 fi
56946
56947 fi
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56949 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56950
56951 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56952 for ac_func in sincosl
56953 do :
56954 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56955 if test "x$ac_cv_func_sincosl" = x""yes; then :
56956 cat >>confdefs.h <<_ACEOF
56957 #define HAVE_SINCOSL 1
56958 _ACEOF
56959
56960 fi
56961 done
56962
56963 else
56964
56965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56966 $as_echo_n "checking for _sincosl declaration... " >&6; }
56967 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56968 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56969 $as_echo_n "(cached) " >&6
56970 else
56971
56972
56973 ac_ext=cpp
56974 ac_cpp='$CXXCPP $CPPFLAGS'
56975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56978
56979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56980 /* end confdefs.h. */
56981 #include <math.h>
56982 int
56983 main ()
56984 {
56985 _sincosl(0, 0, 0);
56986 ;
56987 return 0;
56988 }
56989 _ACEOF
56990 if ac_fn_cxx_try_compile "$LINENO"; then :
56991 glibcxx_cv_func__sincosl_use=yes
56992 else
56993 glibcxx_cv_func__sincosl_use=no
56994 fi
56995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56996 ac_ext=c
56997 ac_cpp='$CPP $CPPFLAGS'
56998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57001
57002
57003 fi
57004
57005 fi
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57007 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57008
57009 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57010 for ac_func in _sincosl
57011 do :
57012 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57013 if test "x$ac_cv_func__sincosl" = x""yes; then :
57014 cat >>confdefs.h <<_ACEOF
57015 #define HAVE__SINCOSL 1
57016 _ACEOF
57017
57018 fi
57019 done
57020
57021 fi
57022 fi
57023
57024
57025
57026
57027
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57029 $as_echo_n "checking for finitel declaration... " >&6; }
57030 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57031 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57032 $as_echo_n "(cached) " >&6
57033 else
57034
57035
57036 ac_ext=cpp
57037 ac_cpp='$CXXCPP $CPPFLAGS'
57038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57041
57042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57043 /* end confdefs.h. */
57044 #include <math.h>
57045 #ifdef HAVE_IEEEFP_H
57046 #include <ieeefp.h>
57047 #endif
57048
57049 int
57050 main ()
57051 {
57052 finitel(0);
57053 ;
57054 return 0;
57055 }
57056 _ACEOF
57057 if ac_fn_cxx_try_compile "$LINENO"; then :
57058 glibcxx_cv_func_finitel_use=yes
57059 else
57060 glibcxx_cv_func_finitel_use=no
57061 fi
57062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57063 ac_ext=c
57064 ac_cpp='$CPP $CPPFLAGS'
57065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57068
57069
57070 fi
57071
57072 fi
57073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57074 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57075
57076 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57077 for ac_func in finitel
57078 do :
57079 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57080 if test "x$ac_cv_func_finitel" = x""yes; then :
57081 cat >>confdefs.h <<_ACEOF
57082 #define HAVE_FINITEL 1
57083 _ACEOF
57084
57085 fi
57086 done
57087
57088 else
57089
57090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57091 $as_echo_n "checking for _finitel declaration... " >&6; }
57092 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57093 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57094 $as_echo_n "(cached) " >&6
57095 else
57096
57097
57098 ac_ext=cpp
57099 ac_cpp='$CXXCPP $CPPFLAGS'
57100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57103
57104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57105 /* end confdefs.h. */
57106 #include <math.h>
57107 #ifdef HAVE_IEEEFP_H
57108 #include <ieeefp.h>
57109 #endif
57110
57111 int
57112 main ()
57113 {
57114 _finitel(0);
57115 ;
57116 return 0;
57117 }
57118 _ACEOF
57119 if ac_fn_cxx_try_compile "$LINENO"; then :
57120 glibcxx_cv_func__finitel_use=yes
57121 else
57122 glibcxx_cv_func__finitel_use=no
57123 fi
57124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57125 ac_ext=c
57126 ac_cpp='$CPP $CPPFLAGS'
57127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57130
57131
57132 fi
57133
57134 fi
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57136 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57137
57138 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57139 for ac_func in _finitel
57140 do :
57141 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57142 if test "x$ac_cv_func__finitel" = x""yes; then :
57143 cat >>confdefs.h <<_ACEOF
57144 #define HAVE__FINITEL 1
57145 _ACEOF
57146
57147 fi
57148 done
57149
57150 fi
57151 fi
57152
57153
57154
57155
57156 LIBS="$ac_save_LIBS"
57157 CXXFLAGS="$ac_save_CXXFLAGS"
57158
57159
57160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57161 ac_save_CXXFLAGS="$CXXFLAGS"
57162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57163
57164
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57166 $as_echo_n "checking for strtold declaration... " >&6; }
57167 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57168 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57169 $as_echo_n "(cached) " >&6
57170 else
57171
57172
57173 ac_ext=cpp
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57178
57179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57180 /* end confdefs.h. */
57181 #include <stdlib.h>
57182 int
57183 main ()
57184 {
57185 strtold(0, 0);
57186 ;
57187 return 0;
57188 }
57189 _ACEOF
57190 if ac_fn_cxx_try_compile "$LINENO"; then :
57191 glibcxx_cv_func_strtold_use=yes
57192 else
57193 glibcxx_cv_func_strtold_use=no
57194 fi
57195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57196 ac_ext=c
57197 ac_cpp='$CPP $CPPFLAGS'
57198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57201
57202
57203 fi
57204
57205 fi
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57207 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57208 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57209 for ac_func in strtold
57210 do :
57211 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57212 if test "x$ac_cv_func_strtold" = x""yes; then :
57213 cat >>confdefs.h <<_ACEOF
57214 #define HAVE_STRTOLD 1
57215 _ACEOF
57216
57217 fi
57218 done
57219
57220 fi
57221
57222
57223
57224
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57226 $as_echo_n "checking for strtof declaration... " >&6; }
57227 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57228 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57229 $as_echo_n "(cached) " >&6
57230 else
57231
57232
57233 ac_ext=cpp
57234 ac_cpp='$CXXCPP $CPPFLAGS'
57235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57238
57239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57240 /* end confdefs.h. */
57241 #include <stdlib.h>
57242 int
57243 main ()
57244 {
57245 strtof(0, 0);
57246 ;
57247 return 0;
57248 }
57249 _ACEOF
57250 if ac_fn_cxx_try_compile "$LINENO"; then :
57251 glibcxx_cv_func_strtof_use=yes
57252 else
57253 glibcxx_cv_func_strtof_use=no
57254 fi
57255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57256 ac_ext=c
57257 ac_cpp='$CPP $CPPFLAGS'
57258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57261
57262
57263 fi
57264
57265 fi
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57267 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57268 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57269 for ac_func in strtof
57270 do :
57271 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57272 if test "x$ac_cv_func_strtof" = x""yes; then :
57273 cat >>confdefs.h <<_ACEOF
57274 #define HAVE_STRTOF 1
57275 _ACEOF
57276
57277 fi
57278 done
57279
57280 fi
57281
57282
57283
57284
57285 CXXFLAGS="$ac_save_CXXFLAGS"
57286
57287 ;;
57288 *-netbsd*)
57289 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57290
57291
57292 # If we're not using GNU ld, then there's no point in even trying these
57293 # tests. Check for that first. We should have already tested for gld
57294 # by now (in libtool), but require it now just to be safe...
57295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57297
57298
57299
57300 # The name set by libtool depends on the version of libtool. Shame on us
57301 # for depending on an impl detail, but c'est la vie. Older versions used
57302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57305 # set (hence we're using an older libtool), then set it.
57306 if test x${with_gnu_ld+set} != xset; then
57307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57309 with_gnu_ld=no
57310 else
57311 with_gnu_ld=$ac_cv_prog_gnu_ld
57312 fi
57313 fi
57314
57315 # Start by getting the version number. I think the libtool test already
57316 # does some of this, but throws away the result.
57317 glibcxx_ld_is_gold=no
57318 if test x"$with_gnu_ld" = x"yes"; then
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57320 $as_echo_n "checking for ld version... " >&6; }
57321
57322 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57323 glibcxx_ld_is_gold=yes
57324 fi
57325 ldver=`$LD --version 2>/dev/null |
57326 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'`
57327
57328 glibcxx_gnu_ld_version=`echo $ldver | \
57329 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57331 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57332 fi
57333
57334 # Set --gc-sections.
57335 glibcxx_have_gc_sections=no
57336 if test "$glibcxx_ld_is_gold" = "yes"; then
57337 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57338 glibcxx_have_gc_sections=yes
57339 fi
57340 else
57341 glibcxx_gcsections_min_ld=21602
57342 if test x"$with_gnu_ld" = x"yes" &&
57343 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57344 glibcxx_have_gc_sections=yes
57345 fi
57346 fi
57347 if test "$glibcxx_have_gc_sections" = "yes"; then
57348 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57349 # NB: This flag only works reliably after 2.16.1. Configure tests
57350 # for this are difficult, so hard wire a value that should work.
57351
57352 ac_test_CFLAGS="${CFLAGS+set}"
57353 ac_save_CFLAGS="$CFLAGS"
57354 CFLAGS='-Wl,--gc-sections'
57355
57356 # Check for -Wl,--gc-sections
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57358 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57359 if test x$gcc_no_link = xyes; then
57360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57361 fi
57362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57363 /* end confdefs.h. */
57364 int one(void) { return 1; }
57365 int two(void) { return 2; }
57366
57367 int
57368 main ()
57369 {
57370 two();
57371 ;
57372 return 0;
57373 }
57374 _ACEOF
57375 if ac_fn_c_try_link "$LINENO"; then :
57376 ac_gcsections=yes
57377 else
57378 ac_gcsections=no
57379 fi
57380 rm -f core conftest.err conftest.$ac_objext \
57381 conftest$ac_exeext conftest.$ac_ext
57382 if test "$ac_gcsections" = "yes"; then
57383 rm -f conftest.c
57384 touch conftest.c
57385 if $CC -c conftest.c; then
57386 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57387 grep "Warning: gc-sections option ignored" > /dev/null; then
57388 ac_gcsections=no
57389 fi
57390 fi
57391 rm -f conftest.c conftest.o conftest
57392 fi
57393 if test "$ac_gcsections" = "yes"; then
57394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57395 fi
57396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57397 $as_echo "$ac_gcsections" >&6; }
57398
57399 if test "$ac_test_CFLAGS" = set; then
57400 CFLAGS="$ac_save_CFLAGS"
57401 else
57402 # this is the suspicious part
57403 CFLAGS=''
57404 fi
57405 fi
57406
57407 # Set -z,relro.
57408 # Note this is only for shared objects.
57409 ac_ld_relro=no
57410 if test x"$with_gnu_ld" = x"yes"; then
57411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57412 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57413 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57414 if test -n "$cxx_z_relo"; then
57415 OPT_LDFLAGS="-Wl,-z,relro"
57416 ac_ld_relro=yes
57417 fi
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57419 $as_echo "$ac_ld_relro" >&6; }
57420 fi
57421
57422 # Set linker optimization flags.
57423 if test x"$with_gnu_ld" = x"yes"; then
57424 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57425 fi
57426
57427
57428
57429
57430 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57431
57432 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57433
57434 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57435
57436 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57437
57438 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57439
57440 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57441
57442 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57443
57444 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57445
57446 if test x"long_double_math_on_this_cpu" = x"yes"; then
57447 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57448
57449 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57450
57451 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57452
57453 fi
57454 ;;
57455 *-qnx6.1* | *-qnx6.2*)
57456 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57457
57458
57459 # If we're not using GNU ld, then there's no point in even trying these
57460 # tests. Check for that first. We should have already tested for gld
57461 # by now (in libtool), but require it now just to be safe...
57462 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57463 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57464
57465
57466
57467 # The name set by libtool depends on the version of libtool. Shame on us
57468 # for depending on an impl detail, but c'est la vie. Older versions used
57469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57472 # set (hence we're using an older libtool), then set it.
57473 if test x${with_gnu_ld+set} != xset; then
57474 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57475 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57476 with_gnu_ld=no
57477 else
57478 with_gnu_ld=$ac_cv_prog_gnu_ld
57479 fi
57480 fi
57481
57482 # Start by getting the version number. I think the libtool test already
57483 # does some of this, but throws away the result.
57484 glibcxx_ld_is_gold=no
57485 if test x"$with_gnu_ld" = x"yes"; then
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57487 $as_echo_n "checking for ld version... " >&6; }
57488
57489 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57490 glibcxx_ld_is_gold=yes
57491 fi
57492 ldver=`$LD --version 2>/dev/null |
57493 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'`
57494
57495 glibcxx_gnu_ld_version=`echo $ldver | \
57496 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57498 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57499 fi
57500
57501 # Set --gc-sections.
57502 glibcxx_have_gc_sections=no
57503 if test "$glibcxx_ld_is_gold" = "yes"; then
57504 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57505 glibcxx_have_gc_sections=yes
57506 fi
57507 else
57508 glibcxx_gcsections_min_ld=21602
57509 if test x"$with_gnu_ld" = x"yes" &&
57510 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57511 glibcxx_have_gc_sections=yes
57512 fi
57513 fi
57514 if test "$glibcxx_have_gc_sections" = "yes"; then
57515 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57516 # NB: This flag only works reliably after 2.16.1. Configure tests
57517 # for this are difficult, so hard wire a value that should work.
57518
57519 ac_test_CFLAGS="${CFLAGS+set}"
57520 ac_save_CFLAGS="$CFLAGS"
57521 CFLAGS='-Wl,--gc-sections'
57522
57523 # Check for -Wl,--gc-sections
57524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57525 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57526 if test x$gcc_no_link = xyes; then
57527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57528 fi
57529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57530 /* end confdefs.h. */
57531 int one(void) { return 1; }
57532 int two(void) { return 2; }
57533
57534 int
57535 main ()
57536 {
57537 two();
57538 ;
57539 return 0;
57540 }
57541 _ACEOF
57542 if ac_fn_c_try_link "$LINENO"; then :
57543 ac_gcsections=yes
57544 else
57545 ac_gcsections=no
57546 fi
57547 rm -f core conftest.err conftest.$ac_objext \
57548 conftest$ac_exeext conftest.$ac_ext
57549 if test "$ac_gcsections" = "yes"; then
57550 rm -f conftest.c
57551 touch conftest.c
57552 if $CC -c conftest.c; then
57553 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57554 grep "Warning: gc-sections option ignored" > /dev/null; then
57555 ac_gcsections=no
57556 fi
57557 fi
57558 rm -f conftest.c conftest.o conftest
57559 fi
57560 if test "$ac_gcsections" = "yes"; then
57561 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57562 fi
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57564 $as_echo "$ac_gcsections" >&6; }
57565
57566 if test "$ac_test_CFLAGS" = set; then
57567 CFLAGS="$ac_save_CFLAGS"
57568 else
57569 # this is the suspicious part
57570 CFLAGS=''
57571 fi
57572 fi
57573
57574 # Set -z,relro.
57575 # Note this is only for shared objects.
57576 ac_ld_relro=no
57577 if test x"$with_gnu_ld" = x"yes"; then
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57579 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57580 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57581 if test -n "$cxx_z_relo"; then
57582 OPT_LDFLAGS="-Wl,-z,relro"
57583 ac_ld_relro=yes
57584 fi
57585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57586 $as_echo "$ac_ld_relro" >&6; }
57587 fi
57588
57589 # Set linker optimization flags.
57590 if test x"$with_gnu_ld" = x"yes"; then
57591 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57592 fi
57593
57594
57595
57596
57597 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57598
57599 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57600
57601 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57602
57603 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57604
57605 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57606
57607 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57608
57609 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57610
57611 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57612
57613 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57614
57615 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57616
57617 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57618
57619 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57620
57621 ;;
57622 *-rtems*)
57623
57624 # All these tests are for C++; save the language and the compiler flags.
57625 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57626 # found in GLIBCXX_CONFIGURE.
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 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57635 ac_save_CXXFLAGS="$CXXFLAGS"
57636
57637 # Check for maintainer-mode bits.
57638 if test x"$USE_MAINTAINER_MODE" = xno; then
57639 WERROR=''
57640 else
57641 WERROR='-Werror'
57642 fi
57643
57644 # Check for -ffunction-sections -fdata-sections
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57646 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57647 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57649 /* end confdefs.h. */
57650 int foo; void bar() { };
57651 int
57652 main ()
57653 {
57654
57655 ;
57656 return 0;
57657 }
57658 _ACEOF
57659 if ac_fn_cxx_try_compile "$LINENO"; then :
57660 ac_fdsections=yes
57661 else
57662 ac_fdsections=no
57663 fi
57664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57665 if test "$ac_test_CXXFLAGS" = set; then
57666 CXXFLAGS="$ac_save_CXXFLAGS"
57667 else
57668 # this is the suspicious part
57669 CXXFLAGS=''
57670 fi
57671 if test x"$ac_fdsections" = x"yes"; then
57672 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57673 fi
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57675 $as_echo "$ac_fdsections" >&6; }
57676
57677 ac_ext=c
57678 ac_cpp='$CPP $CPPFLAGS'
57679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57682
57683
57684
57685
57686
57687 # If we're not using GNU ld, then there's no point in even trying these
57688 # tests. Check for that first. We should have already tested for gld
57689 # by now (in libtool), but require it now just to be safe...
57690 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57691 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57692
57693
57694
57695 # The name set by libtool depends on the version of libtool. Shame on us
57696 # for depending on an impl detail, but c'est la vie. Older versions used
57697 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57698 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57699 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57700 # set (hence we're using an older libtool), then set it.
57701 if test x${with_gnu_ld+set} != xset; then
57702 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57703 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57704 with_gnu_ld=no
57705 else
57706 with_gnu_ld=$ac_cv_prog_gnu_ld
57707 fi
57708 fi
57709
57710 # Start by getting the version number. I think the libtool test already
57711 # does some of this, but throws away the result.
57712 glibcxx_ld_is_gold=no
57713 if test x"$with_gnu_ld" = x"yes"; then
57714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57715 $as_echo_n "checking for ld version... " >&6; }
57716
57717 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57718 glibcxx_ld_is_gold=yes
57719 fi
57720 ldver=`$LD --version 2>/dev/null |
57721 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'`
57722
57723 glibcxx_gnu_ld_version=`echo $ldver | \
57724 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57726 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57727 fi
57728
57729 # Set --gc-sections.
57730 glibcxx_have_gc_sections=no
57731 if test "$glibcxx_ld_is_gold" = "yes"; then
57732 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57733 glibcxx_have_gc_sections=yes
57734 fi
57735 else
57736 glibcxx_gcsections_min_ld=21602
57737 if test x"$with_gnu_ld" = x"yes" &&
57738 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57739 glibcxx_have_gc_sections=yes
57740 fi
57741 fi
57742 if test "$glibcxx_have_gc_sections" = "yes"; then
57743 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57744 # NB: This flag only works reliably after 2.16.1. Configure tests
57745 # for this are difficult, so hard wire a value that should work.
57746
57747 ac_test_CFLAGS="${CFLAGS+set}"
57748 ac_save_CFLAGS="$CFLAGS"
57749 CFLAGS='-Wl,--gc-sections'
57750
57751 # Check for -Wl,--gc-sections
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57753 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57754 if test x$gcc_no_link = xyes; then
57755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57756 fi
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 int one(void) { return 1; }
57760 int two(void) { return 2; }
57761
57762 int
57763 main ()
57764 {
57765 two();
57766 ;
57767 return 0;
57768 }
57769 _ACEOF
57770 if ac_fn_c_try_link "$LINENO"; then :
57771 ac_gcsections=yes
57772 else
57773 ac_gcsections=no
57774 fi
57775 rm -f core conftest.err conftest.$ac_objext \
57776 conftest$ac_exeext conftest.$ac_ext
57777 if test "$ac_gcsections" = "yes"; then
57778 rm -f conftest.c
57779 touch conftest.c
57780 if $CC -c conftest.c; then
57781 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57782 grep "Warning: gc-sections option ignored" > /dev/null; then
57783 ac_gcsections=no
57784 fi
57785 fi
57786 rm -f conftest.c conftest.o conftest
57787 fi
57788 if test "$ac_gcsections" = "yes"; then
57789 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57790 fi
57791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57792 $as_echo "$ac_gcsections" >&6; }
57793
57794 if test "$ac_test_CFLAGS" = set; then
57795 CFLAGS="$ac_save_CFLAGS"
57796 else
57797 # this is the suspicious part
57798 CFLAGS=''
57799 fi
57800 fi
57801
57802 # Set -z,relro.
57803 # Note this is only for shared objects.
57804 ac_ld_relro=no
57805 if test x"$with_gnu_ld" = x"yes"; then
57806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57807 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57808 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57809 if test -n "$cxx_z_relo"; then
57810 OPT_LDFLAGS="-Wl,-z,relro"
57811 ac_ld_relro=yes
57812 fi
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57814 $as_echo "$ac_ld_relro" >&6; }
57815 fi
57816
57817 # Set linker optimization flags.
57818 if test x"$with_gnu_ld" = x"yes"; then
57819 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57820 fi
57821
57822
57823
57824
57825
57826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57827 ac_save_CXXFLAGS="$CXXFLAGS"
57828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57829
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57831 $as_echo_n "checking for sin in -lm... " >&6; }
57832 if test "${ac_cv_lib_m_sin+set}" = set; then :
57833 $as_echo_n "(cached) " >&6
57834 else
57835 ac_check_lib_save_LIBS=$LIBS
57836 LIBS="-lm $LIBS"
57837 if test x$gcc_no_link = xyes; then
57838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57839 fi
57840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57841 /* end confdefs.h. */
57842
57843 /* Override any GCC internal prototype to avoid an error.
57844 Use char because int might match the return type of a GCC
57845 builtin and then its argument prototype would still apply. */
57846 #ifdef __cplusplus
57847 extern "C"
57848 #endif
57849 char sin ();
57850 int
57851 main ()
57852 {
57853 return sin ();
57854 ;
57855 return 0;
57856 }
57857 _ACEOF
57858 if ac_fn_c_try_link "$LINENO"; then :
57859 ac_cv_lib_m_sin=yes
57860 else
57861 ac_cv_lib_m_sin=no
57862 fi
57863 rm -f core conftest.err conftest.$ac_objext \
57864 conftest$ac_exeext conftest.$ac_ext
57865 LIBS=$ac_check_lib_save_LIBS
57866 fi
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57868 $as_echo "$ac_cv_lib_m_sin" >&6; }
57869 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57870 libm="-lm"
57871 fi
57872
57873 ac_save_LIBS="$LIBS"
57874 LIBS="$LIBS $libm"
57875
57876
57877
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57879 $as_echo_n "checking for isinf declaration... " >&6; }
57880 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57881 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57882 $as_echo_n "(cached) " >&6
57883 else
57884
57885
57886 ac_ext=cpp
57887 ac_cpp='$CXXCPP $CPPFLAGS'
57888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891
57892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57893 /* end confdefs.h. */
57894 #include <math.h>
57895 #ifdef HAVE_IEEEFP_H
57896 #include <ieeefp.h>
57897 #endif
57898
57899 int
57900 main ()
57901 {
57902 isinf(0);
57903 ;
57904 return 0;
57905 }
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func_isinf_use=yes
57909 else
57910 glibcxx_cv_func_isinf_use=no
57911 fi
57912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913 ac_ext=c
57914 ac_cpp='$CPP $CPPFLAGS'
57915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57918
57919
57920 fi
57921
57922 fi
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57924 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57925
57926 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57927 for ac_func in isinf
57928 do :
57929 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57930 if test "x$ac_cv_func_isinf" = x""yes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE_ISINF 1
57933 _ACEOF
57934
57935 fi
57936 done
57937
57938 else
57939
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57941 $as_echo_n "checking for _isinf declaration... " >&6; }
57942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57946
57947
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57953
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57957 #ifdef HAVE_IEEEFP_H
57958 #include <ieeefp.h>
57959 #endif
57960
57961 int
57962 main ()
57963 {
57964 _isinf(0);
57965 ;
57966 return 0;
57967 }
57968 _ACEOF
57969 if ac_fn_cxx_try_compile "$LINENO"; then :
57970 glibcxx_cv_func__isinf_use=yes
57971 else
57972 glibcxx_cv_func__isinf_use=no
57973 fi
57974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57975 ac_ext=c
57976 ac_cpp='$CPP $CPPFLAGS'
57977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57980
57981
57982 fi
57983
57984 fi
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57986 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57987
57988 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57989 for ac_func in _isinf
57990 do :
57991 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57992 if test "x$ac_cv_func__isinf" = x""yes; then :
57993 cat >>confdefs.h <<_ACEOF
57994 #define HAVE__ISINF 1
57995 _ACEOF
57996
57997 fi
57998 done
57999
58000 fi
58001 fi
58002
58003
58004
58005
58006
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58008 $as_echo_n "checking for isnan declaration... " >&6; }
58009 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58010 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58011 $as_echo_n "(cached) " >&6
58012 else
58013
58014
58015 ac_ext=cpp
58016 ac_cpp='$CXXCPP $CPPFLAGS'
58017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58020
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58023 #include <math.h>
58024 #ifdef HAVE_IEEEFP_H
58025 #include <ieeefp.h>
58026 #endif
58027
58028 int
58029 main ()
58030 {
58031 isnan(0);
58032 ;
58033 return 0;
58034 }
58035 _ACEOF
58036 if ac_fn_cxx_try_compile "$LINENO"; then :
58037 glibcxx_cv_func_isnan_use=yes
58038 else
58039 glibcxx_cv_func_isnan_use=no
58040 fi
58041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58042 ac_ext=c
58043 ac_cpp='$CPP $CPPFLAGS'
58044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58047
58048
58049 fi
58050
58051 fi
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58053 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58054
58055 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58056 for ac_func in isnan
58057 do :
58058 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58059 if test "x$ac_cv_func_isnan" = x""yes; then :
58060 cat >>confdefs.h <<_ACEOF
58061 #define HAVE_ISNAN 1
58062 _ACEOF
58063
58064 fi
58065 done
58066
58067 else
58068
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58070 $as_echo_n "checking for _isnan declaration... " >&6; }
58071 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58072 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58073 $as_echo_n "(cached) " >&6
58074 else
58075
58076
58077 ac_ext=cpp
58078 ac_cpp='$CXXCPP $CPPFLAGS'
58079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58082
58083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58084 /* end confdefs.h. */
58085 #include <math.h>
58086 #ifdef HAVE_IEEEFP_H
58087 #include <ieeefp.h>
58088 #endif
58089
58090 int
58091 main ()
58092 {
58093 _isnan(0);
58094 ;
58095 return 0;
58096 }
58097 _ACEOF
58098 if ac_fn_cxx_try_compile "$LINENO"; then :
58099 glibcxx_cv_func__isnan_use=yes
58100 else
58101 glibcxx_cv_func__isnan_use=no
58102 fi
58103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58104 ac_ext=c
58105 ac_cpp='$CPP $CPPFLAGS'
58106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58109
58110
58111 fi
58112
58113 fi
58114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58115 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58116
58117 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58118 for ac_func in _isnan
58119 do :
58120 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58121 if test "x$ac_cv_func__isnan" = x""yes; then :
58122 cat >>confdefs.h <<_ACEOF
58123 #define HAVE__ISNAN 1
58124 _ACEOF
58125
58126 fi
58127 done
58128
58129 fi
58130 fi
58131
58132
58133
58134
58135
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58137 $as_echo_n "checking for finite declaration... " >&6; }
58138 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58139 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58140 $as_echo_n "(cached) " >&6
58141 else
58142
58143
58144 ac_ext=cpp
58145 ac_cpp='$CXXCPP $CPPFLAGS'
58146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149
58150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58151 /* end confdefs.h. */
58152 #include <math.h>
58153 #ifdef HAVE_IEEEFP_H
58154 #include <ieeefp.h>
58155 #endif
58156
58157 int
58158 main ()
58159 {
58160 finite(0);
58161 ;
58162 return 0;
58163 }
58164 _ACEOF
58165 if ac_fn_cxx_try_compile "$LINENO"; then :
58166 glibcxx_cv_func_finite_use=yes
58167 else
58168 glibcxx_cv_func_finite_use=no
58169 fi
58170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58171 ac_ext=c
58172 ac_cpp='$CPP $CPPFLAGS'
58173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58176
58177
58178 fi
58179
58180 fi
58181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58182 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58183
58184 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58185 for ac_func in finite
58186 do :
58187 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58188 if test "x$ac_cv_func_finite" = x""yes; then :
58189 cat >>confdefs.h <<_ACEOF
58190 #define HAVE_FINITE 1
58191 _ACEOF
58192
58193 fi
58194 done
58195
58196 else
58197
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58199 $as_echo_n "checking for _finite declaration... " >&6; }
58200 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58201 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58202 $as_echo_n "(cached) " >&6
58203 else
58204
58205
58206 ac_ext=cpp
58207 ac_cpp='$CXXCPP $CPPFLAGS'
58208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58211
58212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58213 /* end confdefs.h. */
58214 #include <math.h>
58215 #ifdef HAVE_IEEEFP_H
58216 #include <ieeefp.h>
58217 #endif
58218
58219 int
58220 main ()
58221 {
58222 _finite(0);
58223 ;
58224 return 0;
58225 }
58226 _ACEOF
58227 if ac_fn_cxx_try_compile "$LINENO"; then :
58228 glibcxx_cv_func__finite_use=yes
58229 else
58230 glibcxx_cv_func__finite_use=no
58231 fi
58232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58233 ac_ext=c
58234 ac_cpp='$CPP $CPPFLAGS'
58235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58238
58239
58240 fi
58241
58242 fi
58243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58244 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58245
58246 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58247 for ac_func in _finite
58248 do :
58249 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58250 if test "x$ac_cv_func__finite" = x""yes; then :
58251 cat >>confdefs.h <<_ACEOF
58252 #define HAVE__FINITE 1
58253 _ACEOF
58254
58255 fi
58256 done
58257
58258 fi
58259 fi
58260
58261
58262
58263
58264
58265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58266 $as_echo_n "checking for sincos declaration... " >&6; }
58267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58268 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58269 $as_echo_n "(cached) " >&6
58270 else
58271
58272
58273 ac_ext=cpp
58274 ac_cpp='$CXXCPP $CPPFLAGS'
58275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58278
58279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58280 /* end confdefs.h. */
58281 #include <math.h>
58282 int
58283 main ()
58284 {
58285 sincos(0, 0, 0);
58286 ;
58287 return 0;
58288 }
58289 _ACEOF
58290 if ac_fn_cxx_try_compile "$LINENO"; then :
58291 glibcxx_cv_func_sincos_use=yes
58292 else
58293 glibcxx_cv_func_sincos_use=no
58294 fi
58295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58296 ac_ext=c
58297 ac_cpp='$CPP $CPPFLAGS'
58298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58301
58302
58303 fi
58304
58305 fi
58306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58307 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58308
58309 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58310 for ac_func in sincos
58311 do :
58312 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58313 if test "x$ac_cv_func_sincos" = x""yes; then :
58314 cat >>confdefs.h <<_ACEOF
58315 #define HAVE_SINCOS 1
58316 _ACEOF
58317
58318 fi
58319 done
58320
58321 else
58322
58323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58324 $as_echo_n "checking for _sincos declaration... " >&6; }
58325 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58326 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58327 $as_echo_n "(cached) " >&6
58328 else
58329
58330
58331 ac_ext=cpp
58332 ac_cpp='$CXXCPP $CPPFLAGS'
58333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58336
58337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58338 /* end confdefs.h. */
58339 #include <math.h>
58340 int
58341 main ()
58342 {
58343 _sincos(0, 0, 0);
58344 ;
58345 return 0;
58346 }
58347 _ACEOF
58348 if ac_fn_cxx_try_compile "$LINENO"; then :
58349 glibcxx_cv_func__sincos_use=yes
58350 else
58351 glibcxx_cv_func__sincos_use=no
58352 fi
58353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58354 ac_ext=c
58355 ac_cpp='$CPP $CPPFLAGS'
58356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58359
58360
58361 fi
58362
58363 fi
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58365 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58366
58367 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58368 for ac_func in _sincos
58369 do :
58370 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58371 if test "x$ac_cv_func__sincos" = x""yes; then :
58372 cat >>confdefs.h <<_ACEOF
58373 #define HAVE__SINCOS 1
58374 _ACEOF
58375
58376 fi
58377 done
58378
58379 fi
58380 fi
58381
58382
58383
58384
58385
58386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58387 $as_echo_n "checking for fpclass declaration... " >&6; }
58388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58389 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58390 $as_echo_n "(cached) " >&6
58391 else
58392
58393
58394 ac_ext=cpp
58395 ac_cpp='$CXXCPP $CPPFLAGS'
58396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58399
58400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58401 /* end confdefs.h. */
58402 #include <math.h>
58403 #ifdef HAVE_IEEEFP_H
58404 #include <ieeefp.h>
58405 #endif
58406
58407 int
58408 main ()
58409 {
58410 fpclass(0);
58411 ;
58412 return 0;
58413 }
58414 _ACEOF
58415 if ac_fn_cxx_try_compile "$LINENO"; then :
58416 glibcxx_cv_func_fpclass_use=yes
58417 else
58418 glibcxx_cv_func_fpclass_use=no
58419 fi
58420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58421 ac_ext=c
58422 ac_cpp='$CPP $CPPFLAGS'
58423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58426
58427
58428 fi
58429
58430 fi
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58432 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58433
58434 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58435 for ac_func in fpclass
58436 do :
58437 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58438 if test "x$ac_cv_func_fpclass" = x""yes; then :
58439 cat >>confdefs.h <<_ACEOF
58440 #define HAVE_FPCLASS 1
58441 _ACEOF
58442
58443 fi
58444 done
58445
58446 else
58447
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58449 $as_echo_n "checking for _fpclass declaration... " >&6; }
58450 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58451 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58452 $as_echo_n "(cached) " >&6
58453 else
58454
58455
58456 ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58461
58462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h. */
58464 #include <math.h>
58465 #ifdef HAVE_IEEEFP_H
58466 #include <ieeefp.h>
58467 #endif
58468
58469 int
58470 main ()
58471 {
58472 _fpclass(0);
58473 ;
58474 return 0;
58475 }
58476 _ACEOF
58477 if ac_fn_cxx_try_compile "$LINENO"; then :
58478 glibcxx_cv_func__fpclass_use=yes
58479 else
58480 glibcxx_cv_func__fpclass_use=no
58481 fi
58482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58483 ac_ext=c
58484 ac_cpp='$CPP $CPPFLAGS'
58485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58488
58489
58490 fi
58491
58492 fi
58493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58494 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58495
58496 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58497 for ac_func in _fpclass
58498 do :
58499 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58500 if test "x$ac_cv_func__fpclass" = x""yes; then :
58501 cat >>confdefs.h <<_ACEOF
58502 #define HAVE__FPCLASS 1
58503 _ACEOF
58504
58505 fi
58506 done
58507
58508 fi
58509 fi
58510
58511
58512
58513
58514
58515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58516 $as_echo_n "checking for qfpclass declaration... " >&6; }
58517 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58518 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58519 $as_echo_n "(cached) " >&6
58520 else
58521
58522
58523 ac_ext=cpp
58524 ac_cpp='$CXXCPP $CPPFLAGS'
58525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58528
58529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58530 /* end confdefs.h. */
58531 #include <math.h>
58532 #ifdef HAVE_IEEEFP_H
58533 #include <ieeefp.h>
58534 #endif
58535
58536 int
58537 main ()
58538 {
58539 qfpclass(0);
58540 ;
58541 return 0;
58542 }
58543 _ACEOF
58544 if ac_fn_cxx_try_compile "$LINENO"; then :
58545 glibcxx_cv_func_qfpclass_use=yes
58546 else
58547 glibcxx_cv_func_qfpclass_use=no
58548 fi
58549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58550 ac_ext=c
58551 ac_cpp='$CPP $CPPFLAGS'
58552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58555
58556
58557 fi
58558
58559 fi
58560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58561 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58562
58563 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58564 for ac_func in qfpclass
58565 do :
58566 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58567 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58568 cat >>confdefs.h <<_ACEOF
58569 #define HAVE_QFPCLASS 1
58570 _ACEOF
58571
58572 fi
58573 done
58574
58575 else
58576
58577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58578 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58579 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58580 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58581 $as_echo_n "(cached) " >&6
58582 else
58583
58584
58585 ac_ext=cpp
58586 ac_cpp='$CXXCPP $CPPFLAGS'
58587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58590
58591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58592 /* end confdefs.h. */
58593 #include <math.h>
58594 #ifdef HAVE_IEEEFP_H
58595 #include <ieeefp.h>
58596 #endif
58597
58598 int
58599 main ()
58600 {
58601 _qfpclass(0);
58602 ;
58603 return 0;
58604 }
58605 _ACEOF
58606 if ac_fn_cxx_try_compile "$LINENO"; then :
58607 glibcxx_cv_func__qfpclass_use=yes
58608 else
58609 glibcxx_cv_func__qfpclass_use=no
58610 fi
58611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58612 ac_ext=c
58613 ac_cpp='$CPP $CPPFLAGS'
58614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58617
58618
58619 fi
58620
58621 fi
58622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58623 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58624
58625 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58626 for ac_func in _qfpclass
58627 do :
58628 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58629 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58630 cat >>confdefs.h <<_ACEOF
58631 #define HAVE__QFPCLASS 1
58632 _ACEOF
58633
58634 fi
58635 done
58636
58637 fi
58638 fi
58639
58640
58641
58642
58643
58644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58645 $as_echo_n "checking for hypot declaration... " >&6; }
58646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58647 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58648 $as_echo_n "(cached) " >&6
58649 else
58650
58651
58652 ac_ext=cpp
58653 ac_cpp='$CXXCPP $CPPFLAGS'
58654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58657
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 #include <math.h>
58661 int
58662 main ()
58663 {
58664 hypot(0, 0);
58665 ;
58666 return 0;
58667 }
58668 _ACEOF
58669 if ac_fn_cxx_try_compile "$LINENO"; then :
58670 glibcxx_cv_func_hypot_use=yes
58671 else
58672 glibcxx_cv_func_hypot_use=no
58673 fi
58674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58675 ac_ext=c
58676 ac_cpp='$CPP $CPPFLAGS'
58677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58680
58681
58682 fi
58683
58684 fi
58685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58686 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58687
58688 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58689 for ac_func in hypot
58690 do :
58691 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58692 if test "x$ac_cv_func_hypot" = x""yes; then :
58693 cat >>confdefs.h <<_ACEOF
58694 #define HAVE_HYPOT 1
58695 _ACEOF
58696
58697 fi
58698 done
58699
58700 else
58701
58702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58703 $as_echo_n "checking for _hypot declaration... " >&6; }
58704 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58705 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58706 $as_echo_n "(cached) " >&6
58707 else
58708
58709
58710 ac_ext=cpp
58711 ac_cpp='$CXXCPP $CPPFLAGS'
58712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58715
58716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58717 /* end confdefs.h. */
58718 #include <math.h>
58719 int
58720 main ()
58721 {
58722 _hypot(0, 0);
58723 ;
58724 return 0;
58725 }
58726 _ACEOF
58727 if ac_fn_cxx_try_compile "$LINENO"; then :
58728 glibcxx_cv_func__hypot_use=yes
58729 else
58730 glibcxx_cv_func__hypot_use=no
58731 fi
58732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58733 ac_ext=c
58734 ac_cpp='$CPP $CPPFLAGS'
58735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58738
58739
58740 fi
58741
58742 fi
58743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58744 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58745
58746 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58747 for ac_func in _hypot
58748 do :
58749 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58750 if test "x$ac_cv_func__hypot" = x""yes; then :
58751 cat >>confdefs.h <<_ACEOF
58752 #define HAVE__HYPOT 1
58753 _ACEOF
58754
58755 fi
58756 done
58757
58758 fi
58759 fi
58760
58761
58762
58763
58764
58765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58766 $as_echo_n "checking for float trig functions... " >&6; }
58767 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58768 $as_echo_n "(cached) " >&6
58769 else
58770
58771
58772 ac_ext=cpp
58773 ac_cpp='$CXXCPP $CPPFLAGS'
58774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58777
58778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58779 /* end confdefs.h. */
58780 #include <math.h>
58781 int
58782 main ()
58783 {
58784 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58785 ;
58786 return 0;
58787 }
58788 _ACEOF
58789 if ac_fn_cxx_try_compile "$LINENO"; then :
58790 glibcxx_cv_func_float_trig_use=yes
58791 else
58792 glibcxx_cv_func_float_trig_use=no
58793 fi
58794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58795 ac_ext=c
58796 ac_cpp='$CPP $CPPFLAGS'
58797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58800
58801 fi
58802
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58804 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58805 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58807 do :
58808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58810 eval as_val=\$$as_ac_var
58811 if test "x$as_val" = x""yes; then :
58812 cat >>confdefs.h <<_ACEOF
58813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58814 _ACEOF
58815
58816 fi
58817 done
58818
58819 else
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58821 $as_echo_n "checking for _float trig functions... " >&6; }
58822 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58823 $as_echo_n "(cached) " >&6
58824 else
58825
58826
58827 ac_ext=cpp
58828 ac_cpp='$CXXCPP $CPPFLAGS'
58829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58832
58833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58834 /* end confdefs.h. */
58835 #include <math.h>
58836 int
58837 main ()
58838 {
58839 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58840 ;
58841 return 0;
58842 }
58843 _ACEOF
58844 if ac_fn_cxx_try_compile "$LINENO"; then :
58845 glibcxx_cv_func__float_trig_use=yes
58846 else
58847 glibcxx_cv_func__float_trig_use=no
58848 fi
58849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58850 ac_ext=c
58851 ac_cpp='$CPP $CPPFLAGS'
58852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58855
58856 fi
58857
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58859 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58860 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58861 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58862 do :
58863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58865 eval as_val=\$$as_ac_var
58866 if test "x$as_val" = x""yes; then :
58867 cat >>confdefs.h <<_ACEOF
58868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58869 _ACEOF
58870
58871 fi
58872 done
58873
58874 fi
58875 fi
58876
58877
58878
58879
58880
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58882 $as_echo_n "checking for float round functions... " >&6; }
58883 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58884 $as_echo_n "(cached) " >&6
58885 else
58886
58887
58888 ac_ext=cpp
58889 ac_cpp='$CXXCPP $CPPFLAGS'
58890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58893
58894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58895 /* end confdefs.h. */
58896 #include <math.h>
58897 int
58898 main ()
58899 {
58900 ceilf (0); floorf (0);
58901 ;
58902 return 0;
58903 }
58904 _ACEOF
58905 if ac_fn_cxx_try_compile "$LINENO"; then :
58906 glibcxx_cv_func_float_round_use=yes
58907 else
58908 glibcxx_cv_func_float_round_use=no
58909 fi
58910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58911 ac_ext=c
58912 ac_cpp='$CPP $CPPFLAGS'
58913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58916
58917 fi
58918
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58920 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58921 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58922 for ac_func in ceilf floorf
58923 do :
58924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58926 eval as_val=\$$as_ac_var
58927 if test "x$as_val" = x""yes; then :
58928 cat >>confdefs.h <<_ACEOF
58929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58930 _ACEOF
58931
58932 fi
58933 done
58934
58935 else
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58937 $as_echo_n "checking for _float round functions... " >&6; }
58938 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58941
58942
58943 ac_ext=cpp
58944 ac_cpp='$CXXCPP $CPPFLAGS'
58945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58948
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h. */
58951 #include <math.h>
58952 int
58953 main ()
58954 {
58955 _ceilf (0); _floorf (0);
58956 ;
58957 return 0;
58958 }
58959 _ACEOF
58960 if ac_fn_cxx_try_compile "$LINENO"; then :
58961 glibcxx_cv_func__float_round_use=yes
58962 else
58963 glibcxx_cv_func__float_round_use=no
58964 fi
58965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58966 ac_ext=c
58967 ac_cpp='$CPP $CPPFLAGS'
58968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58971
58972 fi
58973
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58975 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58976 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58977 for ac_func in _ceilf _floorf
58978 do :
58979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58981 eval as_val=\$$as_ac_var
58982 if test "x$as_val" = x""yes; then :
58983 cat >>confdefs.h <<_ACEOF
58984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 _ACEOF
58986
58987 fi
58988 done
58989
58990 fi
58991 fi
58992
58993
58994
58995
58996
58997
58998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58999 $as_echo_n "checking for expf declaration... " >&6; }
59000 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59001 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59002 $as_echo_n "(cached) " >&6
59003 else
59004
59005
59006 ac_ext=cpp
59007 ac_cpp='$CXXCPP $CPPFLAGS'
59008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59011
59012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59013 /* end confdefs.h. */
59014 #include <math.h>
59015 #ifdef HAVE_IEEEFP_H
59016 #include <ieeefp.h>
59017 #endif
59018
59019 int
59020 main ()
59021 {
59022 expf(0);
59023 ;
59024 return 0;
59025 }
59026 _ACEOF
59027 if ac_fn_cxx_try_compile "$LINENO"; then :
59028 glibcxx_cv_func_expf_use=yes
59029 else
59030 glibcxx_cv_func_expf_use=no
59031 fi
59032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59033 ac_ext=c
59034 ac_cpp='$CPP $CPPFLAGS'
59035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59038
59039
59040 fi
59041
59042 fi
59043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59044 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59045
59046 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59047 for ac_func in expf
59048 do :
59049 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59050 if test "x$ac_cv_func_expf" = x""yes; then :
59051 cat >>confdefs.h <<_ACEOF
59052 #define HAVE_EXPF 1
59053 _ACEOF
59054
59055 fi
59056 done
59057
59058 else
59059
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59061 $as_echo_n "checking for _expf declaration... " >&6; }
59062 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59063 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59064 $as_echo_n "(cached) " >&6
59065 else
59066
59067
59068 ac_ext=cpp
59069 ac_cpp='$CXXCPP $CPPFLAGS'
59070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59073
59074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59075 /* end confdefs.h. */
59076 #include <math.h>
59077 #ifdef HAVE_IEEEFP_H
59078 #include <ieeefp.h>
59079 #endif
59080
59081 int
59082 main ()
59083 {
59084 _expf(0);
59085 ;
59086 return 0;
59087 }
59088 _ACEOF
59089 if ac_fn_cxx_try_compile "$LINENO"; then :
59090 glibcxx_cv_func__expf_use=yes
59091 else
59092 glibcxx_cv_func__expf_use=no
59093 fi
59094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59095 ac_ext=c
59096 ac_cpp='$CPP $CPPFLAGS'
59097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59100
59101
59102 fi
59103
59104 fi
59105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59106 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59107
59108 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59109 for ac_func in _expf
59110 do :
59111 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59112 if test "x$ac_cv_func__expf" = x""yes; then :
59113 cat >>confdefs.h <<_ACEOF
59114 #define HAVE__EXPF 1
59115 _ACEOF
59116
59117 fi
59118 done
59119
59120 fi
59121 fi
59122
59123
59124
59125
59126
59127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59128 $as_echo_n "checking for isnanf declaration... " >&6; }
59129 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59130 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59131 $as_echo_n "(cached) " >&6
59132 else
59133
59134
59135 ac_ext=cpp
59136 ac_cpp='$CXXCPP $CPPFLAGS'
59137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59140
59141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59142 /* end confdefs.h. */
59143 #include <math.h>
59144 #ifdef HAVE_IEEEFP_H
59145 #include <ieeefp.h>
59146 #endif
59147
59148 int
59149 main ()
59150 {
59151 isnanf(0);
59152 ;
59153 return 0;
59154 }
59155 _ACEOF
59156 if ac_fn_cxx_try_compile "$LINENO"; then :
59157 glibcxx_cv_func_isnanf_use=yes
59158 else
59159 glibcxx_cv_func_isnanf_use=no
59160 fi
59161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59162 ac_ext=c
59163 ac_cpp='$CPP $CPPFLAGS'
59164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59167
59168
59169 fi
59170
59171 fi
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59173 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59174
59175 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59176 for ac_func in isnanf
59177 do :
59178 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59179 if test "x$ac_cv_func_isnanf" = x""yes; then :
59180 cat >>confdefs.h <<_ACEOF
59181 #define HAVE_ISNANF 1
59182 _ACEOF
59183
59184 fi
59185 done
59186
59187 else
59188
59189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59190 $as_echo_n "checking for _isnanf declaration... " >&6; }
59191 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59192 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59193 $as_echo_n "(cached) " >&6
59194 else
59195
59196
59197 ac_ext=cpp
59198 ac_cpp='$CXXCPP $CPPFLAGS'
59199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59202
59203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59204 /* end confdefs.h. */
59205 #include <math.h>
59206 #ifdef HAVE_IEEEFP_H
59207 #include <ieeefp.h>
59208 #endif
59209
59210 int
59211 main ()
59212 {
59213 _isnanf(0);
59214 ;
59215 return 0;
59216 }
59217 _ACEOF
59218 if ac_fn_cxx_try_compile "$LINENO"; then :
59219 glibcxx_cv_func__isnanf_use=yes
59220 else
59221 glibcxx_cv_func__isnanf_use=no
59222 fi
59223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59224 ac_ext=c
59225 ac_cpp='$CPP $CPPFLAGS'
59226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229
59230
59231 fi
59232
59233 fi
59234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59235 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59236
59237 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59238 for ac_func in _isnanf
59239 do :
59240 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59241 if test "x$ac_cv_func__isnanf" = x""yes; then :
59242 cat >>confdefs.h <<_ACEOF
59243 #define HAVE__ISNANF 1
59244 _ACEOF
59245
59246 fi
59247 done
59248
59249 fi
59250 fi
59251
59252
59253
59254
59255
59256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59257 $as_echo_n "checking for isinff declaration... " >&6; }
59258 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59259 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59260 $as_echo_n "(cached) " >&6
59261 else
59262
59263
59264 ac_ext=cpp
59265 ac_cpp='$CXXCPP $CPPFLAGS'
59266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59269
59270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59271 /* end confdefs.h. */
59272 #include <math.h>
59273 #ifdef HAVE_IEEEFP_H
59274 #include <ieeefp.h>
59275 #endif
59276
59277 int
59278 main ()
59279 {
59280 isinff(0);
59281 ;
59282 return 0;
59283 }
59284 _ACEOF
59285 if ac_fn_cxx_try_compile "$LINENO"; then :
59286 glibcxx_cv_func_isinff_use=yes
59287 else
59288 glibcxx_cv_func_isinff_use=no
59289 fi
59290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59291 ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59296
59297
59298 fi
59299
59300 fi
59301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59302 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59303
59304 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59305 for ac_func in isinff
59306 do :
59307 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59308 if test "x$ac_cv_func_isinff" = x""yes; then :
59309 cat >>confdefs.h <<_ACEOF
59310 #define HAVE_ISINFF 1
59311 _ACEOF
59312
59313 fi
59314 done
59315
59316 else
59317
59318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59319 $as_echo_n "checking for _isinff declaration... " >&6; }
59320 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59321 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59322 $as_echo_n "(cached) " >&6
59323 else
59324
59325
59326 ac_ext=cpp
59327 ac_cpp='$CXXCPP $CPPFLAGS'
59328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59331
59332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59333 /* end confdefs.h. */
59334 #include <math.h>
59335 #ifdef HAVE_IEEEFP_H
59336 #include <ieeefp.h>
59337 #endif
59338
59339 int
59340 main ()
59341 {
59342 _isinff(0);
59343 ;
59344 return 0;
59345 }
59346 _ACEOF
59347 if ac_fn_cxx_try_compile "$LINENO"; then :
59348 glibcxx_cv_func__isinff_use=yes
59349 else
59350 glibcxx_cv_func__isinff_use=no
59351 fi
59352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59353 ac_ext=c
59354 ac_cpp='$CPP $CPPFLAGS'
59355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59358
59359
59360 fi
59361
59362 fi
59363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59364 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59365
59366 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59367 for ac_func in _isinff
59368 do :
59369 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59370 if test "x$ac_cv_func__isinff" = x""yes; then :
59371 cat >>confdefs.h <<_ACEOF
59372 #define HAVE__ISINFF 1
59373 _ACEOF
59374
59375 fi
59376 done
59377
59378 fi
59379 fi
59380
59381
59382
59383
59384
59385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59386 $as_echo_n "checking for atan2f declaration... " >&6; }
59387 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59388 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59389 $as_echo_n "(cached) " >&6
59390 else
59391
59392
59393 ac_ext=cpp
59394 ac_cpp='$CXXCPP $CPPFLAGS'
59395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59398
59399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59400 /* end confdefs.h. */
59401 #include <math.h>
59402 int
59403 main ()
59404 {
59405 atan2f(0, 0);
59406 ;
59407 return 0;
59408 }
59409 _ACEOF
59410 if ac_fn_cxx_try_compile "$LINENO"; then :
59411 glibcxx_cv_func_atan2f_use=yes
59412 else
59413 glibcxx_cv_func_atan2f_use=no
59414 fi
59415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59416 ac_ext=c
59417 ac_cpp='$CPP $CPPFLAGS'
59418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59421
59422
59423 fi
59424
59425 fi
59426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59427 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59428
59429 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59430 for ac_func in atan2f
59431 do :
59432 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59433 if test "x$ac_cv_func_atan2f" = x""yes; then :
59434 cat >>confdefs.h <<_ACEOF
59435 #define HAVE_ATAN2F 1
59436 _ACEOF
59437
59438 fi
59439 done
59440
59441 else
59442
59443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59444 $as_echo_n "checking for _atan2f declaration... " >&6; }
59445 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59446 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59447 $as_echo_n "(cached) " >&6
59448 else
59449
59450
59451 ac_ext=cpp
59452 ac_cpp='$CXXCPP $CPPFLAGS'
59453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59456
59457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59458 /* end confdefs.h. */
59459 #include <math.h>
59460 int
59461 main ()
59462 {
59463 _atan2f(0, 0);
59464 ;
59465 return 0;
59466 }
59467 _ACEOF
59468 if ac_fn_cxx_try_compile "$LINENO"; then :
59469 glibcxx_cv_func__atan2f_use=yes
59470 else
59471 glibcxx_cv_func__atan2f_use=no
59472 fi
59473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59474 ac_ext=c
59475 ac_cpp='$CPP $CPPFLAGS'
59476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479
59480
59481 fi
59482
59483 fi
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59485 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59486
59487 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59488 for ac_func in _atan2f
59489 do :
59490 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59491 if test "x$ac_cv_func__atan2f" = x""yes; then :
59492 cat >>confdefs.h <<_ACEOF
59493 #define HAVE__ATAN2F 1
59494 _ACEOF
59495
59496 fi
59497 done
59498
59499 fi
59500 fi
59501
59502
59503
59504
59505
59506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59507 $as_echo_n "checking for fabsf declaration... " >&6; }
59508 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59509 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59510 $as_echo_n "(cached) " >&6
59511 else
59512
59513
59514 ac_ext=cpp
59515 ac_cpp='$CXXCPP $CPPFLAGS'
59516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59519
59520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59521 /* end confdefs.h. */
59522 #include <math.h>
59523 #ifdef HAVE_IEEEFP_H
59524 #include <ieeefp.h>
59525 #endif
59526
59527 int
59528 main ()
59529 {
59530 fabsf(0);
59531 ;
59532 return 0;
59533 }
59534 _ACEOF
59535 if ac_fn_cxx_try_compile "$LINENO"; then :
59536 glibcxx_cv_func_fabsf_use=yes
59537 else
59538 glibcxx_cv_func_fabsf_use=no
59539 fi
59540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59541 ac_ext=c
59542 ac_cpp='$CPP $CPPFLAGS'
59543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59546
59547
59548 fi
59549
59550 fi
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59552 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59553
59554 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59555 for ac_func in fabsf
59556 do :
59557 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59558 if test "x$ac_cv_func_fabsf" = x""yes; then :
59559 cat >>confdefs.h <<_ACEOF
59560 #define HAVE_FABSF 1
59561 _ACEOF
59562
59563 fi
59564 done
59565
59566 else
59567
59568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59569 $as_echo_n "checking for _fabsf declaration... " >&6; }
59570 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59571 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59572 $as_echo_n "(cached) " >&6
59573 else
59574
59575
59576 ac_ext=cpp
59577 ac_cpp='$CXXCPP $CPPFLAGS'
59578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581
59582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59583 /* end confdefs.h. */
59584 #include <math.h>
59585 #ifdef HAVE_IEEEFP_H
59586 #include <ieeefp.h>
59587 #endif
59588
59589 int
59590 main ()
59591 {
59592 _fabsf(0);
59593 ;
59594 return 0;
59595 }
59596 _ACEOF
59597 if ac_fn_cxx_try_compile "$LINENO"; then :
59598 glibcxx_cv_func__fabsf_use=yes
59599 else
59600 glibcxx_cv_func__fabsf_use=no
59601 fi
59602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59603 ac_ext=c
59604 ac_cpp='$CPP $CPPFLAGS'
59605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59608
59609
59610 fi
59611
59612 fi
59613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59614 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59615
59616 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59617 for ac_func in _fabsf
59618 do :
59619 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59620 if test "x$ac_cv_func__fabsf" = x""yes; then :
59621 cat >>confdefs.h <<_ACEOF
59622 #define HAVE__FABSF 1
59623 _ACEOF
59624
59625 fi
59626 done
59627
59628 fi
59629 fi
59630
59631
59632
59633
59634
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59636 $as_echo_n "checking for fmodf declaration... " >&6; }
59637 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59638 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59639 $as_echo_n "(cached) " >&6
59640 else
59641
59642
59643 ac_ext=cpp
59644 ac_cpp='$CXXCPP $CPPFLAGS'
59645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59648
59649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59650 /* end confdefs.h. */
59651 #include <math.h>
59652 int
59653 main ()
59654 {
59655 fmodf(0, 0);
59656 ;
59657 return 0;
59658 }
59659 _ACEOF
59660 if ac_fn_cxx_try_compile "$LINENO"; then :
59661 glibcxx_cv_func_fmodf_use=yes
59662 else
59663 glibcxx_cv_func_fmodf_use=no
59664 fi
59665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59666 ac_ext=c
59667 ac_cpp='$CPP $CPPFLAGS'
59668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59671
59672
59673 fi
59674
59675 fi
59676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59677 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59678
59679 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59680 for ac_func in fmodf
59681 do :
59682 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59683 if test "x$ac_cv_func_fmodf" = x""yes; then :
59684 cat >>confdefs.h <<_ACEOF
59685 #define HAVE_FMODF 1
59686 _ACEOF
59687
59688 fi
59689 done
59690
59691 else
59692
59693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59694 $as_echo_n "checking for _fmodf declaration... " >&6; }
59695 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59696 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59697 $as_echo_n "(cached) " >&6
59698 else
59699
59700
59701 ac_ext=cpp
59702 ac_cpp='$CXXCPP $CPPFLAGS'
59703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59706
59707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59708 /* end confdefs.h. */
59709 #include <math.h>
59710 int
59711 main ()
59712 {
59713 _fmodf(0, 0);
59714 ;
59715 return 0;
59716 }
59717 _ACEOF
59718 if ac_fn_cxx_try_compile "$LINENO"; then :
59719 glibcxx_cv_func__fmodf_use=yes
59720 else
59721 glibcxx_cv_func__fmodf_use=no
59722 fi
59723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59724 ac_ext=c
59725 ac_cpp='$CPP $CPPFLAGS'
59726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59729
59730
59731 fi
59732
59733 fi
59734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59735 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59736
59737 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59738 for ac_func in _fmodf
59739 do :
59740 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59741 if test "x$ac_cv_func__fmodf" = x""yes; then :
59742 cat >>confdefs.h <<_ACEOF
59743 #define HAVE__FMODF 1
59744 _ACEOF
59745
59746 fi
59747 done
59748
59749 fi
59750 fi
59751
59752
59753
59754
59755
59756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59757 $as_echo_n "checking for frexpf declaration... " >&6; }
59758 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59759 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59760 $as_echo_n "(cached) " >&6
59761 else
59762
59763
59764 ac_ext=cpp
59765 ac_cpp='$CXXCPP $CPPFLAGS'
59766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59769
59770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59771 /* end confdefs.h. */
59772 #include <math.h>
59773 int
59774 main ()
59775 {
59776 frexpf(0, 0);
59777 ;
59778 return 0;
59779 }
59780 _ACEOF
59781 if ac_fn_cxx_try_compile "$LINENO"; then :
59782 glibcxx_cv_func_frexpf_use=yes
59783 else
59784 glibcxx_cv_func_frexpf_use=no
59785 fi
59786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59787 ac_ext=c
59788 ac_cpp='$CPP $CPPFLAGS'
59789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59792
59793
59794 fi
59795
59796 fi
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59798 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59799
59800 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59801 for ac_func in frexpf
59802 do :
59803 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59804 if test "x$ac_cv_func_frexpf" = x""yes; then :
59805 cat >>confdefs.h <<_ACEOF
59806 #define HAVE_FREXPF 1
59807 _ACEOF
59808
59809 fi
59810 done
59811
59812 else
59813
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59815 $as_echo_n "checking for _frexpf declaration... " >&6; }
59816 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59817 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59818 $as_echo_n "(cached) " >&6
59819 else
59820
59821
59822 ac_ext=cpp
59823 ac_cpp='$CXXCPP $CPPFLAGS'
59824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59827
59828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59829 /* end confdefs.h. */
59830 #include <math.h>
59831 int
59832 main ()
59833 {
59834 _frexpf(0, 0);
59835 ;
59836 return 0;
59837 }
59838 _ACEOF
59839 if ac_fn_cxx_try_compile "$LINENO"; then :
59840 glibcxx_cv_func__frexpf_use=yes
59841 else
59842 glibcxx_cv_func__frexpf_use=no
59843 fi
59844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59845 ac_ext=c
59846 ac_cpp='$CPP $CPPFLAGS'
59847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59850
59851
59852 fi
59853
59854 fi
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59856 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59857
59858 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59859 for ac_func in _frexpf
59860 do :
59861 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59862 if test "x$ac_cv_func__frexpf" = x""yes; then :
59863 cat >>confdefs.h <<_ACEOF
59864 #define HAVE__FREXPF 1
59865 _ACEOF
59866
59867 fi
59868 done
59869
59870 fi
59871 fi
59872
59873
59874
59875
59876
59877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59878 $as_echo_n "checking for hypotf declaration... " >&6; }
59879 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59880 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59881 $as_echo_n "(cached) " >&6
59882 else
59883
59884
59885 ac_ext=cpp
59886 ac_cpp='$CXXCPP $CPPFLAGS'
59887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59890
59891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59892 /* end confdefs.h. */
59893 #include <math.h>
59894 int
59895 main ()
59896 {
59897 hypotf(0, 0);
59898 ;
59899 return 0;
59900 }
59901 _ACEOF
59902 if ac_fn_cxx_try_compile "$LINENO"; then :
59903 glibcxx_cv_func_hypotf_use=yes
59904 else
59905 glibcxx_cv_func_hypotf_use=no
59906 fi
59907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59908 ac_ext=c
59909 ac_cpp='$CPP $CPPFLAGS'
59910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59913
59914
59915 fi
59916
59917 fi
59918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59919 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59920
59921 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59922 for ac_func in hypotf
59923 do :
59924 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59925 if test "x$ac_cv_func_hypotf" = x""yes; then :
59926 cat >>confdefs.h <<_ACEOF
59927 #define HAVE_HYPOTF 1
59928 _ACEOF
59929
59930 fi
59931 done
59932
59933 else
59934
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59936 $as_echo_n "checking for _hypotf declaration... " >&6; }
59937 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59938 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59939 $as_echo_n "(cached) " >&6
59940 else
59941
59942
59943 ac_ext=cpp
59944 ac_cpp='$CXXCPP $CPPFLAGS'
59945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59948
59949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950 /* end confdefs.h. */
59951 #include <math.h>
59952 int
59953 main ()
59954 {
59955 _hypotf(0, 0);
59956 ;
59957 return 0;
59958 }
59959 _ACEOF
59960 if ac_fn_cxx_try_compile "$LINENO"; then :
59961 glibcxx_cv_func__hypotf_use=yes
59962 else
59963 glibcxx_cv_func__hypotf_use=no
59964 fi
59965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59971
59972
59973 fi
59974
59975 fi
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59977 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59978
59979 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59980 for ac_func in _hypotf
59981 do :
59982 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59983 if test "x$ac_cv_func__hypotf" = x""yes; then :
59984 cat >>confdefs.h <<_ACEOF
59985 #define HAVE__HYPOTF 1
59986 _ACEOF
59987
59988 fi
59989 done
59990
59991 fi
59992 fi
59993
59994
59995
59996
59997
59998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59999 $as_echo_n "checking for ldexpf declaration... " >&6; }
60000 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60001 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60002 $as_echo_n "(cached) " >&6
60003 else
60004
60005
60006 ac_ext=cpp
60007 ac_cpp='$CXXCPP $CPPFLAGS'
60008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60011
60012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60013 /* end confdefs.h. */
60014 #include <math.h>
60015 int
60016 main ()
60017 {
60018 ldexpf(0, 0);
60019 ;
60020 return 0;
60021 }
60022 _ACEOF
60023 if ac_fn_cxx_try_compile "$LINENO"; then :
60024 glibcxx_cv_func_ldexpf_use=yes
60025 else
60026 glibcxx_cv_func_ldexpf_use=no
60027 fi
60028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60029 ac_ext=c
60030 ac_cpp='$CPP $CPPFLAGS'
60031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60034
60035
60036 fi
60037
60038 fi
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60040 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60041
60042 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60043 for ac_func in ldexpf
60044 do :
60045 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60046 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60047 cat >>confdefs.h <<_ACEOF
60048 #define HAVE_LDEXPF 1
60049 _ACEOF
60050
60051 fi
60052 done
60053
60054 else
60055
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60057 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60058 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60059 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60060 $as_echo_n "(cached) " >&6
60061 else
60062
60063
60064 ac_ext=cpp
60065 ac_cpp='$CXXCPP $CPPFLAGS'
60066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60069
60070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60071 /* end confdefs.h. */
60072 #include <math.h>
60073 int
60074 main ()
60075 {
60076 _ldexpf(0, 0);
60077 ;
60078 return 0;
60079 }
60080 _ACEOF
60081 if ac_fn_cxx_try_compile "$LINENO"; then :
60082 glibcxx_cv_func__ldexpf_use=yes
60083 else
60084 glibcxx_cv_func__ldexpf_use=no
60085 fi
60086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092
60093
60094 fi
60095
60096 fi
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60098 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60099
60100 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60101 for ac_func in _ldexpf
60102 do :
60103 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60104 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60105 cat >>confdefs.h <<_ACEOF
60106 #define HAVE__LDEXPF 1
60107 _ACEOF
60108
60109 fi
60110 done
60111
60112 fi
60113 fi
60114
60115
60116
60117
60118
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60120 $as_echo_n "checking for logf declaration... " >&6; }
60121 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60122 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60125
60126
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60132
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <math.h>
60136 #ifdef HAVE_IEEEFP_H
60137 #include <ieeefp.h>
60138 #endif
60139
60140 int
60141 main ()
60142 {
60143 logf(0);
60144 ;
60145 return 0;
60146 }
60147 _ACEOF
60148 if ac_fn_cxx_try_compile "$LINENO"; then :
60149 glibcxx_cv_func_logf_use=yes
60150 else
60151 glibcxx_cv_func_logf_use=no
60152 fi
60153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60154 ac_ext=c
60155 ac_cpp='$CPP $CPPFLAGS'
60156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60159
60160
60161 fi
60162
60163 fi
60164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60165 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60166
60167 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60168 for ac_func in logf
60169 do :
60170 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60171 if test "x$ac_cv_func_logf" = x""yes; then :
60172 cat >>confdefs.h <<_ACEOF
60173 #define HAVE_LOGF 1
60174 _ACEOF
60175
60176 fi
60177 done
60178
60179 else
60180
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60182 $as_echo_n "checking for _logf declaration... " >&6; }
60183 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60184 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60185 $as_echo_n "(cached) " >&6
60186 else
60187
60188
60189 ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60194
60195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h. */
60197 #include <math.h>
60198 #ifdef HAVE_IEEEFP_H
60199 #include <ieeefp.h>
60200 #endif
60201
60202 int
60203 main ()
60204 {
60205 _logf(0);
60206 ;
60207 return 0;
60208 }
60209 _ACEOF
60210 if ac_fn_cxx_try_compile "$LINENO"; then :
60211 glibcxx_cv_func__logf_use=yes
60212 else
60213 glibcxx_cv_func__logf_use=no
60214 fi
60215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60216 ac_ext=c
60217 ac_cpp='$CPP $CPPFLAGS'
60218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60221
60222
60223 fi
60224
60225 fi
60226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60227 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60228
60229 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60230 for ac_func in _logf
60231 do :
60232 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60233 if test "x$ac_cv_func__logf" = x""yes; then :
60234 cat >>confdefs.h <<_ACEOF
60235 #define HAVE__LOGF 1
60236 _ACEOF
60237
60238 fi
60239 done
60240
60241 fi
60242 fi
60243
60244
60245
60246
60247
60248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60249 $as_echo_n "checking for log10f declaration... " >&6; }
60250 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60251 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60252 $as_echo_n "(cached) " >&6
60253 else
60254
60255
60256 ac_ext=cpp
60257 ac_cpp='$CXXCPP $CPPFLAGS'
60258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60261
60262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60263 /* end confdefs.h. */
60264 #include <math.h>
60265 #ifdef HAVE_IEEEFP_H
60266 #include <ieeefp.h>
60267 #endif
60268
60269 int
60270 main ()
60271 {
60272 log10f(0);
60273 ;
60274 return 0;
60275 }
60276 _ACEOF
60277 if ac_fn_cxx_try_compile "$LINENO"; then :
60278 glibcxx_cv_func_log10f_use=yes
60279 else
60280 glibcxx_cv_func_log10f_use=no
60281 fi
60282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60283 ac_ext=c
60284 ac_cpp='$CPP $CPPFLAGS'
60285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60288
60289
60290 fi
60291
60292 fi
60293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60294 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60295
60296 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60297 for ac_func in log10f
60298 do :
60299 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60300 if test "x$ac_cv_func_log10f" = x""yes; then :
60301 cat >>confdefs.h <<_ACEOF
60302 #define HAVE_LOG10F 1
60303 _ACEOF
60304
60305 fi
60306 done
60307
60308 else
60309
60310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60311 $as_echo_n "checking for _log10f declaration... " >&6; }
60312 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60313 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60314 $as_echo_n "(cached) " >&6
60315 else
60316
60317
60318 ac_ext=cpp
60319 ac_cpp='$CXXCPP $CPPFLAGS'
60320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60323
60324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60325 /* end confdefs.h. */
60326 #include <math.h>
60327 #ifdef HAVE_IEEEFP_H
60328 #include <ieeefp.h>
60329 #endif
60330
60331 int
60332 main ()
60333 {
60334 _log10f(0);
60335 ;
60336 return 0;
60337 }
60338 _ACEOF
60339 if ac_fn_cxx_try_compile "$LINENO"; then :
60340 glibcxx_cv_func__log10f_use=yes
60341 else
60342 glibcxx_cv_func__log10f_use=no
60343 fi
60344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60345 ac_ext=c
60346 ac_cpp='$CPP $CPPFLAGS'
60347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60350
60351
60352 fi
60353
60354 fi
60355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60356 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60357
60358 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60359 for ac_func in _log10f
60360 do :
60361 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60362 if test "x$ac_cv_func__log10f" = x""yes; then :
60363 cat >>confdefs.h <<_ACEOF
60364 #define HAVE__LOG10F 1
60365 _ACEOF
60366
60367 fi
60368 done
60369
60370 fi
60371 fi
60372
60373
60374
60375
60376
60377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60378 $as_echo_n "checking for modff declaration... " >&6; }
60379 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60380 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60381 $as_echo_n "(cached) " >&6
60382 else
60383
60384
60385 ac_ext=cpp
60386 ac_cpp='$CXXCPP $CPPFLAGS'
60387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60390
60391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60392 /* end confdefs.h. */
60393 #include <math.h>
60394 int
60395 main ()
60396 {
60397 modff(0, 0);
60398 ;
60399 return 0;
60400 }
60401 _ACEOF
60402 if ac_fn_cxx_try_compile "$LINENO"; then :
60403 glibcxx_cv_func_modff_use=yes
60404 else
60405 glibcxx_cv_func_modff_use=no
60406 fi
60407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60408 ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60413
60414
60415 fi
60416
60417 fi
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60419 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60420
60421 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60422 for ac_func in modff
60423 do :
60424 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60425 if test "x$ac_cv_func_modff" = x""yes; then :
60426 cat >>confdefs.h <<_ACEOF
60427 #define HAVE_MODFF 1
60428 _ACEOF
60429
60430 fi
60431 done
60432
60433 else
60434
60435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60436 $as_echo_n "checking for _modff declaration... " >&6; }
60437 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60438 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60439 $as_echo_n "(cached) " >&6
60440 else
60441
60442
60443 ac_ext=cpp
60444 ac_cpp='$CXXCPP $CPPFLAGS'
60445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60448
60449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60450 /* end confdefs.h. */
60451 #include <math.h>
60452 int
60453 main ()
60454 {
60455 _modff(0, 0);
60456 ;
60457 return 0;
60458 }
60459 _ACEOF
60460 if ac_fn_cxx_try_compile "$LINENO"; then :
60461 glibcxx_cv_func__modff_use=yes
60462 else
60463 glibcxx_cv_func__modff_use=no
60464 fi
60465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60466 ac_ext=c
60467 ac_cpp='$CPP $CPPFLAGS'
60468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60471
60472
60473 fi
60474
60475 fi
60476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60477 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60478
60479 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60480 for ac_func in _modff
60481 do :
60482 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60483 if test "x$ac_cv_func__modff" = x""yes; then :
60484 cat >>confdefs.h <<_ACEOF
60485 #define HAVE__MODFF 1
60486 _ACEOF
60487
60488 fi
60489 done
60490
60491 fi
60492 fi
60493
60494
60495
60496
60497
60498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60499 $as_echo_n "checking for modf declaration... " >&6; }
60500 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60501 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60502 $as_echo_n "(cached) " >&6
60503 else
60504
60505
60506 ac_ext=cpp
60507 ac_cpp='$CXXCPP $CPPFLAGS'
60508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60511
60512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60513 /* end confdefs.h. */
60514 #include <math.h>
60515 int
60516 main ()
60517 {
60518 modf(0, 0);
60519 ;
60520 return 0;
60521 }
60522 _ACEOF
60523 if ac_fn_cxx_try_compile "$LINENO"; then :
60524 glibcxx_cv_func_modf_use=yes
60525 else
60526 glibcxx_cv_func_modf_use=no
60527 fi
60528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60529 ac_ext=c
60530 ac_cpp='$CPP $CPPFLAGS'
60531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534
60535
60536 fi
60537
60538 fi
60539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60540 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60541
60542 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60543 for ac_func in modf
60544 do :
60545 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60546 if test "x$ac_cv_func_modf" = x""yes; then :
60547 cat >>confdefs.h <<_ACEOF
60548 #define HAVE_MODF 1
60549 _ACEOF
60550
60551 fi
60552 done
60553
60554 else
60555
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60557 $as_echo_n "checking for _modf declaration... " >&6; }
60558 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60559 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60560 $as_echo_n "(cached) " >&6
60561 else
60562
60563
60564 ac_ext=cpp
60565 ac_cpp='$CXXCPP $CPPFLAGS'
60566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60569
60570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60571 /* end confdefs.h. */
60572 #include <math.h>
60573 int
60574 main ()
60575 {
60576 _modf(0, 0);
60577 ;
60578 return 0;
60579 }
60580 _ACEOF
60581 if ac_fn_cxx_try_compile "$LINENO"; then :
60582 glibcxx_cv_func__modf_use=yes
60583 else
60584 glibcxx_cv_func__modf_use=no
60585 fi
60586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60587 ac_ext=c
60588 ac_cpp='$CPP $CPPFLAGS'
60589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60592
60593
60594 fi
60595
60596 fi
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60598 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60599
60600 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60601 for ac_func in _modf
60602 do :
60603 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60604 if test "x$ac_cv_func__modf" = x""yes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE__MODF 1
60607 _ACEOF
60608
60609 fi
60610 done
60611
60612 fi
60613 fi
60614
60615
60616
60617
60618
60619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60620 $as_echo_n "checking for powf declaration... " >&6; }
60621 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60622 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60623 $as_echo_n "(cached) " >&6
60624 else
60625
60626
60627 ac_ext=cpp
60628 ac_cpp='$CXXCPP $CPPFLAGS'
60629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60632
60633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60634 /* end confdefs.h. */
60635 #include <math.h>
60636 int
60637 main ()
60638 {
60639 powf(0, 0);
60640 ;
60641 return 0;
60642 }
60643 _ACEOF
60644 if ac_fn_cxx_try_compile "$LINENO"; then :
60645 glibcxx_cv_func_powf_use=yes
60646 else
60647 glibcxx_cv_func_powf_use=no
60648 fi
60649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60650 ac_ext=c
60651 ac_cpp='$CPP $CPPFLAGS'
60652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60655
60656
60657 fi
60658
60659 fi
60660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60661 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60662
60663 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60664 for ac_func in powf
60665 do :
60666 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60667 if test "x$ac_cv_func_powf" = x""yes; then :
60668 cat >>confdefs.h <<_ACEOF
60669 #define HAVE_POWF 1
60670 _ACEOF
60671
60672 fi
60673 done
60674
60675 else
60676
60677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60678 $as_echo_n "checking for _powf declaration... " >&6; }
60679 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60680 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60681 $as_echo_n "(cached) " >&6
60682 else
60683
60684
60685 ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60690
60691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h. */
60693 #include <math.h>
60694 int
60695 main ()
60696 {
60697 _powf(0, 0);
60698 ;
60699 return 0;
60700 }
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func__powf_use=yes
60704 else
60705 glibcxx_cv_func__powf_use=no
60706 fi
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713
60714
60715 fi
60716
60717 fi
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60719 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60720
60721 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60722 for ac_func in _powf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60725 if test "x$ac_cv_func__powf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE__POWF 1
60728 _ACEOF
60729
60730 fi
60731 done
60732
60733 fi
60734 fi
60735
60736
60737
60738
60739
60740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60741 $as_echo_n "checking for sqrtf declaration... " >&6; }
60742 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60743 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60744 $as_echo_n "(cached) " >&6
60745 else
60746
60747
60748 ac_ext=cpp
60749 ac_cpp='$CXXCPP $CPPFLAGS'
60750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60753
60754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60755 /* end confdefs.h. */
60756 #include <math.h>
60757 #ifdef HAVE_IEEEFP_H
60758 #include <ieeefp.h>
60759 #endif
60760
60761 int
60762 main ()
60763 {
60764 sqrtf(0);
60765 ;
60766 return 0;
60767 }
60768 _ACEOF
60769 if ac_fn_cxx_try_compile "$LINENO"; then :
60770 glibcxx_cv_func_sqrtf_use=yes
60771 else
60772 glibcxx_cv_func_sqrtf_use=no
60773 fi
60774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60775 ac_ext=c
60776 ac_cpp='$CPP $CPPFLAGS'
60777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60780
60781
60782 fi
60783
60784 fi
60785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60786 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60787
60788 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60789 for ac_func in sqrtf
60790 do :
60791 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60792 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60793 cat >>confdefs.h <<_ACEOF
60794 #define HAVE_SQRTF 1
60795 _ACEOF
60796
60797 fi
60798 done
60799
60800 else
60801
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60803 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60804 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60805 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60819 #ifdef HAVE_IEEEFP_H
60820 #include <ieeefp.h>
60821 #endif
60822
60823 int
60824 main ()
60825 {
60826 _sqrtf(0);
60827 ;
60828 return 0;
60829 }
60830 _ACEOF
60831 if ac_fn_cxx_try_compile "$LINENO"; then :
60832 glibcxx_cv_func__sqrtf_use=yes
60833 else
60834 glibcxx_cv_func__sqrtf_use=no
60835 fi
60836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60837 ac_ext=c
60838 ac_cpp='$CPP $CPPFLAGS'
60839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60842
60843
60844 fi
60845
60846 fi
60847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60848 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60849
60850 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60851 for ac_func in _sqrtf
60852 do :
60853 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60854 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60855 cat >>confdefs.h <<_ACEOF
60856 #define HAVE__SQRTF 1
60857 _ACEOF
60858
60859 fi
60860 done
60861
60862 fi
60863 fi
60864
60865
60866
60867
60868
60869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60870 $as_echo_n "checking for sincosf declaration... " >&6; }
60871 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60872 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60873 $as_echo_n "(cached) " >&6
60874 else
60875
60876
60877 ac_ext=cpp
60878 ac_cpp='$CXXCPP $CPPFLAGS'
60879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60882
60883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60884 /* end confdefs.h. */
60885 #include <math.h>
60886 int
60887 main ()
60888 {
60889 sincosf(0, 0, 0);
60890 ;
60891 return 0;
60892 }
60893 _ACEOF
60894 if ac_fn_cxx_try_compile "$LINENO"; then :
60895 glibcxx_cv_func_sincosf_use=yes
60896 else
60897 glibcxx_cv_func_sincosf_use=no
60898 fi
60899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60900 ac_ext=c
60901 ac_cpp='$CPP $CPPFLAGS'
60902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60905
60906
60907 fi
60908
60909 fi
60910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60911 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60912
60913 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60914 for ac_func in sincosf
60915 do :
60916 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60917 if test "x$ac_cv_func_sincosf" = x""yes; then :
60918 cat >>confdefs.h <<_ACEOF
60919 #define HAVE_SINCOSF 1
60920 _ACEOF
60921
60922 fi
60923 done
60924
60925 else
60926
60927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60928 $as_echo_n "checking for _sincosf declaration... " >&6; }
60929 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60930 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60931 $as_echo_n "(cached) " >&6
60932 else
60933
60934
60935 ac_ext=cpp
60936 ac_cpp='$CXXCPP $CPPFLAGS'
60937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60940
60941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60942 /* end confdefs.h. */
60943 #include <math.h>
60944 int
60945 main ()
60946 {
60947 _sincosf(0, 0, 0);
60948 ;
60949 return 0;
60950 }
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func__sincosf_use=yes
60954 else
60955 glibcxx_cv_func__sincosf_use=no
60956 fi
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60963
60964
60965 fi
60966
60967 fi
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60969 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60970
60971 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60972 for ac_func in _sincosf
60973 do :
60974 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60975 if test "x$ac_cv_func__sincosf" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE__SINCOSF 1
60978 _ACEOF
60979
60980 fi
60981 done
60982
60983 fi
60984 fi
60985
60986
60987
60988
60989
60990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60991 $as_echo_n "checking for finitef declaration... " >&6; }
60992 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60993 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60994 $as_echo_n "(cached) " >&6
60995 else
60996
60997
60998 ac_ext=cpp
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61003
61004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61005 /* end confdefs.h. */
61006 #include <math.h>
61007 #ifdef HAVE_IEEEFP_H
61008 #include <ieeefp.h>
61009 #endif
61010
61011 int
61012 main ()
61013 {
61014 finitef(0);
61015 ;
61016 return 0;
61017 }
61018 _ACEOF
61019 if ac_fn_cxx_try_compile "$LINENO"; then :
61020 glibcxx_cv_func_finitef_use=yes
61021 else
61022 glibcxx_cv_func_finitef_use=no
61023 fi
61024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61025 ac_ext=c
61026 ac_cpp='$CPP $CPPFLAGS'
61027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61030
61031
61032 fi
61033
61034 fi
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61036 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61037
61038 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61039 for ac_func in finitef
61040 do :
61041 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61042 if test "x$ac_cv_func_finitef" = x""yes; then :
61043 cat >>confdefs.h <<_ACEOF
61044 #define HAVE_FINITEF 1
61045 _ACEOF
61046
61047 fi
61048 done
61049
61050 else
61051
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61053 $as_echo_n "checking for _finitef declaration... " >&6; }
61054 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61055 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61058
61059
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61065
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61069 #ifdef HAVE_IEEEFP_H
61070 #include <ieeefp.h>
61071 #endif
61072
61073 int
61074 main ()
61075 {
61076 _finitef(0);
61077 ;
61078 return 0;
61079 }
61080 _ACEOF
61081 if ac_fn_cxx_try_compile "$LINENO"; then :
61082 glibcxx_cv_func__finitef_use=yes
61083 else
61084 glibcxx_cv_func__finitef_use=no
61085 fi
61086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61087 ac_ext=c
61088 ac_cpp='$CPP $CPPFLAGS'
61089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61092
61093
61094 fi
61095
61096 fi
61097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61098 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61099
61100 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61101 for ac_func in _finitef
61102 do :
61103 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61104 if test "x$ac_cv_func__finitef" = x""yes; then :
61105 cat >>confdefs.h <<_ACEOF
61106 #define HAVE__FINITEF 1
61107 _ACEOF
61108
61109 fi
61110 done
61111
61112 fi
61113 fi
61114
61115
61116
61117
61118
61119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61120 $as_echo_n "checking for long double trig functions... " >&6; }
61121 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61122 $as_echo_n "(cached) " >&6
61123 else
61124
61125
61126 ac_ext=cpp
61127 ac_cpp='$CXXCPP $CPPFLAGS'
61128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61131
61132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61133 /* end confdefs.h. */
61134 #include <math.h>
61135 int
61136 main ()
61137 {
61138 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61139 ;
61140 return 0;
61141 }
61142 _ACEOF
61143 if ac_fn_cxx_try_compile "$LINENO"; then :
61144 glibcxx_cv_func_long_double_trig_use=yes
61145 else
61146 glibcxx_cv_func_long_double_trig_use=no
61147 fi
61148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61149 ac_ext=c
61150 ac_cpp='$CPP $CPPFLAGS'
61151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61154
61155 fi
61156
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61158 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61159 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61160 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61161 do :
61162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61164 eval as_val=\$$as_ac_var
61165 if test "x$as_val" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61168 _ACEOF
61169
61170 fi
61171 done
61172
61173 else
61174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61175 $as_echo_n "checking for _long double trig functions... " >&6; }
61176 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61179
61180
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61186
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61190 int
61191 main ()
61192 {
61193 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61194 ;
61195 return 0;
61196 }
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func__long_double_trig_use=yes
61200 else
61201 glibcxx_cv_func__long_double_trig_use=no
61202 fi
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61209
61210 fi
61211
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61213 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61214 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61215 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61216 do :
61217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61219 eval as_val=\$$as_ac_var
61220 if test "x$as_val" = x""yes; then :
61221 cat >>confdefs.h <<_ACEOF
61222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61223 _ACEOF
61224
61225 fi
61226 done
61227
61228 fi
61229 fi
61230
61231
61232
61233
61234
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61236 $as_echo_n "checking for long double round functions... " >&6; }
61237 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61240
61241
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61251 int
61252 main ()
61253 {
61254 ceill (0); floorl (0);
61255 ;
61256 return 0;
61257 }
61258 _ACEOF
61259 if ac_fn_cxx_try_compile "$LINENO"; then :
61260 glibcxx_cv_func_long_double_round_use=yes
61261 else
61262 glibcxx_cv_func_long_double_round_use=no
61263 fi
61264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61265 ac_ext=c
61266 ac_cpp='$CPP $CPPFLAGS'
61267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61270
61271 fi
61272
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61274 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61275 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61276 for ac_func in ceill floorl
61277 do :
61278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61280 eval as_val=\$$as_ac_var
61281 if test "x$as_val" = x""yes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61284 _ACEOF
61285
61286 fi
61287 done
61288
61289 else
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61291 $as_echo_n "checking for _long double round functions... " >&6; }
61292 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61293 $as_echo_n "(cached) " >&6
61294 else
61295
61296
61297 ac_ext=cpp
61298 ac_cpp='$CXXCPP $CPPFLAGS'
61299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61302
61303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61304 /* end confdefs.h. */
61305 #include <math.h>
61306 int
61307 main ()
61308 {
61309 _ceill (0); _floorl (0);
61310 ;
61311 return 0;
61312 }
61313 _ACEOF
61314 if ac_fn_cxx_try_compile "$LINENO"; then :
61315 glibcxx_cv_func__long_double_round_use=yes
61316 else
61317 glibcxx_cv_func__long_double_round_use=no
61318 fi
61319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61325
61326 fi
61327
61328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61329 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61330 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61331 for ac_func in _ceill _floorl
61332 do :
61333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61335 eval as_val=\$$as_ac_var
61336 if test "x$as_val" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61339 _ACEOF
61340
61341 fi
61342 done
61343
61344 fi
61345 fi
61346
61347
61348
61349
61350
61351
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61353 $as_echo_n "checking for isnanl declaration... " >&6; }
61354 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61355 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61358
61359
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61365
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61369 #ifdef HAVE_IEEEFP_H
61370 #include <ieeefp.h>
61371 #endif
61372
61373 int
61374 main ()
61375 {
61376 isnanl(0);
61377 ;
61378 return 0;
61379 }
61380 _ACEOF
61381 if ac_fn_cxx_try_compile "$LINENO"; then :
61382 glibcxx_cv_func_isnanl_use=yes
61383 else
61384 glibcxx_cv_func_isnanl_use=no
61385 fi
61386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61387 ac_ext=c
61388 ac_cpp='$CPP $CPPFLAGS'
61389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61392
61393
61394 fi
61395
61396 fi
61397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61398 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61399
61400 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61401 for ac_func in isnanl
61402 do :
61403 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61404 if test "x$ac_cv_func_isnanl" = x""yes; then :
61405 cat >>confdefs.h <<_ACEOF
61406 #define HAVE_ISNANL 1
61407 _ACEOF
61408
61409 fi
61410 done
61411
61412 else
61413
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61415 $as_echo_n "checking for _isnanl declaration... " >&6; }
61416 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61417 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61418 $as_echo_n "(cached) " >&6
61419 else
61420
61421
61422 ac_ext=cpp
61423 ac_cpp='$CXXCPP $CPPFLAGS'
61424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61427
61428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61429 /* end confdefs.h. */
61430 #include <math.h>
61431 #ifdef HAVE_IEEEFP_H
61432 #include <ieeefp.h>
61433 #endif
61434
61435 int
61436 main ()
61437 {
61438 _isnanl(0);
61439 ;
61440 return 0;
61441 }
61442 _ACEOF
61443 if ac_fn_cxx_try_compile "$LINENO"; then :
61444 glibcxx_cv_func__isnanl_use=yes
61445 else
61446 glibcxx_cv_func__isnanl_use=no
61447 fi
61448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61449 ac_ext=c
61450 ac_cpp='$CPP $CPPFLAGS'
61451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61454
61455
61456 fi
61457
61458 fi
61459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61460 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61461
61462 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61463 for ac_func in _isnanl
61464 do :
61465 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61466 if test "x$ac_cv_func__isnanl" = x""yes; then :
61467 cat >>confdefs.h <<_ACEOF
61468 #define HAVE__ISNANL 1
61469 _ACEOF
61470
61471 fi
61472 done
61473
61474 fi
61475 fi
61476
61477
61478
61479
61480
61481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61482 $as_echo_n "checking for isinfl declaration... " >&6; }
61483 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61484 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61485 $as_echo_n "(cached) " >&6
61486 else
61487
61488
61489 ac_ext=cpp
61490 ac_cpp='$CXXCPP $CPPFLAGS'
61491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61494
61495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61496 /* end confdefs.h. */
61497 #include <math.h>
61498 #ifdef HAVE_IEEEFP_H
61499 #include <ieeefp.h>
61500 #endif
61501
61502 int
61503 main ()
61504 {
61505 isinfl(0);
61506 ;
61507 return 0;
61508 }
61509 _ACEOF
61510 if ac_fn_cxx_try_compile "$LINENO"; then :
61511 glibcxx_cv_func_isinfl_use=yes
61512 else
61513 glibcxx_cv_func_isinfl_use=no
61514 fi
61515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61516 ac_ext=c
61517 ac_cpp='$CPP $CPPFLAGS'
61518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61521
61522
61523 fi
61524
61525 fi
61526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61527 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61528
61529 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61530 for ac_func in isinfl
61531 do :
61532 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61533 if test "x$ac_cv_func_isinfl" = x""yes; then :
61534 cat >>confdefs.h <<_ACEOF
61535 #define HAVE_ISINFL 1
61536 _ACEOF
61537
61538 fi
61539 done
61540
61541 else
61542
61543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61544 $as_echo_n "checking for _isinfl declaration... " >&6; }
61545 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61546 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61547 $as_echo_n "(cached) " >&6
61548 else
61549
61550
61551 ac_ext=cpp
61552 ac_cpp='$CXXCPP $CPPFLAGS'
61553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61556
61557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61558 /* end confdefs.h. */
61559 #include <math.h>
61560 #ifdef HAVE_IEEEFP_H
61561 #include <ieeefp.h>
61562 #endif
61563
61564 int
61565 main ()
61566 {
61567 _isinfl(0);
61568 ;
61569 return 0;
61570 }
61571 _ACEOF
61572 if ac_fn_cxx_try_compile "$LINENO"; then :
61573 glibcxx_cv_func__isinfl_use=yes
61574 else
61575 glibcxx_cv_func__isinfl_use=no
61576 fi
61577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61578 ac_ext=c
61579 ac_cpp='$CPP $CPPFLAGS'
61580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583
61584
61585 fi
61586
61587 fi
61588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61589 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61590
61591 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61592 for ac_func in _isinfl
61593 do :
61594 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61595 if test "x$ac_cv_func__isinfl" = x""yes; then :
61596 cat >>confdefs.h <<_ACEOF
61597 #define HAVE__ISINFL 1
61598 _ACEOF
61599
61600 fi
61601 done
61602
61603 fi
61604 fi
61605
61606
61607
61608
61609
61610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61611 $as_echo_n "checking for atan2l declaration... " >&6; }
61612 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61613 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61614 $as_echo_n "(cached) " >&6
61615 else
61616
61617
61618 ac_ext=cpp
61619 ac_cpp='$CXXCPP $CPPFLAGS'
61620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61623
61624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61625 /* end confdefs.h. */
61626 #include <math.h>
61627 int
61628 main ()
61629 {
61630 atan2l(0, 0);
61631 ;
61632 return 0;
61633 }
61634 _ACEOF
61635 if ac_fn_cxx_try_compile "$LINENO"; then :
61636 glibcxx_cv_func_atan2l_use=yes
61637 else
61638 glibcxx_cv_func_atan2l_use=no
61639 fi
61640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61641 ac_ext=c
61642 ac_cpp='$CPP $CPPFLAGS'
61643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61646
61647
61648 fi
61649
61650 fi
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61652 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61653
61654 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61655 for ac_func in atan2l
61656 do :
61657 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61658 if test "x$ac_cv_func_atan2l" = x""yes; then :
61659 cat >>confdefs.h <<_ACEOF
61660 #define HAVE_ATAN2L 1
61661 _ACEOF
61662
61663 fi
61664 done
61665
61666 else
61667
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61669 $as_echo_n "checking for _atan2l declaration... " >&6; }
61670 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61671 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61672 $as_echo_n "(cached) " >&6
61673 else
61674
61675
61676 ac_ext=cpp
61677 ac_cpp='$CXXCPP $CPPFLAGS'
61678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681
61682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61683 /* end confdefs.h. */
61684 #include <math.h>
61685 int
61686 main ()
61687 {
61688 _atan2l(0, 0);
61689 ;
61690 return 0;
61691 }
61692 _ACEOF
61693 if ac_fn_cxx_try_compile "$LINENO"; then :
61694 glibcxx_cv_func__atan2l_use=yes
61695 else
61696 glibcxx_cv_func__atan2l_use=no
61697 fi
61698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61699 ac_ext=c
61700 ac_cpp='$CPP $CPPFLAGS'
61701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61704
61705
61706 fi
61707
61708 fi
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61710 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61711
61712 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61713 for ac_func in _atan2l
61714 do :
61715 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61716 if test "x$ac_cv_func__atan2l" = x""yes; then :
61717 cat >>confdefs.h <<_ACEOF
61718 #define HAVE__ATAN2L 1
61719 _ACEOF
61720
61721 fi
61722 done
61723
61724 fi
61725 fi
61726
61727
61728
61729
61730
61731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61732 $as_echo_n "checking for expl declaration... " >&6; }
61733 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61734 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61735 $as_echo_n "(cached) " >&6
61736 else
61737
61738
61739 ac_ext=cpp
61740 ac_cpp='$CXXCPP $CPPFLAGS'
61741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61744
61745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61746 /* end confdefs.h. */
61747 #include <math.h>
61748 #ifdef HAVE_IEEEFP_H
61749 #include <ieeefp.h>
61750 #endif
61751
61752 int
61753 main ()
61754 {
61755 expl(0);
61756 ;
61757 return 0;
61758 }
61759 _ACEOF
61760 if ac_fn_cxx_try_compile "$LINENO"; then :
61761 glibcxx_cv_func_expl_use=yes
61762 else
61763 glibcxx_cv_func_expl_use=no
61764 fi
61765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61766 ac_ext=c
61767 ac_cpp='$CPP $CPPFLAGS'
61768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61771
61772
61773 fi
61774
61775 fi
61776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61777 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61778
61779 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61780 for ac_func in expl
61781 do :
61782 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61783 if test "x$ac_cv_func_expl" = x""yes; then :
61784 cat >>confdefs.h <<_ACEOF
61785 #define HAVE_EXPL 1
61786 _ACEOF
61787
61788 fi
61789 done
61790
61791 else
61792
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61794 $as_echo_n "checking for _expl declaration... " >&6; }
61795 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61796 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61797 $as_echo_n "(cached) " >&6
61798 else
61799
61800
61801 ac_ext=cpp
61802 ac_cpp='$CXXCPP $CPPFLAGS'
61803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61806
61807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61808 /* end confdefs.h. */
61809 #include <math.h>
61810 #ifdef HAVE_IEEEFP_H
61811 #include <ieeefp.h>
61812 #endif
61813
61814 int
61815 main ()
61816 {
61817 _expl(0);
61818 ;
61819 return 0;
61820 }
61821 _ACEOF
61822 if ac_fn_cxx_try_compile "$LINENO"; then :
61823 glibcxx_cv_func__expl_use=yes
61824 else
61825 glibcxx_cv_func__expl_use=no
61826 fi
61827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61828 ac_ext=c
61829 ac_cpp='$CPP $CPPFLAGS'
61830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61833
61834
61835 fi
61836
61837 fi
61838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61839 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61840
61841 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61842 for ac_func in _expl
61843 do :
61844 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61845 if test "x$ac_cv_func__expl" = x""yes; then :
61846 cat >>confdefs.h <<_ACEOF
61847 #define HAVE__EXPL 1
61848 _ACEOF
61849
61850 fi
61851 done
61852
61853 fi
61854 fi
61855
61856
61857
61858
61859
61860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61861 $as_echo_n "checking for fabsl declaration... " >&6; }
61862 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61863 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61864 $as_echo_n "(cached) " >&6
61865 else
61866
61867
61868 ac_ext=cpp
61869 ac_cpp='$CXXCPP $CPPFLAGS'
61870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61873
61874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61875 /* end confdefs.h. */
61876 #include <math.h>
61877 #ifdef HAVE_IEEEFP_H
61878 #include <ieeefp.h>
61879 #endif
61880
61881 int
61882 main ()
61883 {
61884 fabsl(0);
61885 ;
61886 return 0;
61887 }
61888 _ACEOF
61889 if ac_fn_cxx_try_compile "$LINENO"; then :
61890 glibcxx_cv_func_fabsl_use=yes
61891 else
61892 glibcxx_cv_func_fabsl_use=no
61893 fi
61894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61895 ac_ext=c
61896 ac_cpp='$CPP $CPPFLAGS'
61897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61900
61901
61902 fi
61903
61904 fi
61905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61906 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61907
61908 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61909 for ac_func in fabsl
61910 do :
61911 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61912 if test "x$ac_cv_func_fabsl" = x""yes; then :
61913 cat >>confdefs.h <<_ACEOF
61914 #define HAVE_FABSL 1
61915 _ACEOF
61916
61917 fi
61918 done
61919
61920 else
61921
61922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61923 $as_echo_n "checking for _fabsl declaration... " >&6; }
61924 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61925 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61926 $as_echo_n "(cached) " >&6
61927 else
61928
61929
61930 ac_ext=cpp
61931 ac_cpp='$CXXCPP $CPPFLAGS'
61932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935
61936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61937 /* end confdefs.h. */
61938 #include <math.h>
61939 #ifdef HAVE_IEEEFP_H
61940 #include <ieeefp.h>
61941 #endif
61942
61943 int
61944 main ()
61945 {
61946 _fabsl(0);
61947 ;
61948 return 0;
61949 }
61950 _ACEOF
61951 if ac_fn_cxx_try_compile "$LINENO"; then :
61952 glibcxx_cv_func__fabsl_use=yes
61953 else
61954 glibcxx_cv_func__fabsl_use=no
61955 fi
61956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_ext=c
61958 ac_cpp='$CPP $CPPFLAGS'
61959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962
61963
61964 fi
61965
61966 fi
61967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61968 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61969
61970 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61971 for ac_func in _fabsl
61972 do :
61973 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61974 if test "x$ac_cv_func__fabsl" = x""yes; then :
61975 cat >>confdefs.h <<_ACEOF
61976 #define HAVE__FABSL 1
61977 _ACEOF
61978
61979 fi
61980 done
61981
61982 fi
61983 fi
61984
61985
61986
61987
61988
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61990 $as_echo_n "checking for fmodl declaration... " >&6; }
61991 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61992 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61993 $as_echo_n "(cached) " >&6
61994 else
61995
61996
61997 ac_ext=cpp
61998 ac_cpp='$CXXCPP $CPPFLAGS'
61999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62002
62003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62004 /* end confdefs.h. */
62005 #include <math.h>
62006 int
62007 main ()
62008 {
62009 fmodl(0, 0);
62010 ;
62011 return 0;
62012 }
62013 _ACEOF
62014 if ac_fn_cxx_try_compile "$LINENO"; then :
62015 glibcxx_cv_func_fmodl_use=yes
62016 else
62017 glibcxx_cv_func_fmodl_use=no
62018 fi
62019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62020 ac_ext=c
62021 ac_cpp='$CPP $CPPFLAGS'
62022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62025
62026
62027 fi
62028
62029 fi
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62031 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62032
62033 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62034 for ac_func in fmodl
62035 do :
62036 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62037 if test "x$ac_cv_func_fmodl" = x""yes; then :
62038 cat >>confdefs.h <<_ACEOF
62039 #define HAVE_FMODL 1
62040 _ACEOF
62041
62042 fi
62043 done
62044
62045 else
62046
62047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62048 $as_echo_n "checking for _fmodl declaration... " >&6; }
62049 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62050 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62051 $as_echo_n "(cached) " >&6
62052 else
62053
62054
62055 ac_ext=cpp
62056 ac_cpp='$CXXCPP $CPPFLAGS'
62057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62060
62061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62062 /* end confdefs.h. */
62063 #include <math.h>
62064 int
62065 main ()
62066 {
62067 _fmodl(0, 0);
62068 ;
62069 return 0;
62070 }
62071 _ACEOF
62072 if ac_fn_cxx_try_compile "$LINENO"; then :
62073 glibcxx_cv_func__fmodl_use=yes
62074 else
62075 glibcxx_cv_func__fmodl_use=no
62076 fi
62077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62078 ac_ext=c
62079 ac_cpp='$CPP $CPPFLAGS'
62080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083
62084
62085 fi
62086
62087 fi
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62089 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62090
62091 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62092 for ac_func in _fmodl
62093 do :
62094 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62095 if test "x$ac_cv_func__fmodl" = x""yes; then :
62096 cat >>confdefs.h <<_ACEOF
62097 #define HAVE__FMODL 1
62098 _ACEOF
62099
62100 fi
62101 done
62102
62103 fi
62104 fi
62105
62106
62107
62108
62109
62110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62111 $as_echo_n "checking for frexpl declaration... " >&6; }
62112 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62113 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62114 $as_echo_n "(cached) " >&6
62115 else
62116
62117
62118 ac_ext=cpp
62119 ac_cpp='$CXXCPP $CPPFLAGS'
62120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62123
62124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62125 /* end confdefs.h. */
62126 #include <math.h>
62127 int
62128 main ()
62129 {
62130 frexpl(0, 0);
62131 ;
62132 return 0;
62133 }
62134 _ACEOF
62135 if ac_fn_cxx_try_compile "$LINENO"; then :
62136 glibcxx_cv_func_frexpl_use=yes
62137 else
62138 glibcxx_cv_func_frexpl_use=no
62139 fi
62140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62141 ac_ext=c
62142 ac_cpp='$CPP $CPPFLAGS'
62143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62146
62147
62148 fi
62149
62150 fi
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62152 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62153
62154 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62155 for ac_func in frexpl
62156 do :
62157 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62158 if test "x$ac_cv_func_frexpl" = x""yes; then :
62159 cat >>confdefs.h <<_ACEOF
62160 #define HAVE_FREXPL 1
62161 _ACEOF
62162
62163 fi
62164 done
62165
62166 else
62167
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62169 $as_echo_n "checking for _frexpl declaration... " >&6; }
62170 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62171 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62172 $as_echo_n "(cached) " >&6
62173 else
62174
62175
62176 ac_ext=cpp
62177 ac_cpp='$CXXCPP $CPPFLAGS'
62178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62181
62182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62183 /* end confdefs.h. */
62184 #include <math.h>
62185 int
62186 main ()
62187 {
62188 _frexpl(0, 0);
62189 ;
62190 return 0;
62191 }
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func__frexpl_use=yes
62195 else
62196 glibcxx_cv_func__frexpl_use=no
62197 fi
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62204
62205
62206 fi
62207
62208 fi
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62210 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62211
62212 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62213 for ac_func in _frexpl
62214 do :
62215 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62216 if test "x$ac_cv_func__frexpl" = x""yes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE__FREXPL 1
62219 _ACEOF
62220
62221 fi
62222 done
62223
62224 fi
62225 fi
62226
62227
62228
62229
62230
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62232 $as_echo_n "checking for hypotl declaration... " >&6; }
62233 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62234 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62237
62238
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62244
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62248 int
62249 main ()
62250 {
62251 hypotl(0, 0);
62252 ;
62253 return 0;
62254 }
62255 _ACEOF
62256 if ac_fn_cxx_try_compile "$LINENO"; then :
62257 glibcxx_cv_func_hypotl_use=yes
62258 else
62259 glibcxx_cv_func_hypotl_use=no
62260 fi
62261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62262 ac_ext=c
62263 ac_cpp='$CPP $CPPFLAGS'
62264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62267
62268
62269 fi
62270
62271 fi
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62273 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62274
62275 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62276 for ac_func in hypotl
62277 do :
62278 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62279 if test "x$ac_cv_func_hypotl" = x""yes; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define HAVE_HYPOTL 1
62282 _ACEOF
62283
62284 fi
62285 done
62286
62287 else
62288
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62290 $as_echo_n "checking for _hypotl declaration... " >&6; }
62291 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62292 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62293 $as_echo_n "(cached) " >&6
62294 else
62295
62296
62297 ac_ext=cpp
62298 ac_cpp='$CXXCPP $CPPFLAGS'
62299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62302
62303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62304 /* end confdefs.h. */
62305 #include <math.h>
62306 int
62307 main ()
62308 {
62309 _hypotl(0, 0);
62310 ;
62311 return 0;
62312 }
62313 _ACEOF
62314 if ac_fn_cxx_try_compile "$LINENO"; then :
62315 glibcxx_cv_func__hypotl_use=yes
62316 else
62317 glibcxx_cv_func__hypotl_use=no
62318 fi
62319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62320 ac_ext=c
62321 ac_cpp='$CPP $CPPFLAGS'
62322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62325
62326
62327 fi
62328
62329 fi
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62331 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62332
62333 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62334 for ac_func in _hypotl
62335 do :
62336 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62337 if test "x$ac_cv_func__hypotl" = x""yes; then :
62338 cat >>confdefs.h <<_ACEOF
62339 #define HAVE__HYPOTL 1
62340 _ACEOF
62341
62342 fi
62343 done
62344
62345 fi
62346 fi
62347
62348
62349
62350
62351
62352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62353 $as_echo_n "checking for ldexpl declaration... " >&6; }
62354 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62355 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62356 $as_echo_n "(cached) " >&6
62357 else
62358
62359
62360 ac_ext=cpp
62361 ac_cpp='$CXXCPP $CPPFLAGS'
62362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62365
62366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62367 /* end confdefs.h. */
62368 #include <math.h>
62369 int
62370 main ()
62371 {
62372 ldexpl(0, 0);
62373 ;
62374 return 0;
62375 }
62376 _ACEOF
62377 if ac_fn_cxx_try_compile "$LINENO"; then :
62378 glibcxx_cv_func_ldexpl_use=yes
62379 else
62380 glibcxx_cv_func_ldexpl_use=no
62381 fi
62382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62383 ac_ext=c
62384 ac_cpp='$CPP $CPPFLAGS'
62385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62388
62389
62390 fi
62391
62392 fi
62393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62394 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62395
62396 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62397 for ac_func in ldexpl
62398 do :
62399 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62400 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62401 cat >>confdefs.h <<_ACEOF
62402 #define HAVE_LDEXPL 1
62403 _ACEOF
62404
62405 fi
62406 done
62407
62408 else
62409
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62411 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62412 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62413 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62414 $as_echo_n "(cached) " >&6
62415 else
62416
62417
62418 ac_ext=cpp
62419 ac_cpp='$CXXCPP $CPPFLAGS'
62420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62423
62424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62425 /* end confdefs.h. */
62426 #include <math.h>
62427 int
62428 main ()
62429 {
62430 _ldexpl(0, 0);
62431 ;
62432 return 0;
62433 }
62434 _ACEOF
62435 if ac_fn_cxx_try_compile "$LINENO"; then :
62436 glibcxx_cv_func__ldexpl_use=yes
62437 else
62438 glibcxx_cv_func__ldexpl_use=no
62439 fi
62440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62441 ac_ext=c
62442 ac_cpp='$CPP $CPPFLAGS'
62443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446
62447
62448 fi
62449
62450 fi
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62452 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62453
62454 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62455 for ac_func in _ldexpl
62456 do :
62457 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62458 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62459 cat >>confdefs.h <<_ACEOF
62460 #define HAVE__LDEXPL 1
62461 _ACEOF
62462
62463 fi
62464 done
62465
62466 fi
62467 fi
62468
62469
62470
62471
62472
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62474 $as_echo_n "checking for logl declaration... " >&6; }
62475 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62476 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62477 $as_echo_n "(cached) " >&6
62478 else
62479
62480
62481 ac_ext=cpp
62482 ac_cpp='$CXXCPP $CPPFLAGS'
62483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62486
62487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62488 /* end confdefs.h. */
62489 #include <math.h>
62490 #ifdef HAVE_IEEEFP_H
62491 #include <ieeefp.h>
62492 #endif
62493
62494 int
62495 main ()
62496 {
62497 logl(0);
62498 ;
62499 return 0;
62500 }
62501 _ACEOF
62502 if ac_fn_cxx_try_compile "$LINENO"; then :
62503 glibcxx_cv_func_logl_use=yes
62504 else
62505 glibcxx_cv_func_logl_use=no
62506 fi
62507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62508 ac_ext=c
62509 ac_cpp='$CPP $CPPFLAGS'
62510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62513
62514
62515 fi
62516
62517 fi
62518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62519 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62520
62521 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62522 for ac_func in logl
62523 do :
62524 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62525 if test "x$ac_cv_func_logl" = x""yes; then :
62526 cat >>confdefs.h <<_ACEOF
62527 #define HAVE_LOGL 1
62528 _ACEOF
62529
62530 fi
62531 done
62532
62533 else
62534
62535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62536 $as_echo_n "checking for _logl declaration... " >&6; }
62537 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62538 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62541
62542
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62548
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62552 #ifdef HAVE_IEEEFP_H
62553 #include <ieeefp.h>
62554 #endif
62555
62556 int
62557 main ()
62558 {
62559 _logl(0);
62560 ;
62561 return 0;
62562 }
62563 _ACEOF
62564 if ac_fn_cxx_try_compile "$LINENO"; then :
62565 glibcxx_cv_func__logl_use=yes
62566 else
62567 glibcxx_cv_func__logl_use=no
62568 fi
62569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62570 ac_ext=c
62571 ac_cpp='$CPP $CPPFLAGS'
62572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62575
62576
62577 fi
62578
62579 fi
62580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62581 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62582
62583 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62584 for ac_func in _logl
62585 do :
62586 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62587 if test "x$ac_cv_func__logl" = x""yes; then :
62588 cat >>confdefs.h <<_ACEOF
62589 #define HAVE__LOGL 1
62590 _ACEOF
62591
62592 fi
62593 done
62594
62595 fi
62596 fi
62597
62598
62599
62600
62601
62602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62603 $as_echo_n "checking for log10l declaration... " >&6; }
62604 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62605 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62606 $as_echo_n "(cached) " >&6
62607 else
62608
62609
62610 ac_ext=cpp
62611 ac_cpp='$CXXCPP $CPPFLAGS'
62612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615
62616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62617 /* end confdefs.h. */
62618 #include <math.h>
62619 #ifdef HAVE_IEEEFP_H
62620 #include <ieeefp.h>
62621 #endif
62622
62623 int
62624 main ()
62625 {
62626 log10l(0);
62627 ;
62628 return 0;
62629 }
62630 _ACEOF
62631 if ac_fn_cxx_try_compile "$LINENO"; then :
62632 glibcxx_cv_func_log10l_use=yes
62633 else
62634 glibcxx_cv_func_log10l_use=no
62635 fi
62636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62637 ac_ext=c
62638 ac_cpp='$CPP $CPPFLAGS'
62639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62642
62643
62644 fi
62645
62646 fi
62647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62648 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62649
62650 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62651 for ac_func in log10l
62652 do :
62653 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62654 if test "x$ac_cv_func_log10l" = x""yes; then :
62655 cat >>confdefs.h <<_ACEOF
62656 #define HAVE_LOG10L 1
62657 _ACEOF
62658
62659 fi
62660 done
62661
62662 else
62663
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62665 $as_echo_n "checking for _log10l declaration... " >&6; }
62666 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62667 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62668 $as_echo_n "(cached) " >&6
62669 else
62670
62671
62672 ac_ext=cpp
62673 ac_cpp='$CXXCPP $CPPFLAGS'
62674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62677
62678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62679 /* end confdefs.h. */
62680 #include <math.h>
62681 #ifdef HAVE_IEEEFP_H
62682 #include <ieeefp.h>
62683 #endif
62684
62685 int
62686 main ()
62687 {
62688 _log10l(0);
62689 ;
62690 return 0;
62691 }
62692 _ACEOF
62693 if ac_fn_cxx_try_compile "$LINENO"; then :
62694 glibcxx_cv_func__log10l_use=yes
62695 else
62696 glibcxx_cv_func__log10l_use=no
62697 fi
62698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62699 ac_ext=c
62700 ac_cpp='$CPP $CPPFLAGS'
62701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62704
62705
62706 fi
62707
62708 fi
62709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62710 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62711
62712 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62713 for ac_func in _log10l
62714 do :
62715 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62716 if test "x$ac_cv_func__log10l" = x""yes; then :
62717 cat >>confdefs.h <<_ACEOF
62718 #define HAVE__LOG10L 1
62719 _ACEOF
62720
62721 fi
62722 done
62723
62724 fi
62725 fi
62726
62727
62728
62729
62730
62731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62732 $as_echo_n "checking for modfl declaration... " >&6; }
62733 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62734 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62735 $as_echo_n "(cached) " >&6
62736 else
62737
62738
62739 ac_ext=cpp
62740 ac_cpp='$CXXCPP $CPPFLAGS'
62741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62744
62745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62746 /* end confdefs.h. */
62747 #include <math.h>
62748 int
62749 main ()
62750 {
62751 modfl(0, 0);
62752 ;
62753 return 0;
62754 }
62755 _ACEOF
62756 if ac_fn_cxx_try_compile "$LINENO"; then :
62757 glibcxx_cv_func_modfl_use=yes
62758 else
62759 glibcxx_cv_func_modfl_use=no
62760 fi
62761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62762 ac_ext=c
62763 ac_cpp='$CPP $CPPFLAGS'
62764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62767
62768
62769 fi
62770
62771 fi
62772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62773 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62774
62775 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62776 for ac_func in modfl
62777 do :
62778 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62779 if test "x$ac_cv_func_modfl" = x""yes; then :
62780 cat >>confdefs.h <<_ACEOF
62781 #define HAVE_MODFL 1
62782 _ACEOF
62783
62784 fi
62785 done
62786
62787 else
62788
62789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62790 $as_echo_n "checking for _modfl declaration... " >&6; }
62791 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62792 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62793 $as_echo_n "(cached) " >&6
62794 else
62795
62796
62797 ac_ext=cpp
62798 ac_cpp='$CXXCPP $CPPFLAGS'
62799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62802
62803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62804 /* end confdefs.h. */
62805 #include <math.h>
62806 int
62807 main ()
62808 {
62809 _modfl(0, 0);
62810 ;
62811 return 0;
62812 }
62813 _ACEOF
62814 if ac_fn_cxx_try_compile "$LINENO"; then :
62815 glibcxx_cv_func__modfl_use=yes
62816 else
62817 glibcxx_cv_func__modfl_use=no
62818 fi
62819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62820 ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62825
62826
62827 fi
62828
62829 fi
62830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62831 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62832
62833 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62834 for ac_func in _modfl
62835 do :
62836 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62837 if test "x$ac_cv_func__modfl" = x""yes; then :
62838 cat >>confdefs.h <<_ACEOF
62839 #define HAVE__MODFL 1
62840 _ACEOF
62841
62842 fi
62843 done
62844
62845 fi
62846 fi
62847
62848
62849
62850
62851
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62853 $as_echo_n "checking for powl declaration... " >&6; }
62854 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62855 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62856 $as_echo_n "(cached) " >&6
62857 else
62858
62859
62860 ac_ext=cpp
62861 ac_cpp='$CXXCPP $CPPFLAGS'
62862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62865
62866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62867 /* end confdefs.h. */
62868 #include <math.h>
62869 int
62870 main ()
62871 {
62872 powl(0, 0);
62873 ;
62874 return 0;
62875 }
62876 _ACEOF
62877 if ac_fn_cxx_try_compile "$LINENO"; then :
62878 glibcxx_cv_func_powl_use=yes
62879 else
62880 glibcxx_cv_func_powl_use=no
62881 fi
62882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62883 ac_ext=c
62884 ac_cpp='$CPP $CPPFLAGS'
62885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62888
62889
62890 fi
62891
62892 fi
62893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62894 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62895
62896 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62897 for ac_func in powl
62898 do :
62899 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62900 if test "x$ac_cv_func_powl" = x""yes; then :
62901 cat >>confdefs.h <<_ACEOF
62902 #define HAVE_POWL 1
62903 _ACEOF
62904
62905 fi
62906 done
62907
62908 else
62909
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62911 $as_echo_n "checking for _powl declaration... " >&6; }
62912 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62913 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62914 $as_echo_n "(cached) " >&6
62915 else
62916
62917
62918 ac_ext=cpp
62919 ac_cpp='$CXXCPP $CPPFLAGS'
62920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62923
62924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62925 /* end confdefs.h. */
62926 #include <math.h>
62927 int
62928 main ()
62929 {
62930 _powl(0, 0);
62931 ;
62932 return 0;
62933 }
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func__powl_use=yes
62937 else
62938 glibcxx_cv_func__powl_use=no
62939 fi
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62946
62947
62948 fi
62949
62950 fi
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62952 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62953
62954 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62955 for ac_func in _powl
62956 do :
62957 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62958 if test "x$ac_cv_func__powl" = x""yes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE__POWL 1
62961 _ACEOF
62962
62963 fi
62964 done
62965
62966 fi
62967 fi
62968
62969
62970
62971
62972
62973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62974 $as_echo_n "checking for sqrtl declaration... " >&6; }
62975 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62976 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62977 $as_echo_n "(cached) " >&6
62978 else
62979
62980
62981 ac_ext=cpp
62982 ac_cpp='$CXXCPP $CPPFLAGS'
62983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62986
62987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62988 /* end confdefs.h. */
62989 #include <math.h>
62990 #ifdef HAVE_IEEEFP_H
62991 #include <ieeefp.h>
62992 #endif
62993
62994 int
62995 main ()
62996 {
62997 sqrtl(0);
62998 ;
62999 return 0;
63000 }
63001 _ACEOF
63002 if ac_fn_cxx_try_compile "$LINENO"; then :
63003 glibcxx_cv_func_sqrtl_use=yes
63004 else
63005 glibcxx_cv_func_sqrtl_use=no
63006 fi
63007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63008 ac_ext=c
63009 ac_cpp='$CPP $CPPFLAGS'
63010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63013
63014
63015 fi
63016
63017 fi
63018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63019 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63020
63021 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63022 for ac_func in sqrtl
63023 do :
63024 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63025 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63026 cat >>confdefs.h <<_ACEOF
63027 #define HAVE_SQRTL 1
63028 _ACEOF
63029
63030 fi
63031 done
63032
63033 else
63034
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63036 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63037 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63038 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63039 $as_echo_n "(cached) " >&6
63040 else
63041
63042
63043 ac_ext=cpp
63044 ac_cpp='$CXXCPP $CPPFLAGS'
63045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63048
63049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63050 /* end confdefs.h. */
63051 #include <math.h>
63052 #ifdef HAVE_IEEEFP_H
63053 #include <ieeefp.h>
63054 #endif
63055
63056 int
63057 main ()
63058 {
63059 _sqrtl(0);
63060 ;
63061 return 0;
63062 }
63063 _ACEOF
63064 if ac_fn_cxx_try_compile "$LINENO"; then :
63065 glibcxx_cv_func__sqrtl_use=yes
63066 else
63067 glibcxx_cv_func__sqrtl_use=no
63068 fi
63069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63070 ac_ext=c
63071 ac_cpp='$CPP $CPPFLAGS'
63072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63075
63076
63077 fi
63078
63079 fi
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63081 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63082
63083 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63084 for ac_func in _sqrtl
63085 do :
63086 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63087 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63088 cat >>confdefs.h <<_ACEOF
63089 #define HAVE__SQRTL 1
63090 _ACEOF
63091
63092 fi
63093 done
63094
63095 fi
63096 fi
63097
63098
63099
63100
63101
63102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63103 $as_echo_n "checking for sincosl declaration... " >&6; }
63104 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63105 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63106 $as_echo_n "(cached) " >&6
63107 else
63108
63109
63110 ac_ext=cpp
63111 ac_cpp='$CXXCPP $CPPFLAGS'
63112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63115
63116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63117 /* end confdefs.h. */
63118 #include <math.h>
63119 int
63120 main ()
63121 {
63122 sincosl(0, 0, 0);
63123 ;
63124 return 0;
63125 }
63126 _ACEOF
63127 if ac_fn_cxx_try_compile "$LINENO"; then :
63128 glibcxx_cv_func_sincosl_use=yes
63129 else
63130 glibcxx_cv_func_sincosl_use=no
63131 fi
63132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63133 ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63138
63139
63140 fi
63141
63142 fi
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63144 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63145
63146 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63147 for ac_func in sincosl
63148 do :
63149 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63150 if test "x$ac_cv_func_sincosl" = x""yes; then :
63151 cat >>confdefs.h <<_ACEOF
63152 #define HAVE_SINCOSL 1
63153 _ACEOF
63154
63155 fi
63156 done
63157
63158 else
63159
63160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63161 $as_echo_n "checking for _sincosl declaration... " >&6; }
63162 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63163 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63164 $as_echo_n "(cached) " >&6
63165 else
63166
63167
63168 ac_ext=cpp
63169 ac_cpp='$CXXCPP $CPPFLAGS'
63170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63173
63174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63175 /* end confdefs.h. */
63176 #include <math.h>
63177 int
63178 main ()
63179 {
63180 _sincosl(0, 0, 0);
63181 ;
63182 return 0;
63183 }
63184 _ACEOF
63185 if ac_fn_cxx_try_compile "$LINENO"; then :
63186 glibcxx_cv_func__sincosl_use=yes
63187 else
63188 glibcxx_cv_func__sincosl_use=no
63189 fi
63190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63191 ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63196
63197
63198 fi
63199
63200 fi
63201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63202 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63203
63204 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63205 for ac_func in _sincosl
63206 do :
63207 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63208 if test "x$ac_cv_func__sincosl" = x""yes; then :
63209 cat >>confdefs.h <<_ACEOF
63210 #define HAVE__SINCOSL 1
63211 _ACEOF
63212
63213 fi
63214 done
63215
63216 fi
63217 fi
63218
63219
63220
63221
63222
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63224 $as_echo_n "checking for finitel declaration... " >&6; }
63225 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63226 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63227 $as_echo_n "(cached) " >&6
63228 else
63229
63230
63231 ac_ext=cpp
63232 ac_cpp='$CXXCPP $CPPFLAGS'
63233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63236
63237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63238 /* end confdefs.h. */
63239 #include <math.h>
63240 #ifdef HAVE_IEEEFP_H
63241 #include <ieeefp.h>
63242 #endif
63243
63244 int
63245 main ()
63246 {
63247 finitel(0);
63248 ;
63249 return 0;
63250 }
63251 _ACEOF
63252 if ac_fn_cxx_try_compile "$LINENO"; then :
63253 glibcxx_cv_func_finitel_use=yes
63254 else
63255 glibcxx_cv_func_finitel_use=no
63256 fi
63257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63258 ac_ext=c
63259 ac_cpp='$CPP $CPPFLAGS'
63260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63263
63264
63265 fi
63266
63267 fi
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63269 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63270
63271 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63272 for ac_func in finitel
63273 do :
63274 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63275 if test "x$ac_cv_func_finitel" = x""yes; then :
63276 cat >>confdefs.h <<_ACEOF
63277 #define HAVE_FINITEL 1
63278 _ACEOF
63279
63280 fi
63281 done
63282
63283 else
63284
63285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63286 $as_echo_n "checking for _finitel declaration... " >&6; }
63287 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63288 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63289 $as_echo_n "(cached) " >&6
63290 else
63291
63292
63293 ac_ext=cpp
63294 ac_cpp='$CXXCPP $CPPFLAGS'
63295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63298
63299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63300 /* end confdefs.h. */
63301 #include <math.h>
63302 #ifdef HAVE_IEEEFP_H
63303 #include <ieeefp.h>
63304 #endif
63305
63306 int
63307 main ()
63308 {
63309 _finitel(0);
63310 ;
63311 return 0;
63312 }
63313 _ACEOF
63314 if ac_fn_cxx_try_compile "$LINENO"; then :
63315 glibcxx_cv_func__finitel_use=yes
63316 else
63317 glibcxx_cv_func__finitel_use=no
63318 fi
63319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63320 ac_ext=c
63321 ac_cpp='$CPP $CPPFLAGS'
63322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63325
63326
63327 fi
63328
63329 fi
63330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63331 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63332
63333 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63334 for ac_func in _finitel
63335 do :
63336 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63337 if test "x$ac_cv_func__finitel" = x""yes; then :
63338 cat >>confdefs.h <<_ACEOF
63339 #define HAVE__FINITEL 1
63340 _ACEOF
63341
63342 fi
63343 done
63344
63345 fi
63346 fi
63347
63348
63349
63350
63351 LIBS="$ac_save_LIBS"
63352 CXXFLAGS="$ac_save_CXXFLAGS"
63353
63354
63355 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63356 ac_save_CXXFLAGS="$CXXFLAGS"
63357 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63358
63359
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63361 $as_echo_n "checking for strtold declaration... " >&6; }
63362 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63363 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63364 $as_echo_n "(cached) " >&6
63365 else
63366
63367
63368 ac_ext=cpp
63369 ac_cpp='$CXXCPP $CPPFLAGS'
63370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63373
63374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63375 /* end confdefs.h. */
63376 #include <stdlib.h>
63377 int
63378 main ()
63379 {
63380 strtold(0, 0);
63381 ;
63382 return 0;
63383 }
63384 _ACEOF
63385 if ac_fn_cxx_try_compile "$LINENO"; then :
63386 glibcxx_cv_func_strtold_use=yes
63387 else
63388 glibcxx_cv_func_strtold_use=no
63389 fi
63390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63391 ac_ext=c
63392 ac_cpp='$CPP $CPPFLAGS'
63393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63396
63397
63398 fi
63399
63400 fi
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63402 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63403 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63404 for ac_func in strtold
63405 do :
63406 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63407 if test "x$ac_cv_func_strtold" = x""yes; then :
63408 cat >>confdefs.h <<_ACEOF
63409 #define HAVE_STRTOLD 1
63410 _ACEOF
63411
63412 fi
63413 done
63414
63415 fi
63416
63417
63418
63419
63420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63421 $as_echo_n "checking for strtof declaration... " >&6; }
63422 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63423 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63424 $as_echo_n "(cached) " >&6
63425 else
63426
63427
63428 ac_ext=cpp
63429 ac_cpp='$CXXCPP $CPPFLAGS'
63430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63433
63434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63435 /* end confdefs.h. */
63436 #include <stdlib.h>
63437 int
63438 main ()
63439 {
63440 strtof(0, 0);
63441 ;
63442 return 0;
63443 }
63444 _ACEOF
63445 if ac_fn_cxx_try_compile "$LINENO"; then :
63446 glibcxx_cv_func_strtof_use=yes
63447 else
63448 glibcxx_cv_func_strtof_use=no
63449 fi
63450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63451 ac_ext=c
63452 ac_cpp='$CPP $CPPFLAGS'
63453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63456
63457
63458 fi
63459
63460 fi
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63462 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63463 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63464 for ac_func in strtof
63465 do :
63466 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63467 if test "x$ac_cv_func_strtof" = x""yes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE_STRTOF 1
63470 _ACEOF
63471
63472 fi
63473 done
63474
63475 fi
63476
63477
63478
63479
63480 CXXFLAGS="$ac_save_CXXFLAGS"
63481
63482 ;;
63483 *-solaris*)
63484 case "$target" in
63485 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63486
63487 # If we're not using GNU ld, then there's no point in even trying these
63488 # tests. Check for that first. We should have already tested for gld
63489 # by now (in libtool), but require it now just to be safe...
63490 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63491 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63492
63493
63494
63495 # The name set by libtool depends on the version of libtool. Shame on us
63496 # for depending on an impl detail, but c'est la vie. Older versions used
63497 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63498 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63499 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63500 # set (hence we're using an older libtool), then set it.
63501 if test x${with_gnu_ld+set} != xset; then
63502 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63503 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63504 with_gnu_ld=no
63505 else
63506 with_gnu_ld=$ac_cv_prog_gnu_ld
63507 fi
63508 fi
63509
63510 # Start by getting the version number. I think the libtool test already
63511 # does some of this, but throws away the result.
63512 glibcxx_ld_is_gold=no
63513 if test x"$with_gnu_ld" = x"yes"; then
63514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63515 $as_echo_n "checking for ld version... " >&6; }
63516
63517 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63518 glibcxx_ld_is_gold=yes
63519 fi
63520 ldver=`$LD --version 2>/dev/null |
63521 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'`
63522
63523 glibcxx_gnu_ld_version=`echo $ldver | \
63524 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63526 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63527 fi
63528
63529 # Set --gc-sections.
63530 glibcxx_have_gc_sections=no
63531 if test "$glibcxx_ld_is_gold" = "yes"; then
63532 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63533 glibcxx_have_gc_sections=yes
63534 fi
63535 else
63536 glibcxx_gcsections_min_ld=21602
63537 if test x"$with_gnu_ld" = x"yes" &&
63538 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63539 glibcxx_have_gc_sections=yes
63540 fi
63541 fi
63542 if test "$glibcxx_have_gc_sections" = "yes"; then
63543 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63544 # NB: This flag only works reliably after 2.16.1. Configure tests
63545 # for this are difficult, so hard wire a value that should work.
63546
63547 ac_test_CFLAGS="${CFLAGS+set}"
63548 ac_save_CFLAGS="$CFLAGS"
63549 CFLAGS='-Wl,--gc-sections'
63550
63551 # Check for -Wl,--gc-sections
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63553 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63554 if test x$gcc_no_link = xyes; then
63555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63556 fi
63557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63558 /* end confdefs.h. */
63559 int one(void) { return 1; }
63560 int two(void) { return 2; }
63561
63562 int
63563 main ()
63564 {
63565 two();
63566 ;
63567 return 0;
63568 }
63569 _ACEOF
63570 if ac_fn_c_try_link "$LINENO"; then :
63571 ac_gcsections=yes
63572 else
63573 ac_gcsections=no
63574 fi
63575 rm -f core conftest.err conftest.$ac_objext \
63576 conftest$ac_exeext conftest.$ac_ext
63577 if test "$ac_gcsections" = "yes"; then
63578 rm -f conftest.c
63579 touch conftest.c
63580 if $CC -c conftest.c; then
63581 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63582 grep "Warning: gc-sections option ignored" > /dev/null; then
63583 ac_gcsections=no
63584 fi
63585 fi
63586 rm -f conftest.c conftest.o conftest
63587 fi
63588 if test "$ac_gcsections" = "yes"; then
63589 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63590 fi
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63592 $as_echo "$ac_gcsections" >&6; }
63593
63594 if test "$ac_test_CFLAGS" = set; then
63595 CFLAGS="$ac_save_CFLAGS"
63596 else
63597 # this is the suspicious part
63598 CFLAGS=''
63599 fi
63600 fi
63601
63602 # Set -z,relro.
63603 # Note this is only for shared objects.
63604 ac_ld_relro=no
63605 if test x"$with_gnu_ld" = x"yes"; then
63606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63607 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63608 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63609 if test -n "$cxx_z_relo"; then
63610 OPT_LDFLAGS="-Wl,-z,relro"
63611 ac_ld_relro=yes
63612 fi
63613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63614 $as_echo "$ac_ld_relro" >&6; }
63615 fi
63616
63617 # Set linker optimization flags.
63618 if test x"$with_gnu_ld" = x"yes"; then
63619 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63620 fi
63621
63622
63623
63624
63625 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63626
63627 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63628
63629 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63630
63631 # All of the dependencies for wide character support are here, so
63632 # turn it on.
63633 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63634
63635 ;;
63636 esac
63637 case "$target" in
63638 *-*-solaris2.10)
63639 # These two C99 functions are present only in Solaris >= 10
63640 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63641
63642 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63643
63644 ;;
63645 esac
63646 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63647
63648 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63649
63650 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63651
63652 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63653
63654 ;;
63655 *-tpf)
63656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63657
63658
63659 # If we're not using GNU ld, then there's no point in even trying these
63660 # tests. Check for that first. We should have already tested for gld
63661 # by now (in libtool), but require it now just to be safe...
63662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63664
63665
63666
63667 # The name set by libtool depends on the version of libtool. Shame on us
63668 # for depending on an impl detail, but c'est la vie. Older versions used
63669 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63670 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63671 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63672 # set (hence we're using an older libtool), then set it.
63673 if test x${with_gnu_ld+set} != xset; then
63674 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63675 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63676 with_gnu_ld=no
63677 else
63678 with_gnu_ld=$ac_cv_prog_gnu_ld
63679 fi
63680 fi
63681
63682 # Start by getting the version number. I think the libtool test already
63683 # does some of this, but throws away the result.
63684 glibcxx_ld_is_gold=no
63685 if test x"$with_gnu_ld" = x"yes"; then
63686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63687 $as_echo_n "checking for ld version... " >&6; }
63688
63689 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63690 glibcxx_ld_is_gold=yes
63691 fi
63692 ldver=`$LD --version 2>/dev/null |
63693 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'`
63694
63695 glibcxx_gnu_ld_version=`echo $ldver | \
63696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63698 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63699 fi
63700
63701 # Set --gc-sections.
63702 glibcxx_have_gc_sections=no
63703 if test "$glibcxx_ld_is_gold" = "yes"; then
63704 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63705 glibcxx_have_gc_sections=yes
63706 fi
63707 else
63708 glibcxx_gcsections_min_ld=21602
63709 if test x"$with_gnu_ld" = x"yes" &&
63710 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63711 glibcxx_have_gc_sections=yes
63712 fi
63713 fi
63714 if test "$glibcxx_have_gc_sections" = "yes"; then
63715 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63716 # NB: This flag only works reliably after 2.16.1. Configure tests
63717 # for this are difficult, so hard wire a value that should work.
63718
63719 ac_test_CFLAGS="${CFLAGS+set}"
63720 ac_save_CFLAGS="$CFLAGS"
63721 CFLAGS='-Wl,--gc-sections'
63722
63723 # Check for -Wl,--gc-sections
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63725 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63726 if test x$gcc_no_link = xyes; then
63727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63728 fi
63729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63730 /* end confdefs.h. */
63731 int one(void) { return 1; }
63732 int two(void) { return 2; }
63733
63734 int
63735 main ()
63736 {
63737 two();
63738 ;
63739 return 0;
63740 }
63741 _ACEOF
63742 if ac_fn_c_try_link "$LINENO"; then :
63743 ac_gcsections=yes
63744 else
63745 ac_gcsections=no
63746 fi
63747 rm -f core conftest.err conftest.$ac_objext \
63748 conftest$ac_exeext conftest.$ac_ext
63749 if test "$ac_gcsections" = "yes"; then
63750 rm -f conftest.c
63751 touch conftest.c
63752 if $CC -c conftest.c; then
63753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63754 grep "Warning: gc-sections option ignored" > /dev/null; then
63755 ac_gcsections=no
63756 fi
63757 fi
63758 rm -f conftest.c conftest.o conftest
63759 fi
63760 if test "$ac_gcsections" = "yes"; then
63761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63762 fi
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63764 $as_echo "$ac_gcsections" >&6; }
63765
63766 if test "$ac_test_CFLAGS" = set; then
63767 CFLAGS="$ac_save_CFLAGS"
63768 else
63769 # this is the suspicious part
63770 CFLAGS=''
63771 fi
63772 fi
63773
63774 # Set -z,relro.
63775 # Note this is only for shared objects.
63776 ac_ld_relro=no
63777 if test x"$with_gnu_ld" = x"yes"; then
63778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63779 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63781 if test -n "$cxx_z_relo"; then
63782 OPT_LDFLAGS="-Wl,-z,relro"
63783 ac_ld_relro=yes
63784 fi
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63786 $as_echo "$ac_ld_relro" >&6; }
63787 fi
63788
63789 # Set linker optimization flags.
63790 if test x"$with_gnu_ld" = x"yes"; then
63791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63792 fi
63793
63794
63795
63796
63797 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63798
63799 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63800
63801 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63802
63803 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63804
63805 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63806
63807 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63808
63809 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63810
63811 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63812
63813 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63814
63815 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63816
63817 if test x"long_double_math_on_this_cpu" = x"yes"; then
63818 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63819
63820 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63821
63822 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63823
63824 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63825
63826 fi
63827 ;;
63828 *-vxworks)
63829 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63830
63831 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63832
63833 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63834
63835 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63836
63837 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63838
63839 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63840
63841 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63842
63843 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63844
63845 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63846
63847 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63848
63849 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63850
63851 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63852
63853 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63854
63855 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63856
63857 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63858
63859 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63860
63861 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63862
63863 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63864
63865 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63866
63867 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63868
63869 ;;
63870 *)
63871 as_fn_error "No support for this host/target combination." "$LINENO" 5
63872 ;;
63873 esac
63874
63875 fi
63876
63877 # At some point, we should differentiate between architectures
63878 # like x86, which have long double versions, and alpha/powerpc/etc.,
63879 # which don't. For the time being, punt.
63880 if test x"long_double_math_on_this_cpu" = x"yes"; then
63881 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63882
63883 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63884
63885 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63886
63887 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63888
63889 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63890
63891 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63892
63893 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63894
63895 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63896
63897 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63898
63899 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63900
63901 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63902
63903 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63904
63905 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63906
63907 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63908
63909 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63910
63911 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63912
63913 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63914
63915 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63916
63917 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63918
63919 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63920
63921 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63922
63923 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63924
63925 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63926
63927 fi
63928 fi
63929
63930 # Check for _Unwind_GetIPInfo.
63931
63932
63933 # Check whether --with-system-libunwind was given.
63934 if test "${with_system_libunwind+set}" = set; then :
63935 withval=$with_system_libunwind;
63936 fi
63937
63938 # If system-libunwind was not specifically set, pick a default setting.
63939 if test x$with_system_libunwind = x; then
63940 case ${target} in
63941 ia64-*-hpux*) with_system_libunwind=yes ;;
63942 *) with_system_libunwind=no ;;
63943 esac
63944 fi
63945 # Based on system-libunwind and target, do we have ipinfo?
63946 if test x$with_system_libunwind = xyes; then
63947 case ${target} in
63948 ia64-*-*) have_unwind_getipinfo=no ;;
63949 *) have_unwind_getipinfo=yes ;;
63950 esac
63951 else
63952 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63953
63954 case ${target} in
63955 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63956 *) have_unwind_getipinfo=yes ;;
63957 esac
63958
63959 fi
63960
63961 if test x$have_unwind_getipinfo = xyes; then
63962
63963 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63964
63965 fi
63966
63967
63968 # Check whether --enable-linux-futex was given.
63969 if test "${enable_linux_futex+set}" = set; then :
63970 enableval=$enable_linux_futex;
63971 case "$enableval" in
63972 yes|no|default) ;;
63973 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63974 esac
63975
63976 else
63977 enable_linux_futex=default
63978 fi
63979
63980
63981 case "$target" in
63982 *-linux*)
63983 case "$enable_linux_futex" in
63984 default)
63985 # If headers don't have gettid/futex syscalls definition, then
63986 # default to no, otherwise there will be compile time failures.
63987 # Otherwise, default to yes. If we don't detect we are
63988 # compiled/linked against NPTL and not cross-compiling, check
63989 # if programs are run by default against NPTL and if not, issue
63990 # a warning.
63991 enable_linux_futex=no
63992 if test x$gcc_no_link = xyes; then
63993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63994 fi
63995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63996 /* end confdefs.h. */
63997 #include <sys/syscall.h>
63998 int lk;
63999 int
64000 main ()
64001 {
64002 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64003 ;
64004 return 0;
64005 }
64006 _ACEOF
64007 if ac_fn_c_try_link "$LINENO"; then :
64008 save_LIBS="$LIBS"
64009 LIBS="-lpthread $LIBS"
64010 if test x$gcc_no_link = xyes; then
64011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64012 fi
64013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64014 /* end confdefs.h. */
64015 #ifndef _GNU_SOURCE
64016 #define _GNU_SOURCE 1
64017 #endif
64018 #include <pthread.h>
64019 pthread_t th; void *status;
64020 int
64021 main ()
64022 {
64023 pthread_tryjoin_np (th, &status);
64024 ;
64025 return 0;
64026 }
64027 _ACEOF
64028 if ac_fn_c_try_link "$LINENO"; then :
64029 enable_linux_futex=yes
64030 else
64031 if test x$cross_compiling = xno; then
64032 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64033 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64035 If so, please configure with --disable-linux-futex" >&5
64036 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64037 If so, please configure with --disable-linux-futex" >&2;}
64038 fi
64039 fi
64040 enable_linux_futex=yes
64041 fi
64042 rm -f core conftest.err conftest.$ac_objext \
64043 conftest$ac_exeext conftest.$ac_ext
64044 LIBS="$save_LIBS"
64045 fi
64046 rm -f core conftest.err conftest.$ac_objext \
64047 conftest$ac_exeext conftest.$ac_ext
64048 ;;
64049 yes)
64050 if test x$gcc_no_link = xyes; then
64051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64052 fi
64053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64054 /* end confdefs.h. */
64055 #include <sys/syscall.h>
64056 int lk;
64057 int
64058 main ()
64059 {
64060 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64061 ;
64062 return 0;
64063 }
64064 _ACEOF
64065 if ac_fn_c_try_link "$LINENO"; then :
64066
64067 else
64068 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64069 fi
64070 rm -f core conftest.err conftest.$ac_objext \
64071 conftest$ac_exeext conftest.$ac_ext
64072 ;;
64073 esac
64074 ;;
64075 *)
64076 enable_linux_futex=no
64077 ;;
64078 esac
64079 if test x$enable_linux_futex = xyes; then
64080
64081 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64082
64083 fi
64084
64085
64086
64087
64088 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64089
64090 acx_cv_header_stdint=stddef.h
64091 acx_cv_header_stdint_kind="(already complete)"
64092 for i in stdint.h $inttype_headers; do
64093 unset ac_cv_type_uintptr_t
64094 unset ac_cv_type_uintmax_t
64095 unset ac_cv_type_int_least32_t
64096 unset ac_cv_type_int_fast32_t
64097 unset ac_cv_type_uint64_t
64098 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64099 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64100 #include <$i>
64101 "
64102 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64103 acx_cv_header_stdint=$i
64104 else
64105 continue
64106 fi
64107
64108 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64109 #include <$i>
64110 "
64111 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64112
64113 else
64114 acx_cv_header_stdint_kind="(mostly complete)"
64115 fi
64116
64117 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64118 #include <$i>
64119 "
64120 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64121
64122 else
64123 acx_cv_header_stdint_kind="(mostly complete)"
64124 fi
64125
64126 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64127 #include <$i>
64128 "
64129 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64130
64131 else
64132 acx_cv_header_stdint_kind="(mostly complete)"
64133 fi
64134
64135 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64136 #include <$i>
64137 "
64138 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64139
64140 else
64141 acx_cv_header_stdint_kind="(lacks uint64_t)"
64142 fi
64143
64144 break
64145 done
64146 if test "$acx_cv_header_stdint" = stddef.h; then
64147 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64148 for i in stdint.h $inttype_headers; do
64149 unset ac_cv_type_uintptr_t
64150 unset ac_cv_type_uint32_t
64151 unset ac_cv_type_uint64_t
64152 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64153 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64154 #include <$i>
64155 "
64156 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64157 acx_cv_header_stdint=$i
64158 else
64159 continue
64160 fi
64161
64162 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64163 #include <$i>
64164 "
64165 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64166
64167 fi
64168
64169 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64170 #include <$i>
64171 "
64172 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64173
64174 fi
64175
64176 break
64177 done
64178 fi
64179 if test "$acx_cv_header_stdint" = stddef.h; then
64180 acx_cv_header_stdint_kind="(u_intXX_t style)"
64181 for i in sys/types.h $inttype_headers; do
64182 unset ac_cv_type_u_int32_t
64183 unset ac_cv_type_u_int64_t
64184 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64185 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64186 #include <$i>
64187 "
64188 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64189 acx_cv_header_stdint=$i
64190 else
64191 continue
64192 fi
64193
64194 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64195 #include <$i>
64196 "
64197 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64198
64199 fi
64200
64201 break
64202 done
64203 fi
64204 if test "$acx_cv_header_stdint" = stddef.h; then
64205 acx_cv_header_stdint_kind="(using manual detection)"
64206 fi
64207
64208 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64209 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64210 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64211 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64212 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64213
64214 # ----------------- Summarize what we found so far
64215
64216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64217 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64218
64219 case `$as_basename -- include/gstdint.h ||
64220 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64221 Xinclude/gstdint.h : 'X\(//\)$' \| \
64222 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64223 $as_echo X/include/gstdint.h |
64224 sed '/^.*\/\([^/][^/]*\)\/*$/{
64225 s//\1/
64226 q
64227 }
64228 /^X\/\(\/\/\)$/{
64229 s//\1/
64230 q
64231 }
64232 /^X\/\(\/\).*/{
64233 s//\1/
64234 q
64235 }
64236 s/.*/./; q'` in
64237 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64238 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64239 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64240 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64241 *) ;;
64242 esac
64243
64244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64245 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64246
64247 # ----------------- done included file, check C basic types --------
64248
64249 # Lacking an uintptr_t? Test size of void *
64250 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64251 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64254 # This bug is HP SR number 8606223364.
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64256 $as_echo_n "checking size of void *... " >&6; }
64257 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64258 $as_echo_n "(cached) " >&6
64259 else
64260 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64261
64262 else
64263 if test "$ac_cv_type_void_p" = yes; then
64264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64266 { as_fn_set_status 77
64267 as_fn_error "cannot compute sizeof (void *)
64268 See \`config.log' for more details." "$LINENO" 5; }; }
64269 else
64270 ac_cv_sizeof_void_p=0
64271 fi
64272 fi
64273
64274 fi
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64276 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64277
64278
64279
64280 cat >>confdefs.h <<_ACEOF
64281 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64282 _ACEOF
64283
64284 ;;
64285 esac
64286
64287 # Lacking an uint64_t? Test size of long
64288 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64289 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64292 # This bug is HP SR number 8606223364.
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64294 $as_echo_n "checking size of long... " >&6; }
64295 if test "${ac_cv_sizeof_long+set}" = set; then :
64296 $as_echo_n "(cached) " >&6
64297 else
64298 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64299
64300 else
64301 if test "$ac_cv_type_long" = yes; then
64302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64304 { as_fn_set_status 77
64305 as_fn_error "cannot compute sizeof (long)
64306 See \`config.log' for more details." "$LINENO" 5; }; }
64307 else
64308 ac_cv_sizeof_long=0
64309 fi
64310 fi
64311
64312 fi
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64314 $as_echo "$ac_cv_sizeof_long" >&6; }
64315
64316
64317
64318 cat >>confdefs.h <<_ACEOF
64319 #define SIZEOF_LONG $ac_cv_sizeof_long
64320 _ACEOF
64321
64322 ;;
64323 esac
64324
64325 if test $acx_cv_header_stdint = stddef.h; then
64326 # Lacking a good header? Test size of everything and deduce all types.
64327 # The cast to long int works around a bug in the HP C Compiler
64328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64330 # This bug is HP SR number 8606223364.
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64332 $as_echo_n "checking size of int... " >&6; }
64333 if test "${ac_cv_sizeof_int+set}" = set; then :
64334 $as_echo_n "(cached) " >&6
64335 else
64336 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64337
64338 else
64339 if test "$ac_cv_type_int" = yes; then
64340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64342 { as_fn_set_status 77
64343 as_fn_error "cannot compute sizeof (int)
64344 See \`config.log' for more details." "$LINENO" 5; }; }
64345 else
64346 ac_cv_sizeof_int=0
64347 fi
64348 fi
64349
64350 fi
64351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64352 $as_echo "$ac_cv_sizeof_int" >&6; }
64353
64354
64355
64356 cat >>confdefs.h <<_ACEOF
64357 #define SIZEOF_INT $ac_cv_sizeof_int
64358 _ACEOF
64359
64360
64361 # The cast to long int works around a bug in the HP C Compiler
64362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64364 # This bug is HP SR number 8606223364.
64365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64366 $as_echo_n "checking size of short... " >&6; }
64367 if test "${ac_cv_sizeof_short+set}" = set; then :
64368 $as_echo_n "(cached) " >&6
64369 else
64370 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64371
64372 else
64373 if test "$ac_cv_type_short" = yes; then
64374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64376 { as_fn_set_status 77
64377 as_fn_error "cannot compute sizeof (short)
64378 See \`config.log' for more details." "$LINENO" 5; }; }
64379 else
64380 ac_cv_sizeof_short=0
64381 fi
64382 fi
64383
64384 fi
64385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64386 $as_echo "$ac_cv_sizeof_short" >&6; }
64387
64388
64389
64390 cat >>confdefs.h <<_ACEOF
64391 #define SIZEOF_SHORT $ac_cv_sizeof_short
64392 _ACEOF
64393
64394
64395 # The cast to long int works around a bug in the HP C Compiler
64396 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64397 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64398 # This bug is HP SR number 8606223364.
64399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64400 $as_echo_n "checking size of char... " >&6; }
64401 if test "${ac_cv_sizeof_char+set}" = set; then :
64402 $as_echo_n "(cached) " >&6
64403 else
64404 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64405
64406 else
64407 if test "$ac_cv_type_char" = yes; then
64408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64410 { as_fn_set_status 77
64411 as_fn_error "cannot compute sizeof (char)
64412 See \`config.log' for more details." "$LINENO" 5; }; }
64413 else
64414 ac_cv_sizeof_char=0
64415 fi
64416 fi
64417
64418 fi
64419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64420 $as_echo "$ac_cv_sizeof_char" >&6; }
64421
64422
64423
64424 cat >>confdefs.h <<_ACEOF
64425 #define SIZEOF_CHAR $ac_cv_sizeof_char
64426 _ACEOF
64427
64428
64429
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64431 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64432 case "$ac_cv_sizeof_char" in
64433 1) acx_cv_type_int8_t=char ;;
64434 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64435 esac
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64437 $as_echo "$acx_cv_type_int8_t" >&6; }
64438
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64440 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64441 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64442 2:*) acx_cv_type_int16_t=int ;;
64443 *:2) acx_cv_type_int16_t=short ;;
64444 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64445 esac
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64447 $as_echo "$acx_cv_type_int16_t" >&6; }
64448
64449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64450 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64451 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64452 4:*) acx_cv_type_int32_t=int ;;
64453 *:4) acx_cv_type_int32_t=long ;;
64454 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64455 esac
64456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64457 $as_echo "$acx_cv_type_int32_t" >&6; }
64458 fi
64459
64460 # These tests are here to make the output prettier
64461
64462 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64463 case "$ac_cv_sizeof_long" in
64464 8) acx_cv_type_int64_t=long ;;
64465 esac
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64467 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64469 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64470 fi
64471
64472 # Now we can use the above types
64473
64474 if test "$ac_cv_type_uintptr_t" != yes; then
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64476 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64477 case $ac_cv_sizeof_void_p in
64478 2) acx_cv_type_intptr_t=int16_t ;;
64479 4) acx_cv_type_intptr_t=int32_t ;;
64480 8) acx_cv_type_intptr_t=int64_t ;;
64481 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64482 esac
64483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64484 $as_echo "$acx_cv_type_intptr_t" >&6; }
64485 fi
64486
64487 # ----------------- done all checks, emit header -------------
64488 ac_config_commands="$ac_config_commands include/gstdint.h"
64489
64490
64491
64492
64493
64494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64495 $as_echo_n "checking for GNU c++filt... " >&6; }
64496 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64497 $as_echo_n "(cached) " >&6
64498 else
64499 if test -z "$CXXFILT"; then
64500 ac_path_CXXFILT_found=false
64501 # Loop through the user's path and test for each of PROGNAME-LIST
64502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64503 for as_dir in $PATH
64504 do
64505 IFS=$as_save_IFS
64506 test -z "$as_dir" && as_dir=.
64507 for ac_prog in c++filt gc++filt; do
64508 for ac_exec_ext in '' $ac_executable_extensions; do
64509 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64510 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64511 # Check for GNU $ac_path_CXXFILT
64512 case `"$ac_path_CXXFILT" --version 2>&1` in
64513 *GNU*)
64514 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64515 esac
64516
64517 $ac_path_CXXFILT_found && break 3
64518 done
64519 done
64520 done
64521 IFS=$as_save_IFS
64522 if test -z "$ac_cv_path_CXXFILT"; then
64523 :
64524 fi
64525 else
64526 ac_cv_path_CXXFILT=$CXXFILT
64527 fi
64528
64529 fi
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64531 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64532 CXXFILT=$ac_cv_path_CXXFILT
64533
64534
64535
64536 # Check whether --enable-symvers was given.
64537 if test "${enable_symvers+set}" = set; then :
64538 enableval=$enable_symvers;
64539 case "$enableval" in
64540 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64541 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64542 esac
64543
64544 else
64545 enable_symvers=yes
64546 fi
64547
64548
64549
64550 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64551 # don't know enough about $LD to do tricks...
64552
64553 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64554 # with extern "C++" in version scripts.
64555
64556
64557 # Turn a 'yes' into a suitable default.
64558 if test x$enable_symvers = xyes ; then
64559 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64560 enable_symvers=no
64561 else
64562 if test $with_gnu_ld = yes ; then
64563 case ${target_os} in
64564 hpux*)
64565 enable_symvers=no ;;
64566 *)
64567 enable_symvers=gnu ;;
64568 esac
64569 else
64570 case ${target_os} in
64571 darwin*)
64572 enable_symvers=darwin ;;
64573 # Sun symbol versioning exists since Solaris 2.5.
64574 solaris2.[5-9]* | solaris2.1[0-9]*)
64575 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64576 # version scripts, so disable symbol versioning if none can be
64577 # found.
64578 if test -z "$ac_cv_path_CXXFILT"; then
64579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64580 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64582 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64584 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64585 enable_symvers=no
64586 else
64587 enable_symvers=sun
64588 fi
64589 ;;
64590 *)
64591 enable_symvers=no ;;
64592 esac
64593 fi
64594 fi
64595 fi
64596
64597 # Check to see if 'darwin' or 'darwin-export' can win.
64598 if test x$enable_symvers = xdarwin-export ; then
64599 enable_symvers=darwin
64600 fi
64601
64602 # Check if 'sun' was requested on non-Solaris 2 platforms.
64603 if test x$enable_symvers = xsun ; then
64604 case ${target_os} in
64605 solaris2*)
64606 # All fine.
64607 ;;
64608 *)
64609 # Unlikely to work.
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64611 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64613 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64615 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64616 enable_symvers=no
64617 ;;
64618 esac
64619 fi
64620
64621 # Check to see if 'gnu' can win.
64622 if test $enable_symvers = gnu ||
64623 test $enable_symvers = gnu-versioned-namespace ||
64624 test $enable_symvers = sun; then
64625 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64627 $as_echo_n "checking for shared libgcc... " >&6; }
64628 ac_save_CFLAGS="$CFLAGS"
64629 CFLAGS=' -lgcc_s'
64630 if test x$gcc_no_link = xyes; then
64631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64632 fi
64633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64634 /* end confdefs.h. */
64635
64636 int
64637 main ()
64638 {
64639 return 0;
64640 ;
64641 return 0;
64642 }
64643 _ACEOF
64644 if ac_fn_c_try_link "$LINENO"; then :
64645 glibcxx_shared_libgcc=yes
64646 else
64647 glibcxx_shared_libgcc=no
64648 fi
64649 rm -f core conftest.err conftest.$ac_objext \
64650 conftest$ac_exeext conftest.$ac_ext
64651 CFLAGS="$ac_save_CFLAGS"
64652 if test $glibcxx_shared_libgcc = no; then
64653 cat > conftest.c <<EOF
64654 int main (void) { return 0; }
64655 EOF
64656 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64657 -shared -shared-libgcc -o conftest.so \
64658 conftest.c -v 2>&1 >/dev/null \
64659 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64660 rm -f conftest.c conftest.so
64661 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64662 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64663 if test x$gcc_no_link = xyes; then
64664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64665 fi
64666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64667 /* end confdefs.h. */
64668
64669 int
64670 main ()
64671 {
64672 return 0;
64673 ;
64674 return 0;
64675 }
64676 _ACEOF
64677 if ac_fn_c_try_link "$LINENO"; then :
64678 glibcxx_shared_libgcc=yes
64679 fi
64680 rm -f core conftest.err conftest.$ac_objext \
64681 conftest$ac_exeext conftest.$ac_ext
64682 CFLAGS="$ac_save_CFLAGS"
64683 fi
64684 fi
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64686 $as_echo "$glibcxx_shared_libgcc" >&6; }
64687
64688 # For GNU ld, we need at least this version. The format is described in
64689 # GLIBCXX_CHECK_LINKER_FEATURES above.
64690 glibcxx_min_gnu_ld_version=21400
64691
64692 # If no shared libgcc, can't win.
64693 if test $glibcxx_shared_libgcc != yes; then
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64695 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64697 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64699 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64700 enable_symvers=no
64701 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64702 : All interesting versions of Sun ld support sun style symbol versioning.
64703 elif test $with_gnu_ld != yes ; then
64704 # just fail for now
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64706 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64708 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64710 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64711 enable_symvers=no
64712 elif test $glibcxx_ld_is_gold = yes ; then
64713 : All versions of gold support symbol versioning.
64714 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64715 # The right tools, the right setup, but too old. Fallbacks?
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64717 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64719 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64721 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64723 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64725 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64726 enable_symvers=no
64727 fi
64728 fi
64729
64730 # For libtool versioning info, format is CURRENT:REVISION:AGE
64731 libtool_VERSION=6:17:0
64732
64733 # Everything parsed; figure out what files and settings to use.
64734 case $enable_symvers in
64735 no)
64736 SYMVER_FILE=config/abi/pre/none.ver
64737 ;;
64738 gnu)
64739 SYMVER_FILE=config/abi/pre/gnu.ver
64740
64741 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64742
64743 ;;
64744 gnu-versioned-namespace)
64745 libtool_VERSION=7:0:0
64746 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64747
64748 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64749
64750 ;;
64751 darwin)
64752 SYMVER_FILE=config/abi/pre/gnu.ver
64753
64754 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64755
64756 ;;
64757 sun)
64758 SYMVER_FILE=config/abi/pre/gnu.ver
64759
64760 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64761
64762 ;;
64763 esac
64764
64765 if test x$enable_symvers != xno ; then
64766
64767 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64768
64769 fi
64770
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64772 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64773 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64774 $as_echo_n "(cached) " >&6
64775 else
64776
64777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64778 /* end confdefs.h. */
64779 void foo (void); __asm (".symver foo, bar@SYMVER");
64780 int
64781 main ()
64782 {
64783
64784 ;
64785 return 0;
64786 }
64787 _ACEOF
64788 if ac_fn_c_try_compile "$LINENO"; then :
64789 glibcxx_cv_have_as_symver_directive=yes
64790 else
64791 glibcxx_cv_have_as_symver_directive=no
64792 fi
64793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64794 fi
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64796 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64797 if test $glibcxx_cv_have_as_symver_directive = yes; then
64798
64799 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64800
64801 fi
64802
64803
64804
64805
64806
64807
64808
64809
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64811 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64812
64813 if test $enable_symvers != no ; then
64814 case ${target_os} in
64815 # The Solaris 2 runtime linker doesn't support the GNU extension of
64816 # binding the same symbol to different versions
64817 solaris2*)
64818 symvers_renaming=no ;;
64819 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64820 *)
64821
64822 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64823
64824 symvers_renaming=yes ;;
64825 esac
64826 else
64827 symvers_renaming=no
64828 fi
64829
64830
64831 # Now, set up compatibility support, if any.
64832 # In addition, need this to deal with std::size_t mangling in
64833 # src/compatibility.cc. In a perfect world, could use
64834 # typeid(std::size_t).name()[0] to do direct substitution.
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64836 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64837 ac_save_CFLAGS="$CFLAGS"
64838 CFLAGS="-Werror"
64839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64840 /* end confdefs.h. */
64841
64842 int
64843 main ()
64844 {
64845 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64846 ;
64847 return 0;
64848 }
64849 _ACEOF
64850 if ac_fn_c_try_compile "$LINENO"; then :
64851 glibcxx_size_t_is_i=yes
64852 else
64853 glibcxx_size_t_is_i=no
64854 fi
64855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64856 CFLAGS=$ac_save_CFLAGS
64857 if test "$glibcxx_size_t_is_i" = yes; then
64858
64859 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64860
64861 fi
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64863 $as_echo "$glibcxx_size_t_is_i" >&6; }
64864
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64866 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64867 ac_save_CFLAGS="$CFLAGS"
64868 CFLAGS="-Werror"
64869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64870 /* end confdefs.h. */
64871
64872 int
64873 main ()
64874 {
64875 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64876 ;
64877 return 0;
64878 }
64879 _ACEOF
64880 if ac_fn_c_try_compile "$LINENO"; then :
64881 glibcxx_ptrdiff_t_is_i=yes
64882 else
64883 glibcxx_ptrdiff_t_is_i=no
64884 fi
64885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64886 CFLAGS=$ac_save_CFLAGS
64887 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64888
64889 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64890
64891 fi
64892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64893 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64894
64895
64896
64897
64898 # Check whether --enable-visibility was given.
64899 if test "${enable_visibility+set}" = set; then :
64900 enableval=$enable_visibility;
64901 case "$enableval" in
64902 yes|no) ;;
64903 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64904 esac
64905
64906 else
64907 enable_visibility=yes
64908 fi
64909
64910
64911
64912 if test x$enable_visibility = xyes ; then
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64914 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64915 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64916 $as_echo_n "(cached) " >&6
64917 else
64918
64919 save_CFLAGS="$CFLAGS"
64920 CFLAGS="$CFLAGS -Werror"
64921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64922 /* end confdefs.h. */
64923 void __attribute__((visibility("hidden"))) foo(void) { }
64924 int
64925 main ()
64926 {
64927
64928 ;
64929 return 0;
64930 }
64931 _ACEOF
64932 if ac_fn_c_try_compile "$LINENO"; then :
64933 glibcxx_cv_have_attribute_visibility=yes
64934 else
64935 glibcxx_cv_have_attribute_visibility=no
64936 fi
64937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64938 CFLAGS="$save_CFLAGS"
64939 fi
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64941 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64942 if test $glibcxx_cv_have_attribute_visibility = no; then
64943 enable_visibility=no
64944 fi
64945 fi
64946
64947
64948 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64949 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64950
64951
64952 ac_ldbl_compat=no
64953 case "$target" in
64954 powerpc*-*-linux* | \
64955 sparc*-*-linux* | \
64956 s390*-*-linux* | \
64957 alpha*-*-linux*)
64958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64959 /* end confdefs.h. */
64960
64961 int
64962 main ()
64963 {
64964
64965 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64966 #error no need for long double compatibility
64967 #endif
64968
64969 ;
64970 return 0;
64971 }
64972 _ACEOF
64973 if ac_fn_c_try_compile "$LINENO"; then :
64974 ac_ldbl_compat=yes
64975 else
64976 ac_ldbl_compat=no
64977 fi
64978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64979 if test "$ac_ldbl_compat" = yes; then
64980
64981 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64982
64983 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64984 fi
64985 esac
64986
64987
64988 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64989
64990 if $GLIBCXX_IS_NATIVE ; then
64991 # Do checks for resource limit functions.
64992
64993 setrlimit_have_headers=yes
64994 for ac_header in unistd.h sys/time.h sys/resource.h
64995 do :
64996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64997 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64998 eval as_val=\$$as_ac_Header
64999 if test "x$as_val" = x""yes; then :
65000 cat >>confdefs.h <<_ACEOF
65001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65002 _ACEOF
65003
65004 else
65005 setrlimit_have_headers=no
65006 fi
65007
65008 done
65009
65010 # If don't have the headers, then we can't run the tests now, and we
65011 # won't be seeing any of these during testsuite compilation.
65012 if test $setrlimit_have_headers = yes; then
65013 # Can't do these in a loop, else the resulting syntax is wrong.
65014
65015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65016 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65018 /* end confdefs.h. */
65019 #include <unistd.h>
65020 #include <sys/time.h>
65021 #include <sys/resource.h>
65022
65023 int
65024 main ()
65025 {
65026 int f = RLIMIT_DATA ;
65027 ;
65028 return 0;
65029 }
65030 _ACEOF
65031 if ac_fn_c_try_compile "$LINENO"; then :
65032 glibcxx_mresult=1
65033 else
65034 glibcxx_mresult=0
65035 fi
65036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65037
65038 cat >>confdefs.h <<_ACEOF
65039 #define HAVE_LIMIT_DATA $glibcxx_mresult
65040 _ACEOF
65041
65042 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65044 $as_echo "$res" >&6; }
65045
65046
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65048 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65050 /* end confdefs.h. */
65051 #include <unistd.h>
65052 #include <sys/time.h>
65053 #include <sys/resource.h>
65054
65055 int
65056 main ()
65057 {
65058 int f = RLIMIT_RSS ;
65059 ;
65060 return 0;
65061 }
65062 _ACEOF
65063 if ac_fn_c_try_compile "$LINENO"; then :
65064 glibcxx_mresult=1
65065 else
65066 glibcxx_mresult=0
65067 fi
65068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65069
65070 cat >>confdefs.h <<_ACEOF
65071 #define HAVE_LIMIT_RSS $glibcxx_mresult
65072 _ACEOF
65073
65074 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65076 $as_echo "$res" >&6; }
65077
65078
65079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65080 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65082 /* end confdefs.h. */
65083 #include <unistd.h>
65084 #include <sys/time.h>
65085 #include <sys/resource.h>
65086
65087 int
65088 main ()
65089 {
65090 int f = RLIMIT_VMEM ;
65091 ;
65092 return 0;
65093 }
65094 _ACEOF
65095 if ac_fn_c_try_compile "$LINENO"; then :
65096 glibcxx_mresult=1
65097 else
65098 glibcxx_mresult=0
65099 fi
65100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65101
65102 cat >>confdefs.h <<_ACEOF
65103 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65104 _ACEOF
65105
65106 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65108 $as_echo "$res" >&6; }
65109
65110
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65112 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65114 /* end confdefs.h. */
65115 #include <unistd.h>
65116 #include <sys/time.h>
65117 #include <sys/resource.h>
65118
65119 int
65120 main ()
65121 {
65122 int f = RLIMIT_AS ;
65123 ;
65124 return 0;
65125 }
65126 _ACEOF
65127 if ac_fn_c_try_compile "$LINENO"; then :
65128 glibcxx_mresult=1
65129 else
65130 glibcxx_mresult=0
65131 fi
65132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65133
65134 cat >>confdefs.h <<_ACEOF
65135 #define HAVE_LIMIT_AS $glibcxx_mresult
65136 _ACEOF
65137
65138 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65140 $as_echo "$res" >&6; }
65141
65142
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65144 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65146 /* end confdefs.h. */
65147 #include <unistd.h>
65148 #include <sys/time.h>
65149 #include <sys/resource.h>
65150
65151 int
65152 main ()
65153 {
65154 int f = RLIMIT_FSIZE ;
65155 ;
65156 return 0;
65157 }
65158 _ACEOF
65159 if ac_fn_c_try_compile "$LINENO"; then :
65160 glibcxx_mresult=1
65161 else
65162 glibcxx_mresult=0
65163 fi
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65165
65166 cat >>confdefs.h <<_ACEOF
65167 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65168 _ACEOF
65169
65170 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65172 $as_echo "$res" >&6; }
65173
65174
65175 # Check for rlimit, setrlimit.
65176 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65177 $as_echo_n "(cached) " >&6
65178 else
65179
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182 #include <unistd.h>
65183 #include <sys/time.h>
65184 #include <sys/resource.h>
65185
65186 int
65187 main ()
65188 {
65189 struct rlimit r;
65190 setrlimit(0, &r);
65191 ;
65192 return 0;
65193 }
65194 _ACEOF
65195 if ac_fn_c_try_compile "$LINENO"; then :
65196 glibcxx_cv_setrlimit=yes
65197 else
65198 glibcxx_cv_setrlimit=no
65199 fi
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201
65202 fi
65203
65204 fi
65205
65206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65207 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65208 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65209 ac_res_limits=yes
65210
65211 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65212
65213 else
65214 ac_res_limits=no
65215 fi
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65217 $as_echo "$ac_res_limits" >&6; }
65218
65219
65220 # Look for setenv, so that extended locale tests can be performed.
65221
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65223 $as_echo_n "checking for setenv declaration... " >&6; }
65224 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65225 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65226 $as_echo_n "(cached) " >&6
65227 else
65228
65229
65230 ac_ext=cpp
65231 ac_cpp='$CXXCPP $CPPFLAGS'
65232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65235
65236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65237 /* end confdefs.h. */
65238 #include <stdlib.h>
65239 int
65240 main ()
65241 {
65242 setenv(0, 0, 0);
65243 ;
65244 return 0;
65245 }
65246 _ACEOF
65247 if ac_fn_cxx_try_compile "$LINENO"; then :
65248 glibcxx_cv_func_setenv_use=yes
65249 else
65250 glibcxx_cv_func_setenv_use=no
65251 fi
65252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65253 ac_ext=c
65254 ac_cpp='$CPP $CPPFLAGS'
65255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258
65259
65260 fi
65261
65262 fi
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65264 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65265 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65266 for ac_func in setenv
65267 do :
65268 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65269 if test "x$ac_cv_func_setenv" = x""yes; then :
65270 cat >>confdefs.h <<_ACEOF
65271 #define HAVE_SETENV 1
65272 _ACEOF
65273
65274 fi
65275 done
65276
65277 fi
65278
65279 fi
65280
65281 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65282 test $enable_symvers != no; then
65283 case "$host" in
65284 *-*-cygwin*)
65285 enable_abi_check=no ;;
65286 *)
65287 enable_abi_check=yes ;;
65288 esac
65289 else
65290 # Only build this as native, since automake does not understand
65291 # CXX_FOR_BUILD.
65292 enable_abi_check=no
65293 fi
65294
65295 # Export file names for ABI checking.
65296 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65297
65298 baseline_subdir_switch="$abi_baseline_subdir_switch"
65299
65300
65301
65302 # Define documentation rules conditionally.
65303
65304 # See if makeinfo has been installed and is modern enough
65305 # that we can use it.
65306
65307 # Extract the first word of "makeinfo", so it can be a program name with args.
65308 set dummy makeinfo; ac_word=$2
65309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65310 $as_echo_n "checking for $ac_word... " >&6; }
65311 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65312 $as_echo_n "(cached) " >&6
65313 else
65314 if test -n "$MAKEINFO"; then
65315 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65316 else
65317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65318 for as_dir in $PATH
65319 do
65320 IFS=$as_save_IFS
65321 test -z "$as_dir" && as_dir=.
65322 for ac_exec_ext in '' $ac_executable_extensions; do
65323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65324 ac_cv_prog_MAKEINFO="makeinfo"
65325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65326 break 2
65327 fi
65328 done
65329 done
65330 IFS=$as_save_IFS
65331
65332 fi
65333 fi
65334 MAKEINFO=$ac_cv_prog_MAKEINFO
65335 if test -n "$MAKEINFO"; then
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65337 $as_echo "$MAKEINFO" >&6; }
65338 else
65339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65340 $as_echo "no" >&6; }
65341 fi
65342
65343
65344 if test -n "$MAKEINFO"; then
65345 # Found it, now check the version.
65346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65347 $as_echo_n "checking for modern makeinfo... " >&6; }
65348 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65349 $as_echo_n "(cached) " >&6
65350 else
65351 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65352 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65353
65354 case $ac_prog_version in
65355 '') gcc_cv_prog_makeinfo_modern=no;;
65356 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65357 *) gcc_cv_prog_makeinfo_modern=no;;
65358 esac
65359
65360 fi
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65362 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65363 else
65364 gcc_cv_prog_makeinfo_modern=no
65365 fi
65366 if test $gcc_cv_prog_makeinfo_modern = no; then
65367 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65368 fi
65369
65370 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65371 BUILD_INFO_TRUE=
65372 BUILD_INFO_FALSE='#'
65373 else
65374 BUILD_INFO_TRUE='#'
65375 BUILD_INFO_FALSE=
65376 fi
65377
65378
65379 # Check for doxygen
65380 # Extract the first word of "doxygen", so it can be a program name with args.
65381 set dummy doxygen; ac_word=$2
65382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65383 $as_echo_n "checking for $ac_word... " >&6; }
65384 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65385 $as_echo_n "(cached) " >&6
65386 else
65387 if test -n "$DOXYGEN"; then
65388 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65389 else
65390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65391 for as_dir in $PATH
65392 do
65393 IFS=$as_save_IFS
65394 test -z "$as_dir" && as_dir=.
65395 for ac_exec_ext in '' $ac_executable_extensions; do
65396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65397 ac_cv_prog_DOXYGEN="yes"
65398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65399 break 2
65400 fi
65401 done
65402 done
65403 IFS=$as_save_IFS
65404
65405 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65406 fi
65407 fi
65408 DOXYGEN=$ac_cv_prog_DOXYGEN
65409 if test -n "$DOXYGEN"; then
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65411 $as_echo "$DOXYGEN" >&6; }
65412 else
65413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65414 $as_echo "no" >&6; }
65415 fi
65416
65417
65418 # Extract the first word of "dot", so it can be a program name with args.
65419 set dummy dot; ac_word=$2
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65421 $as_echo_n "checking for $ac_word... " >&6; }
65422 if test "${ac_cv_prog_DOT+set}" = set; then :
65423 $as_echo_n "(cached) " >&6
65424 else
65425 if test -n "$DOT"; then
65426 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65427 else
65428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65429 for as_dir in $PATH
65430 do
65431 IFS=$as_save_IFS
65432 test -z "$as_dir" && as_dir=.
65433 for ac_exec_ext in '' $ac_executable_extensions; do
65434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65435 ac_cv_prog_DOT="yes"
65436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65437 break 2
65438 fi
65439 done
65440 done
65441 IFS=$as_save_IFS
65442
65443 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65444 fi
65445 fi
65446 DOT=$ac_cv_prog_DOT
65447 if test -n "$DOT"; then
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65449 $as_echo "$DOT" >&6; }
65450 else
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65452 $as_echo "no" >&6; }
65453 fi
65454
65455
65456
65457 # Check for docbook
65458 # Extract the first word of "xsltproc", so it can be a program name with args.
65459 set dummy xsltproc; ac_word=$2
65460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65461 $as_echo_n "checking for $ac_word... " >&6; }
65462 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65463 $as_echo_n "(cached) " >&6
65464 else
65465 if test -n "$XSLTPROC"; then
65466 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65467 else
65468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65469 for as_dir in $PATH
65470 do
65471 IFS=$as_save_IFS
65472 test -z "$as_dir" && as_dir=.
65473 for ac_exec_ext in '' $ac_executable_extensions; do
65474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65475 ac_cv_prog_XSLTPROC="yes"
65476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65477 break 2
65478 fi
65479 done
65480 done
65481 IFS=$as_save_IFS
65482
65483 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65484 fi
65485 fi
65486 XSLTPROC=$ac_cv_prog_XSLTPROC
65487 if test -n "$XSLTPROC"; then
65488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65489 $as_echo "$XSLTPROC" >&6; }
65490 else
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65492 $as_echo "no" >&6; }
65493 fi
65494
65495
65496 # Extract the first word of "xmllint", so it can be a program name with args.
65497 set dummy xmllint; ac_word=$2
65498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65499 $as_echo_n "checking for $ac_word... " >&6; }
65500 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65501 $as_echo_n "(cached) " >&6
65502 else
65503 if test -n "$XMLLINT"; then
65504 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65505 else
65506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65507 for as_dir in $PATH
65508 do
65509 IFS=$as_save_IFS
65510 test -z "$as_dir" && as_dir=.
65511 for ac_exec_ext in '' $ac_executable_extensions; do
65512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65513 ac_cv_prog_XMLLINT="yes"
65514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65515 break 2
65516 fi
65517 done
65518 done
65519 IFS=$as_save_IFS
65520
65521 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65522 fi
65523 fi
65524 XMLLINT=$ac_cv_prog_XMLLINT
65525 if test -n "$XMLLINT"; then
65526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65527 $as_echo "$XMLLINT" >&6; }
65528 else
65529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65530 $as_echo "no" >&6; }
65531 fi
65532
65533
65534
65535
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65537 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65538 glibcxx_stylesheets=no
65539 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
65540 glibcxx_stylesheets=yes
65541 fi
65542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65543 $as_echo "$glibcxx_stylesheets" >&6; }
65544
65545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65546 $as_echo_n "checking for local stylesheet directory... " >&6; }
65547 glibcxx_local_stylesheets=no
65548 if test x"$glibcxx_stylesheets" = x"yes"; then
65549 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65550 glibcxx_local_stylesheets=yes
65551 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65552 fi
65553 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65554 glibcxx_local_stylesheets=yes
65555 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65556 fi
65557 fi
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65559 $as_echo "$glibcxx_local_stylesheets" >&6; }
65560
65561 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65562
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65564 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65565 else
65566 glibcxx_stylesheets=no
65567 fi
65568
65569
65570 # Check for xml/html dependencies.
65571 if test $ac_cv_prog_DOXYGEN = "yes" &&
65572 test $ac_cv_prog_DOT = "yes" &&
65573 test $ac_cv_prog_XSLTPROC = "yes" &&
65574 test $ac_cv_prog_XMLLINT = "yes" &&
65575 test $glibcxx_stylesheets = "yes"; then
65576 BUILD_XML_TRUE=
65577 BUILD_XML_FALSE='#'
65578 else
65579 BUILD_XML_TRUE='#'
65580 BUILD_XML_FALSE=
65581 fi
65582
65583
65584 if test $ac_cv_prog_DOXYGEN = "yes" &&
65585 test $ac_cv_prog_DOT = "yes" &&
65586 test $ac_cv_prog_XSLTPROC = "yes" &&
65587 test $ac_cv_prog_XMLLINT = "yes" &&
65588 test $glibcxx_stylesheets = "yes"; then
65589 BUILD_HTML_TRUE=
65590 BUILD_HTML_FALSE='#'
65591 else
65592 BUILD_HTML_TRUE='#'
65593 BUILD_HTML_FALSE=
65594 fi
65595
65596
65597 # Check for man dependencies.
65598 if test $ac_cv_prog_DOXYGEN = "yes" &&
65599 test $ac_cv_prog_DOT = "yes"; then
65600 BUILD_MAN_TRUE=
65601 BUILD_MAN_FALSE='#'
65602 else
65603 BUILD_MAN_TRUE='#'
65604 BUILD_MAN_FALSE=
65605 fi
65606
65607
65608 # Check for pdf/epub dependencies.
65609 # Extract the first word of "dblatex", so it can be a program name with args.
65610 set dummy dblatex; ac_word=$2
65611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65612 $as_echo_n "checking for $ac_word... " >&6; }
65613 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65614 $as_echo_n "(cached) " >&6
65615 else
65616 if test -n "$DBLATEX"; then
65617 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65618 else
65619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65620 for as_dir in $PATH
65621 do
65622 IFS=$as_save_IFS
65623 test -z "$as_dir" && as_dir=.
65624 for ac_exec_ext in '' $ac_executable_extensions; do
65625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65626 ac_cv_prog_DBLATEX="yes"
65627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65628 break 2
65629 fi
65630 done
65631 done
65632 IFS=$as_save_IFS
65633
65634 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65635 fi
65636 fi
65637 DBLATEX=$ac_cv_prog_DBLATEX
65638 if test -n "$DBLATEX"; then
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65640 $as_echo "$DBLATEX" >&6; }
65641 else
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65643 $as_echo "no" >&6; }
65644 fi
65645
65646
65647 # Extract the first word of "pdflatex", so it can be a program name with args.
65648 set dummy pdflatex; ac_word=$2
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65650 $as_echo_n "checking for $ac_word... " >&6; }
65651 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65652 $as_echo_n "(cached) " >&6
65653 else
65654 if test -n "$PDFLATEX"; then
65655 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65656 else
65657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65658 for as_dir in $PATH
65659 do
65660 IFS=$as_save_IFS
65661 test -z "$as_dir" && as_dir=.
65662 for ac_exec_ext in '' $ac_executable_extensions; do
65663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65664 ac_cv_prog_PDFLATEX="yes"
65665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65666 break 2
65667 fi
65668 done
65669 done
65670 IFS=$as_save_IFS
65671
65672 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65673 fi
65674 fi
65675 PDFLATEX=$ac_cv_prog_PDFLATEX
65676 if test -n "$PDFLATEX"; then
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65678 $as_echo "$PDFLATEX" >&6; }
65679 else
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65681 $as_echo "no" >&6; }
65682 fi
65683
65684
65685 if test $ac_cv_prog_DBLATEX = "yes" &&
65686 test $ac_cv_prog_PDFLATEX = "yes"; then
65687 BUILD_PDF_TRUE=
65688 BUILD_PDF_FALSE='#'
65689 else
65690 BUILD_PDF_TRUE='#'
65691 BUILD_PDF_FALSE=
65692 fi
65693
65694
65695 # Extract the first word of "ruby", so it can be a program name with args.
65696 set dummy ruby; ac_word=$2
65697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65698 $as_echo_n "checking for $ac_word... " >&6; }
65699 if test "${ac_cv_prog_RUBY+set}" = set; then :
65700 $as_echo_n "(cached) " >&6
65701 else
65702 if test -n "$RUBY"; then
65703 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65704 else
65705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65706 for as_dir in $PATH
65707 do
65708 IFS=$as_save_IFS
65709 test -z "$as_dir" && as_dir=.
65710 for ac_exec_ext in '' $ac_executable_extensions; do
65711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65712 ac_cv_prog_RUBY="yes"
65713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65714 break 2
65715 fi
65716 done
65717 done
65718 IFS=$as_save_IFS
65719
65720 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65721 fi
65722 fi
65723 RUBY=$ac_cv_prog_RUBY
65724 if test -n "$RUBY"; then
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65726 $as_echo "$RUBY" >&6; }
65727 else
65728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65729 $as_echo "no" >&6; }
65730 fi
65731
65732
65733 # Extract the first word of "dbtoepub", so it can be a program name with args.
65734 set dummy dbtoepub; ac_word=$2
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65736 $as_echo_n "checking for $ac_word... " >&6; }
65737 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65738 $as_echo_n "(cached) " >&6
65739 else
65740 if test -n "$DBTOEPUB"; then
65741 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65742 else
65743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65744 for as_dir in $PATH
65745 do
65746 IFS=$as_save_IFS
65747 test -z "$as_dir" && as_dir=.
65748 for ac_exec_ext in '' $ac_executable_extensions; do
65749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65750 ac_cv_prog_DBTOEPUB="yes"
65751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65752 break 2
65753 fi
65754 done
65755 done
65756 IFS=$as_save_IFS
65757
65758 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65759 fi
65760 fi
65761 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65762 if test -n "$DBTOEPUB"; then
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65764 $as_echo "$DBTOEPUB" >&6; }
65765 else
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65767 $as_echo "no" >&6; }
65768 fi
65769
65770
65771 if test $ac_cv_prog_RUBY = "yes" &&
65772 test $ac_cv_prog_DBTOEPUB = "yes"; then
65773 BUILD_EPUB_TRUE=
65774 BUILD_EPUB_FALSE='#'
65775 else
65776 BUILD_EPUB_TRUE='#'
65777 BUILD_EPUB_FALSE=
65778 fi
65779
65780
65781
65782 # Propagate the target-specific source directories through the build chain.
65783 ATOMICITY_SRCDIR=config/${atomicity_dir}
65784 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65785 ATOMIC_FLAGS=${atomic_flags}
65786 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65787 OS_INC_SRCDIR=config/${os_include_dir}
65788 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65789 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65790
65791
65792
65793
65794
65795
65796
65797
65798
65799 # Determine cross-compile flags and AM_CONDITIONALs.
65800 #AC_SUBST(GLIBCXX_IS_NATIVE)
65801 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65802 if test $is_hosted = yes; then
65803 GLIBCXX_HOSTED_TRUE=
65804 GLIBCXX_HOSTED_FALSE='#'
65805 else
65806 GLIBCXX_HOSTED_TRUE='#'
65807 GLIBCXX_HOSTED_FALSE=
65808 fi
65809
65810
65811 if test $enable_libstdcxx_pch = yes; then
65812 GLIBCXX_BUILD_PCH_TRUE=
65813 GLIBCXX_BUILD_PCH_FALSE='#'
65814 else
65815 GLIBCXX_BUILD_PCH_TRUE='#'
65816 GLIBCXX_BUILD_PCH_FALSE=
65817 fi
65818
65819
65820 if test $enable_cheaders = c; then
65821 GLIBCXX_C_HEADERS_C_TRUE=
65822 GLIBCXX_C_HEADERS_C_FALSE='#'
65823 else
65824 GLIBCXX_C_HEADERS_C_TRUE='#'
65825 GLIBCXX_C_HEADERS_C_FALSE=
65826 fi
65827
65828
65829 if test $enable_cheaders = c_std; then
65830 GLIBCXX_C_HEADERS_C_STD_TRUE=
65831 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65832 else
65833 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65834 GLIBCXX_C_HEADERS_C_STD_FALSE=
65835 fi
65836
65837
65838 if test $enable_cheaders = c_global; then
65839 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65840 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65841 else
65842 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65843 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65844 fi
65845
65846
65847 if test $c_compatibility = yes; then
65848 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65849 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65850 else
65851 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65852 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65853 fi
65854
65855
65856 if test $enable_libstdcxx_debug = yes; then
65857 GLIBCXX_BUILD_DEBUG_TRUE=
65858 GLIBCXX_BUILD_DEBUG_FALSE='#'
65859 else
65860 GLIBCXX_BUILD_DEBUG_TRUE='#'
65861 GLIBCXX_BUILD_DEBUG_FALSE=
65862 fi
65863
65864
65865 if test $enable_parallel = yes; then
65866 ENABLE_PARALLEL_TRUE=
65867 ENABLE_PARALLEL_FALSE='#'
65868 else
65869 ENABLE_PARALLEL_TRUE='#'
65870 ENABLE_PARALLEL_FALSE=
65871 fi
65872
65873
65874 if test $enable_extern_template = yes; then
65875 ENABLE_EXTERN_TEMPLATE_TRUE=
65876 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65877 else
65878 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65879 ENABLE_EXTERN_TEMPLATE_FALSE=
65880 fi
65881
65882
65883 if test $enable_symvers != no; then
65884 ENABLE_SYMVERS_TRUE=
65885 ENABLE_SYMVERS_FALSE='#'
65886 else
65887 ENABLE_SYMVERS_TRUE='#'
65888 ENABLE_SYMVERS_FALSE=
65889 fi
65890
65891
65892 if test $enable_symvers = gnu; then
65893 ENABLE_SYMVERS_GNU_TRUE=
65894 ENABLE_SYMVERS_GNU_FALSE='#'
65895 else
65896 ENABLE_SYMVERS_GNU_TRUE='#'
65897 ENABLE_SYMVERS_GNU_FALSE=
65898 fi
65899
65900
65901 if test $enable_symvers = gnu-versioned-namespace; then
65902 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65903 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65904 else
65905 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65906 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65907 fi
65908
65909
65910 if test $enable_symvers = darwin; then
65911 ENABLE_SYMVERS_DARWIN_TRUE=
65912 ENABLE_SYMVERS_DARWIN_FALSE='#'
65913 else
65914 ENABLE_SYMVERS_DARWIN_TRUE='#'
65915 ENABLE_SYMVERS_DARWIN_FALSE=
65916 fi
65917
65918
65919 if test $enable_symvers = sun; then
65920 ENABLE_SYMVERS_SUN_TRUE=
65921 ENABLE_SYMVERS_SUN_FALSE='#'
65922 else
65923 ENABLE_SYMVERS_SUN_TRUE='#'
65924 ENABLE_SYMVERS_SUN_FALSE=
65925 fi
65926
65927
65928 if test $symvers_renaming = no; then
65929 ENABLE_SYMVERS_SOL2_TRUE=
65930 ENABLE_SYMVERS_SOL2_FALSE='#'
65931 else
65932 ENABLE_SYMVERS_SOL2_TRUE='#'
65933 ENABLE_SYMVERS_SOL2_FALSE=
65934 fi
65935
65936
65937 if test $enable_visibility = yes; then
65938 ENABLE_VISIBILITY_TRUE=
65939 ENABLE_VISIBILITY_FALSE='#'
65940 else
65941 ENABLE_VISIBILITY_TRUE='#'
65942 ENABLE_VISIBILITY_FALSE=
65943 fi
65944
65945
65946 if test $ac_ldbl_compat = yes; then
65947 GLIBCXX_LDBL_COMPAT_TRUE=
65948 GLIBCXX_LDBL_COMPAT_FALSE='#'
65949 else
65950 GLIBCXX_LDBL_COMPAT_TRUE='#'
65951 GLIBCXX_LDBL_COMPAT_FALSE=
65952 fi
65953
65954
65955
65956
65957 cat >confcache <<\_ACEOF
65958 # This file is a shell script that caches the results of configure
65959 # tests run on this system so they can be shared between configure
65960 # scripts and configure runs, see configure's option --config-cache.
65961 # It is not useful on other systems. If it contains results you don't
65962 # want to keep, you may remove or edit it.
65963 #
65964 # config.status only pays attention to the cache file if you give it
65965 # the --recheck option to rerun configure.
65966 #
65967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65969 # following values.
65970
65971 _ACEOF
65972
65973 # The following way of writing the cache mishandles newlines in values,
65974 # but we know of no workaround that is simple, portable, and efficient.
65975 # So, we kill variables containing newlines.
65976 # Ultrix sh set writes to stderr and can't be redirected directly,
65977 # and sets the high bit in the cache file unless we assign to the vars.
65978 (
65979 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65980 eval ac_val=\$$ac_var
65981 case $ac_val in #(
65982 *${as_nl}*)
65983 case $ac_var in #(
65984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65986 esac
65987 case $ac_var in #(
65988 _ | IFS | as_nl) ;; #(
65989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65990 *) { eval $ac_var=; unset $ac_var;} ;;
65991 esac ;;
65992 esac
65993 done
65994
65995 (set) 2>&1 |
65996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65997 *${as_nl}ac_space=\ *)
65998 # `set' does not quote correctly, so add quotes: double-quote
65999 # substitution turns \\\\ into \\, and sed turns \\ into \.
66000 sed -n \
66001 "s/'/'\\\\''/g;
66002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66003 ;; #(
66004 *)
66005 # `set' quotes correctly as required by POSIX, so do not add quotes.
66006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66007 ;;
66008 esac |
66009 sort
66010 ) |
66011 sed '
66012 /^ac_cv_env_/b end
66013 t clear
66014 :clear
66015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66016 t end
66017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66018 :end' >>confcache
66019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66020 if test -w "$cache_file"; then
66021 test "x$cache_file" != "x/dev/null" &&
66022 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66023 $as_echo "$as_me: updating cache $cache_file" >&6;}
66024 cat confcache >$cache_file
66025 else
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66027 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66028 fi
66029 fi
66030 rm -f confcache
66031
66032 if test ${multilib} = yes; then
66033 multilib_arg="--enable-multilib"
66034 else
66035 multilib_arg=
66036 fi
66037
66038 # Export all the install information.
66039
66040 glibcxx_toolexecdir=no
66041 glibcxx_toolexeclibdir=no
66042 glibcxx_prefixdir=$prefix
66043
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66045 $as_echo_n "checking for gxx-include-dir... " >&6; }
66046
66047 # Check whether --with-gxx-include-dir was given.
66048 if test "${with_gxx_include_dir+set}" = set; then :
66049 withval=$with_gxx_include_dir; case "$withval" in
66050 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66051 no) gxx_include_dir=no ;;
66052 *) gxx_include_dir=$withval ;;
66053 esac
66054 else
66055 gxx_include_dir=no
66056 fi
66057
66058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66059 $as_echo "$gxx_include_dir" >&6; }
66060
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66062 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66063 # Check whether --enable-version-specific-runtime-libs was given.
66064 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66065 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66066 yes) version_specific_libs=yes ;;
66067 no) version_specific_libs=no ;;
66068 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66069 esac
66070 else
66071 version_specific_libs=no
66072 fi
66073
66074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66075 $as_echo "$version_specific_libs" >&6; }
66076
66077 # Default case for install directory for include files.
66078 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66079 gxx_include_dir='include/c++/${gcc_version}'
66080 if test -n "$with_cross_host" &&
66081 test x"$with_cross_host" != x"no"; then
66082 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66083 else
66084 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66085 fi
66086 fi
66087
66088 # Version-specific runtime libs processing.
66089 if test $version_specific_libs = yes; then
66090 # Need the gcc compiler version to know where to install libraries
66091 # and header files if --enable-version-specific-runtime-libs option
66092 # is selected. FIXME: these variables are misnamed, there are
66093 # no executables installed in _toolexecdir or _toolexeclibdir.
66094 if test x"$gxx_include_dir" = x"no"; then
66095 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66096 fi
66097 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66098 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66099 fi
66100
66101 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66102 # Install a library built with a cross compiler in tooldir, not libdir.
66103 if test x"$glibcxx_toolexecdir" = x"no"; then
66104 if test -n "$with_cross_host" &&
66105 test x"$with_cross_host" != x"no"; then
66106 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66107 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66108 else
66109 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66110 glibcxx_toolexeclibdir='${libdir}'
66111 fi
66112 multi_os_directory=`$CXX -print-multi-os-directory`
66113 case $multi_os_directory in
66114 .) ;; # Avoid trailing /.
66115 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66116 esac
66117 fi
66118
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66120 $as_echo_n "checking for install location... " >&6; }
66121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66122 $as_echo "$gxx_include_dir" >&6; }
66123
66124
66125
66126
66127
66128
66129
66130 # Export all the include and flag information to Makefiles.
66131
66132 # Used for every C++ compile we perform.
66133 GLIBCXX_INCLUDES="\
66134 -I$glibcxx_builddir/include/$host_alias \
66135 -I$glibcxx_builddir/include \
66136 -I$glibcxx_srcdir/libsupc++"
66137
66138 # For Canadian crosses, pick this up too.
66139 if test $CANADIAN = yes; then
66140 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66141 fi
66142
66143 # Stuff in the actual top level. Currently only used by libsupc++ to
66144 # get unwind* headers from the libgcc dir.
66145 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66146 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66147
66148 # Now, export this to all the little Makefiles....
66149
66150
66151
66152
66153 # Optimization flags that are probably a good idea for thrill-seekers. Just
66154 # uncomment the lines below and make, everything else is ready to go...
66155 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66156 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66157
66158
66159 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66160
66161
66162
66163 if test "$enable_shared" = yes; then
66164 LIBSUPCXX_PICFLAGS="-prefer-pic"
66165 else
66166 LIBSUPCXX_PICFLAGS=
66167 fi
66168
66169
66170 ac_config_files="$ac_config_files Makefile"
66171
66172 ac_config_files="$ac_config_files scripts/testsuite_flags"
66173
66174 ac_config_files="$ac_config_files scripts/extract_symvers"
66175
66176
66177 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66178 # that multilib installs will end up installed in the correct place.
66179 # The testsuite needs it for multilib-aware ABI baseline files.
66180 # To work around this not being passed down from config-ml.in ->
66181 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66182 # append it here. Only modify Makefiles that have just been created.
66183 #
66184 # Also, get rid of this simulated-VPATH thing that automake does.
66185 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66186
66187
66188 ac_config_commands="$ac_config_commands generate-headers"
66189
66190
66191 cat >confcache <<\_ACEOF
66192 # This file is a shell script that caches the results of configure
66193 # tests run on this system so they can be shared between configure
66194 # scripts and configure runs, see configure's option --config-cache.
66195 # It is not useful on other systems. If it contains results you don't
66196 # want to keep, you may remove or edit it.
66197 #
66198 # config.status only pays attention to the cache file if you give it
66199 # the --recheck option to rerun configure.
66200 #
66201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66203 # following values.
66204
66205 _ACEOF
66206
66207 # The following way of writing the cache mishandles newlines in values,
66208 # but we know of no workaround that is simple, portable, and efficient.
66209 # So, we kill variables containing newlines.
66210 # Ultrix sh set writes to stderr and can't be redirected directly,
66211 # and sets the high bit in the cache file unless we assign to the vars.
66212 (
66213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66214 eval ac_val=\$$ac_var
66215 case $ac_val in #(
66216 *${as_nl}*)
66217 case $ac_var in #(
66218 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66220 esac
66221 case $ac_var in #(
66222 _ | IFS | as_nl) ;; #(
66223 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66224 *) { eval $ac_var=; unset $ac_var;} ;;
66225 esac ;;
66226 esac
66227 done
66228
66229 (set) 2>&1 |
66230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66231 *${as_nl}ac_space=\ *)
66232 # `set' does not quote correctly, so add quotes: double-quote
66233 # substitution turns \\\\ into \\, and sed turns \\ into \.
66234 sed -n \
66235 "s/'/'\\\\''/g;
66236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66237 ;; #(
66238 *)
66239 # `set' quotes correctly as required by POSIX, so do not add quotes.
66240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66241 ;;
66242 esac |
66243 sort
66244 ) |
66245 sed '
66246 /^ac_cv_env_/b end
66247 t clear
66248 :clear
66249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66250 t end
66251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66252 :end' >>confcache
66253 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66254 if test -w "$cache_file"; then
66255 test "x$cache_file" != "x/dev/null" &&
66256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66257 $as_echo "$as_me: updating cache $cache_file" >&6;}
66258 cat confcache >$cache_file
66259 else
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66262 fi
66263 fi
66264 rm -f confcache
66265
66266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66267 # Let make expand exec_prefix.
66268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66269
66270 DEFS=-DHAVE_CONFIG_H
66271
66272 ac_libobjs=
66273 ac_ltlibobjs=
66274 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66275 # 1. Remove the extension, and $U if already installed.
66276 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66277 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66278 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66279 # will be set to the directory where LIBOBJS objects are built.
66280 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66281 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66282 done
66283 LIBOBJS=$ac_libobjs
66284
66285 LTLIBOBJS=$ac_ltlibobjs
66286
66287
66288 if test -n "$EXEEXT"; then
66289 am__EXEEXT_TRUE=
66290 am__EXEEXT_FALSE='#'
66291 else
66292 am__EXEEXT_TRUE='#'
66293 am__EXEEXT_FALSE=
66294 fi
66295
66296 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66297 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66299 fi
66300 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66301 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66303 fi
66304 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66305 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66307 fi
66308 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66309 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66311 fi
66312 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66313 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66315 fi
66316 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66317 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66319 fi
66320 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66321 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66323 fi
66324 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66325 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66327 fi
66328 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66329 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66331 fi
66332 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66333 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66335 fi
66336 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66337 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66339 fi
66340 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66341 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66343 fi
66344 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66345 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66347 fi
66348 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66349 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66351 fi
66352 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66353 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66355 fi
66356 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66357 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66359 fi
66360 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66361 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66363 fi
66364 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66365 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66367 fi
66368 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66369 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66371 fi
66372 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66373 as_fn_error "conditional \"BUILD_XML\" was never defined.
66374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66375 fi
66376 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66377 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66379 fi
66380 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66381 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66383 fi
66384 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66385 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66387 fi
66388 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66389 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66391 fi
66392
66393 : ${CONFIG_STATUS=./config.status}
66394 ac_write_fail=0
66395 ac_clean_files_save=$ac_clean_files
66396 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66398 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66399 as_write_fail=0
66400 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66401 #! $SHELL
66402 # Generated by $as_me.
66403 # Run this file to recreate the current configuration.
66404 # Compiler output produced by configure, useful for debugging
66405 # configure, is in config.log if it exists.
66406
66407 debug=false
66408 ac_cs_recheck=false
66409 ac_cs_silent=false
66410
66411 SHELL=\${CONFIG_SHELL-$SHELL}
66412 export SHELL
66413 _ASEOF
66414 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66415 ## -------------------- ##
66416 ## M4sh Initialization. ##
66417 ## -------------------- ##
66418
66419 # Be more Bourne compatible
66420 DUALCASE=1; export DUALCASE # for MKS sh
66421 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66422 emulate sh
66423 NULLCMD=:
66424 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66425 # is contrary to our usage. Disable this feature.
66426 alias -g '${1+"$@"}'='"$@"'
66427 setopt NO_GLOB_SUBST
66428 else
66429 case `(set -o) 2>/dev/null` in #(
66430 *posix*) :
66431 set -o posix ;; #(
66432 *) :
66433 ;;
66434 esac
66435 fi
66436
66437
66438 as_nl='
66439 '
66440 export as_nl
66441 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66442 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66445 # Prefer a ksh shell builtin over an external printf program on Solaris,
66446 # but without wasting forks for bash or zsh.
66447 if test -z "$BASH_VERSION$ZSH_VERSION" \
66448 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66449 as_echo='print -r --'
66450 as_echo_n='print -rn --'
66451 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66452 as_echo='printf %s\n'
66453 as_echo_n='printf %s'
66454 else
66455 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66456 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66457 as_echo_n='/usr/ucb/echo -n'
66458 else
66459 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66460 as_echo_n_body='eval
66461 arg=$1;
66462 case $arg in #(
66463 *"$as_nl"*)
66464 expr "X$arg" : "X\\(.*\\)$as_nl";
66465 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66466 esac;
66467 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66468 '
66469 export as_echo_n_body
66470 as_echo_n='sh -c $as_echo_n_body as_echo'
66471 fi
66472 export as_echo_body
66473 as_echo='sh -c $as_echo_body as_echo'
66474 fi
66475
66476 # The user is always right.
66477 if test "${PATH_SEPARATOR+set}" != set; then
66478 PATH_SEPARATOR=:
66479 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66480 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66481 PATH_SEPARATOR=';'
66482 }
66483 fi
66484
66485
66486 # IFS
66487 # We need space, tab and new line, in precisely that order. Quoting is
66488 # there to prevent editors from complaining about space-tab.
66489 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66490 # splitting by setting IFS to empty value.)
66491 IFS=" "" $as_nl"
66492
66493 # Find who we are. Look in the path if we contain no directory separator.
66494 case $0 in #((
66495 *[\\/]* ) as_myself=$0 ;;
66496 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66497 for as_dir in $PATH
66498 do
66499 IFS=$as_save_IFS
66500 test -z "$as_dir" && as_dir=.
66501 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66502 done
66503 IFS=$as_save_IFS
66504
66505 ;;
66506 esac
66507 # We did not find ourselves, most probably we were run as `sh COMMAND'
66508 # in which case we are not to be found in the path.
66509 if test "x$as_myself" = x; then
66510 as_myself=$0
66511 fi
66512 if test ! -f "$as_myself"; then
66513 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66514 exit 1
66515 fi
66516
66517 # Unset variables that we do not need and which cause bugs (e.g. in
66518 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66519 # suppresses any "Segmentation fault" message there. '((' could
66520 # trigger a bug in pdksh 5.2.14.
66521 for as_var in BASH_ENV ENV MAIL MAILPATH
66522 do eval test x\${$as_var+set} = xset \
66523 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66524 done
66525 PS1='$ '
66526 PS2='> '
66527 PS4='+ '
66528
66529 # NLS nuisances.
66530 LC_ALL=C
66531 export LC_ALL
66532 LANGUAGE=C
66533 export LANGUAGE
66534
66535 # CDPATH.
66536 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66537
66538
66539 # as_fn_error ERROR [LINENO LOG_FD]
66540 # ---------------------------------
66541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66543 # script with status $?, using 1 if that was 0.
66544 as_fn_error ()
66545 {
66546 as_status=$?; test $as_status -eq 0 && as_status=1
66547 if test "$3"; then
66548 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66549 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66550 fi
66551 $as_echo "$as_me: error: $1" >&2
66552 as_fn_exit $as_status
66553 } # as_fn_error
66554
66555
66556 # as_fn_set_status STATUS
66557 # -----------------------
66558 # Set $? to STATUS, without forking.
66559 as_fn_set_status ()
66560 {
66561 return $1
66562 } # as_fn_set_status
66563
66564 # as_fn_exit STATUS
66565 # -----------------
66566 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66567 as_fn_exit ()
66568 {
66569 set +e
66570 as_fn_set_status $1
66571 exit $1
66572 } # as_fn_exit
66573
66574 # as_fn_unset VAR
66575 # ---------------
66576 # Portably unset VAR.
66577 as_fn_unset ()
66578 {
66579 { eval $1=; unset $1;}
66580 }
66581 as_unset=as_fn_unset
66582 # as_fn_append VAR VALUE
66583 # ----------------------
66584 # Append the text in VALUE to the end of the definition contained in VAR. Take
66585 # advantage of any shell optimizations that allow amortized linear growth over
66586 # repeated appends, instead of the typical quadratic growth present in naive
66587 # implementations.
66588 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66589 eval 'as_fn_append ()
66590 {
66591 eval $1+=\$2
66592 }'
66593 else
66594 as_fn_append ()
66595 {
66596 eval $1=\$$1\$2
66597 }
66598 fi # as_fn_append
66599
66600 # as_fn_arith ARG...
66601 # ------------------
66602 # Perform arithmetic evaluation on the ARGs, and store the result in the
66603 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66604 # must be portable across $(()) and expr.
66605 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66606 eval 'as_fn_arith ()
66607 {
66608 as_val=$(( $* ))
66609 }'
66610 else
66611 as_fn_arith ()
66612 {
66613 as_val=`expr "$@" || test $? -eq 1`
66614 }
66615 fi # as_fn_arith
66616
66617
66618 if expr a : '\(a\)' >/dev/null 2>&1 &&
66619 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66620 as_expr=expr
66621 else
66622 as_expr=false
66623 fi
66624
66625 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66626 as_basename=basename
66627 else
66628 as_basename=false
66629 fi
66630
66631 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66632 as_dirname=dirname
66633 else
66634 as_dirname=false
66635 fi
66636
66637 as_me=`$as_basename -- "$0" ||
66638 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66639 X"$0" : 'X\(//\)$' \| \
66640 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66641 $as_echo X/"$0" |
66642 sed '/^.*\/\([^/][^/]*\)\/*$/{
66643 s//\1/
66644 q
66645 }
66646 /^X\/\(\/\/\)$/{
66647 s//\1/
66648 q
66649 }
66650 /^X\/\(\/\).*/{
66651 s//\1/
66652 q
66653 }
66654 s/.*/./; q'`
66655
66656 # Avoid depending upon Character Ranges.
66657 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66658 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66659 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66660 as_cr_digits='0123456789'
66661 as_cr_alnum=$as_cr_Letters$as_cr_digits
66662
66663 ECHO_C= ECHO_N= ECHO_T=
66664 case `echo -n x` in #(((((
66665 -n*)
66666 case `echo 'xy\c'` in
66667 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66668 xy) ECHO_C='\c';;
66669 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66670 ECHO_T=' ';;
66671 esac;;
66672 *)
66673 ECHO_N='-n';;
66674 esac
66675
66676 rm -f conf$$ conf$$.exe conf$$.file
66677 if test -d conf$$.dir; then
66678 rm -f conf$$.dir/conf$$.file
66679 else
66680 rm -f conf$$.dir
66681 mkdir conf$$.dir 2>/dev/null
66682 fi
66683 if (echo >conf$$.file) 2>/dev/null; then
66684 if ln -s conf$$.file conf$$ 2>/dev/null; then
66685 as_ln_s='ln -s'
66686 # ... but there are two gotchas:
66687 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66688 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66689 # In both cases, we have to default to `cp -p'.
66690 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66691 as_ln_s='cp -p'
66692 elif ln conf$$.file conf$$ 2>/dev/null; then
66693 as_ln_s=ln
66694 else
66695 as_ln_s='cp -p'
66696 fi
66697 else
66698 as_ln_s='cp -p'
66699 fi
66700 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66701 rmdir conf$$.dir 2>/dev/null
66702
66703
66704 # as_fn_mkdir_p
66705 # -------------
66706 # Create "$as_dir" as a directory, including parents if necessary.
66707 as_fn_mkdir_p ()
66708 {
66709
66710 case $as_dir in #(
66711 -*) as_dir=./$as_dir;;
66712 esac
66713 test -d "$as_dir" || eval $as_mkdir_p || {
66714 as_dirs=
66715 while :; do
66716 case $as_dir in #(
66717 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66718 *) as_qdir=$as_dir;;
66719 esac
66720 as_dirs="'$as_qdir' $as_dirs"
66721 as_dir=`$as_dirname -- "$as_dir" ||
66722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66723 X"$as_dir" : 'X\(//\)[^/]' \| \
66724 X"$as_dir" : 'X\(//\)$' \| \
66725 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66726 $as_echo X"$as_dir" |
66727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66728 s//\1/
66729 q
66730 }
66731 /^X\(\/\/\)[^/].*/{
66732 s//\1/
66733 q
66734 }
66735 /^X\(\/\/\)$/{
66736 s//\1/
66737 q
66738 }
66739 /^X\(\/\).*/{
66740 s//\1/
66741 q
66742 }
66743 s/.*/./; q'`
66744 test -d "$as_dir" && break
66745 done
66746 test -z "$as_dirs" || eval "mkdir $as_dirs"
66747 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66748
66749
66750 } # as_fn_mkdir_p
66751 if mkdir -p . 2>/dev/null; then
66752 as_mkdir_p='mkdir -p "$as_dir"'
66753 else
66754 test -d ./-p && rmdir ./-p
66755 as_mkdir_p=false
66756 fi
66757
66758 if test -x / >/dev/null 2>&1; then
66759 as_test_x='test -x'
66760 else
66761 if ls -dL / >/dev/null 2>&1; then
66762 as_ls_L_option=L
66763 else
66764 as_ls_L_option=
66765 fi
66766 as_test_x='
66767 eval sh -c '\''
66768 if test -d "$1"; then
66769 test -d "$1/.";
66770 else
66771 case $1 in #(
66772 -*)set "./$1";;
66773 esac;
66774 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66775 ???[sx]*):;;*)false;;esac;fi
66776 '\'' sh
66777 '
66778 fi
66779 as_executable_p=$as_test_x
66780
66781 # Sed expression to map a string onto a valid CPP name.
66782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66783
66784 # Sed expression to map a string onto a valid variable name.
66785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66786
66787
66788 exec 6>&1
66789 ## ----------------------------------- ##
66790 ## Main body of $CONFIG_STATUS script. ##
66791 ## ----------------------------------- ##
66792 _ASEOF
66793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66794
66795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66796 # Save the log message, to keep $0 and so on meaningful, and to
66797 # report actual input values of CONFIG_FILES etc. instead of their
66798 # values after options handling.
66799 ac_log="
66800 This file was extended by package-unused $as_me version-unused, which was
66801 generated by GNU Autoconf 2.64. Invocation command line was
66802
66803 CONFIG_FILES = $CONFIG_FILES
66804 CONFIG_HEADERS = $CONFIG_HEADERS
66805 CONFIG_LINKS = $CONFIG_LINKS
66806 CONFIG_COMMANDS = $CONFIG_COMMANDS
66807 $ $0 $@
66808
66809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66810 "
66811
66812 _ACEOF
66813
66814 case $ac_config_files in *"
66815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66816 esac
66817
66818 case $ac_config_headers in *"
66819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66820 esac
66821
66822
66823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66824 # Files that config.status was made for.
66825 config_files="$ac_config_files"
66826 config_headers="$ac_config_headers"
66827 config_commands="$ac_config_commands"
66828
66829 _ACEOF
66830
66831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66832 ac_cs_usage="\
66833 \`$as_me' instantiates files and other configuration actions
66834 from templates according to the current configuration. Unless the files
66835 and actions are specified as TAGs, all are instantiated by default.
66836
66837 Usage: $0 [OPTION]... [TAG]...
66838
66839 -h, --help print this help, then exit
66840 -V, --version print version number and configuration settings, then exit
66841 -q, --quiet, --silent
66842 do not print progress messages
66843 -d, --debug don't remove temporary files
66844 --recheck update $as_me by reconfiguring in the same conditions
66845 --file=FILE[:TEMPLATE]
66846 instantiate the configuration file FILE
66847 --header=FILE[:TEMPLATE]
66848 instantiate the configuration header FILE
66849
66850 Configuration files:
66851 $config_files
66852
66853 Configuration headers:
66854 $config_headers
66855
66856 Configuration commands:
66857 $config_commands
66858
66859 Report bugs to the package provider."
66860
66861 _ACEOF
66862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66863 ac_cs_version="\\
66864 package-unused config.status version-unused
66865 configured by $0, generated by GNU Autoconf 2.64,
66866 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66867
66868 Copyright (C) 2009 Free Software Foundation, Inc.
66869 This config.status script is free software; the Free Software Foundation
66870 gives unlimited permission to copy, distribute and modify it."
66871
66872 ac_pwd='$ac_pwd'
66873 srcdir='$srcdir'
66874 INSTALL='$INSTALL'
66875 MKDIR_P='$MKDIR_P'
66876 AWK='$AWK'
66877 test -n "\$AWK" || AWK=awk
66878 _ACEOF
66879
66880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66881 # The default lists apply if the user does not specify any file.
66882 ac_need_defaults=:
66883 while test $# != 0
66884 do
66885 case $1 in
66886 --*=*)
66887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66888 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66889 ac_shift=:
66890 ;;
66891 *)
66892 ac_option=$1
66893 ac_optarg=$2
66894 ac_shift=shift
66895 ;;
66896 esac
66897
66898 case $ac_option in
66899 # Handling of the options.
66900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66901 ac_cs_recheck=: ;;
66902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66903 $as_echo "$ac_cs_version"; exit ;;
66904 --debug | --debu | --deb | --de | --d | -d )
66905 debug=: ;;
66906 --file | --fil | --fi | --f )
66907 $ac_shift
66908 case $ac_optarg in
66909 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66910 esac
66911 as_fn_append CONFIG_FILES " '$ac_optarg'"
66912 ac_need_defaults=false;;
66913 --header | --heade | --head | --hea )
66914 $ac_shift
66915 case $ac_optarg in
66916 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66917 esac
66918 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66919 ac_need_defaults=false;;
66920 --he | --h)
66921 # Conflict between --help and --header
66922 as_fn_error "ambiguous option: \`$1'
66923 Try \`$0 --help' for more information.";;
66924 --help | --hel | -h )
66925 $as_echo "$ac_cs_usage"; exit ;;
66926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66927 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66928 ac_cs_silent=: ;;
66929
66930 # This is an error.
66931 -*) as_fn_error "unrecognized option: \`$1'
66932 Try \`$0 --help' for more information." ;;
66933
66934 *) as_fn_append ac_config_targets " $1"
66935 ac_need_defaults=false ;;
66936
66937 esac
66938 shift
66939 done
66940
66941 ac_configure_extra_args=
66942
66943 if $ac_cs_silent; then
66944 exec 6>/dev/null
66945 ac_configure_extra_args="$ac_configure_extra_args --silent"
66946 fi
66947
66948 _ACEOF
66949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66950 if \$ac_cs_recheck; then
66951 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66952 shift
66953 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66954 CONFIG_SHELL='$SHELL'
66955 export CONFIG_SHELL
66956 exec "\$@"
66957 fi
66958
66959 _ACEOF
66960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66961 exec 5>>config.log
66962 {
66963 echo
66964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66965 ## Running $as_me. ##
66966 _ASBOX
66967 $as_echo "$ac_log"
66968 } >&5
66969
66970 _ACEOF
66971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66972 #
66973 # INIT-COMMANDS
66974 #
66975
66976 srcdir="$srcdir"
66977 host="$host"
66978 target="$target"
66979 with_multisubdir="$with_multisubdir"
66980 with_multisrctop="$with_multisrctop"
66981 with_target_subdir="$with_target_subdir"
66982 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66983 multi_basedir="$multi_basedir"
66984 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66985 CC="$CC"
66986 CXX="$CXX"
66987 GFORTRAN="$GFORTRAN"
66988 GCJ="$GCJ"
66989
66990
66991 # The HP-UX ksh and POSIX shell print the target directory to stdout
66992 # if CDPATH is set.
66993 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66994
66995 sed_quote_subst='$sed_quote_subst'
66996 double_quote_subst='$double_quote_subst'
66997 delay_variable_subst='$delay_variable_subst'
66998 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66999 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67000 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67001 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67002 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67003 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67004 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67005 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67006 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67007 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67008 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67009 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67010 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67011 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67012 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67013 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67014 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67015 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67016 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67017 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67018 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67019 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67020 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67021 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67022 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67023 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67024 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67025 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67026 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67027 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67028 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67029 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67030 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67031 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67032 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67033 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67034 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67035 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67036 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67037 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67038 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67039 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67040 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67041 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67042 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67043 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67044 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67045 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67046 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"`'
67047 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67048 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67049 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67050 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67051 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67052 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67053 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67054 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67055 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67056 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67057 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67058 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67059 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67060 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67061 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67062 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67063 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67064 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67065 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67066 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67067 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67068 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67069 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67070 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67071 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67072 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67073 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67074 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67075 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67076 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67077 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67078 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67079 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67080 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67081 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67082 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67083 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67084 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67085 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67086 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67087 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67088 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67089 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67090 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67091 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67092 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67093 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67094 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67095 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67096 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67097 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67098 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67099 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67100 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67101 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67102 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67103 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67104 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67105 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67106 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67107 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67108 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67109 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67110 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67111 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67112 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67113 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67114 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67115 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67116 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67117 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67118 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67119 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67120 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67121 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67122 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67123 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67124 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67125 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67126 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67127 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67128 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67129 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67130 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67131 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67132 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67133 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67134 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67135 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67136 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67137 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67138 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67139 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67140 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67141 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67142 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67143 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67144 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67145 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67146 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67147 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67148 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67149 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67150 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67151 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67152 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67153 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67154 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67155 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67156 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67157 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67158 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67159 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67160 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67161 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67162 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67163 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67164 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67165 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67166 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67167 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67168 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67169 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67170 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67171 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67172 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67173
67174 LTCC='$LTCC'
67175 LTCFLAGS='$LTCFLAGS'
67176 compiler='$compiler_DEFAULT'
67177
67178 # A function that is used when there is no print builtin or printf.
67179 func_fallback_echo ()
67180 {
67181 eval 'cat <<_LTECHO_EOF
67182 \$1
67183 _LTECHO_EOF'
67184 }
67185
67186 # Quote evaled strings.
67187 for var in SHELL \
67188 ECHO \
67189 SED \
67190 GREP \
67191 EGREP \
67192 FGREP \
67193 LD \
67194 NM \
67195 LN_S \
67196 lt_SP2NL \
67197 lt_NL2SP \
67198 reload_flag \
67199 OBJDUMP \
67200 deplibs_check_method \
67201 file_magic_cmd \
67202 AR \
67203 AR_FLAGS \
67204 STRIP \
67205 RANLIB \
67206 CC \
67207 CFLAGS \
67208 compiler \
67209 lt_cv_sys_global_symbol_pipe \
67210 lt_cv_sys_global_symbol_to_cdecl \
67211 lt_cv_sys_global_symbol_to_c_name_address \
67212 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67213 lt_prog_compiler_no_builtin_flag \
67214 lt_prog_compiler_wl \
67215 lt_prog_compiler_pic \
67216 lt_prog_compiler_static \
67217 lt_cv_prog_compiler_c_o \
67218 need_locks \
67219 DSYMUTIL \
67220 NMEDIT \
67221 LIPO \
67222 OTOOL \
67223 OTOOL64 \
67224 shrext_cmds \
67225 export_dynamic_flag_spec \
67226 whole_archive_flag_spec \
67227 compiler_needs_object \
67228 with_gnu_ld \
67229 allow_undefined_flag \
67230 no_undefined_flag \
67231 hardcode_libdir_flag_spec \
67232 hardcode_libdir_flag_spec_ld \
67233 hardcode_libdir_separator \
67234 fix_srcfile_path \
67235 exclude_expsyms \
67236 include_expsyms \
67237 file_list_spec \
67238 variables_saved_for_relink \
67239 libname_spec \
67240 library_names_spec \
67241 soname_spec \
67242 install_override_mode \
67243 finish_eval \
67244 old_striplib \
67245 striplib \
67246 compiler_lib_search_dirs \
67247 predep_objects \
67248 postdep_objects \
67249 predeps \
67250 postdeps \
67251 compiler_lib_search_path \
67252 LD_CXX \
67253 reload_flag_CXX \
67254 compiler_CXX \
67255 lt_prog_compiler_no_builtin_flag_CXX \
67256 lt_prog_compiler_wl_CXX \
67257 lt_prog_compiler_pic_CXX \
67258 lt_prog_compiler_static_CXX \
67259 lt_cv_prog_compiler_c_o_CXX \
67260 export_dynamic_flag_spec_CXX \
67261 whole_archive_flag_spec_CXX \
67262 compiler_needs_object_CXX \
67263 with_gnu_ld_CXX \
67264 allow_undefined_flag_CXX \
67265 no_undefined_flag_CXX \
67266 hardcode_libdir_flag_spec_CXX \
67267 hardcode_libdir_flag_spec_ld_CXX \
67268 hardcode_libdir_separator_CXX \
67269 fix_srcfile_path_CXX \
67270 exclude_expsyms_CXX \
67271 include_expsyms_CXX \
67272 file_list_spec_CXX \
67273 compiler_lib_search_dirs_CXX \
67274 predep_objects_CXX \
67275 postdep_objects_CXX \
67276 predeps_CXX \
67277 postdeps_CXX \
67278 compiler_lib_search_path_CXX; do
67279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67280 *[\\\\\\\`\\"\\\$]*)
67281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67282 ;;
67283 *)
67284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67285 ;;
67286 esac
67287 done
67288
67289 # Double-quote double-evaled strings.
67290 for var in reload_cmds \
67291 old_postinstall_cmds \
67292 old_postuninstall_cmds \
67293 old_archive_cmds \
67294 extract_expsyms_cmds \
67295 old_archive_from_new_cmds \
67296 old_archive_from_expsyms_cmds \
67297 archive_cmds \
67298 archive_expsym_cmds \
67299 module_cmds \
67300 module_expsym_cmds \
67301 export_symbols_cmds \
67302 prelink_cmds \
67303 postinstall_cmds \
67304 postuninstall_cmds \
67305 finish_cmds \
67306 sys_lib_search_path_spec \
67307 sys_lib_dlsearch_path_spec \
67308 reload_cmds_CXX \
67309 old_archive_cmds_CXX \
67310 old_archive_from_new_cmds_CXX \
67311 old_archive_from_expsyms_cmds_CXX \
67312 archive_cmds_CXX \
67313 archive_expsym_cmds_CXX \
67314 module_cmds_CXX \
67315 module_expsym_cmds_CXX \
67316 export_symbols_cmds_CXX \
67317 prelink_cmds_CXX; do
67318 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67319 *[\\\\\\\`\\"\\\$]*)
67320 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67321 ;;
67322 *)
67323 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67324 ;;
67325 esac
67326 done
67327
67328 ac_aux_dir='$ac_aux_dir'
67329 xsi_shell='$xsi_shell'
67330 lt_shell_append='$lt_shell_append'
67331
67332 # See if we are running on zsh, and set the options which allow our
67333 # commands through without removal of \ escapes INIT.
67334 if test -n "\${ZSH_VERSION+set}" ; then
67335 setopt NO_GLOB_SUBST
67336 fi
67337
67338
67339 PACKAGE='$PACKAGE'
67340 VERSION='$VERSION'
67341 TIMESTAMP='$TIMESTAMP'
67342 RM='$RM'
67343 ofile='$ofile'
67344
67345
67346
67347
67348
67349
67350 GCC="$GCC"
67351 CC="$CC"
67352 acx_cv_header_stdint="$acx_cv_header_stdint"
67353 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67354 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67355 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67356 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67357 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67358 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67359 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67360 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67361 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67362 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67363 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67364 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67365 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67366
67367
67368 _ACEOF
67369
67370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67371
67372 # Handling of arguments.
67373 for ac_config_target in $ac_config_targets
67374 do
67375 case $ac_config_target in
67376 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67377 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67378 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67379 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67381 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67382 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67383 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67384 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67385 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67386 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67387 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67388 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67389 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67390 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67391
67392 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67393 esac
67394 done
67395
67396
67397 # If the user did not use the arguments to specify the items to instantiate,
67398 # then the envvar interface is used. Set only those that are not.
67399 # We use the long form for the default assignment because of an extremely
67400 # bizarre bug on SunOS 4.1.3.
67401 if $ac_need_defaults; then
67402 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67403 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67404 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67405 fi
67406
67407 # Have a temporary directory for convenience. Make it in the build tree
67408 # simply because there is no reason against having it here, and in addition,
67409 # creating and moving files from /tmp can sometimes cause problems.
67410 # Hook for its removal unless debugging.
67411 # Note that there is a small window in which the directory will not be cleaned:
67412 # after its creation but before its name has been assigned to `$tmp'.
67413 $debug ||
67414 {
67415 tmp=
67416 trap 'exit_status=$?
67417 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67418 ' 0
67419 trap 'as_fn_exit 1' 1 2 13 15
67420 }
67421 # Create a (secure) tmp directory for tmp files.
67422
67423 {
67424 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67425 test -n "$tmp" && test -d "$tmp"
67426 } ||
67427 {
67428 tmp=./conf$$-$RANDOM
67429 (umask 077 && mkdir "$tmp")
67430 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67431
67432 # Set up the scripts for CONFIG_FILES section.
67433 # No need to generate them if there are no CONFIG_FILES.
67434 # This happens for instance with `./config.status config.h'.
67435 if test -n "$CONFIG_FILES"; then
67436
67437
67438 ac_cr=`echo X | tr X '\015'`
67439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67440 # But we know of no other shell where ac_cr would be empty at this
67441 # point, so we can use a bashism as a fallback.
67442 if test "x$ac_cr" = x; then
67443 eval ac_cr=\$\'\\r\'
67444 fi
67445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67447 ac_cs_awk_cr='\r'
67448 else
67449 ac_cs_awk_cr=$ac_cr
67450 fi
67451
67452 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67453 _ACEOF
67454
67455
67456 {
67457 echo "cat >conf$$subs.awk <<_ACEOF" &&
67458 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67459 echo "_ACEOF"
67460 } >conf$$subs.sh ||
67461 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67463 ac_delim='%!_!# '
67464 for ac_last_try in false false false false false :; do
67465 . ./conf$$subs.sh ||
67466 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67467
67468 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67469 if test $ac_delim_n = $ac_delim_num; then
67470 break
67471 elif $ac_last_try; then
67472 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67473 else
67474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67475 fi
67476 done
67477 rm -f conf$$subs.sh
67478
67479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67480 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67481 _ACEOF
67482 sed -n '
67483 h
67484 s/^/S["/; s/!.*/"]=/
67485 p
67486 g
67487 s/^[^!]*!//
67488 :repl
67489 t repl
67490 s/'"$ac_delim"'$//
67491 t delim
67492 :nl
67493 h
67494 s/\(.\{148\}\).*/\1/
67495 t more1
67496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67497 p
67498 n
67499 b repl
67500 :more1
67501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67502 p
67503 g
67504 s/.\{148\}//
67505 t nl
67506 :delim
67507 h
67508 s/\(.\{148\}\).*/\1/
67509 t more2
67510 s/["\\]/\\&/g; s/^/"/; s/$/"/
67511 p
67512 b
67513 :more2
67514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67515 p
67516 g
67517 s/.\{148\}//
67518 t delim
67519 ' <conf$$subs.awk | sed '
67520 /^[^""]/{
67521 N
67522 s/\n//
67523 }
67524 ' >>$CONFIG_STATUS || ac_write_fail=1
67525 rm -f conf$$subs.awk
67526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67527 _ACAWK
67528 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67529 for (key in S) S_is_set[key] = 1
67530 FS = "\a"
67531
67532 }
67533 {
67534 line = $ 0
67535 nfields = split(line, field, "@")
67536 substed = 0
67537 len = length(field[1])
67538 for (i = 2; i < nfields; i++) {
67539 key = field[i]
67540 keylen = length(key)
67541 if (S_is_set[key]) {
67542 value = S[key]
67543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67544 len += length(value) + length(field[++i])
67545 substed = 1
67546 } else
67547 len += 1 + keylen
67548 }
67549
67550 print line
67551 }
67552
67553 _ACAWK
67554 _ACEOF
67555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67557 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67558 else
67559 cat
67560 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67561 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67562 _ACEOF
67563
67564 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67565 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67566 # trailing colons and then remove the whole line if VPATH becomes empty
67567 # (actually we leave an empty line to preserve line numbers).
67568 if test "x$srcdir" = x.; then
67569 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67570 s/:*\$(srcdir):*/:/
67571 s/:*\${srcdir}:*/:/
67572 s/:*@srcdir@:*/:/
67573 s/^\([^=]*=[ ]*\):*/\1/
67574 s/:*$//
67575 s/^[^=]*=[ ]*$//
67576 }'
67577 fi
67578
67579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67580 fi # test -n "$CONFIG_FILES"
67581
67582 # Set up the scripts for CONFIG_HEADERS section.
67583 # No need to generate them if there are no CONFIG_HEADERS.
67584 # This happens for instance with `./config.status Makefile'.
67585 if test -n "$CONFIG_HEADERS"; then
67586 cat >"$tmp/defines.awk" <<\_ACAWK ||
67587 BEGIN {
67588 _ACEOF
67589
67590 # Transform confdefs.h into an awk script `defines.awk', embedded as
67591 # here-document in config.status, that substitutes the proper values into
67592 # config.h.in to produce config.h.
67593
67594 # Create a delimiter string that does not exist in confdefs.h, to ease
67595 # handling of long lines.
67596 ac_delim='%!_!# '
67597 for ac_last_try in false false :; do
67598 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67599 if test -z "$ac_t"; then
67600 break
67601 elif $ac_last_try; then
67602 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67603 else
67604 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67605 fi
67606 done
67607
67608 # For the awk script, D is an array of macro values keyed by name,
67609 # likewise P contains macro parameters if any. Preserve backslash
67610 # newline sequences.
67611
67612 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67613 sed -n '
67614 s/.\{148\}/&'"$ac_delim"'/g
67615 t rset
67616 :rset
67617 s/^[ ]*#[ ]*define[ ][ ]*/ /
67618 t def
67619 d
67620 :def
67621 s/\\$//
67622 t bsnl
67623 s/["\\]/\\&/g
67624 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67625 D["\1"]=" \3"/p
67626 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67627 d
67628 :bsnl
67629 s/["\\]/\\&/g
67630 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67631 D["\1"]=" \3\\\\\\n"\\/p
67632 t cont
67633 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67634 t cont
67635 d
67636 :cont
67637 n
67638 s/.\{148\}/&'"$ac_delim"'/g
67639 t clear
67640 :clear
67641 s/\\$//
67642 t bsnlc
67643 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67644 d
67645 :bsnlc
67646 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67647 b cont
67648 ' <confdefs.h | sed '
67649 s/'"$ac_delim"'/"\\\
67650 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67651
67652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67653 for (key in D) D_is_set[key] = 1
67654 FS = "\a"
67655 }
67656 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67657 line = \$ 0
67658 split(line, arg, " ")
67659 if (arg[1] == "#") {
67660 defundef = arg[2]
67661 mac1 = arg[3]
67662 } else {
67663 defundef = substr(arg[1], 2)
67664 mac1 = arg[2]
67665 }
67666 split(mac1, mac2, "(") #)
67667 macro = mac2[1]
67668 prefix = substr(line, 1, index(line, defundef) - 1)
67669 if (D_is_set[macro]) {
67670 # Preserve the white space surrounding the "#".
67671 print prefix "define", macro P[macro] D[macro]
67672 next
67673 } else {
67674 # Replace #undef with comments. This is necessary, for example,
67675 # in the case of _POSIX_SOURCE, which is predefined and required
67676 # on some systems where configure will not decide to define it.
67677 if (defundef == "undef") {
67678 print "/*", prefix defundef, macro, "*/"
67679 next
67680 }
67681 }
67682 }
67683 { print }
67684 _ACAWK
67685 _ACEOF
67686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67687 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67688 fi # test -n "$CONFIG_HEADERS"
67689
67690
67691 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67692 shift
67693 for ac_tag
67694 do
67695 case $ac_tag in
67696 :[FHLC]) ac_mode=$ac_tag; continue;;
67697 esac
67698 case $ac_mode$ac_tag in
67699 :[FHL]*:*);;
67700 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67701 :[FH]-) ac_tag=-:-;;
67702 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67703 esac
67704 ac_save_IFS=$IFS
67705 IFS=:
67706 set x $ac_tag
67707 IFS=$ac_save_IFS
67708 shift
67709 ac_file=$1
67710 shift
67711
67712 case $ac_mode in
67713 :L) ac_source=$1;;
67714 :[FH])
67715 ac_file_inputs=
67716 for ac_f
67717 do
67718 case $ac_f in
67719 -) ac_f="$tmp/stdin";;
67720 *) # Look for the file first in the build tree, then in the source tree
67721 # (if the path is not absolute). The absolute path cannot be DOS-style,
67722 # because $ac_f cannot contain `:'.
67723 test -f "$ac_f" ||
67724 case $ac_f in
67725 [\\/$]*) false;;
67726 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67727 esac ||
67728 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67729 esac
67730 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67731 as_fn_append ac_file_inputs " '$ac_f'"
67732 done
67733
67734 # Let's still pretend it is `configure' which instantiates (i.e., don't
67735 # use $as_me), people would be surprised to read:
67736 # /* config.h. Generated by config.status. */
67737 configure_input='Generated from '`
67738 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67739 `' by configure.'
67740 if test x"$ac_file" != x-; then
67741 configure_input="$ac_file. $configure_input"
67742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67743 $as_echo "$as_me: creating $ac_file" >&6;}
67744 fi
67745 # Neutralize special characters interpreted by sed in replacement strings.
67746 case $configure_input in #(
67747 *\&* | *\|* | *\\* )
67748 ac_sed_conf_input=`$as_echo "$configure_input" |
67749 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67750 *) ac_sed_conf_input=$configure_input;;
67751 esac
67752
67753 case $ac_tag in
67754 *:-:* | *:-) cat >"$tmp/stdin" \
67755 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67756 esac
67757 ;;
67758 esac
67759
67760 ac_dir=`$as_dirname -- "$ac_file" ||
67761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67762 X"$ac_file" : 'X\(//\)[^/]' \| \
67763 X"$ac_file" : 'X\(//\)$' \| \
67764 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67765 $as_echo X"$ac_file" |
67766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67767 s//\1/
67768 q
67769 }
67770 /^X\(\/\/\)[^/].*/{
67771 s//\1/
67772 q
67773 }
67774 /^X\(\/\/\)$/{
67775 s//\1/
67776 q
67777 }
67778 /^X\(\/\).*/{
67779 s//\1/
67780 q
67781 }
67782 s/.*/./; q'`
67783 as_dir="$ac_dir"; as_fn_mkdir_p
67784 ac_builddir=.
67785
67786 case "$ac_dir" in
67787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67788 *)
67789 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67790 # A ".." for each directory in $ac_dir_suffix.
67791 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67792 case $ac_top_builddir_sub in
67793 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67794 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67795 esac ;;
67796 esac
67797 ac_abs_top_builddir=$ac_pwd
67798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67799 # for backward compatibility:
67800 ac_top_builddir=$ac_top_build_prefix
67801
67802 case $srcdir in
67803 .) # We are building in place.
67804 ac_srcdir=.
67805 ac_top_srcdir=$ac_top_builddir_sub
67806 ac_abs_top_srcdir=$ac_pwd ;;
67807 [\\/]* | ?:[\\/]* ) # Absolute name.
67808 ac_srcdir=$srcdir$ac_dir_suffix;
67809 ac_top_srcdir=$srcdir
67810 ac_abs_top_srcdir=$srcdir ;;
67811 *) # Relative name.
67812 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67813 ac_top_srcdir=$ac_top_build_prefix$srcdir
67814 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67815 esac
67816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67817
67818
67819 case $ac_mode in
67820 :F)
67821 #
67822 # CONFIG_FILE
67823 #
67824
67825 case $INSTALL in
67826 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67827 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67828 esac
67829 ac_MKDIR_P=$MKDIR_P
67830 case $MKDIR_P in
67831 [\\/$]* | ?:[\\/]* ) ;;
67832 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67833 esac
67834 _ACEOF
67835
67836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67837 # If the template does not know about datarootdir, expand it.
67838 # FIXME: This hack should be removed a few years after 2.60.
67839 ac_datarootdir_hack=; ac_datarootdir_seen=
67840 ac_sed_dataroot='
67841 /datarootdir/ {
67842 p
67843 q
67844 }
67845 /@datadir@/p
67846 /@docdir@/p
67847 /@infodir@/p
67848 /@localedir@/p
67849 /@mandir@/p'
67850 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67851 *datarootdir*) ac_datarootdir_seen=yes;;
67852 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67854 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67855 _ACEOF
67856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67857 ac_datarootdir_hack='
67858 s&@datadir@&$datadir&g
67859 s&@docdir@&$docdir&g
67860 s&@infodir@&$infodir&g
67861 s&@localedir@&$localedir&g
67862 s&@mandir@&$mandir&g
67863 s&\\\${datarootdir}&$datarootdir&g' ;;
67864 esac
67865 _ACEOF
67866
67867 # Neutralize VPATH when `$srcdir' = `.'.
67868 # Shell code in configure.ac might set extrasub.
67869 # FIXME: do we really want to maintain this feature?
67870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67871 ac_sed_extra="$ac_vpsub
67872 $extrasub
67873 _ACEOF
67874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67875 :t
67876 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67877 s|@configure_input@|$ac_sed_conf_input|;t t
67878 s&@top_builddir@&$ac_top_builddir_sub&;t t
67879 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67880 s&@srcdir@&$ac_srcdir&;t t
67881 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67882 s&@top_srcdir@&$ac_top_srcdir&;t t
67883 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67884 s&@builddir@&$ac_builddir&;t t
67885 s&@abs_builddir@&$ac_abs_builddir&;t t
67886 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67887 s&@INSTALL@&$ac_INSTALL&;t t
67888 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67889 $ac_datarootdir_hack
67890 "
67891 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67892 || as_fn_error "could not create $ac_file" "$LINENO" 5
67893
67894 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67895 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67896 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67898 which seems to be undefined. Please make sure it is defined." >&5
67899 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67900 which seems to be undefined. Please make sure it is defined." >&2;}
67901
67902 rm -f "$tmp/stdin"
67903 case $ac_file in
67904 -) cat "$tmp/out" && rm -f "$tmp/out";;
67905 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67906 esac \
67907 || as_fn_error "could not create $ac_file" "$LINENO" 5
67908 ;;
67909 :H)
67910 #
67911 # CONFIG_HEADER
67912 #
67913 if test x"$ac_file" != x-; then
67914 {
67915 $as_echo "/* $configure_input */" \
67916 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67917 } >"$tmp/config.h" \
67918 || as_fn_error "could not create $ac_file" "$LINENO" 5
67919 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67920 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67921 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67922 else
67923 rm -f "$ac_file"
67924 mv "$tmp/config.h" "$ac_file" \
67925 || as_fn_error "could not create $ac_file" "$LINENO" 5
67926 fi
67927 else
67928 $as_echo "/* $configure_input */" \
67929 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67930 || as_fn_error "could not create -" "$LINENO" 5
67931 fi
67932 # Compute "$ac_file"'s index in $config_headers.
67933 _am_arg="$ac_file"
67934 _am_stamp_count=1
67935 for _am_header in $config_headers :; do
67936 case $_am_header in
67937 $_am_arg | $_am_arg:* )
67938 break ;;
67939 * )
67940 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67941 esac
67942 done
67943 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67944 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67945 X"$_am_arg" : 'X\(//\)[^/]' \| \
67946 X"$_am_arg" : 'X\(//\)$' \| \
67947 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67948 $as_echo X"$_am_arg" |
67949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67950 s//\1/
67951 q
67952 }
67953 /^X\(\/\/\)[^/].*/{
67954 s//\1/
67955 q
67956 }
67957 /^X\(\/\/\)$/{
67958 s//\1/
67959 q
67960 }
67961 /^X\(\/\).*/{
67962 s//\1/
67963 q
67964 }
67965 s/.*/./; q'`/stamp-h$_am_stamp_count
67966 ;;
67967
67968 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67969 $as_echo "$as_me: executing $ac_file commands" >&6;}
67970 ;;
67971 esac
67972
67973
67974 case $ac_file$ac_mode in
67975 "default-1":C)
67976 # Only add multilib support code if we just rebuilt the top-level
67977 # Makefile.
67978 case " $CONFIG_FILES " in
67979 *" Makefile "*)
67980 ac_file=Makefile . ${multi_basedir}/config-ml.in
67981 ;;
67982 esac ;;
67983 "libtool":C)
67984
67985 # See if we are running on zsh, and set the options which allow our
67986 # commands through without removal of \ escapes.
67987 if test -n "${ZSH_VERSION+set}" ; then
67988 setopt NO_GLOB_SUBST
67989 fi
67990
67991 cfgfile="${ofile}T"
67992 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67993 $RM "$cfgfile"
67994
67995 cat <<_LT_EOF >> "$cfgfile"
67996 #! $SHELL
67997
67998 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67999 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68001 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68002 #
68003 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68004 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68005 # Written by Gordon Matzigkeit, 1996
68006 #
68007 # This file is part of GNU Libtool.
68008 #
68009 # GNU Libtool is free software; you can redistribute it and/or
68010 # modify it under the terms of the GNU General Public License as
68011 # published by the Free Software Foundation; either version 2 of
68012 # the License, or (at your option) any later version.
68013 #
68014 # As a special exception to the GNU General Public License,
68015 # if you distribute this file as part of a program or library that
68016 # is built using GNU Libtool, you may include this file under the
68017 # same distribution terms that you use for the rest of that program.
68018 #
68019 # GNU Libtool is distributed in the hope that it will be useful,
68020 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68021 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68022 # GNU General Public License for more details.
68023 #
68024 # You should have received a copy of the GNU General Public License
68025 # along with GNU Libtool; see the file COPYING. If not, a copy
68026 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68027 # obtained by writing to the Free Software Foundation, Inc.,
68028 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68029
68030
68031 # The names of the tagged configurations supported by this script.
68032 available_tags="CXX "
68033
68034 # ### BEGIN LIBTOOL CONFIG
68035
68036 # Which release of libtool.m4 was used?
68037 macro_version=$macro_version
68038 macro_revision=$macro_revision
68039
68040 # Whether or not to build shared libraries.
68041 build_libtool_libs=$enable_shared
68042
68043 # Whether or not to build static libraries.
68044 build_old_libs=$enable_static
68045
68046 # What type of objects to build.
68047 pic_mode=$pic_mode
68048
68049 # Whether or not to optimize for fast installation.
68050 fast_install=$enable_fast_install
68051
68052 # Shell to use when invoking shell scripts.
68053 SHELL=$lt_SHELL
68054
68055 # An echo program that protects backslashes.
68056 ECHO=$lt_ECHO
68057
68058 # The host system.
68059 host_alias=$host_alias
68060 host=$host
68061 host_os=$host_os
68062
68063 # The build system.
68064 build_alias=$build_alias
68065 build=$build
68066 build_os=$build_os
68067
68068 # A sed program that does not truncate output.
68069 SED=$lt_SED
68070
68071 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68072 Xsed="\$SED -e 1s/^X//"
68073
68074 # A grep program that handles long lines.
68075 GREP=$lt_GREP
68076
68077 # An ERE matcher.
68078 EGREP=$lt_EGREP
68079
68080 # A literal string matcher.
68081 FGREP=$lt_FGREP
68082
68083 # A BSD- or MS-compatible name lister.
68084 NM=$lt_NM
68085
68086 # Whether we need soft or hard links.
68087 LN_S=$lt_LN_S
68088
68089 # What is the maximum length of a command?
68090 max_cmd_len=$max_cmd_len
68091
68092 # Object file suffix (normally "o").
68093 objext=$ac_objext
68094
68095 # Executable file suffix (normally "").
68096 exeext=$exeext
68097
68098 # whether the shell understands "unset".
68099 lt_unset=$lt_unset
68100
68101 # turn spaces into newlines.
68102 SP2NL=$lt_lt_SP2NL
68103
68104 # turn newlines into spaces.
68105 NL2SP=$lt_lt_NL2SP
68106
68107 # An object symbol dumper.
68108 OBJDUMP=$lt_OBJDUMP
68109
68110 # Method to check whether dependent libraries are shared objects.
68111 deplibs_check_method=$lt_deplibs_check_method
68112
68113 # Command to use when deplibs_check_method == "file_magic".
68114 file_magic_cmd=$lt_file_magic_cmd
68115
68116 # The archiver.
68117 AR=$lt_AR
68118 AR_FLAGS=$lt_AR_FLAGS
68119
68120 # A symbol stripping program.
68121 STRIP=$lt_STRIP
68122
68123 # Commands used to install an old-style archive.
68124 RANLIB=$lt_RANLIB
68125 old_postinstall_cmds=$lt_old_postinstall_cmds
68126 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68127
68128 # Whether to use a lock for old archive extraction.
68129 lock_old_archive_extraction=$lock_old_archive_extraction
68130
68131 # A C compiler.
68132 LTCC=$lt_CC
68133
68134 # LTCC compiler flags.
68135 LTCFLAGS=$lt_CFLAGS
68136
68137 # Take the output of nm and produce a listing of raw symbols and C names.
68138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68139
68140 # Transform the output of nm in a proper C declaration.
68141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68142
68143 # Transform the output of nm in a C name address pair.
68144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68145
68146 # Transform the output of nm in a C name address pair when lib prefix is needed.
68147 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68148
68149 # The name of the directory that contains temporary libtool files.
68150 objdir=$objdir
68151
68152 # Used to examine libraries when file_magic_cmd begins with "file".
68153 MAGIC_CMD=$MAGIC_CMD
68154
68155 # Must we lock files when doing compilation?
68156 need_locks=$lt_need_locks
68157
68158 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68159 DSYMUTIL=$lt_DSYMUTIL
68160
68161 # Tool to change global to local symbols on Mac OS X.
68162 NMEDIT=$lt_NMEDIT
68163
68164 # Tool to manipulate fat objects and archives on Mac OS X.
68165 LIPO=$lt_LIPO
68166
68167 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68168 OTOOL=$lt_OTOOL
68169
68170 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68171 OTOOL64=$lt_OTOOL64
68172
68173 # Old archive suffix (normally "a").
68174 libext=$libext
68175
68176 # Shared library suffix (normally ".so").
68177 shrext_cmds=$lt_shrext_cmds
68178
68179 # The commands to extract the exported symbol list from a shared archive.
68180 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68181
68182 # Variables whose values should be saved in libtool wrapper scripts and
68183 # restored at link time.
68184 variables_saved_for_relink=$lt_variables_saved_for_relink
68185
68186 # Do we need the "lib" prefix for modules?
68187 need_lib_prefix=$need_lib_prefix
68188
68189 # Do we need a version for libraries?
68190 need_version=$need_version
68191
68192 # Library versioning type.
68193 version_type=$version_type
68194
68195 # Shared library runtime path variable.
68196 runpath_var=$runpath_var
68197
68198 # Shared library path variable.
68199 shlibpath_var=$shlibpath_var
68200
68201 # Is shlibpath searched before the hard-coded library search path?
68202 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68203
68204 # Format of library name prefix.
68205 libname_spec=$lt_libname_spec
68206
68207 # List of archive names. First name is the real one, the rest are links.
68208 # The last name is the one that the linker finds with -lNAME
68209 library_names_spec=$lt_library_names_spec
68210
68211 # The coded name of the library, if different from the real name.
68212 soname_spec=$lt_soname_spec
68213
68214 # Permission mode override for installation of shared libraries.
68215 install_override_mode=$lt_install_override_mode
68216
68217 # Command to use after installation of a shared archive.
68218 postinstall_cmds=$lt_postinstall_cmds
68219
68220 # Command to use after uninstallation of a shared archive.
68221 postuninstall_cmds=$lt_postuninstall_cmds
68222
68223 # Commands used to finish a libtool library installation in a directory.
68224 finish_cmds=$lt_finish_cmds
68225
68226 # As "finish_cmds", except a single script fragment to be evaled but
68227 # not shown.
68228 finish_eval=$lt_finish_eval
68229
68230 # Whether we should hardcode library paths into libraries.
68231 hardcode_into_libs=$hardcode_into_libs
68232
68233 # Compile-time system search path for libraries.
68234 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68235
68236 # Run-time system search path for libraries.
68237 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68238
68239 # Whether dlopen is supported.
68240 dlopen_support=$enable_dlopen
68241
68242 # Whether dlopen of programs is supported.
68243 dlopen_self=$enable_dlopen_self
68244
68245 # Whether dlopen of statically linked programs is supported.
68246 dlopen_self_static=$enable_dlopen_self_static
68247
68248 # Commands to strip libraries.
68249 old_striplib=$lt_old_striplib
68250 striplib=$lt_striplib
68251
68252
68253 # The linker used to build libraries.
68254 LD=$lt_LD
68255
68256 # How to create reloadable object files.
68257 reload_flag=$lt_reload_flag
68258 reload_cmds=$lt_reload_cmds
68259
68260 # Commands used to build an old-style archive.
68261 old_archive_cmds=$lt_old_archive_cmds
68262
68263 # A language specific compiler.
68264 CC=$lt_compiler
68265
68266 # Is the compiler the GNU compiler?
68267 with_gcc=$GCC
68268
68269 # Compiler flag to turn off builtin functions.
68270 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68271
68272 # How to pass a linker flag through the compiler.
68273 wl=$lt_lt_prog_compiler_wl
68274
68275 # Additional compiler flags for building library objects.
68276 pic_flag=$lt_lt_prog_compiler_pic
68277
68278 # Compiler flag to prevent dynamic linking.
68279 link_static_flag=$lt_lt_prog_compiler_static
68280
68281 # Does compiler simultaneously support -c and -o options?
68282 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68283
68284 # Whether or not to add -lc for building shared libraries.
68285 build_libtool_need_lc=$archive_cmds_need_lc
68286
68287 # Whether or not to disallow shared libs when runtime libs are static.
68288 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68289
68290 # Compiler flag to allow reflexive dlopens.
68291 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68292
68293 # Compiler flag to generate shared objects directly from archives.
68294 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68295
68296 # Whether the compiler copes with passing no objects directly.
68297 compiler_needs_object=$lt_compiler_needs_object
68298
68299 # Create an old-style archive from a shared archive.
68300 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68301
68302 # Create a temporary old-style archive to link instead of a shared archive.
68303 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68304
68305 # Commands used to build a shared archive.
68306 archive_cmds=$lt_archive_cmds
68307 archive_expsym_cmds=$lt_archive_expsym_cmds
68308
68309 # Commands used to build a loadable module if different from building
68310 # a shared archive.
68311 module_cmds=$lt_module_cmds
68312 module_expsym_cmds=$lt_module_expsym_cmds
68313
68314 # Whether we are building with GNU ld or not.
68315 with_gnu_ld=$lt_with_gnu_ld
68316
68317 # Flag that allows shared libraries with undefined symbols to be built.
68318 allow_undefined_flag=$lt_allow_undefined_flag
68319
68320 # Flag that enforces no undefined symbols.
68321 no_undefined_flag=$lt_no_undefined_flag
68322
68323 # Flag to hardcode \$libdir into a binary during linking.
68324 # This must work even if \$libdir does not exist
68325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68326
68327 # If ld is used when linking, flag to hardcode \$libdir into a binary
68328 # during linking. This must work even if \$libdir does not exist.
68329 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68330
68331 # Whether we need a single "-rpath" flag with a separated argument.
68332 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68333
68334 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68335 # DIR into the resulting binary.
68336 hardcode_direct=$hardcode_direct
68337
68338 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68339 # DIR into the resulting binary and the resulting library dependency is
68340 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68341 # library is relocated.
68342 hardcode_direct_absolute=$hardcode_direct_absolute
68343
68344 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68345 # into the resulting binary.
68346 hardcode_minus_L=$hardcode_minus_L
68347
68348 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68349 # into the resulting binary.
68350 hardcode_shlibpath_var=$hardcode_shlibpath_var
68351
68352 # Set to "yes" if building a shared library automatically hardcodes DIR
68353 # into the library and all subsequent libraries and executables linked
68354 # against it.
68355 hardcode_automatic=$hardcode_automatic
68356
68357 # Set to yes if linker adds runtime paths of dependent libraries
68358 # to runtime path list.
68359 inherit_rpath=$inherit_rpath
68360
68361 # Whether libtool must link a program against all its dependency libraries.
68362 link_all_deplibs=$link_all_deplibs
68363
68364 # Fix the shell variable \$srcfile for the compiler.
68365 fix_srcfile_path=$lt_fix_srcfile_path
68366
68367 # Set to "yes" if exported symbols are required.
68368 always_export_symbols=$always_export_symbols
68369
68370 # The commands to list exported symbols.
68371 export_symbols_cmds=$lt_export_symbols_cmds
68372
68373 # Symbols that should not be listed in the preloaded symbols.
68374 exclude_expsyms=$lt_exclude_expsyms
68375
68376 # Symbols that must always be exported.
68377 include_expsyms=$lt_include_expsyms
68378
68379 # Commands necessary for linking programs (against libraries) with templates.
68380 prelink_cmds=$lt_prelink_cmds
68381
68382 # Specify filename containing input files.
68383 file_list_spec=$lt_file_list_spec
68384
68385 # How to hardcode a shared library path into an executable.
68386 hardcode_action=$hardcode_action
68387
68388 # The directories searched by this compiler when creating a shared library.
68389 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68390
68391 # Dependencies to place before and after the objects being linked to
68392 # create a shared library.
68393 predep_objects=$lt_predep_objects
68394 postdep_objects=$lt_postdep_objects
68395 predeps=$lt_predeps
68396 postdeps=$lt_postdeps
68397
68398 # The library search path used internally by the compiler when linking
68399 # a shared library.
68400 compiler_lib_search_path=$lt_compiler_lib_search_path
68401
68402 # ### END LIBTOOL CONFIG
68403
68404 _LT_EOF
68405
68406 case $host_os in
68407 aix3*)
68408 cat <<\_LT_EOF >> "$cfgfile"
68409 # AIX sometimes has problems with the GCC collect2 program. For some
68410 # reason, if we set the COLLECT_NAMES environment variable, the problems
68411 # vanish in a puff of smoke.
68412 if test "X${COLLECT_NAMES+set}" != Xset; then
68413 COLLECT_NAMES=
68414 export COLLECT_NAMES
68415 fi
68416 _LT_EOF
68417 ;;
68418 esac
68419
68420
68421 ltmain="$ac_aux_dir/ltmain.sh"
68422
68423
68424 # We use sed instead of cat because bash on DJGPP gets confused if
68425 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68426 # text mode, it properly converts lines to CR/LF. This bash problem
68427 # is reportedly fixed, but why not run on old versions too?
68428 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68429 || (rm -f "$cfgfile"; exit 1)
68430
68431 case $xsi_shell in
68432 yes)
68433 cat << \_LT_EOF >> "$cfgfile"
68434
68435 # func_dirname file append nondir_replacement
68436 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68437 # otherwise set result to NONDIR_REPLACEMENT.
68438 func_dirname ()
68439 {
68440 case ${1} in
68441 */*) func_dirname_result="${1%/*}${2}" ;;
68442 * ) func_dirname_result="${3}" ;;
68443 esac
68444 }
68445
68446 # func_basename file
68447 func_basename ()
68448 {
68449 func_basename_result="${1##*/}"
68450 }
68451
68452 # func_dirname_and_basename file append nondir_replacement
68453 # perform func_basename and func_dirname in a single function
68454 # call:
68455 # dirname: Compute the dirname of FILE. If nonempty,
68456 # add APPEND to the result, otherwise set result
68457 # to NONDIR_REPLACEMENT.
68458 # value returned in "$func_dirname_result"
68459 # basename: Compute filename of FILE.
68460 # value retuned in "$func_basename_result"
68461 # Implementation must be kept synchronized with func_dirname
68462 # and func_basename. For efficiency, we do not delegate to
68463 # those functions but instead duplicate the functionality here.
68464 func_dirname_and_basename ()
68465 {
68466 case ${1} in
68467 */*) func_dirname_result="${1%/*}${2}" ;;
68468 * ) func_dirname_result="${3}" ;;
68469 esac
68470 func_basename_result="${1##*/}"
68471 }
68472
68473 # func_stripname prefix suffix name
68474 # strip PREFIX and SUFFIX off of NAME.
68475 # PREFIX and SUFFIX must not contain globbing or regex special
68476 # characters, hashes, percent signs, but SUFFIX may contain a leading
68477 # dot (in which case that matches only a dot).
68478 func_stripname ()
68479 {
68480 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68481 # positional parameters, so assign one to ordinary parameter first.
68482 func_stripname_result=${3}
68483 func_stripname_result=${func_stripname_result#"${1}"}
68484 func_stripname_result=${func_stripname_result%"${2}"}
68485 }
68486
68487 # func_opt_split
68488 func_opt_split ()
68489 {
68490 func_opt_split_opt=${1%%=*}
68491 func_opt_split_arg=${1#*=}
68492 }
68493
68494 # func_lo2o object
68495 func_lo2o ()
68496 {
68497 case ${1} in
68498 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68499 *) func_lo2o_result=${1} ;;
68500 esac
68501 }
68502
68503 # func_xform libobj-or-source
68504 func_xform ()
68505 {
68506 func_xform_result=${1%.*}.lo
68507 }
68508
68509 # func_arith arithmetic-term...
68510 func_arith ()
68511 {
68512 func_arith_result=$(( $* ))
68513 }
68514
68515 # func_len string
68516 # STRING may not start with a hyphen.
68517 func_len ()
68518 {
68519 func_len_result=${#1}
68520 }
68521
68522 _LT_EOF
68523 ;;
68524 *) # Bourne compatible functions.
68525 cat << \_LT_EOF >> "$cfgfile"
68526
68527 # func_dirname file append nondir_replacement
68528 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68529 # otherwise set result to NONDIR_REPLACEMENT.
68530 func_dirname ()
68531 {
68532 # Extract subdirectory from the argument.
68533 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68534 if test "X$func_dirname_result" = "X${1}"; then
68535 func_dirname_result="${3}"
68536 else
68537 func_dirname_result="$func_dirname_result${2}"
68538 fi
68539 }
68540
68541 # func_basename file
68542 func_basename ()
68543 {
68544 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68545 }
68546
68547
68548 # func_stripname prefix suffix name
68549 # strip PREFIX and SUFFIX off of NAME.
68550 # PREFIX and SUFFIX must not contain globbing or regex special
68551 # characters, hashes, percent signs, but SUFFIX may contain a leading
68552 # dot (in which case that matches only a dot).
68553 # func_strip_suffix prefix name
68554 func_stripname ()
68555 {
68556 case ${2} in
68557 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68558 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68559 esac
68560 }
68561
68562 # sed scripts:
68563 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68564 my_sed_long_arg='1s/^-[^=]*=//'
68565
68566 # func_opt_split
68567 func_opt_split ()
68568 {
68569 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68570 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68571 }
68572
68573 # func_lo2o object
68574 func_lo2o ()
68575 {
68576 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68577 }
68578
68579 # func_xform libobj-or-source
68580 func_xform ()
68581 {
68582 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68583 }
68584
68585 # func_arith arithmetic-term...
68586 func_arith ()
68587 {
68588 func_arith_result=`expr "$@"`
68589 }
68590
68591 # func_len string
68592 # STRING may not start with a hyphen.
68593 func_len ()
68594 {
68595 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68596 }
68597
68598 _LT_EOF
68599 esac
68600
68601 case $lt_shell_append in
68602 yes)
68603 cat << \_LT_EOF >> "$cfgfile"
68604
68605 # func_append var value
68606 # Append VALUE to the end of shell variable VAR.
68607 func_append ()
68608 {
68609 eval "$1+=\$2"
68610 }
68611 _LT_EOF
68612 ;;
68613 *)
68614 cat << \_LT_EOF >> "$cfgfile"
68615
68616 # func_append var value
68617 # Append VALUE to the end of shell variable VAR.
68618 func_append ()
68619 {
68620 eval "$1=\$$1\$2"
68621 }
68622
68623 _LT_EOF
68624 ;;
68625 esac
68626
68627
68628 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68629 || (rm -f "$cfgfile"; exit 1)
68630
68631 mv -f "$cfgfile" "$ofile" ||
68632 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68633 chmod +x "$ofile"
68634
68635
68636 cat <<_LT_EOF >> "$ofile"
68637
68638 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68639
68640 # The linker used to build libraries.
68641 LD=$lt_LD_CXX
68642
68643 # How to create reloadable object files.
68644 reload_flag=$lt_reload_flag_CXX
68645 reload_cmds=$lt_reload_cmds_CXX
68646
68647 # Commands used to build an old-style archive.
68648 old_archive_cmds=$lt_old_archive_cmds_CXX
68649
68650 # A language specific compiler.
68651 CC=$lt_compiler_CXX
68652
68653 # Is the compiler the GNU compiler?
68654 with_gcc=$GCC_CXX
68655
68656 # Compiler flag to turn off builtin functions.
68657 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68658
68659 # How to pass a linker flag through the compiler.
68660 wl=$lt_lt_prog_compiler_wl_CXX
68661
68662 # Additional compiler flags for building library objects.
68663 pic_flag=$lt_lt_prog_compiler_pic_CXX
68664
68665 # Compiler flag to prevent dynamic linking.
68666 link_static_flag=$lt_lt_prog_compiler_static_CXX
68667
68668 # Does compiler simultaneously support -c and -o options?
68669 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68670
68671 # Whether or not to add -lc for building shared libraries.
68672 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68673
68674 # Whether or not to disallow shared libs when runtime libs are static.
68675 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68676
68677 # Compiler flag to allow reflexive dlopens.
68678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68679
68680 # Compiler flag to generate shared objects directly from archives.
68681 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68682
68683 # Whether the compiler copes with passing no objects directly.
68684 compiler_needs_object=$lt_compiler_needs_object_CXX
68685
68686 # Create an old-style archive from a shared archive.
68687 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68688
68689 # Create a temporary old-style archive to link instead of a shared archive.
68690 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68691
68692 # Commands used to build a shared archive.
68693 archive_cmds=$lt_archive_cmds_CXX
68694 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68695
68696 # Commands used to build a loadable module if different from building
68697 # a shared archive.
68698 module_cmds=$lt_module_cmds_CXX
68699 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68700
68701 # Whether we are building with GNU ld or not.
68702 with_gnu_ld=$lt_with_gnu_ld_CXX
68703
68704 # Flag that allows shared libraries with undefined symbols to be built.
68705 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68706
68707 # Flag that enforces no undefined symbols.
68708 no_undefined_flag=$lt_no_undefined_flag_CXX
68709
68710 # Flag to hardcode \$libdir into a binary during linking.
68711 # This must work even if \$libdir does not exist
68712 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68713
68714 # If ld is used when linking, flag to hardcode \$libdir into a binary
68715 # during linking. This must work even if \$libdir does not exist.
68716 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68717
68718 # Whether we need a single "-rpath" flag with a separated argument.
68719 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68720
68721 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68722 # DIR into the resulting binary.
68723 hardcode_direct=$hardcode_direct_CXX
68724
68725 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68726 # DIR into the resulting binary and the resulting library dependency is
68727 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68728 # library is relocated.
68729 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68730
68731 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68732 # into the resulting binary.
68733 hardcode_minus_L=$hardcode_minus_L_CXX
68734
68735 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68736 # into the resulting binary.
68737 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68738
68739 # Set to "yes" if building a shared library automatically hardcodes DIR
68740 # into the library and all subsequent libraries and executables linked
68741 # against it.
68742 hardcode_automatic=$hardcode_automatic_CXX
68743
68744 # Set to yes if linker adds runtime paths of dependent libraries
68745 # to runtime path list.
68746 inherit_rpath=$inherit_rpath_CXX
68747
68748 # Whether libtool must link a program against all its dependency libraries.
68749 link_all_deplibs=$link_all_deplibs_CXX
68750
68751 # Fix the shell variable \$srcfile for the compiler.
68752 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68753
68754 # Set to "yes" if exported symbols are required.
68755 always_export_symbols=$always_export_symbols_CXX
68756
68757 # The commands to list exported symbols.
68758 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68759
68760 # Symbols that should not be listed in the preloaded symbols.
68761 exclude_expsyms=$lt_exclude_expsyms_CXX
68762
68763 # Symbols that must always be exported.
68764 include_expsyms=$lt_include_expsyms_CXX
68765
68766 # Commands necessary for linking programs (against libraries) with templates.
68767 prelink_cmds=$lt_prelink_cmds_CXX
68768
68769 # Specify filename containing input files.
68770 file_list_spec=$lt_file_list_spec_CXX
68771
68772 # How to hardcode a shared library path into an executable.
68773 hardcode_action=$hardcode_action_CXX
68774
68775 # The directories searched by this compiler when creating a shared library.
68776 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68777
68778 # Dependencies to place before and after the objects being linked to
68779 # create a shared library.
68780 predep_objects=$lt_predep_objects_CXX
68781 postdep_objects=$lt_postdep_objects_CXX
68782 predeps=$lt_predeps_CXX
68783 postdeps=$lt_postdeps_CXX
68784
68785 # The library search path used internally by the compiler when linking
68786 # a shared library.
68787 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68788
68789 # ### END LIBTOOL TAG CONFIG: CXX
68790 _LT_EOF
68791
68792 ;;
68793 "include/gstdint.h":C)
68794 if test "$GCC" = yes; then
68795 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68796 else
68797 echo "/* generated for $CC */" > tmp-stdint.h
68798 fi
68799
68800 sed 's/^ *//' >> tmp-stdint.h <<EOF
68801
68802 #ifndef GCC_GENERATED_STDINT_H
68803 #define GCC_GENERATED_STDINT_H 1
68804
68805 #include <sys/types.h>
68806 EOF
68807
68808 if test "$acx_cv_header_stdint" != stdint.h; then
68809 echo "#include <stddef.h>" >> tmp-stdint.h
68810 fi
68811 if test "$acx_cv_header_stdint" != stddef.h; then
68812 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68813 fi
68814
68815 sed 's/^ *//' >> tmp-stdint.h <<EOF
68816 /* glibc uses these symbols as guards to prevent redefinitions. */
68817 #ifdef __int8_t_defined
68818 #define _INT8_T
68819 #define _INT16_T
68820 #define _INT32_T
68821 #endif
68822 #ifdef __uint32_t_defined
68823 #define _UINT32_T
68824 #endif
68825
68826 EOF
68827
68828 # ----------------- done header, emit basic int types -------------
68829 if test "$acx_cv_header_stdint" = stddef.h; then
68830 sed 's/^ *//' >> tmp-stdint.h <<EOF
68831
68832 #ifndef _UINT8_T
68833 #define _UINT8_T
68834 #ifndef __uint8_t_defined
68835 #define __uint8_t_defined
68836 #ifndef uint8_t
68837 typedef unsigned $acx_cv_type_int8_t uint8_t;
68838 #endif
68839 #endif
68840 #endif
68841
68842 #ifndef _UINT16_T
68843 #define _UINT16_T
68844 #ifndef __uint16_t_defined
68845 #define __uint16_t_defined
68846 #ifndef uint16_t
68847 typedef unsigned $acx_cv_type_int16_t uint16_t;
68848 #endif
68849 #endif
68850 #endif
68851
68852 #ifndef _UINT32_T
68853 #define _UINT32_T
68854 #ifndef __uint32_t_defined
68855 #define __uint32_t_defined
68856 #ifndef uint32_t
68857 typedef unsigned $acx_cv_type_int32_t uint32_t;
68858 #endif
68859 #endif
68860 #endif
68861
68862 #ifndef _INT8_T
68863 #define _INT8_T
68864 #ifndef __int8_t_defined
68865 #define __int8_t_defined
68866 #ifndef int8_t
68867 typedef $acx_cv_type_int8_t int8_t;
68868 #endif
68869 #endif
68870 #endif
68871
68872 #ifndef _INT16_T
68873 #define _INT16_T
68874 #ifndef __int16_t_defined
68875 #define __int16_t_defined
68876 #ifndef int16_t
68877 typedef $acx_cv_type_int16_t int16_t;
68878 #endif
68879 #endif
68880 #endif
68881
68882 #ifndef _INT32_T
68883 #define _INT32_T
68884 #ifndef __int32_t_defined
68885 #define __int32_t_defined
68886 #ifndef int32_t
68887 typedef $acx_cv_type_int32_t int32_t;
68888 #endif
68889 #endif
68890 #endif
68891 EOF
68892 elif test "$ac_cv_type_u_int32_t" = yes; then
68893 sed 's/^ *//' >> tmp-stdint.h <<EOF
68894
68895 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68896 #ifndef _INT8_T
68897 #define _INT8_T
68898 #endif
68899 #ifndef _INT16_T
68900 #define _INT16_T
68901 #endif
68902 #ifndef _INT32_T
68903 #define _INT32_T
68904 #endif
68905
68906 #ifndef _UINT8_T
68907 #define _UINT8_T
68908 #ifndef __uint8_t_defined
68909 #define __uint8_t_defined
68910 #ifndef uint8_t
68911 typedef u_int8_t uint8_t;
68912 #endif
68913 #endif
68914 #endif
68915
68916 #ifndef _UINT16_T
68917 #define _UINT16_T
68918 #ifndef __uint16_t_defined
68919 #define __uint16_t_defined
68920 #ifndef uint16_t
68921 typedef u_int16_t uint16_t;
68922 #endif
68923 #endif
68924 #endif
68925
68926 #ifndef _UINT32_T
68927 #define _UINT32_T
68928 #ifndef __uint32_t_defined
68929 #define __uint32_t_defined
68930 #ifndef uint32_t
68931 typedef u_int32_t uint32_t;
68932 #endif
68933 #endif
68934 #endif
68935 EOF
68936 else
68937 sed 's/^ *//' >> tmp-stdint.h <<EOF
68938
68939 /* Some systems have guard macros to prevent redefinitions, define them. */
68940 #ifndef _INT8_T
68941 #define _INT8_T
68942 #endif
68943 #ifndef _INT16_T
68944 #define _INT16_T
68945 #endif
68946 #ifndef _INT32_T
68947 #define _INT32_T
68948 #endif
68949 #ifndef _UINT8_T
68950 #define _UINT8_T
68951 #endif
68952 #ifndef _UINT16_T
68953 #define _UINT16_T
68954 #endif
68955 #ifndef _UINT32_T
68956 #define _UINT32_T
68957 #endif
68958 EOF
68959 fi
68960
68961 # ------------- done basic int types, emit int64_t types ------------
68962 if test "$ac_cv_type_uint64_t" = yes; then
68963 sed 's/^ *//' >> tmp-stdint.h <<EOF
68964
68965 /* system headers have good uint64_t and int64_t */
68966 #ifndef _INT64_T
68967 #define _INT64_T
68968 #endif
68969 #ifndef _UINT64_T
68970 #define _UINT64_T
68971 #endif
68972 EOF
68973 elif test "$ac_cv_type_u_int64_t" = yes; then
68974 sed 's/^ *//' >> tmp-stdint.h <<EOF
68975
68976 /* system headers have an u_int64_t (and int64_t) */
68977 #ifndef _INT64_T
68978 #define _INT64_T
68979 #endif
68980 #ifndef _UINT64_T
68981 #define _UINT64_T
68982 #ifndef __uint64_t_defined
68983 #define __uint64_t_defined
68984 #ifndef uint64_t
68985 typedef u_int64_t uint64_t;
68986 #endif
68987 #endif
68988 #endif
68989 EOF
68990 elif test -n "$acx_cv_type_int64_t"; then
68991 sed 's/^ *//' >> tmp-stdint.h <<EOF
68992
68993 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68994 #ifndef _INT64_T
68995 #define _INT64_T
68996 #ifndef int64_t
68997 typedef $acx_cv_type_int64_t int64_t;
68998 #endif
68999 #endif
69000 #ifndef _UINT64_T
69001 #define _UINT64_T
69002 #ifndef __uint64_t_defined
69003 #define __uint64_t_defined
69004 #ifndef uint64_t
69005 typedef unsigned $acx_cv_type_int64_t uint64_t;
69006 #endif
69007 #endif
69008 #endif
69009 EOF
69010 else
69011 sed 's/^ *//' >> tmp-stdint.h <<EOF
69012
69013 /* some common heuristics for int64_t, using compiler-specific tests */
69014 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69015 #ifndef _INT64_T
69016 #define _INT64_T
69017 #ifndef __int64_t_defined
69018 #ifndef int64_t
69019 typedef long long int64_t;
69020 #endif
69021 #endif
69022 #endif
69023 #ifndef _UINT64_T
69024 #define _UINT64_T
69025 #ifndef uint64_t
69026 typedef unsigned long long uint64_t;
69027 #endif
69028 #endif
69029
69030 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69031 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69032 does not implement __extension__. But that compiler doesn't define
69033 __GNUC_MINOR__. */
69034 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69035 # define __extension__
69036 # endif
69037
69038 # ifndef _INT64_T
69039 # define _INT64_T
69040 # ifndef int64_t
69041 __extension__ typedef long long int64_t;
69042 # endif
69043 # endif
69044 # ifndef _UINT64_T
69045 # define _UINT64_T
69046 # ifndef uint64_t
69047 __extension__ typedef unsigned long long uint64_t;
69048 # endif
69049 # endif
69050
69051 #elif !defined __STRICT_ANSI__
69052 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69053
69054 # ifndef _INT64_T
69055 # define _INT64_T
69056 # ifndef int64_t
69057 typedef __int64 int64_t;
69058 # endif
69059 # endif
69060 # ifndef _UINT64_T
69061 # define _UINT64_T
69062 # ifndef uint64_t
69063 typedef unsigned __int64 uint64_t;
69064 # endif
69065 # endif
69066 # endif /* compiler */
69067
69068 #endif /* ANSI version */
69069 EOF
69070 fi
69071
69072 # ------------- done int64_t types, emit intptr types ------------
69073 if test "$ac_cv_type_uintptr_t" != yes; then
69074 sed 's/^ *//' >> tmp-stdint.h <<EOF
69075
69076 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69077 #ifndef __uintptr_t_defined
69078 #ifndef uintptr_t
69079 typedef u$acx_cv_type_intptr_t uintptr_t;
69080 #endif
69081 #endif
69082 #ifndef __intptr_t_defined
69083 #ifndef intptr_t
69084 typedef $acx_cv_type_intptr_t intptr_t;
69085 #endif
69086 #endif
69087 EOF
69088 fi
69089
69090 # ------------- done intptr types, emit int_least types ------------
69091 if test "$ac_cv_type_int_least32_t" != yes; then
69092 sed 's/^ *//' >> tmp-stdint.h <<EOF
69093
69094 /* Define int_least types */
69095 typedef int8_t int_least8_t;
69096 typedef int16_t int_least16_t;
69097 typedef int32_t int_least32_t;
69098 #ifdef _INT64_T
69099 typedef int64_t int_least64_t;
69100 #endif
69101
69102 typedef uint8_t uint_least8_t;
69103 typedef uint16_t uint_least16_t;
69104 typedef uint32_t uint_least32_t;
69105 #ifdef _UINT64_T
69106 typedef uint64_t uint_least64_t;
69107 #endif
69108 EOF
69109 fi
69110
69111 # ------------- done intptr types, emit int_fast types ------------
69112 if test "$ac_cv_type_int_fast32_t" != yes; then
69113 sed 's/^ *//' >> tmp-stdint.h <<EOF
69114
69115 /* Define int_fast types. short is often slow */
69116 typedef int8_t int_fast8_t;
69117 typedef int int_fast16_t;
69118 typedef int32_t int_fast32_t;
69119 #ifdef _INT64_T
69120 typedef int64_t int_fast64_t;
69121 #endif
69122
69123 typedef uint8_t uint_fast8_t;
69124 typedef unsigned int uint_fast16_t;
69125 typedef uint32_t uint_fast32_t;
69126 #ifdef _UINT64_T
69127 typedef uint64_t uint_fast64_t;
69128 #endif
69129 EOF
69130 fi
69131
69132 if test "$ac_cv_type_uintmax_t" != yes; then
69133 sed 's/^ *//' >> tmp-stdint.h <<EOF
69134
69135 /* Define intmax based on what we found */
69136 #ifndef intmax_t
69137 #ifdef _INT64_T
69138 typedef int64_t intmax_t;
69139 #else
69140 typedef long intmax_t;
69141 #endif
69142 #endif
69143 #ifndef uintmax_t
69144 #ifdef _UINT64_T
69145 typedef uint64_t uintmax_t;
69146 #else
69147 typedef unsigned long uintmax_t;
69148 #endif
69149 #endif
69150 EOF
69151 fi
69152
69153 sed 's/^ *//' >> tmp-stdint.h <<EOF
69154
69155 #endif /* GCC_GENERATED_STDINT_H */
69156 EOF
69157
69158 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69159 rm -f tmp-stdint.h
69160 else
69161 mv -f tmp-stdint.h include/gstdint.h
69162 fi
69163
69164 ;;
69165 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69166 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69167 "include/Makefile":F) cat > vpsed$$ << \_EOF
69168 s!`test -f '$<' || echo '$(srcdir)/'`!!
69169 _EOF
69170 sed -f vpsed$$ $ac_file > tmp$$
69171 mv tmp$$ $ac_file
69172 rm vpsed$$
69173 echo 'MULTISUBDIR =' >> $ac_file
69174 ml_norecursion=yes
69175 . ${multi_basedir}/config-ml.in
69176 { ml_norecursion=; unset ml_norecursion;}
69177 ;;
69178 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69179 s!`test -f '$<' || echo '$(srcdir)/'`!!
69180 _EOF
69181 sed -f vpsed$$ $ac_file > tmp$$
69182 mv tmp$$ $ac_file
69183 rm vpsed$$
69184 echo 'MULTISUBDIR =' >> $ac_file
69185 ml_norecursion=yes
69186 . ${multi_basedir}/config-ml.in
69187 { ml_norecursion=; unset ml_norecursion;}
69188 ;;
69189 "python/Makefile":F) cat > vpsed$$ << \_EOF
69190 s!`test -f '$<' || echo '$(srcdir)/'`!!
69191 _EOF
69192 sed -f vpsed$$ $ac_file > tmp$$
69193 mv tmp$$ $ac_file
69194 rm vpsed$$
69195 echo 'MULTISUBDIR =' >> $ac_file
69196 ml_norecursion=yes
69197 . ${multi_basedir}/config-ml.in
69198 { ml_norecursion=; unset ml_norecursion;}
69199 ;;
69200 "src/Makefile":F) cat > vpsed$$ << \_EOF
69201 s!`test -f '$<' || echo '$(srcdir)/'`!!
69202 _EOF
69203 sed -f vpsed$$ $ac_file > tmp$$
69204 mv tmp$$ $ac_file
69205 rm vpsed$$
69206 echo 'MULTISUBDIR =' >> $ac_file
69207 ml_norecursion=yes
69208 . ${multi_basedir}/config-ml.in
69209 { ml_norecursion=; unset ml_norecursion;}
69210 ;;
69211 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69212 s!`test -f '$<' || echo '$(srcdir)/'`!!
69213 _EOF
69214 sed -f vpsed$$ $ac_file > tmp$$
69215 mv tmp$$ $ac_file
69216 rm vpsed$$
69217 echo 'MULTISUBDIR =' >> $ac_file
69218 ml_norecursion=yes
69219 . ${multi_basedir}/config-ml.in
69220 { ml_norecursion=; unset ml_norecursion;}
69221 ;;
69222 "po/Makefile":F) cat > vpsed$$ << \_EOF
69223 s!`test -f '$<' || echo '$(srcdir)/'`!!
69224 _EOF
69225 sed -f vpsed$$ $ac_file > tmp$$
69226 mv tmp$$ $ac_file
69227 rm vpsed$$
69228 echo 'MULTISUBDIR =' >> $ac_file
69229 ml_norecursion=yes
69230 . ${multi_basedir}/config-ml.in
69231 { ml_norecursion=; unset ml_norecursion;}
69232 ;;
69233 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69234 s!`test -f '$<' || echo '$(srcdir)/'`!!
69235 _EOF
69236 sed -f vpsed$$ $ac_file > tmp$$
69237 mv tmp$$ $ac_file
69238 rm vpsed$$
69239 echo 'MULTISUBDIR =' >> $ac_file
69240 ml_norecursion=yes
69241 . ${multi_basedir}/config-ml.in
69242 { ml_norecursion=; unset ml_norecursion;}
69243 ;;
69244 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69245
69246 esac
69247 done # for ac_tag
69248
69249
69250 as_fn_exit 0
69251 _ACEOF
69252 ac_clean_files=$ac_clean_files_save
69253
69254 test $ac_write_fail = 0 ||
69255 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69256
69257
69258 # configure is writing to config.log, and then calls config.status.
69259 # config.status does its own redirection, appending to config.log.
69260 # Unfortunately, on DOS this fails, as config.log is still kept open
69261 # by configure, so config.status won't be able to write to it; its
69262 # output is simply discarded. So we exec the FD to /dev/null,
69263 # effectively closing config.log, so it can be properly (re)opened and
69264 # appended to by config.status. When coming back to configure, we
69265 # need to make the FD available again.
69266 if test "$no_create" != yes; then
69267 ac_cs_success=:
69268 ac_config_status_args=
69269 test "$silent" = yes &&
69270 ac_config_status_args="$ac_config_status_args --quiet"
69271 exec 5>/dev/null
69272 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69273 exec 5>>config.log
69274 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69275 # would make configure fail if this is the last instruction.
69276 $ac_cs_success || as_fn_exit $?
69277 fi
69278 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69280 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69281 fi
69282